Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
2 replies Latest Post - ‏2013-02-28T00:55:44Z by SystemAdmin
SystemAdmin
SystemAdmin
1883 Posts
ACCEPTED ANSWER

Pinned topic sensitivity analysis

‏2013-02-27T02:48:02Z |
Hi,everyone!
Apart from using this way to analyze linear programming,is there any other way to do some extra analysis in ILOG OPL studio IDE?For example,sensitivity analysis(objective function coefficent or right-hand coefficent).Thank!

execute {
for(p in products)
writeln("x.reducedCost = ", x[p].reducedCost);
}
execute {
for(r in resources)
{ writeln("ct.slack = ", ct[r].slack);
writeln("ct.dual = ", ct[r].dual);}
}
execute {
for(r in resources)
{ writeln("ct.LB = ", ct[r].LB);
writeln("ct.UB = ", ct[r].UB);
}

}
Updated on 2013-02-28T00:55:44Z at 2013-02-28T00:55:44Z by SystemAdmin
  • AlexFleischer
    AlexFleischer
    1130 Posts
    ACCEPTED ANSWER

    Re: sensitivity analysis

    ‏2013-02-27T09:43:57Z  in response to SystemAdmin
    Hi,

    let me give you an example.

    dvar float+ Gas[1..1];
    dvar float+ Chloride[1..1];
     
     
    maximize
      40 * Gas[1] + 50 * Chloride[1];
    subject to {
      ctMaxTotal:     
        Gas[1] + Chloride[1] <= 50;
      ctMaxTotal2:    
        3 * Gas[1] + 4 * Chloride[1] <= 180;
      ctMaxChloride:  
        Chloride[1] <= 40;
    }
    


    will give you in the IDE the attached screenshot

    Regards
    Updated on 2014-03-26T05:50:51Z at 2014-03-26T05:50:51Z by AlexFleischer
    • SystemAdmin
      SystemAdmin
      1883 Posts
      ACCEPTED ANSWER

      Re: sensitivity analysis

      ‏2013-02-28T00:55:44Z  in response to AlexFleischer
      Thank you for your reply,but do you think the range it gives me make sense?It gives such infomation for a lot of linear programming.But the result make no sense.