top

BnB.top(nfit)[source]

Returns the top nfit results using the branch-and-bound algorithm.

Parameters

nfitint

The number of top models to return.

Returns

top_resultslist(node)

A list of nfit top nodes, sorted by top_scores lowest first.

top_scoresnp.ndarray(1d)

The corresponding scores, sorted lowest first.