From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25411 invoked by alias); 30 Oct 2002 19:49:20 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 25353 invoked from network); 30 Oct 2002 19:49:19 -0000 Received: from unknown (HELO mail1.astercity.net) (212.76.33.20) by sources.redhat.com with SMTP; 30 Oct 2002 19:49:19 -0000 Received: from purgatory.abyss (unknown [10.133.131.37]) by mail1.astercity.net (sendmail) with ESMTP id CABF8191D5A for ; Wed, 30 Oct 2002 20:47:15 +0100 (CET) Received: from purgatory.abyss (localhost [127.0.0.1]) by purgatory.abyss (8.12.4/8.12.4) with ESMTP id g9VJoL1o012621 for ; Thu, 31 Oct 2002 20:50:29 +0100 Received: (from grabek@localhost) by purgatory.abyss (8.12.4/8.12.4/Submit) id g9VJoFsM012615 for gsl-discuss@sources.redhat.com; Thu, 31 Oct 2002 20:50:15 +0100 Date: Wed, 30 Oct 2002 13:05:00 -0000 From: Lukasz Grabun To: gsl-discuss@sources.redhat.com Subject: Optimization in GSL Message-ID: <20021031195015.GA12370@acn.waw.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2002-q4/txt/msg00089.txt.bz2 OK, that's a big one. Is there a support for quadratic optimization in GSL? I've browsed the documentation and then read it rather carefully but I just could not find any routines that would solve something like f(x) = \sum_{s,i} (x_{s,i}^2 - a_{s,i})^2 subject to constraints x_{s,i} >= 0; \sum_s x_{s,i} = 1; It's very simple problem thought due to number of variables one can not solve this manually. I though I can use computer for this purpose. Did anyone happen to know how one can use GSL to solve such a problem? -- Lukasz Grabun