Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetobjval
is used to return the LP, QCP or QP
solution objective value.
Example
status = CPXgetobjval (env, lp, &objval);
See also the example lpex2.c
in the
ILOG CPLEX User's Manual and in the standard distribution.
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
objval_p | A pointer to a variable of type double where the objective value is stored. Example status = CPXgetobjval (env, lp, &objval); See also the example |