Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <integer_search.h>
Public Member Functions | |
ContinuousProber (const CpModelProto &model_proto, Model *model) | |
The model_proto is just used to construct the lists of variable to probe. | |
SatSolver::Status | Probe () |
This class will loop continuously on model variables and try to probe/shave its bounds.
Definition at line 329 of file integer_search.h.
operations_research::sat::ContinuousProber::ContinuousProber | ( | const CpModelProto & | model_proto, |
Model * | model ) |
The model_proto is just used to construct the lists of variable to probe.
Build variable lists.
Definition at line 1605 of file integer_search.cc.
SatSolver::Status operations_research::sat::ContinuousProber::Probe | ( | ) |
Starts or continues probing variables and their bounds. It returns:
Continuous probing procedure.
Backtrack to level 0 in case we are not there.
Store current statistics to detect an iteration without any improvement.
Probe variable bounds.
Probe Boolean variables from the model.
Probe clauses of the SAT model.
Probe at_most_ones of the SAT model.
Probe combinations of Booleans variables.
We use a limit to make sure we do not overflow.
Adjust the active_limit.
Reset all counters.
Update the use_shaving_ parameter.
Remove fixed Boolean variables.
Remove fixed integer variables.
Definition at line 1661 of file integer_search.cc.