> I use GLPK with C.

> But I need show all iterations.

> In your example:

>      0: obj =   6.500000000e+02  infeas =  3.788e+03 (0)
> *     2: obj =   4.376770833e+02  infeas =  0.000e+00 (0)
> *    10: obj =   2.962166065e+02  infeas =  0.000e+00 (0)

> Only iterations 0, 2 and 10 are shown.

> I need to show all the iterations in my classroom. 0, 1, 2, 3, ..., 10.

glp_smcp parm;
. . .
glp_init_smcp(&parm);
parm.out_frq = 1;
glp_simplex(lp, &parm);
. . .




_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to