postnew
- BnB.postnew(old, new, top)[source]
Function defining what to do after finding a new optimal node and adding it to the top.
Parameters
- old(node, score)
The old node and score that got removed.
- new(node, score)
The new node and score that got added.
- top(list(node), np.ndarray(1d))
The new set of optimal nodes and scores, sorted by lowest score first.