ElseIf#
- class gamspy.ElseIf(condition: Expression | Condition | Operation | MathOp | Parameter)[source]#
Bases:
objectA context manager to conditionally execute a group of statements if the preceding If or ElseIf condition was False and the current condition is True.
- Parameters:
- conditionExpression
The logical condition that must be satisfied to execute the nested statements.