CPXXparamsetcreate and CPXparamsetcreate
The routine
CPXXparamsetcreate/CPXparamsetcreate
creates a CPLEX parameter set object in the CPLEX environment.
CPXPARAMSETptr CPXXparamsetcreate( CPXCENVptr env, int * status_p)
CPXPARAMSETptr CPXparamsetcreate( CPXCENVptr env, int * status_p)
Description
The routine
CPXXparamsetcreate/CPXparamsetcreate
creates a CPLEX parameter set object in the CPLEX environment.
The created parameter set is initially empty. The CPLEX
parameter set object exists until the routine
CPXXparamsetfree/CPXparamsetfree
is called.
The CPLEX Parameters Reference Manual provides a list of parameters with their types, options, and default values.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - status_p
- A pointer to an integer used to return any error code produced by this routine.
Return
If successful,CPXXparamsetcreate/CPXparamsetcreate
returns a pointer to a parameter set that can be manipulated
(parameters added to / removed from it) and can be applied to
the environment it belongs to. If not successful, a NULL
pointer is returned, and an error status is returned in the
variable *status_p. If
the routine is successful,
*status_p is 0 (zero).
Example
ps = CPXparamsetcreate (env, &status);
See also Parameter sets and Examples for multiobjective optimization in the CPLEX User's Manual.