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

A parameter set for IloCplex,
this class allows you to store and restore parameters that are
not at their default value.
You can create empty IloCplex::ParameterSet objects with
the constructor and then modify them. Alternatively, you can create
such objects with the method IloCplex::getParameterSet.
A parameter set can be applied to an instance of IloCplex
by means of the method IloCplex::setParameterSet(set).
See Also:
IloCplex::getParameterSet, IloCplex::setParameterSet
| Method Summary | |
|---|---|
public void | clear() |
public void | end() |
public IloNum | getParam(IloCplex::NumParam which) const |
public IloBool | getParam(IloCplex::BoolParam which) const |
public char * | getParam(IloCplex::StringParam which) const |
public CPXLONG | getParam(IloCplex::LongParam which) const |
public CPXINT | getParam(IloCplex::IntParam which) const |
public void | read(const char * filename) |
public void | setParam(IloCplex::NumParam which, IloNum val) |
public void | setParam(IloCplex::BoolParam which, IloBool val) |
public void | setParam(IloCplex::StringParam which, const char * val) |
public void | setParam(IloCplex::LongParam which, CPXLONG val) |
public void | setParam(IloCplex::IntParam which, CPXINT val) |
public void | write(const char * filename) const |
| Inner Class |
|---|
| ParameterSet::Iterator |
| Method Detail |
|---|
Clears the parameter set.
Ends the parameter set.
Returns the current value of a numeric parameter.
If the method fails, an exception of type
IloException, or one of its derived classes, is thrown.
| which |
The identifier of the num parameter to be queried.
|
Returns the current value of a Boolean parameter.
If the method fails, an exception of type
IloException, or one of its derived classes, is thrown.
| which |
The identifier of the Boolean parameter to be queried.
|
Returns the current value of a string parameter.
If the method fails, an exception of type
IloException, or one of its derived classes, is thrown.
| which |
The identifier of the string parameter to be queried.
|
Returns the current value of an integer parameter.
If the method fails, an exception of type
IloException, or one of its derived classes, is thrown.
| which |
The identifier of the integer parameter to be queried.
|
Returns the current value of an integer parameter.
If the method fails, an exception of type
IloException, or one of its derived classes, is thrown.
| which |
The identifier of the integer parameter to be queried.
|
Reads the parameter set from the specified file.
Sets a numeric parameter to the value val.
| which |
The identifier of the num parameter to be set.
|
| val |
The new value for the num parameter
|
Sets a Boolean parameter to the value val.
| which |
The identifier of the Boolean parameter to be set.
|
| val |
The new value for the Boolean parameter.
|
Sets a string parameter to the value val.
| which |
The identifier of the string parameter to set.
|
| val |
The new value for the string parameter.
|
Sets an integer parameter to the value val.
| which |
The identifier of the parameter to set.
|
| val |
The new value for the integer parameter.
|
Sets an integer parameter to the value val.
| which |
The identifier of the parameter to set.
|
| val |
The new value for the integer parameter.
|
Writes the parameter set to the specified file.