Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only

How to export cplex log when using command line oplrun ?

  • 1.  How to export cplex log when using command line oplrun ?

    Posted 10/15/19 01:52 AM

    Hi,

    I just noticed today that many users do not know about a new tiny feature in CPLEX 12.9:

    We can now export the cplex log when calling cplex with command line oplrun.

    For example, let me use volsay.mod in CPLEX examples:

    oplrun -l log.txt volsay.mod

    will run volsay.mod and build log.txt

     

    Tried aggregator 1 time.
    LP Presolve eliminated 1 rows and 0 columns.
    Reduced LP has 2 rows, 2 columns, and 4 nonzeros.
    Presolve time = 0,02 sec. (0,00 ticks)

    Iteration log . . .
    Iteration:     1   Dual infeasibility =             2,500000
    Iteration:     3   Dual objective     =          2300,000000

     

    regards

    Many how to with OPL at https://www.linkedin.com/pulse/how-opl-alex-fleischer/

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer