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
If no solution is available, this returns
GRB_INFINITY (for a
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.