QuadraticProgram.remove_linear_constraint

QuadraticProgram.remove_linear_constraint(i)[source]

Remove a linear constraint

Parameters

i (Union[str, int]) – an index or a name of a linear constraint

Raises
  • KeyError – if name does not exist

  • IndexError – if index is out of range

Return type

None