class implements the storage of the solution history.
#include <history.h>
Inheritance diagram for ABA_HISTORY::
|
The destructor.
Adds an additional line to the history table, primal bound, dual bound, and the time are taken from the corresponding master object. The history table is automatically reallocated if necessary.
The function realloc() enlarges the history table by 100 components.
class implements the storage of the solution history.
Definition at line 43 of file history.h.
The constructor initializes a history table with 100 possible entries.
If this number is exceeded an automatic reallocation is performed.
The destructor.
Adds an additional line to the history table, primal bound, dual bound, and the time are taken from the corresponding master object. The history table is automatically reallocated if necessary.
Usually an explicit call to this function from an application class is not required since update() is automatically called if a new global primal or dual bound is found.
Returns the length of the history table.
Definition at line 107 of file history.h.
The function realloc() enlarges the history table by 100 components.
The output operator.
A reference to the output stream.
A pointer to corresponding master of the optimization.
Definition at line 87 of file history.h.
The array storing the value of the best primal solution.
Definition at line 91 of file history.h.
The array storing the value of the best dual solution.
Definition at line 95 of file history.h.
The CPU time in seconds, when the entry in the table was made.
Definition at line 99 of file history.h.
The number of entries in the history table.
Definition at line 103 of file history.h.
The documentation for this class was generated from the following file: