Struct to represent right-hand side of LP constraints. In linear programming, we have constraints of the form
where
represents an elementwise comparison operator, such as
. This struct represents one element of the right-hand side of such a constraint, together with the elementwise comparison.
More...
#include <data_objects.hpp>
Public Member Functions | |
| Constraint (Row< T > &&r, T lb, T ub) | |
Public Attributes | |
| Row< T > | row |
| T | lower_bound |
| Lower bound of constraint equation. | |
| T | upper_bound |
| Upper bound of constraint equation. | |
Struct to represent right-hand side of LP constraints. In linear programming, we have constraints of the form
where
represents an elementwise comparison operator, such as
. This struct represents one element of the right-hand side of such a constraint, together with the elementwise comparison.
1.8.6