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 sim

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

2008-06-26 Thread Joey Rios
I am doing something like this with glpk-4.23: lp = lpx_read_cpxlp("../prob.cplex"); glp_create_index(lp); glp_simplex(lp, simplex_control_params); for(i = 0; i < 40; i++ ) { printf("Iteration %d\n", i); add_rows(lp, buffer, index, value, col_status, subprob); printf("Adde