Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

equivalence and imply

  • 1.  equivalence and imply

    Posted Sat June 04, 2016 03:06 AM

    Originally posted by: sandeepsinghchauhan


    One Way

    forall(dv in DV){
    (XPnew[dv] == 0) == (sum(t in R)nR[<dv.p,t>] == 0);
    (XPnew[dv] == XP[dv]) == (sum(t in R)nR[<dv.p,t>] == 1);
    }

    "no feasible solution''

    Other way

    forall(dv in DV){

    (sum(t in R)nR[<dv.p,t>] == 0) =>(XPnew[dv] == 0);
    (sum(t in R)nR[<dv.p,t>] == 1) => (XPnew[dv] == XP[dv]);

    }

    "getting result"

    Are they both constraints same? equivalent and imply

    please help


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: equivalence and imply

    Posted Sat June 04, 2016 11:33 AM

    Hi,

    if XP is 0 then the first constraints cannot be true, it would lead to 0==1 whereas no problem with the second constraints

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer