QuadraticProgram.get_linear_constraint¶
- QuadraticProgram.get_linear_constraint(i)[fuente]¶
Returns a linear constraint for a given name or index.
- Parámetros:
- Devuelve:
The corresponding constraint.
- Muestra:
IndexError – if the index is out of the list size
KeyError – if the name does not exist
- Tipo del valor devuelto: