Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Why does CPLEX OPL use MIP search method in a problem with all float variables?

    Posted 09/18/17 05:55 PM

    Originally posted by: aliv87


    Hello,

    I am working on a problem with integer variables, but I would like to solve the linear version first. So, I changed the int decision variables to float, which I suppose makes the problem linear, but I did not get the optimal solution to this LP problem; instead, I got the Relaxed Solution. Also, I noticed in the engine log that MIP search method has been used to solve this LP problem. Why does CPLEX OPL use MIP in a problem with all float variables?

    Thanks,

    Ali


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Why does CPLEX OPL use MIP search method in a problem with all float variables?

    Posted 09/19/17 12:38 AM

    Hi

    not only dvar int lead to mip 

    logical constraints , abs , max and other constructions lead to mip

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Why does CPLEX OPL use MIP search method in a problem with all float variables?

    Posted 09/19/17 11:41 AM

    Originally posted by: aliv87


    Thanks Alex,

    I see. Is there anyway to prevent CPLEX from giving the relaxed solution?

    Ali


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Why does CPLEX OPL use MIP search method in a problem with all float variables?

    Posted 09/19/17 12:14 PM

    Hi

    what do you mean ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Why does CPLEX OPL use MIP search method in a problem with all float variables?

    Posted 09/19/17 12:16 PM

    Originally posted by: aliv87


    I mean forcing CPLEX to either provide the optimal solution or state that the model is infeasible.

    Ali


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 6.  Re: Why does CPLEX OPL use MIP search method in a problem with all float variables?

    Posted 09/19/17 02:36 PM

    Hi,

    in the .ops you should uncheck those 2 options:


    #DecisionOptimization