ILOG CPLEX .NET Reference Manual

Cplex.ClearModel Method 

Removes all modeling objects from the active model.

public virtual void ClearModel();

Remarks

The result is an empty model.

See Also

Cplex Class | ILOG.CPLEX Namespace