preloop
- BnB.preloop(top_results, top_scores)[source]
Callback to run before starting the branch-and-bound algorithm (but after intialization).
Parameters
- top_resultslist(node)
A list of initial optimal node guesses. Sorted by top_scores (lowest first).
- top_scoresnp.ndarray(1d)
The corresponding scores, sorted lowest first.
Returns
- top_resultslist(node)
A list of initial optimal node guesses. Sorted by top_scores (lowest first).
- top_scoresnp.ndarray(1d)
The corresponding scores, sorted lowest first.