Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Suppress Console Output In OPL Script

    Posted 03/24/15 03:32 PM

    Originally posted by: mathygirl


    What is the oplscript command to prevent printouts to the console, something the equivalent of cplex.setOut(null) in the Java API?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Suppress Console Output In OPL Script

    Posted 03/24/15 04:46 PM

    Hi

    have you tried

    cplex.mipdisplay=0;

    ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Suppress Console Output In OPL Script

    Posted 03/24/15 05:31 PM

    Originally posted by: mathygirl


    No, I still see stuff like:

     6 of 573 MIP starts provided solutions.
     MIP start 'm508' defined initial solution with objective 332.7970.
     Tried aggregator 3 times.
     MIP Presolve eliminated 4802 rows and 1068 columns.
     MIP Presolve modified 11 coefficients.
     Aggregator did 1814 substitutions.
     Reduced MIP has 1311 rows, 459 columns, and 3143 nonzeros.
     Reduced MIP has 459 binaries, 0 generals, 0 SOSs, and 0 indicators.
     Presolve time = 0.02 sec. (13.00 ticks)
     Probing fixed 1 vars, tightened 0 bounds.
     Probing time = 0.02 sec. (7.82 ticks)
     Tried aggregator 1 time.
     MIP Presolve eliminated 127 rows and 54 columns.
     Reduced MIP has 1184 rows, 405 columns, and 2831 nonzeros.
     Reduced MIP has 405 binaries, 0 generals, 0 SOSs, and 0 indicators.
     Presolve time = 0.02 sec. (4.37 ticks)
     Probing time = 0.00 sec. (7.39 ticks)
     Tried aggregator 1 time.
     MIP Presolve eliminated 15 rows and 5 columns.
     Reduced MIP has 1169 rows, 400 columns, and 2796 nonzeros.
     Reduced MIP has 400 binaries, 0 generals, 0 SOSs, and 0 indicators.
     Presolve time = 0.02 sec. (3.99 ticks)
     Probing time = 0.00 sec. (7.44 ticks)
     Clique table members: 1961.
     MIP emphasis: balance optimality and feasibility.
     MIP search method: dynamic search.
     Parallel mode: deterministic, using up to 8 threads.
     Root relaxation solution time = 0.02 sec. (2.51 ticks)

             Nodes                                         Cuts/
        Node  Left     Objective  IInf  Best Integer    Best Bound    ItCnt     Gap

     *     0+    0                          332.7983     1588.7638      172  377.40%
           0     0      338.5917    64      332.7983      338.5917      172    1.74%
           0     0      334.8135   108      332.7983      Cuts: 68      236    0.61%

     Repeating presolve.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Suppress Console Output In OPL Script

    Posted 03/24/15 06:21 PM

    Hi

    can you add

    cplex.simdisplay=0.

    ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Suppress Console Output In OPL Script

    Posted 03/24/15 07:24 PM

    Originally posted by: mathygirl


    Doesn't seem to work, I still get the same outputs to the console.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer