Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.17 KB

File metadata and controls

39 lines (25 loc) · 1.17 KB

GMP::SolverSession::GetNodesUsed

The function :aimmsGMP::SolverSession::GetNodesUsed returns the number of nodes that are processed by a solver session.

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

Arguments

solverSession

An element in the set :aimmsAllSolverSessions.

Return Value

The number of nodes that are processed by the solver session.

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.

The routines :aimmsGMP::Instance::SetCallbackAddCut, :aimmsGMP::Instance::SetCallbackBranch, :aimmsGMP::Instance::SetCallbackCandidate, :aimmsGMP::Instance::SetCallbackHeuristic, :aimmsGMP::SolverSession::GetNodeNumber and :aimmsGMP::SolverSession::GetNodesLeft.