CPXXmultiobjgetnumsolves and CPXmultiobjgetnumsolves

The routine CPXXmultiobjgetnumsolves/CPXmultiobjgetnumsolves accesses the specified objective of a CPLEX problem object.

CPXDIM   CPXXmultiobjgetnumsolves( CPXCENVptr env, CPXCLPptr lp)

int   CPXXmultiobjgetnumsolves( CPXCENVptr env, CPXCLPptr lp)

Description

The routine CPXXmultiobjgetnumsolves/CPXmultiobjgetnumsolves routine returns the number of sub-problem that where successfully solved during the last invocation of CPXXmultiobjopt/CPXmultiobjopt. for multi-objective optimization.

Arguments

env
A pointer to the CPLEX environment as returned by the CPXXopenCPLEX/CPXopenCPLEX routine.
lp
A pointer to a CPLEX problem object as returned by CPXXcreateprob/CPXcreateprob.

Return

The routine returns the number of sub-problem that where successfully solved during the last invocation of CPXXmultiobjopt/CPXmultiobjopt. an error occurs.

Example


        nsolves = CPXmultiobjgetnumsolves (env, lp);