node_in_results

BnB.node_in_results(node, results)[source]

Check whether the node is already in the results.

Parameters

nodeobj

The node to check.

resultslist(node)

The list of current optimal nodes.

Returns

in_resultsbool

Whether the node is in the results or not.