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

Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
void Delete(
	ICopyable[] obj
)
Visual Basic
Sub Delete ( _
	obj As ICopyable() _
)

Parameters

obj
Type: array<ILOG.Concert..::..ICopyable>[]()[][]
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