The OplModel type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
|
|
CP |
Returns the CP optimization engine associated with this OPL model instance.
Return ValueAn IloCP for CP engine associated this OPL model. |
|
|
Cplex |
Returns the CPLEX optimization engine associated with this OPL model instance.
Return ValueAn [!:ICplex] for CPLEX engine associated this OPL model. |
|
|
HasCP |
Returns IloTrue, if this model has a CP engine associated.
|
|
|
HasCplex |
Returns IloTrue, if this model has a CPLEX engine associated.
|
|
|
ModelDefinition |
Returns the model definition.
Return ValueThe IloModelDefinition for this OPL model instance. |
|
|
Name |
Returns the name of an OPL model.
Return ValueThe name of this OPL model. |
|
|
Objective |
Returns a Concert objective for the objective. If the model has no objective, an empty handle will be returned.
Return ValueAn [!:IObjective] for the objective of the implementation object. |
|
|
Settings |
Returns the settings object.
Return ValueThe OplSettings used by this OPL model instance. |
|
|
SourceName |
Returns the name of a model definition's source.
Return ValueThe source name of this OPL model. |