![]() |
Google OR-Tools v9.12
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 45 of file presolve_util.h.
|
inline |
Definition at line 47 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 48 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 60 of file presolve_util.h.
|
inline |
Extra info at the end of the log line.
Definition at line 66 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 54 of file presolve_util.h.
|
inline |
Definition at line 55 of file presolve_util.h.
|
inline |
Definition at line 56 of file presolve_util.h.