[Osi-tickets] [COIN-OR Open Solver Interface] #21: OsiGlpk: type in
isProvenPrimalInfeasible
COIN-OR Open Solver Interface
coin-trac at coin-or.org
Thu Jan 25 12:30:47 EST 2007
#21: OsiGlpk: type in isProvenPrimalInfeasible
---------------------+------------------------------------------------------
Reporter: stefan | Owner: mjs
Type: defect | Status: new
Priority: minor | Milestone:
Component: OsiGlpk | Version: 0.95.2
Keywords: |
---------------------+------------------------------------------------------
Hi,
in case that a MIP was solved, the comparision
{{{
lpx_mip_status( model ) == LPX_NOFEAS;
}}}
should be changed to
{{{
lpx_mip_status( model ) == LPX_I_NOFEAS;
}}}
LPX_NOFEAS is a return of lpx_get_status, not of lpx_mip_status.
Stefan
--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/21>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).
More information about the Osi-tickets
mailing list