Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  All rows and columns eliminated

    Posted 01/06/25 09:32 AM

    Hi,

    I have a problem.

    I am using cplex to solve a cover set and in some case when I call the solve() function I get the following result:

    Tried aggregator 1 time.
    MIP Presolve eliminated 274 rows and 296 columns.
    All rows and columns eliminated.
    Presolve time = 0.00 sec. (0.16 ticks)
    
    Root node processing (before b&c):
      Real time             =    0.00 sec. (0.20 ticks)
    Parallel b&c, 12 threads:
      Real time             =    0.00 sec. (0.00 ticks)
      Sync time (average)   =    0.00 sec.
      Wait time (average)   =    0.00 sec.
                              ------------
    Total (root+branch&cut) =    0.00 sec. (0.20 ticks)


    From what I understand, the problem is "simple" and was solved directly in the presolve phase.

    What i don't understand is:

    1) How come in these cases the solve() function returns false while getCplexStatus() and getStatus() return CplexStatus::CPX_STAT_OPTIMAL and Status::Optimal, respectively.


    2) How can I get the value of the variables that are part of the solution? If I try to call the getValues() function an exception is thrown.



    ------------------------------
    Leonardo Parisi
    ------------------------------


  • 2.  RE: All rows and columns eliminated

    Posted 01/10/25 06:24 AM