Hello Umair, the GLPK library sends the number of iterations to the terminal output.
The simplex method output syntax is fully explained in the "Terminal output" subsection of the glp_simplex call documentation in doc/glpk.pdf (for GLPK 4.60 this is section 2.8.1) of the source distribution available at http://ftp.gnu.org/gnu/glpk/glpk-4.60.tar.gz There is no glpk() function in the GLPK library. If you are using a wrapper to the GLPK library, see the documention there to find out how to enable terminal output. Best regards Heinrich Schuchardt On 11/10/2016 08:49 PM, Muhammad Arif, Umair wrote: > Hi there, > > Hope you are doing fine. I am using GLPK for solving the LP of my > research problem. I have to compare the number of iterations of simplex > method with the algorithm that I developed. So, is it possible to get > the number of simplex iterations performed when we call glpk() function > once. > > I know there is a parameter where we can set the maximum limit of > iterations but it does not specify how many iterations are performed in > a single glpk() call. > > Hope to receive a prompt response. Thanks > > Best Regards, > > *Umair M. Arif* _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
