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.
Thanks.
--
Humberto César Brandão de Oliveira
[ http://www.bcc.unifal-mg.edu.br/~humberto/ ]
Telefone: (35) 3299-1388
Núcleo Ciência da Computação
Departamento de Ciências Exatas
Universidade Federal de Alfenas
2009/11/9 Andrew Makhorin <[email protected]>
> > In my case, I need show in C with GLPK solver (called by glpk.h).
> > Do there exists any parameter to it?
>
> Your question is still unclear.
>
> You can use glpk in two ways. The first way is to use glpsol, the
> stand-alone lp/mip solver. In this case you should provide problem
> data either in mps or cplex format or write your model in the glpk
> modeling language and then run glpsol from the command line to solve
> your problem. The second way is to use glpk api that assumes
> programming in C or C++. You can find an example C program in the glpk
> reference manual included in the package distribution. For more details
> please see the reference manual.
>
>
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk