English
Languages
English
Shortcuts



Constraint.evaluate

abstract Constraint.evaluate(x)[source]

Evaluate left-hand-side of constraint for given values of variables.

Parameters

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

Return type

float

Returns

The left-hand-side of the constraint.