Hi,
I am trying to use GLPK in a flux-balance analysis context in biology.
Once the linear constraints are defined and maximization of the
objective function is done, I often find that the solution contains too
many changes across the free variable set, and I cannot change that many
variables (ove
Hi,
I don't think you will be able to avoid using integer variables for
that problem (e.g. extend your set of variables with a binary
variable per continuous variable and impose a constraint of max. 15-20
non-zero binary variables).
best regards
Nicolas
On Fri, Jul 25, 2008 at 12:18 AM, Jahna
you could give it a try.
I hope this helps.
Regards,
Timo
Original Message:
-
From: Jahnavi Prasad [EMAIL PROTECTED]
Date: Fri, 25 Jul 2008 02:18:20 +0400
To: help-glpk@gnu.org
Subject: [Help-glpk] Hi: Question. Please help.
Hi,
I am trying to use GLPK in a flux-balance ana
> I am trying to use GLPK in a flux-balance analysis context in biology.
> Once the linear constraints are defined and maximization of the
> objective function is done, I often find that the solution contains too
> many changes across the free variable set, and I cannot change that many
> variables
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Makhorin
Sent: Friday, July 25, 2008 4:50 PM
To: Jahnavi Prasad
Cc: help-glpk@gnu.org
Subject: Re: [Help-glpk] Hi: Question. Please help.
> I am trying to use GLPK in a flux-balance analysis cont
>> I am trying to use GLPK in a flux-balance analysis context in biology.
>> Once the linear constraints are defined and maximization of the
>> objective function is done, I often find that the solution contains too
>> many changes across the free variable set, and I cannot change that many
>> vari
>> > Sorry.. I've probably misunderstood this. Let's take -3=5-8,
>> > 5>=0, 8>=0,
>> > but
>> > |-3|<>5+8
>>
>> In that context b1[i] and b2[i] cannot be non-zero at the same time,
>> because either b1[i] or b2[i] (or both) is always non-basic in any
>> optimal basic solution.
>>
>> This only wo