| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

This class eases the association of model and data files. It manages the lifecycle of the underlying objects. Refer also to the Interfaces User's Manual.
See Also:
IloOplErrorHandler, IloOplModelSource, IloOplModelDefinition, IloOplModel, IloOplDataSource, IloCplex
| Method Summary | |
|---|---|
public void | end() |
public IloCP | getCP() |
public IloCplex | getCplex() |
public IloOplErrorHandler | getErrorHandler() |
public IloOplModel | getOplModel() |
public IloOplSettings | getSettings() |
public | IloOplRunConfiguration(IloEnv env, const char * modPath) |
public | IloOplRunConfiguration(IloEnv env, const char * modPath, const char * datPath) |
public | IloOplRunConfiguration(IloEnv env, const char * modPath, IloStringArray datPaths) |
public | IloOplRunConfiguration(IloOplModelDefinition def) |
public | IloOplRunConfiguration(IloOplModelDefinition def, IloOplDataElements dataElements) |
public IloBool | isCompiledModel() const |
public void | setCP(IloCP cp) |
public void | setCplex(IloCplex cplex) |
public void | setErrorHandler(IloOplErrorHandler handler) |
public void | setSettings(IloOplSettings settings) |
| Method Detail |
|---|
This constructor creates a run configuration from a model file.
| env |
The environment to allocate memory.
|
| modPath |
The path to the model file.
|
This constructor creates a run configuration from a model file and one data file.
| env |
The environment to allocate memory.
|
| modPath |
The path to the model file.
|
| datPath |
The path to the data file.
|
This constructor creates a run configuration from a model file and more than one data file.
| env |
The environment to allocate memory.
|
| modPath |
The path to the model file.
|
| datPaths |
An array of the paths to the data files.
|
This constructor creates a run configuration from a model definition.
| def |
The model definition.
|
This constructor creates a run configuration from a model definition and data elements.
| def |
The model definition.
|
| dataElements |
The data elements.
|
Clears the memory used by this object
This member function retrieves the current instance of the CP engine.
This member function retrieves the current instance of the CPLEX engine.
This member function retrieves the error handler.
This member function retrieves the OPL model instance for this run configuration.
The first call to this method triggers instantiation of all missing objects.
That may include objects of type
IloOplErrorHandler,
IloOplSettings,
IloOplModelSource,
IloOplModelDefinition,
IloOplDataSource,
IloCplex,
IloCP,
IloOplModel.
This member function retrieves the current OPL settings.
See Also:
This member function tests whether the model file is compiled.
IloTrue if the model file is compiled. This member function specifies the instance of the CP engine to use.
If no CP engine is specified, a new one is created.
| cp |
The CP engine.
|
This member function specifies the instance of the CPLEX engine to use.
If no CPLEX engine is specified, a new one is created.
| cplex |
The CPLEX engine.
|
This member function specifies what error handler to use.
If no error handle is specified, a new one is created.
| handler |
The error handler to use.
|
This member function specifies what OPL settings to use.
If no settings object is specified, a new one is created.
See Also:
| settings |
The settings to be used.
|