Function GMP::SolverSession::GetNodesLeft(solverSession)

GMP::SolverSession::GetNodesLeft

The function GMP::SolverSession::GetNodesLeft returns the number of unexplored nodes left in the branch-and-bound tree for a solver session.

GMP::SolverSession::GetNodesLeft(
     solverSession   ! (input) a solver session
     )

Arguments

solverSession

An element in the set AllSolverSessions.

Return Value

The number of unexplored nodes left in the branch-and-bound tree.

Note

  • This function has only meaning for solver sessions belonging to a GMP with type MIP, MIQP or MIQCP.

  • This function can be used inside a branch, candidate, cut or heuristic callback.

  • This function is only supported by CPLEX and Gurobi.