Difference between revisions of "OptObjectiveSa"

Line 2: Line 2:
 
[[Category:Doc Status D]] <!-- For Lumina use, do not change -->
 
[[Category:Doc Status D]] <!-- For Lumina use, do not change -->
 
   
 
   
= OptObjectiveSa(opt'',decision'') =
+
== OptObjectiveSa(opt, ''decision'') ==
 
 
 
Computes the range over which an objective function coefficient can vary in a linear program without changing the optimal solution.  «opt» must be an LP resulting from a previous call to [[DefineOptimization]].
 
Computes the range over which an objective function coefficient can vary in a linear program without changing the optimal solution.  «opt» must be an LP resulting from a previous call to [[DefineOptimization]].
  
Line 10: Line 9:
 
The optional «decision» parameter specifies a decision variable passed to the «decisions» parameter of [[DefineOptimization]].  When specified, returns the sensitivity for the cells in that decision, using the same indexes as the decision variable.
 
The optional «decision» parameter specifies a decision variable passed to the «decisions» parameter of [[DefineOptimization]].  When specified, returns the sensitivity for the cells in that decision, using the same indexes as the decision variable.
  
= See Also =
+
== See Also ==
 
 
 
* [[DefineOptimization]]
 
* [[DefineOptimization]]
 
* [[OptSolution]]
 
* [[OptSolution]]
* [[OptStatusText]], [[OptStatusNum]]
+
* [[OptStatusText]]
 +
* [[OptStatusNum]]
 
* [[OptRhsSa]]
 
* [[OptRhsSa]]
 
* [[OptShadow]]
 
* [[OptShadow]]
 
* [[OptReducedCost]]
 
* [[OptReducedCost]]
 
* [[OptSlack]]
 
* [[OptSlack]]

Revision as of 21:38, 22 January 2016


OptObjectiveSa(opt, decision)

Computes the range over which an objective function coefficient can vary in a linear program without changing the optimal solution. «opt» must be an LP resulting from a previous call to DefineOptimization.

This is apparently only available in a continuous linear program. It cannot be used on an integer or mixed-integer LP.

The optional «decision» parameter specifies a decision variable passed to the «decisions» parameter of DefineOptimization. When specified, returns the sensitivity for the cells in that decision, using the same indexes as the decision variable.

See Also

Comments


You are not allowed to post comments.