Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  The return value of CPXgetstat()

    Posted 05/07/15 08:55 AM

    Originally posted by: Itherain


    Hi

    I have used cplex to solve a MIP problem.

    But, the routine CPXgetstat() returns zero.  However, I do not know the meaning of this return value. Any help would be appreciated.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: The return value of CPXgetstat()

    Posted 05/07/15 11:04 AM

    The documentation for CPXgetstat is here.  Here's the pertinent sentence from that page: "A return value of 0 (zero) specifies either an error condition or that a change to the most recently optimized problem may have invalidated the solution status."

    This may not be very useful ... you may have to provide more details.

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: The return value of CPXgetstat()

    Posted 05/07/15 09:00 PM

    Originally posted by: Itherain


    Thank you.

    CPXgetstat() returns 0, CPXmipopt() returns 1001, and CPXgetmipobjval() returns 1217.  I do not why this happens.

    I used CPXwriteprob() to write the  subproblem when CPXgetstat() returns 0 and found the subproblem is integer infeasible.


    #CPLEXOptimizers
    #DecisionOptimization