Overview | Group | Index | Concepts |
The routine CPXgetobjval
accesses the 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 Example status = CPXgetobjval (env, lp, &objval); See also the example |