Function GMP::SolverSession::GetNumberOfBranchNodes(solverSession)

GMP::SolverSession::GetNumberOfBranchNodes

The function GMP::SolverSession::GetNumberOfBranchNodes returns the number of nodes that the solver will create from the current branch.

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

Arguments

solverSession

An element in the set AllSolverSessions.

Return Value

The number of nodes that the solver will create from the current branch.

Note

  • If the value returned equals 0, the node will be fathomed unless user-specified branches are made. That is, no child nodes are created and the node itself is discarded.

  • 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 callback.

See also

The routines GMP::Instance::SetCallbackBranch.