help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: R: Re: [Help-glpk] how show iterations?


From: Andrew Makhorin
Subject: Re: R: Re: [Help-glpk] how show iterations?
Date: Mon, 9 Nov 2009 17:21:18 +0300

> 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);
. . .






reply via email to

[Prev in Thread] Current Thread [Next in Thread]