Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

How to control information that CPLEX displays about barrier optimization

  • 1.  How to control information that CPLEX displays about barrier optimization

    Posted Wed October 31, 2018 04:06 AM

    Originally posted by: lyapunov


    Dear all,

    I encountered some information display problems when I was using the barrier optimizer to solve a Quadratic Programming problem. The problem is that it keeps displaying the information below, even if I have already set the BarDisplay parameter to be zero (which is expected to instruct CPLEX to display no information).

    Barrier time = 0.00 sec. (0.03 ticks)

    Total time on 2 threads = 0.02 sec. (0.09 ticks)

    Now I would like to stop the above two pieces of information from displaying. Can anybody here help me address this problem please? Thank you for your attention in advance.

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to control information that CPLEX displays about barrier optimization

    Posted Wed October 31, 2018 10:30 AM

    You also have to set parameter CPX_PARAM_SIMDISPLAY to 0 (I know this look kind of weird Goofy)

    By the way, if you just want to disable all output then the easiest thing to do is to use setOut() to redirect output to a null stream.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: How to control information that CPLEX displays about barrier optimization

    Posted Thu November 01, 2018 04:14 AM

    Originally posted by: lyapunov


    Dear Daniel,

    Problem solved. What can be greater than this? I have actually got stuck at this problem for several days. Many thanks for your help. Have a good day!


    #CPLEXOptimizers
    #DecisionOptimization