#include <branchScheme.h>
Inheritance diagram for branchNode:
Public Types | |
enum | TBranchDir { LOWER_FIRST = 0, RAISE_FIRST = 1 } |
Public Member Functions | |
branchNode (TItem nn, goblinController &thisContext, branchScheme< TItem, TObj > *=NULL) throw () | |
~branchNode () throw () | |
unsigned long | Allocated () const throw () |
TObj | Objective () throw () |
virtual bool | Feasible () throw () |
TItem | Unfixed () throw () |
virtual TItem | SelectVariable ()=0 throw () |
virtual TBranchDir | DirectionConstructive (TItem i)=0 throw (ERRange) |
virtual TBranchDir | DirectionExhaustive (TItem i)=0 throw (ERRange) |
virtual branchNode< TItem, TObj > * | Clone ()=0 throw () |
virtual void | Raise (TItem i)=0 throw (ERRange) |
virtual void | Lower (TItem i)=0 throw (ERRange) |
virtual TObjectSense | ObjectSense () const =0 throw () |
virtual TObj | Infeasibility () const =0 throw () |
virtual void | SaveSolution ()=0 throw () |
virtual TObj | LocalSearch () throw () |
Data Fields | |
branchScheme< TItem, TObj > * | scheme |
branchNode< TItem, TObj > * | succNode |
TNode | index |
TItem | depth |
Protected Member Functions | |
virtual TObj | SolveRelaxation ()=0 throw () |
Protected Attributes | |
TItem | n |
TItem | unfixed |
TObj | objective |
bool | solved |
|
Specifier for branching directions.
|
|
|
|
|
|
Reimplemented from managedObject. Reimplemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Generate a copy of this branch node.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Preferred search direction before feasibility has been achieved.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Preferred search direction after feasibility has been achieved.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Reimplemented in branchAsyTSP, branchMIP, and branchSymmTSP. |
|
Symbolic value for infeasible subproblems.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Apply a probelm dependent local search method.
Reimplemented in branchAsyTSP, branchMaxCut, and branchSymmTSP. |
|
Lower an upper variable bound. This operation applies after solving a relaxation and duplicating the branch node. It sets an upper variable bound to the greatest integral lower bound on the current variable value. The operation may restrict further variables, namely, if it is obvoious that no solutions for the master problem are lost.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
|
|
Decide between maximization and minimization problems.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Raise a lower variable bound. This operation applies after solving a relaxation and duplicating the branch node. It sets a lower variable bound to the least integral upper bound on the current variable value. The operation may restrict further variables, namely, if it is obvoious that no solutions for the master problem are lost.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Copy the current solution to the original problem instance.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Selection of a variable to be restricted next.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
Solve the relaxed subproblem according.
Implemented in branchAsyTSP, branchColour, branchMaxCut, branchMIP, branchStable, and branchSymmTSP. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|