This class stores the history of the values of the last LP-solutions and implements all functions to control tailing-off effect.
#include <tailoff.h>
Inheritance diagram for ABA_TAILOFF::
|
The constructor takes the length of the tailing off history from ABA_MASTER::tailOffNLp().
An alternative constructor takes the length of the tailing off history from the parameter NLp.
The destructor.
Can be used to retrieve the difference between the last and a previous LP-solution in percent.
The output operator writes the memorized LP-values on an output stream.
This class stores the history of the values of the last LP-solutions and implements all functions to control tailing-off effect.
Definition at line 53 of file tailoff.h.
The constructor takes the length of the tailing off history from ABA_MASTER::tailOffNLp().
An alternative constructor takes the length of the tailing off history from the parameter NLp.
The destructor.
Checks if there is a tailing-off effect.
We assume a tailing-off effect if during the last ABA_MASTER::tailOffNLps() iterations of the cutting plane algorithms the dual bound changed at most ABA_MASTER::tailOffPercent() percent.
true If a tailing off effect is observed,
false otherwise.
Can be used to retrieve the difference between the last and a previous LP-solution in percent.
0 If the difference could be computed, i.e., the old LP-value nLPs before the last one is store in the history,
1 otherwise.
A new LP-solution value can be stored by calling the function update().
This update should be performed after every solution of an LP in the cutting plane generation phase of the subproblem optimization process.
Clears the solution history.
This function should be called if variables are added, because normally the solution value of the LP-relaxation gets worse after the addition of variables. Such a change could falsely indicate a tailing-off effect if the history of LP-values is not reset.
Definition at line 54 of file tailoff.h.
The output operator writes the memorized LP-values on an output stream.
A reference to the output stream.
A pointer to the corresponding master of the optimization.
Definition at line 139 of file tailoff.h.
The LP-values considered in the tailing off analysis.
Definition at line 143 of file tailoff.h.
The documentation for this class was generated from the following file: