Setting Parameters

These methods and routines are used to set parameters that control various aspects of CPLEX behavior and to find out current, default, and allowed values for parameters. For more information about parameters, see the reference manual ILOG CPLEX Parameters.

Note: Names of classes, methods, and symbolic constants in the .NET API correspond very closely to those in the Java API with these systematic exceptions:

Purpose

Java API

C++ API

C API

Changes a parameter of type double

IloCplex.setParam

IloCplex::setParam

CPXsetdblparam

Accesses a parameter of type double

IloCplex.getParam

IloCplex::getParam

CPXgetdblparam

Gets default value and range of parameter of type double

IloCplex.getMin, getMax, getDefault

IloCplex::getMin, getMax, getDefault

CPXinfodblparam

Changes parameter of type integer

IloCplex.setParam

IloCplex::setParam

CPXsetintparam

Accesses parameter of type integer

IloCplex.getParam

IloCplex::getParam

CPXgetintparam

Gets default value and range of parameter of type integer

IloCplex.getMin, getMax, getDefault

IloCplex::getMin, getMax, getDefault

CPXinfointparam

Resets all parameters to their standard default values

IloCplex.setDefaults

IloCplex::setDefaults

CPXsetdefaults

Changes parameter of type string

IloCplex.setParam

IloCplex::setParam

CPXsetstrparam

Accesses parameter of type string

IloCplex.getParam

IloCplex::getParam

CPXgetstrparam

Gets default value of parameter of type string

IloCplex.getDefault

IloCplex::getDefault

CPXinfostrparam

Sets value of delete mode.

IloCplex.setDeleteMode

IloCplex::setDeleteMode

CPXpivotout

Accesses setting for delete mode

IloCplex.getDeleteMode

IloCplex::getDeleteMode

----

Accesses the number of a parameter from its name

----

----

CPXgetparamnum

Accesses the name of a parameter from its number

----

----

CPXgetparamname