QuadraticProgram.clear

QuadraticProgram.clear()[fuente]

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