The OplModelDefinition type exposes the following members.

Methods

  Name Description
Public method Dispose
Public method End
Clears the memory used by this object
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize (Overrides Object..::..Finalize()()()().)
Public method getElementDefinition
This member function retrieves an element definition by its name.

Return Value

The definition of the element.

Public method GetElementDefinitionEnumerator
This member function creates an iterator for element definitions. The caller is responsible for ending the iterator.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetModelSource
Public method getName
Public method getObjectiveLocation
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method hasElementDefinition
This member function tells you whether this model contains an element of given name.

Return Value

IloTrue element exists.

Public method hasMain
This function checks whether the model definition has a main scripting block.

Return Value

True if the model definition has a main scripting block defined.

Public method hasObjective
Public method isNonLinear
Public method isNull
Public method isSimpleObjective
Public method isUsingCP
This member function tells you whether this model requires a CP engine.

Return Value

IloTrue if a CP engine is required.

Public method isUsingCplex
This member function tells you whether this model requires a CPLEX engine.

Return Value

IloTrue if a CPLEX engine is required.

Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also