Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Is there a computational benefit to specifying lb/ub in the CPLEX API?

    Posted Wed July 13, 2011 11:41 AM

    Originally posted by: BerkUstun


    I remember learning about a tweaked version of the Simplex algorithm that accounted for bounded variables in my mathematical programming classes - so that users would get a slight computational benefit in solving an LP because constraints of the type x > lb or x < ub did not have to be tacked onto the Ax < b part of the problem.

    Since the CPLEX API allows us to specify lb and ub parameters in Model.lb and Model.ub, does it use a similar algorithm when a user specifies lb/ub in the Model? Or will these constraints be tacked onto Model.A? Simply put, is there a computational benefit in specifying ub and lb in CPLEX?
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Is there a computational benefit to specifying lb/ub in the CPLEX API?

    Posted Thu July 14, 2011 01:48 AM

    Originally posted by: John Cui


    Which API are you using?

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Is there a computational benefit to specifying lb/ub in the CPLEX API?

    Posted Thu July 14, 2011 03:30 PM

    Originally posted by: BerkUstun


    The MATLAB API
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Is there a computational benefit to specifying lb/ub in the CPLEX API?

    Posted Thu July 14, 2011 08:33 PM

    Originally posted by: John Cui


    First, we should split lb and ub for decision variables from A matrix, A matrix only handle constraints, like x1 + x2 - x3 <= 10.
    Then it is more clear to know what constraints and bounds are.

    But you can use A matrix to represent lb and ub as well. In theory, 1 <= x2 <= 10 is a constraint.

    And I think it is good for performance if you specify the bounds of decision variables.

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization