Overview | Group | Index | Concepts |
The routine CPXgetbestobjval
accesses the currently best known bound on the optimal
solution value of a MIP model.
When a model has been solved to optimality, this value matches the
optimal solution value. Otherwise, this value is computed for a
minimization (maximization) problem as the minimum (maximum) objective
function value of all remaining unexplored nodes.
Example
status = CPXgetbestobjval (env, lp, &objval);
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 the location where the best node objective value is returned. |