idol
A C++ Framework for Optimization
|
Protected Member Functions | |
Strategy (Callback *t_cb) | |
void | operator() (CallbackEvent t_event) override |
virtual void | initialize () |
virtual void | log_after_termination () |
void | add_user_cut (const TempCtr &t_cut) |
void | add_lazy_cut (const TempCtr &t_cut) |
void | add_local_variable_branching (const Var &t_var, CtrType t_type, double t_rhs) |
const Node< NodeInfoT > & | node () const |
const Model & | relaxation () const |
const Model & | original_model () const |
void | submit_heuristic_solution (NodeInfoT *t_info) |
void | submit_bound (double t_bound) |
const SideEffectRegistry & | side_effect_registry () const |
const Timer & | time () const |
double | best_bound () const |
double | best_obj () const |
void | terminate () |
Friends | |
class | ::idol::CallbackAsBranchAndBoundCallback< NodeInfoT > |
Definition at line 26 of file CallbackAsBranchAndBoundCallback.h.
|
inlineexplicitprotected |
Definition at line 80 of file CallbackAsBranchAndBoundCallback.h.
|
protectedinherited |
Adds a lazy cut to the relaxation
t_cut | the cut to be added |
Definition at line 286 of file BranchAndBoundCallback.h.
|
protectedinherited |
Definition at line 220 of file BranchAndBoundCallback.h.
|
protectedinherited |
Adds a user cut to the relaxation
t_cut | the cut to be added |
Definition at line 292 of file BranchAndBoundCallback.h.
|
protectedinherited |
Definition at line 232 of file BranchAndBoundCallback.h.
|
protectedinherited |
Definition at line 226 of file BranchAndBoundCallback.h.
|
inlineprotectedvirtualinherited |
This method is called at the very beginning of the Branch-and-Bound algorithm
Reimplemented in idol::Cuts::KnapsackCover< NodeInfoT >::Strategy.
Definition at line 139 of file BranchAndBoundCallback.h.
|
inlineprotectedvirtualinherited |
Definition at line 147 of file BranchAndBoundCallback.h.
|
protectedinherited |
Returns the node which is currently explored
Definition at line 280 of file BranchAndBoundCallback.h.
|
inlineoverrideprotectedvirtual |
This method is left for the user to write and consists in the main execution block of the callback.
t_event | The event triggering the callback |
Implements idol::BranchAndBoundCallback< NodeInfoT >.
Definition at line 82 of file CallbackAsBranchAndBoundCallback.h.
|
protectedinherited |
Returns the original model from which the branch-and-bound algorithm started (i.e., the original non-relaxed model)
Definition at line 268 of file BranchAndBoundCallback.h.
|
protectedinherited |
Returns the current node's model being solved
Definition at line 274 of file BranchAndBoundCallback.h.
|
protectedinherited |
Returns the side effect registry
Definition at line 244 of file BranchAndBoundCallback.h.
|
protectedinherited |
Submits a new proven bound.
The given bound is set as best bound if and only if it improves the current best bound.
t_bound | a proven bound |
Definition at line 256 of file BranchAndBoundCallback.h.
|
protectedinherited |
Submits a new solution to the branch-and-bound tree algorithm.
The solution is checked for validity according to the branch-and-bound tree branching rule and is set as incumbent if and only if it is valid and improves the current best objective.
t_info | a node information storing the solution |
Definition at line 262 of file BranchAndBoundCallback.h.
|
protectedinherited |
Definition at line 238 of file BranchAndBoundCallback.h.
|
protectedinherited |
Definition at line 250 of file BranchAndBoundCallback.h.
|
friend |
Definition at line 95 of file CallbackAsBranchAndBoundCallback.h.