Previous Page: CPXsetdefaultsFirst PageNext Page: CPXsetlogfile

CPXsetintparam


Description

This routine sets the value of a CPLEX parameter of type int.

Appendix A, Parameter Table provides a list of parameters with their types, options and default values.

Return Value

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

Synopsis

int CPXsetintparam (CPXENVptr env,
                    int whichparam,
                    int newvalue);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

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

int newvalue
The new value of the parameter.

Example

status = CPXsetintparam (env, CPX_PARAM_SCRIND, CPX_ON);

See Also

Example lpex1.c in the CPLEX User's Manual.

Previous Page: CPXsetdefaultsFirst PageNext Page: CPXsetlogfile