Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <presolve_util.h>
Public Member Functions | |
PresolveTimer (std::string name, SolverLogger *logger, TimeLimit *time_limit) | |
void | AddToWork (double dtime) |
void | TrackSimpleLoop (int size) |
bool | WorkLimitIsReached () const |
void | AddCounter (std::string name, int64_t count) |
void | AddMessage (std::string name) |
Extra info at the end of the log line. | |
~PresolveTimer () | |
Update dtime and log operation summary. | |
Simple helper class to:
Definition at line 49 of file presolve_util.h.
|
inline |
Definition at line 51 of file presolve_util.h.
operations_research::sat::PresolveTimer::~PresolveTimer | ( | ) |
Update dtime and log operation summary.
We use absl::Seconds() to get a nicer display.
Definition at line 49 of file presolve_util.cc.
|
inline |
Extra stats=value to display at the end. We filter value of zero to have less clutter.
Definition at line 64 of file presolve_util.h.
|
inline |
Extra info at the end of the log line.
Definition at line 70 of file presolve_util.h.
|
inline |
Track the work done (which is also the deterministic time). By default we want a limit of around 1 deterministic seconds.
Definition at line 58 of file presolve_util.h.
|
inline |
Definition at line 59 of file presolve_util.h.
|
inline |
Definition at line 60 of file presolve_util.h.