Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  constraints in CPLEX

    Posted 07/13/10 08:59 AM

    Originally posted by: riba


    Hi,
    can we solve with cplex a system which has a constraint like this:
    x1/x2<=K
    Thanks
    #ConstraintProgramming-General
    #DecisionOptimization


  • 2.  Re: constraints in CPLEX

    Posted 07/13/10 12:30 PM

    Originally posted by: Didier Vidal


    Hi,

    With the CPLEX Optimizer (forum at http://www.ibm.com/developerworks/forums/forum.jspa?forumID=2059) you will have to turn the constraint into a linear constraint - for example x1 - K*x2 <= 0 -- if you really need x2 to be non zero, you will need another constraint to state this.

    With the CP Optimizer, a constraint of the form x1/x2 <= K is supported, provided that the unknown, x1 and x2 are discrete variables (integers or multiple of an integer decision variables).
    Didier.
    #ConstraintProgramming-General
    #DecisionOptimization