Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Cplex interactive optimizer solution file format

  • 1.  Cplex interactive optimizer solution file format

    Posted Tue November 04, 2008 01:56 PM

    Originally posted by: SystemAdmin


    [simovt said:]

    Hello everybody

    I would like to know if there is any way to output the solution in CPLEX interactive optimizer in a different format besides XML.

    I am getting the solution file by executing the command

    write solution.sol sol

    XML is definitely nice but I am dealing with a fairly large problem and I end up having solution files with sizes of tens of megabytes which take quite some time to parse with the standard xmlread function in MATLAB...

    I have read the CPLEX interactive optimizer reference (e.g. http://www.ieor.berkeley.edu/Labs/ilog_docs/pdf/refinteractiveoptimizer.pdf) but I have not found an answer to my question

    Thanks a lot.

    Tomas
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex interactive optimizer solution file format

    Posted Tue November 04, 2008 08:37 PM

    Originally posted by: SystemAdmin


    [MaryFenelon said:]

    CPLEX 11.2 added a parameter which reduces XML file sizes by only including the nonzero-valued variables.  It is accessed with "set output writelevel" in the CPLEX Interactive Optimizer.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Cplex interactive optimizer solution file format

    Posted Thu November 06, 2008 01:33 PM

    Originally posted by: SystemAdmin


    [simovt said:]

    Thanks a lot for the suggestion.
    #CPLEXOptimizers
    #DecisionOptimization