- Function GMP::SolverSession::GetNodeObjective(solverSession)
GMP::SolverSession::GetNodeObjective
The function GMP::SolverSession::GetNodeObjective returns the
objective value for the subproblem at the current node during MIP
optimization from within a node callback.
GMP::SolverSession::GetNodeObjective(
solverSession ! (input) a solver session
)
Arguments
- solverSession
An element in the set
AllSolverSessions.
Return Value
In case of success, the objective value at the current node. Otherwise it returns
UNDF.
Note
This function has only meaning for solver sessions belonging to a GMP with type MIP, MIQP or MIQCP.
This function can only be used inside a branch, cut or heuristic callback.
The procedure
GMP::Solution::RetrieveFromSolverSessioncan be used to retrieve the node solution inside a branch, cut or heuristic callback.This function is only supported by CPLEX, however it is not supported if the CPLEX option
Use generic callbacksis switched on.