Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Display info for cplexlp during run when using barrier method

    Posted 05/10/18 09:24 PM

    Originally posted by: RobertFlores


    I am accessing cplex 12.6.3 through matlab to solve a very large lp (>>100,000 variables). I have been trying to use the barrier solver on the problem, and am interested in getting some algorithm output to indicate the state of the problem. I am using the following line to create the options object, which is then passed to the solver:

    options = cplexoptimset('Display','on');

    When using other lp algorithms, updates are fed to the console, but not when the barrier method is being used. Is there another method/command for getting more solver information during the solving process?

     

    Thank you!


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Display info for cplexlp during run when using barrier method

    Posted 05/16/18 12:41 PM

    Can you please try setting 'Display' to 'iter' instead of 'on'?


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Display info for cplexlp during run when using barrier method

    Posted 05/23/18 04:05 PM

    Originally posted by: RobertFlores


    Hi Daniel,

     

    Thank you for responding. We have done both 'iter' and 'on'. It is interesting because depending on which constraints we add/remove from the model, either we get a TON of display information or nothing. It feels like we need a deeper insight into the barrier code to know when a display item is triggered and sent to the terminal output. The model has been converging to an optimal solution, but we are interested in seeing how close the model is getting to optimality through time.

     

    Thank you,

    Robert


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Display info for cplexlp during run when using barrier method

    Posted 05/25/18 07:51 AM

    Would it be hard for you to use the class API instead of the toolbox functions?

    The toolbox functions are intended as a drop-in replacement for the matlab toolbox functions and parameters known from matlab are mapped to CPLEX parameters in a more or less meaningful way. By using the class API you could directly use the CPLEX parameters which would give you more/full control over the output etc.


    #CPLEXOptimizers
    #DecisionOptimization