[Osi] OsiCpx error when using CPXsolninfo before cplex 11.0
Stefan Vigerske
stefan at math.hu-berlin.de
Tue Nov 20 08:16:32 EST 2012
Hi,
Was not known to me.
I think OsiCpx tries to be backward compatible w.r.t. CPLEX, so I
changed it to not use CPXsolninfo for MIPs with CPLEX < 11.0.
I did not test with an old CPLEX, though.
Will merge it to stable, too.
Stefan
On 11/05/2012 05:14 PM, Jan-Willem Goossens wrote:
> 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
>
>
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi
>
More information about the Osi
mailing list