Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

How to export model to .mod or .dat

  • 1.  How to export model to .mod or .dat

    Posted Tue October 21, 2014 05:35 PM

    Originally posted by: yokito


    Hi,

    I would like to ask you about exporting a model to .mod or .dat from ILO CPLEX 12.4 C++ using Visual Studio 2010. Which commands do I have to use? I have looked on google and no luck.

    Thanks!!


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to export model to .mod or .dat

    Posted Wed October 22, 2014 03:12 AM

    If you are talking about a model that is stored in an instance of IloModel then it is not possible to export that to an OPL model in .mod/.dat. The model in IloModel just is no OPL model.

    If you are talking about a model stored in one of the IloOpl* classes, then please ask the question on the OPL Forum.


    #CPLEXOptimizers
    #DecisionOptimization