Remove all variables stored under reference name name from the model.
This function removes all constraints where the variable was used.
- Parameters:
name (str) – Reference name of the variables which to remove, same as used in
model.add_variables.
- Returns:
None.