Definition at line 69 of file Callback.h.
◆ add_lazy_cut()
virtual void idol::Callback::add_lazy_cut |
( |
const TempCtr & |
t_cut | ) |
|
|
protectedvirtual |
Adds a lazy cut to the relaxation
- Parameters
-
◆ add_user_cut()
virtual void idol::Callback::add_user_cut |
( |
const TempCtr & |
t_cut | ) |
|
|
protectedvirtual |
Adds a user cut to the relaxation
- Parameters
-
◆ best_bound()
double idol::Callback::best_bound |
( |
| ) |
const |
|
protected |
Returns the best bound found so far
- Returns
- the best bound
◆ best_obj()
double idol::Callback::best_obj |
( |
| ) |
const |
|
protected |
Returns the best objective value found so far
- Returns
- the best objective value
◆ operator()()
virtual void idol::Callback::operator() |
( |
CallbackEvent |
t_event | ) |
|
|
protectedpure virtual |
◆ original_model()
virtual const Model & idol::Callback::original_model |
( |
| ) |
const |
|
protectedvirtual |
Accesses the original model given to the solver
◆ primal_solution()
virtual PrimalPoint idol::Callback::primal_solution |
( |
| ) |
const |
|
protectedvirtual |
Returns the solution of the node which is currently being explored (when available)
- Returns
- the solution of the current node
◆ submit_heuristic_solution()
virtual void idol::Callback::submit_heuristic_solution |
( |
const PrimalPoint & |
t_solution | ) |
|
|
protectedvirtual |
Submits a new heuristic solution
◆ terminate()
void idol::Callback::terminate |
( |
| ) |
|
|
protected |
Asks the optimizer to terminate the optimization process as soon as possible
◆ time()
const Timer & idol::Callback::time |
( |
| ) |
const |
|
protected |
Returns the current time
- Returns
- the optimizer's time
◆ ::idol::CallbackI