// Post Processing Code
execute {
if(cplex.getCplexStatus()==1){
writeln("Reduced Cost x1=", x1.reducedCost);
writeln("Reduced Cost x2=", x2.reducedCost);
writeln("Reduced Cost x3=", x3.reducedCost);
writeln("Dual variable / shadow price for c1=", c1.dual);
writeln("Dual variable / shadow price for c2=",c2.dual);
writeln("Dual variable / shadow price for c3=",c3.dual);
writeln("Dual variable / shadow price for c4=",c4.dual);
writeln("Slack variable for c1=", c1.slack);
writeln("Slack variable for c2=",c2.slack);
writeln("Slack variable for c3=",c3.slack);
writeln("Slack variable for c4=",c4.slack);
}
else {
writeln("Solution not found");
}
}
On this page of the site you can watch the video online Performing a Sensitivity Analysis in CPLEX (Optimization Studio & Interactive Optimizer) with a duration of hours minute second in good quality, which was uploaded by the user Vela@UCF 11 October 2021, share the link with friends and acquaintances, this video has already been watched 4,900 times on youtube and it was liked by 41 viewers. Enjoy your viewing!