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

An instance of this class provides a set of parameters and options to customize the behavior of OPL. Several OPL model instances can share one settings object.
| Method Detail |
|---|
Creates a settings object.
| env |
The environment needed to allocate memory for the created object.
|
| handler |
The error handler to which all OPL model instances using these settings will report errors.
|
Clears the memory used by this object.
This member function returns the threshold set for arrays or maps to be considered big.
This member function returns the display precision when serializing model elements.
This member function returns the display width when serializing model elements.
Returns the config file CPLEX using for dist MIP.
Returns the OPL error handler.
IloErrorHandler for this implementation object. Returns the file name of the external data export or null.
Returns the file name of the internal data export or null.
Returns the OPL profiler if the feature is activated.
IloProfiler for this implementation object. This member function returns the level for relaxation.
Returns the current resources search path.
See IloOplSettings::setResolverPath for details.
Returns the current path for temporary files.
Returns true if the OPL profiling feature is activated.
IloBool indicating whether the profiling feature is activated. Returns true if the OPL slicing can cache results to get possible performance improvements.
IloBool indicating whether the OPL slicing can cache results to get possible performance improvements. Returns true if the display is set to show only one item per line.
IloBool indicating whether the display is set to show only one item per line. Returns true if tuple component names are shown.
IloBool indicating whether tuple component names are shown. Returns true if item indices are shown when serializing model elements.
Returns true if CPLEX is using dist MIP.
IloBool indicating whether CPLEX uses dist MIP. Returns IloTrue if JavaScript is enabled.
IloBool indicating whether JavaScript is enabled. Returns true if OPL will export the external data.
IloBool indicating whether export of external data will be done. Returns true if OPL will export the internal data.
IloBool indicating whether export of internal data will be done. Returns true if the usage of all model elements is forced.
IloBool indicating whether the usage of all model elements is forced. Returns true if the usage of all model elements is forced.
IloBool indicating whether the usage of all model elements is forced. Returns true if temporary files are kept.
IloBool indicating whether temporary files are kept. Returns true if calls to end()
inside a main scripting block are executed.
IloBool indicating whether calls to end are enabled within a main scripting block. Returns true if the evaluation of assert statements is skipped.
IloBool indicating whether the evaluation of assert statements is skipped. Returns true if the detection of unused OPL elements is skipped.
IloBool indicating whether the detection of unused OPL elements is skipped. Returns true if OPL must check the integrity of the input data.
IloBool indicating whether OPL must check the integrity of the data input or not. Returns IloTrue if JavaScript is enabled.
IloBool indicating whether JavaScript is enabled. Returns true if locations are present.
IloBool indicating whether the locations are present. Returns IloTrue if multi-env mode is enabled.
IloBool indicating whether multi-env mode is enabled. Returns true if names for decision variables and constraints are present.
IloBool indicating whether names for decision variables and constraints are present. Returns true if the OPL must output warnings or not.
IloBool indicating whether the evaluation of assert statements is skipped. Deactivates the OPL profiling feature.
Sets the threshold for arrays/maps to be considered big.
This threshold is used to decide between full or short names for array/map items.
A short name consists of the absolute index number of the item's index in its indexer,
such as #13.
A full name is the string representation of the item's index.
| value |
The new threshold.
|
Displays only one item per line, or not.
| onoff |
If set to true, only one item is displayed per line. If set to false, more than is displayed.
|
Sets the display precision when serializing model elements.
| value |
The new precision for the display.
|
Sets the display width when serializing model elements.
| value |
The new width for the display.
|
Shows tuple component names, or not, when serializing model elements.
| with |
If set to true, the names are shown. If set to false, they are not.
|
Shows item indices, or not, when serializing model elements.
| with |
If set to true, the indices are shown. If set to false, they are not.
|
Enables or disables Javascript support.
| value |
The new value.
|
Forces the usage of all model elements, or not. Useful for debugging.
| onoff |
If set to true, the usage is forced. If set to false, it is not.
|
Forces the usage of all model elements, or not. Useful for debugging.
| onoff |
If set to true, the usage is forced. If set to false, it is not.
|
Set the Javascript garbage collector mode.
This flag enables or disables the Javascript garbage collector.
The default value is true which means that the GC must run.
| value |
The new value.
|
Keep temporary files.
This flag is used to control the deletion of temporary files.
When set to true temporary files will remain available (for debugging).
The default value is false.
| value |
The new flag value.
|
Enables object ending for flow control scripting.
This flag is used to control the execution of end() inside a main scripting block.
The default value is true.
| value |
The new flag value.
|
Activates the OPL profiling feature.
| profiler |
The profiler to be activated.
|
Sets the level for relaxation :
0 (default): any variable or labeled constraint can be relaxed.
1: only labeled constraints can be relaxed.
| value |
The new level.
|
Sets the path used to find resources (sub-models, data files, external libraries).
This a set of paths separated by ';' (whatever the platform). This path is used
to look up resources, such as sub-models, data files and external libraries. It is used
by script methods that load files, such as includeFile, IloOplModelSource, IloOplDataSource,
IloOplJavaImport.
The path can include the special value $OPLROOT, which will be automatically translated
to the root of the OPL installation directory.
If an element of the path is not absolute or does not start with $OPLROOT, it
will be considered as relative to the position of the current model file.
Setting this path affects immediately the current instance of IloOplResourceResolver.
The default value is $OPLROOT/lib.
If IBM ILOG ODM is installed, the additional special value $ODMROOT can be used
to designate the ODM installation directory, and the default value is changed to
$OPLROOT/lib;$ODMROOT/lib.
| path |
The new path value.
|
Skips the evaluation of model assert statements, or not. Useful for debugging.
| with |
If set to true the evaluation is skipped. If set to false, it is not.
|
Skips the the detection of unused OPL elements. Useful for deployment.
The default is false, warnings will be raised as needed.
| with |
If set to true the detection is skipped.
|
Tells OPL if the OPL slicing can cache results to get possible performance improvements.
Sets the path to a directory for temporary files.
| path |
The new directory for temporary files.
|
Tells OPL to perform data integrity checks for inputs or not.
Enables or disables Javascript support.
| value |
The new value.
|
Generates locations for Concert objects, or not. This switch is useful for debugging.
| with |
If set to true the locations are generated, if false they are not.
|
Enables multi-env mode.
This flag offers a new IloEnv to each sub-model.
The default value is true.
| value |
The new value.
|
Generates names for decision variables and constraints in Concert objects, or not. Useful for debugging.
| with |
If set to true the names are generated. If false they are not.
|
Forces OPL to output warnings or not
Returns IloTrue if Javascript garbage collector is enabled.
IloBool indicating whether Javascript garbage collector is on or off.