Previous Page: CPXiiswriteFirst PageNext Page: CPXinfointparam

CPXinfodblparam


Description

This routine is used to obtain the default, minimum and maximum values of a CPLEX parameter of type double.

Values of zero obtained for both the minimum and maximum values of a type double parameter indicate that the parameter has no limit.
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 CPXinfodblparam (CPXENVptr env,
                     int whichparam,
                     double *defvalue_p,
                     double *minvalue_p,
                     double *maxvalue_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 value to be obtained.

double *defvalue_p
A pointer to a variable of type double that will hold the default value of the CPLEX parameter. May be NULL.

double *minvalue_p
A pointer to a variable of type double that will hold the minimum value of the CPLEX parameter. May be NULL.

double *maxvalue_p
A pointer to a variable of type double that will hold the maximum value of the CPLEX parameter. May be NULL.

Example

status = CPXinfodblparam (env, CPX_PARAM_TILIM, &default_tilim,
                          &min_tilim, &max_tilim);

Previous Page: CPXiiswriteFirst PageNext Page: CPXinfointparam