The routine CPXsetintparam() 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.
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXsetintparam (CPXENVptr env, int whichparam, int newvalue); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX().
The symbolic constant (or reference number) of the parameter to change.
The new value of the parameter.
status = CPXsetintparam (env, CPX_PARAM_SCRIND, CPX_ON); |