NO FRAMES

CPXsetintparam

public int CPXsetintparam(CPXENVptr env, int whichparam, int newvalue)
Definition file: 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 ILOG 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 if successful and nonzero if an error occurs.