Hi Andrew,

> > 
> > Unfortunately, there is no equivalent routine in the new api, sorry.
> > I will include such a routine in a next version of the package.
> > 
> > As a workaround you could use the following code:
> 
> #include <glpk.h>
> typedef struct DMP DMP;
> typedef struct GLPROW GLPROW;
> typedef struct GLPCOL GLPCOL;
> typedef struct AVL AVL;
> typedef struct BFD BFD;
> [copy here declaration of struct glp_prob from glpk/src/glpapi.h]
> int get_it_cnt(glp_prob *P) { return P->it_cnt; }
> 
> 

Thanks for the workaround.  I'll definitely use this and look for the 
appropriate API function in a future release.
Joey                                      
_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to