Previous Page: CPXgetiisFirst PageNext Page: CPXgetintquality

CPXgetintparam


Description

This routine 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.

Return Value

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

Synopsis

int CPXgetintparam (CPXENVptr env,
                    int whichparam,
                    int *value_p);

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 for which the value is to be obtained.

int *value_p
A pointer to an integer variable that will hold the current value of the CPLEX parameter.

Example

status = CPXgetintparam (env, CPX_PARAM_PREIND, &curpreind);

Previous Page: CPXgetiisFirst PageNext Page: CPXgetintquality