Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
ScenNObjVal
Type: | double |
---|---|
Modifiable: | No |
When the model has multiple scenarios, this attribute is used to
query the objective value of the current solution for scenario .
You set using the
ScenarioNumber parameter.
If no solution is available, this returns GRB_INFINITY
(for a
minimization objective).
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.