[Osi] OsiCpx error when using CPXsolninfo before cplex 11.0

Jan-Willem Goossens jhmgoossens at hotmail.com
Mon Nov 5 11:14:11 EST 2012


Hi,
In changeset 1683 OsiCpxSolverInterface introduced the use of CPXsolninfo, mostly to check whether a solution exists.
Before CPLEX 11, however, the CPXsolninfo() is NOT available for mip-opt.

For example, when Cplex 10.2 is used to solve a mip with OsiCpxSolverInterface, then a call to getColSolution() results in

CPLEX Error 1017: Not available for mixed-integer programs.

I understand this only affects old CPLEX versions, so fixing this is not high priority for most folks.
Is this a known issue? 

Regards,

Jan-Willem




More information about the Osi mailing list