QuadraticProgram.clear

QuadraticProgram.clear()[source]

Clears the quadratic program, i.e., deletes all variables, constraints, the objective function as well as the name.

Return type

None