We have the following table in the manual:
Linear constraints
| Mathematical Constraint |
MOI Function |
MOI Set |
a^Tx \le u |
ScalarAffineFunction |
LessThan |
a^Tx \ge l |
ScalarAffineFunction |
GreaterThan |
a^Tx = b |
ScalarAffineFunction |
EqualTo |
l \le a^Tx \le u |
ScalarAffineFunction |
Interval |
| ... |
... |
... |
In the first four lines we use a^Tx in the first column and we say ScalarAffineFunction, should we say/use ScalarLinearFunction? This could avoid multiple representations of the same constraint. Since a^Tx - b = 0 is equivalent to a^Tx = b
We have the following table in the manual:
Linear constraints
a^Tx \le uScalarAffineFunctionLessThana^Tx \ge lScalarAffineFunctionGreaterThana^Tx = bScalarAffineFunctionEqualTol \le a^Tx \le uScalarAffineFunctionIntervalIn the first four lines we use
a^Txin the first column and we sayScalarAffineFunction, should we say/useScalarLinearFunction? This could avoid multiple representations of the same constraint. Sincea^Tx - b = 0is equivalent toa^Tx = b