CPXgetintparam


Description

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.

Return Value

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

Synopsis

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

Arguments

CPXCENVptr env

The pointer to the CPLEX environment as returned by CPXopenCPLEX().

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 to hold the current value of the CPLEX parameter.

Example

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


Previous Page: CPXgetiis Return to Top Next Page: CPXgetintquality