QuadraticProgram.is_feasible

QuadraticProgram.is_feasible(x)[fuente]

Returns whether a solution is feasible or not.

Parámetros:

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

Devuelve:

True if the solution provided is feasible otherwise False.

Tipo del valor devuelto:

bool