The routine CPXgetintparam()
is used to obtain the current 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 CPXgetintparam (CPXCENVptr env, int whichparam, int *value_p); |
The pointer to the CPLEX environment as returned by CPXopenCPLEX()
.
The symbolic constant (or reference number) of the parameter for which the value is to be obtained.
A pointer to an integer variable to hold the current value of the CPLEX parameter.
status = CPXgetintparam (env, CPX_PARAM_PREIND, &curpreind); |