Deletes an object from a model.
After you call this method, the modeling object obj
is no longer in the model. If the modeling object is referenced multiple times in a model (for example, a variable used by multiple constraints), then that object is removed from all places. In particular, when you delete a variable from a model, the variable is removed from all the other modeling objects in the model. Modeling objects that are variables are not of type IAddable
. In fact, the type of the removed object is ICopyable
, a common base interface of both IAddable
and INumVar
.
IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.Delete Overload List