[Help-glpk] Hi: Question. Please help.

2008-07-24 Thread Jahnavi Prasad
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

Re: [Help-glpk] Hi: Question. Please help.

2008-07-25 Thread Nicolas Guilbert
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

RE: [Help-glpk] Hi: Question. Please help.

2008-07-25 Thread [EMAIL PROTECTED]
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

Re: [Help-glpk] Hi: Question. Please help.

2008-07-25 Thread Andrew Makhorin
> 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

RE: [Help-glpk] Hi: Question. Please help.

2008-07-28 Thread Нестеренко Геннадий Витальевич
-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

Re: [Help-glpk] Hi: Question. Please help.

2008-07-29 Thread Andrew Makhorin
>> 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

Re: [Help-glpk] Hi: Question. Please help.

2008-08-01 Thread Andrew Makhorin
>> > 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