LinearConstraint.evaluate

LinearConstraint.evaluate(x)[source]

Evaluate the left-hand-side of the constraint.

Parameters

x (Union[ndarray, List, Dict[Union[int, str], float]]) – The values of the variables to be evaluated.

Return type

float

Returns

The left-hand-side of the constraint given the variable values.