Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
The model "singleton" shared time limit. More...
#include <util.h>
Public Member Functions | |
ModelSharedTimeLimit (Model *model) | |
Public Member Functions inherited from operations_research::SharedTimeLimit | |
SharedTimeLimit (TimeLimit *time_limit) | |
~SharedTimeLimit () | |
bool | LimitReached () const |
void | Stop () |
void | UpdateLocalLimit (TimeLimit *local_limit) |
void | AdvanceDeterministicTime (double deterministic_duration) |
double | GetTimeLeft () const |
double | GetElapsedDeterministicTime () const |
std::atomic< bool > * | ExternalBooleanAsLimit () const |
|
inlineexplicit |