English
Languages
English
Shortcuts



QuadraticProgram.is_feasible

QuadraticProgram.is_feasible(x)[source]

Returns whether a solution is feasible or not.

Parameters

x (Union[List[float], ndarray]) – a solution value, such as returned in an optimizer result.

Return type

bool

Returns

True if the solution provided is feasible otherwise False.