[Help-glpk] Fixed values in Variable statement

2008-07-02 Thread Luiz M. M. Bettoni
Hi all, I'm trying to specify fixed values to some variables in an array using = expression (see 4.3 Variable statement in GMPL Reference). Something like this: set MySet; set MySubset within MySet; var X {i in MySet} = if i in MySubset then 0 else binary; or, similarly: var X {i

Re: [Help-glpk] Fixed values in Variable statement

2008-07-02 Thread Andrew Makhorin
I'm trying to specify fixed values to some variables in an array using = expression (see 4.3 Variable statement in GMPL Reference). Something like this: set MySet; set MySubset within MySet; var X {i in MySet} = if i in MySubset then 0 else binary; or, similarly: var X {i

Re: [Help-glpk] Solve then add rows then presolve: Can I maintain basis?

2008-07-02 Thread Andrew Makhorin
If I keep the presolver on, the basis information from the previous solve is lost and the 2-phase primal algorithm kicks off from scratch (instead of the dual simplex using the previous basis).  If I turn the presolver off, I know my problem is bigger than it needs to be, but the dual simplex