Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Regarding output mps file using exportModel API

    Posted 02/17/17 10:33 AM

    Originally posted by: Uonly


    We are using exportModel API shown below to output mps file. However the model output is automatically converted to minimization problem, even if the model was originally maximization problem.

     

    Is there any approach that forces Cplex to output original maximization probem in mps format (we only want mps format) ?


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Regarding output mps file using exportModel API

    Posted 02/21/17 09:36 AM

    The MPS file format does not define a way to specify direction of the objective. That is why CPLEX always writes the model as minimization problem. There is no way to change that.

    On input CPLEX accepts additional tokens to specify the objective sense, see here.


    #CPLEXOptimizers
    #DecisionOptimization