Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Relaxing constraints in Cplex

  • 1.  Relaxing constraints in Cplex

    Posted Wed October 08, 2014 10:18 AM

    Originally posted by: TapanDey


    Dear All,

    I would like to relax constraint if it is creating infeasibility in the solution.

    I have written a solution in Cplex where I want to relax a constraint for those combinations which are creating infeasibility so that I can run the solution with remaining combinations. Solution will be given for those feasible combinations and will ignore the infeasible combinations.

    Can anybody help me for this?

    Thanks,

    Tapan Dey


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Relaxing constraints in Cplex

    Posted Thu October 09, 2014 01:14 AM

    Hi

    have you had a look at the example

    CPLEX_Studio126\opl\examples\opl\relaxationIterator

    ?

    You may also use slacks in your constraints that could be relaxed.

    You could also have a look at Solve Anyway in Decision Optimization Center

    Remember also that in OPL labeled constraint will be relaxed if needed

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Relaxing constraints in Cplex

    Posted Thu November 20, 2014 07:15 AM

    Originally posted by: TapanDey


    Hi Alex,

    Thanks a lot for your inputs.

    Thanks,

    Tapan Dey


    #DecisionOptimization
    #OPLusingCPLEXOptimizer