[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: Status after solve statement using MathProg
From: |
Andrew Makhorin |
Subject: |
[Help-glpk] Re: Status after solve statement using MathProg |
Date: |
Sun, 4 Dec 2005 21:01:47 +0300 |
> I am using MathProg and glpsol to solve a MIP. Is it possible to
> get a
> status flag in the MathProg languange after the solve command
> has been
> issued? I would like to catch whether or not the problem was
> solved to
> optimum, or if it was found to be (integer) infeasible, before
> printing the
> solution.
Yes, it is possible. Consult the glpsol source code enclosed between
#if-#endif, which is dated 01/VIII-2004, in the main() routine (there
are two insertions there).