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, Jahnavi Prasad <[EMAIL PROTECTED]> wrote: > 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 (over 1000 sometimes) for my engineering problem. I can at the > most take care of say a 15-20. How can I restrict the number (not > magnitude) of changes in the LP maximization? > > Can someone please answer this question? > > Thanks a lot, > regards, > Prasad > > > > > > > _______________________________________________ > Help-glpk mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-glpk > _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
