pybnb.node¶
Branch-and-bound node implementation.
Copyright by Gabriel A. Hackebeil (gabe.hackebeil@gmail.com).
-
pybnb.node.
dumps
(obj)[source]¶ Return the serialized representation of the object as a bytes object, using the serialization module set in the current configuration.
-
pybnb.node.
loads
(data)[source]¶ Read and return an object from the given serialized data, using the serialization module set in the current configuration.
-
class
pybnb.node.
Node
[source]¶ A branch-and-bound node that stores problem state.
-
objective
¶ The objective value for the node.
Type: float
-
bound
¶ The bound value for the node.
Type: float
-
tree_depth
¶ The tree depth of the node (0-based).
Type: int
-
queue_priority
¶ The queue priority of the node.
Type: float or tuple of floats
-
state
¶ The user specified node state.
-