Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Maximum value

    Posted 09/20/20 07:50 AM

    dvar float+ X;

    dvar boolean Y;

    maximize X;

    subject to {

    X>= 5 => Y==1;

    X<= 5-0.001 => Y==0;

    }

    I am getting optimal solution as 5 only. It is an unbounded problem then the optimal solution should be infinite but why it is taking the least value?

    Thank you

    Sandeep






    #DecisionOptimization
    #Support
    #SupportMigration


  • 2.  RE: Maximum value

    Posted 09/20/20 08:33 AM

    Hi,

    execute

    {

    writeln(cplex.getCplexStatus());

    }

    gives 2 which means unbounded






    #DecisionOptimization
    #Support
    #SupportMigration


  • 3.  RE: Maximum value

    Posted 09/20/20 09:02 AM

    Thanks Alex. If it is unbounded then it should give the maximum objective value infinite because X can take any positive value. Why it is restricted to 5 only?






    #DecisionOptimization
    #Support
    #SupportMigration