Re: [Help-glpk] two question about LP with GLPK

2006-12-07 Thread Andrew Makhorin
I think you should switch to the dual simplex method before re-optimization. Perfectly correct, because if the current basis is optimal, changing bounds of variables leads to the dual feasibile basis. To enable the dual simplex method one needs to set the control paramater LPX_K_DUAL.

[Help-glpk] two question about LP with GLPK

2006-12-06 Thread 皮纳德
Hi, Andrew and other guys, I have 2 questions about LP with glpk. 1) How to deal with problems with constraint boundary disturbance quickly. For example, originally I have L_ix_iU_i (i=1,...n), when I get the answer of x, how can I get another answer with glpk quickly to L_i-ex_iU_i+e,where e

Re: [Help-glpk] two question about LP with GLPK

2006-12-06 Thread Andrew Makhorin
I have 2 questions about LP with glpk. 1) How to deal with problems with constraint boundary disturbance quickly. For example, originally I have L_ix_iU_i (i=1,...n), when I get the answer of x, how can I get another answer with glpk quickly to L_i-ex_iU_i+e,where e is a number(such as 0.2 or