ILOG CPLEX .NET Reference Manual

IMPModeler.Delete Method (ICopyable[])

Deletes the modeling objects in an array obj from the invoking model.

void Delete(
   ICopyable[] obj
);

Parameters

obj
The array of modeling objects to be deleted from the invoking model.

Remarks

After you call this method, the deleted objects are no longer in the model. If a modeling object is referenced multiple times in a model (for example, a variable used by multiple constraints), the object is removed from all places. When you delete variables from a model, they are removed from all other modeling objects in the model.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.Delete Overload List