|
|
Trees | Indices | Help |
|
|---|
Subclassable class for node callback classes.
This callback will be used before CPLEX enters a node, and can select a different node to be entered instead.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Class Variables | |
|
Inherited from |
| Method Details |
Returns the index of the variable used to branch at node which_node. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Returns the depth in the search tree of node which_node. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Returns the depth of the current node in the search tree. This method always raises an exception since the node callback is not invoked in the context of any node.
|
Returns the estimated objective function value at node which_node. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Returns the sum of infeasibilities at node which_node. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Returns the number of infeasibilities at node which_node. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Returns the handle set by the user for node which_node. Returns None if no handle was set when the node was created. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Set the user handle for the specified node. Returns the user handle previously set for that node (or None if no handle was set). |
Returns a one-tuple containing the sequence number of node which_node. which_node must be an integer specifying the index number of the desired node. |
Returns the index number of node which_node. which_node must be a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Returns the objective function value for node which_node. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
Tells Cplex to enter node which_node next. which_node may either be an integer specifying the index number of the desired node, or a 1-tuple whose entry is an integer specifying the sequence number of the desired node. |
|
|
Trees | Indices | Help |
|
|---|