CPXXmultiobjgetdblinfo and CPXmultiobjgetdblinfo

The routine CPXXmultiobjgetdblinfo/CPXmultiobjgetdblinfo accesses double-valued information about the solution of the specified subproblem during the last multi-objective optimization.

int  CPXXmultiobjgetdblinfo( CPXCENVptr env, CPXCLPptr lp, CPXDIM subprob, double * info_p, int what )

int  CPXmultiobjgetdblinfo( CPXCENVptr env, CPXCLPptr lp, int subprob, double * info_p, int what )

Description

The routine CPXXmultiobjgetdblinfo/CPXmultiobjgetdblinfo accesses double-valued information about the solution of the specified subproblem during the last multi-objective optimization.

The 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 double pointed to by the argument info_p. They correspond to an optimization of a single LP or MIP subproblem rather than the whole multiobjective problem, and they therefore consist of the same return values associated with the optimization of a single objective LP or MIP problem.

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 subproblem for which the information is requested.
info_p
A pointer to an double 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 = CPXmultiobjgetdblinfo (env, lp, &time, CPX_MULTIOBJ_TIME);