Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  OPL : question on using an *.ops file

    Posted 04/03/12 05:35 AM

    Originally posted by: CplexUser1453


    Hello

    I am using OPL 6.3 and I have a stupid question on using an *.ops file :

    By exectuting oplrun on the command line :

    oplrun -tune params.ops model.mod data.dat
    


    I got the following params.ops file :

    <?xml version="1.0"?>
    <settings>
    <category name="cplex">
    <setting name="heurfreq" value="3" type="int"/>
    <setting name="rinsheur" value="20" type="int"/>
    </category>
    </settings>

    However, when I try to execute my model with the .ops file :

    oplrun model.mod data.dat params.ops
    


    I get a syntax error :

    • ERRORDATA_001 at 1:1-2 params.ops: Data parsing error: syntax error, unexpected <.
    • FATALPARSE_103 at 1:2-3 params.ops: Unexpected character in "?", try using quoted string data, or check the encoding

    What am I missing?

    Thanks a lot!
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: OPL : question on using an *.ops file

    Posted 04/03/12 06:09 AM

    Originally posted by: SystemAdmin


    Please ask this question on the OPL Forum. The people there will be able to provide help more easily.
    #CPLEXOptimizers
    #DecisionOptimization