NO FRAMES

CPXgetparamnum

public int CPXgetparamnum(CPXCENVptr env, const char * name_str, int * whichparam_p)
Definition file: cplex.h

The routine CPXgetparamnum returns the reference number of a CPLEX parameter, given a character string containing the name for it.

The reference manual ILOG CPLEX Parameters provides a list of parameters with their types, options, and default values.

Example

 status = CPXgetparamnum (env, "CPX_PARAM_ADVIND", param_number);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

name_str

A character array containing the name of the target parameter.

whichparam_p

A pointer to an integer to receive the reference number.

Returns:

The routine returns zero if successful and nonzero if an error occurs.