postloop

BnB.postloop(top_results, top_scores)[source]

Callback to run after the branch-and-bound algorithm has run.

Parameters

top_resultslist(node)

A list of optimal nodes. Sorted by top_scores (lowest first).

top_scoresnp.ndarray(1d)

The corresponding scores, sorted lowest first.

Returns

top_resultslist(node)

A list of optimal nodes. Sorted by top_scores (lowest first).

top_scoresnp.ndarray(1d)

The corresponding scores, sorted lowest first.