Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  location problem

    Posted 09/25/12 08:48 AM

    Originally posted by: DG34_mehar_mehar


    Hello,
    i want to use the primal simplex to solve location.lp, i used the option primal
    Line:----
    cplex.setParam(IloCplex::RootAlg, IloCplex::Primal);
    Line:----
    but i get the Mip solution.
    Line:----
    IloCplex::getAlgorithm = MIP
    Line:----
    i tried both examples (ilolpex4.cpp & ilopopulate.cpp)
    How can i get the right solution?
    regards
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: location problem

    Posted 09/25/12 12:27 PM

    Originally posted by: SystemAdmin


    As long as the problem contains integer variables CPLEX will solve it using a MIP algorithm.
    You can use IloConversion to change the type of variables in the model.
    Maybe also take a look at IloCplex::solveFixed() which solves a MIP as an LP after fixing all integer variables to their value in the current solution.
    #CPLEXOptimizers
    #DecisionOptimization