This interface defines the API for classes that represent optimization models.

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
public interface IModel : IAddable, ICopyable
Visual Basic
Public Interface IModel _
	Inherits IAddable, ICopyable

Remarks

An IModel extractable is a multiple set of modeling objects, such as constraints or objectives. Objects of type IAddable can be added to and removed from an IModel. The modeling objects in a model can be queried using the enumerator returned by method GetEnumerator().

An important point is that optimizers such as CP or Cplex implement the IModel interface through its extension IModeler. The model associated with an optimizer is the model the optimizer will solve upon invocation of its method solve().

See Also