CPXXmultiobjgetdiminfo
The routine CPXXmultiobjgetdiminfo accesses
integer-valued information about the solution of the specified subproblem
during the last multi-objective optimization.
int CPXXmultiobjgetdiminfo( CPXCENVptr env, CPXCLPptr lp, CPXDIM subprob, CXPDIM * info_p, int what )
Description
The routine CPXXmultiobjgetdiminfo accesses
integer-valued information about the solution of the specified subproblem
during the last multi-objective optimization.
The specified subproblem must have been solved during the last multi-objective optimization, or no information can be retreived for it.
The info values are returned in the variable
int pointed to by the argument
info_p.
For documentation of the info symbols (possible values of the
what argument), see the CPX_MULTIOBJ_... symbols on the page,
Multiobjective optimization in the CPLEX Callable Library (C API),
in the Callable Library (C API) Reference Manual..
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob. - subprob
- An integer value specifying the order number of the multi-objective subproblem for which the information is requested.
- info_p
- A pointer to an integer variable in which the requested info value is to be stored.
- what
- A symbolic constant specifying the info value to be retrieved.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.
Example
status = CPXXmultiobjgetdiminfo (env, lp, &priority, CPX_MULTIOBJ_PRIORITY);