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

Matthew Saltzman mjs at clemson.edu
Mon Feb 18 09:26:05 EST 2008



On Mon, 2008-02-18 at 09:15 -0500, Kipp Martin wrote:
> Hi Joe:
> 
> > MIP emphasis: balance optimality and feasibility.
> > Root relaxation solution time =    0.01 sec.
> > CPLEX Error  1017: Not available for mixed-integer programs.
> > ERROR: CPXgetpi returned error 1017 (getRowPrice in
> > OsiCpxSolverInterface)
> > terminate called after throwing an instance of 'CoinError
> 
> 
> I have never used Cplex before, but I assume you have solved MIPs with 
> Cplex before? Could this be a license issue?

CPLEX has a rather stilted notion of what operations make sense on
certain types of problems.  To get most of the information out of a MIP
relaxation, OsiCpx converts the problem to an LP.  At some point, to run
branchandboud(), the problem is converted back to a MIP.  After that,
CPLEX thinks that LP functions like CPXgetpi() are no longer useful.

So there is something about the sequence of Joe's operations that is
causing the problem type to change from LP to MIP before he calls
getRowPrice() (which in turn calls CPXgetpi()).



> 
> Thanks
> 
> 
> > > 
> > _______________________________________________
> > OS mailing list
> > OS at list.coin-or.org
> > http://list.coin-or.org/mailman/listinfo/os
> 
> 
-- 
                Matthew Saltzman

Clemson University Mathematical Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Optimization Services (OS)" group.
To post to this group, send email to optimizationservices at googlegroups.com
To unsubscribe from this group, send email to optimizationservices-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/optimizationservices?hl=en
-~----------~----~----~----~------~----~------~--~---



More information about the OS mailing list