Try our new documentation site (beta).
ScenNRHS
Type: | double |
---|---|
Modifiable: | Yes |
When the model has multiple scenarios, this attribute is used to query or modify changes of the linear constraint right-hand sides in scenario w.r.t. the base model. You set using the ScenarioNumber parameter.
If an element of this array attribute is set to the undefined
value
(GRB_UNDEFINED
in C and C++, or GRB.UNDEFINED
in Java, .NET,
and Python), it means that the corresponding value in the scenario is
identical to the one in the base model.
The number of scenarios in the model can be queried (or modified) using the NumScenarios attribute.
Please refer to the Multiple Scenarios discussion for more information.
For examples of how to query or modify attributes, refer to our Attribute Examples.