help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Need simplex iteration count


From: Joey Rios
Subject: Re: [Help-glpk] Need simplex iteration count
Date: Wed, 7 Aug 2013 16:26:23 -0700

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

reply via email to

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