initialize

BnB.initialize(nfit)[source]

Initialize a guess for the optimal nodes.

Parameters

nfitint

The number of top results to find.

Returns

top_resultslist(node)

A list of initial optimal node guesses.

top_scoresnp.ndarray(1d)

The corresponding scores.