Difference between revisions of "OptObjectiveSa"
(One intermediate revision by the same user not shown) | |||
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'' | + | == 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 == |
− | + | <div style="column-count:2;-moz-column-count:2;-webkit-column-count:2"> | |
* [[DefineOptimization]] | * [[DefineOptimization]] | ||
+ | * [[OptScalarToDecision]] | ||
* [[OptSolution]] | * [[OptSolution]] | ||
− | * [[OptStatusText]] | + | * [[OptStatusText]] |
+ | * [[OptStatusNum]] | ||
* [[OptRhsSa]] | * [[OptRhsSa]] | ||
* [[OptShadow]] | * [[OptShadow]] | ||
* [[OptReducedCost]] | * [[OptReducedCost]] | ||
* [[OptSlack]] | * [[OptSlack]] | ||
+ | </div> |
Latest revision as of 22:25, 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
Enable comment auto-refresher