Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  OPL Write decision variables to *.dat file

    Posted 04/17/12 12:35 PM

    Originally posted by: cordobes


    Dear all,

    how can I write the resulting decision variables and resulting objective value after solving of an LP to a dat-file? I only found the function "SheetWrite" for writing it to a database or a spredsheet but no simple function for exporting the results to a dat-file.

    Thanks in advance!
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: OPL Write decision variables to *.dat file

    Posted 04/17/12 12:53 PM

    Originally posted by: SystemAdmin


    Please go through the following technote with exactly the kind of information that you are looking for:

    http://www-01.ibm.com/support/docview.wss?uid=swg21508158

    Hope this helps.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: OPL Write decision variables to *.dat file

    Posted 04/17/12 12:53 PM
    Hi

    in flow control, on IloOplModel you can use the method printSolution.

    Prints the current solution values for all decision variables.
    The output is a valid .dat file.

    Regards
    #DecisionOptimization
    #OPLusingCPLEXOptimizer