com.gams.api.GAMSOptions.ESolveOpt Enum Reference
Multiple solve management. More...
Public Member Functions | |
| int | value () |
| Get the int value of this enumerated SolveOpt. | |
Static Public Member Functions | |
| static ESolveOpt | lookup (int val) |
| Lookup all solveOpts. | |
Public Attributes | |
| Merge =(0) | |
| The solution information for all equations appearing in the model is completely replaced by the new model results; variables are only replaced if they appear in the final model. | |
| Replace =(1) | |
| The solution information for all equations and variables is merged into the existing solution information. | |
| Clear =(2) | |
| The solution information for all equations appearing in the model is completely replaced; in addition, variables appearing in the symbolic equations but removed by conditionals will be removed. | |
| UndefinedSolveOpt =(3) | |
| Undefined SolveOpt. | |
Detailed Description
Multiple solve management.
Member Function Documentation
◆ lookup()
|
static |
Lookup all solveOpts.
- Parameters
-
val an int value to lookup
- Returns
- the enumerated SolveOpt that has the specified value, or UndefinedSolveOpt if the specified value is not found.
◆ value()
| int com.gams.api.GAMSOptions.ESolveOpt.value | ( | ) |
Get the int value of this enumerated SolveOpt.
- Returns
- the solveOpt value
Member Data Documentation
◆ Clear
| com.gams.api.GAMSOptions.ESolveOpt.Clear =(2) |
The solution information for all equations appearing in the model is completely replaced; in addition, variables appearing in the symbolic equations but removed by conditionals will be removed.
◆ Merge
| com.gams.api.GAMSOptions.ESolveOpt.Merge =(0) |
The solution information for all equations appearing in the model is completely replaced by the new model results; variables are only replaced if they appear in the final model.
◆ Replace
| com.gams.api.GAMSOptions.ESolveOpt.Replace =(1) |
The solution information for all equations and variables is merged into the existing solution information.
◆ UndefinedSolveOpt
| com.gams.api.GAMSOptions.ESolveOpt.UndefinedSolveOpt =(3) |
Undefined SolveOpt.