NO FRAMES

CPXsetdblparam

int CPXPUBLIC CPXsetdblparam(CPXENVptr env, int whichparam, double newvalue)
Definition file: cplex.h
Include files: cplex.h

The routine CPXsetdblparam sets the value of a CPLEX parameter of type double.

The reference manual ILOG CPLEX Parameters provides a list of parameters with their types, options, and default values.

Example

 status = CPXsetdblparam (env, CPX_PARAM_TILIM, 1000.0);
 

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

whichparam

The symbolic constant (or reference number) of the parameter to change.

newvalue

The new value of the parameter.

Returns:

The routine returns zero on success and nonzero if an error occurs.