NO FRAMES

CPXsetintparam

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

The routine CPXsetintparam sets the value of a CPLEX parameter of type int.

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

Example

 status = CPXsetintparam (env, CPX_PARAM_SCRIND, CPX_ON);
 

See also lpex1.c in the CPLEX User's Manual.

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.