Decision Optimization

Decision Optimization

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

 View Only
  • 1.  force cplex not to use barrier method

    Posted Thu April 18, 2019 03:10 PM

    Originally posted by: brown_rice


    Hi,

    I'm trying to avoid CPLEX to use barrier method to solve my LP due to the low quality solution that it produces. I set cplex.lpmethod !=4 but it does not work. CPLEX still solves my model via barrier method. 


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: force cplex not to use barrier method

    Posted Sun April 21, 2019 02:59 PM

    To which value did you set lpmethod? Barrier method may be used if the parameter is set to either 0 or 4. Can you show the CPLEX log output and the code that sets the parameter?


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: force cplex not to use barrier method

    Posted Wed May 01, 2019 12:41 PM

    Originally posted by: brown_rice


    Daniel,

    I just used cplex.lpmethod !=4  to prevent CPLEX from using Barrier method, but it looks like since the method is used while the parameter is 0, what I did was not enough. The log output was just saying that my model is solved via Barrier method.

     

    However, I changed my algorithm and no longer need this. 

     

    Thanks for your attention. 

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: force cplex not to use barrier method

    Posted Thu May 02, 2019 01:22 AM

    For clarification: Like I said (and like is explained in the documentation), setting the lpmethod to 0 means "automatic" which  allows CPLEX to do whatever it pleases. That usually means to throw barrier into the mix. You have to set lpmethod to a value different from 0 or 4. There is no way to specify "run concurrentopt with everything but barrier".


    #CPLEXOptimizers
    #DecisionOptimization