Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <variable_storage.h>
Public Member Functions | |
Diff (const VariableStorage &storage) | |
Public Attributes | |
VariableId | checkpoint = VariableId(0) |
absl::flat_hash_set< VariableId > | deleted |
absl::flat_hash_set< VariableId > | lower_bounds |
absl::flat_hash_set< VariableId > | upper_bounds |
absl::flat_hash_set< VariableId > | integer |
Tracks a "checkpoint" and the changes to variables that are before the checkpoint. Advancing the checkpoint throws away tracked changes.
An instance of this class is owned by each update tracker of ModelStorage.
Definition at line 45 of file variable_storage.h.
|
inlineexplicit |
Definition at line 46 of file variable_storage.h.
VariableId operations_research::math_opt::VariableStorage::Diff::checkpoint = VariableId(0) |
Definition at line 49 of file variable_storage.h.
absl::flat_hash_set<VariableId> operations_research::math_opt::VariableStorage::Diff::deleted |
Definition at line 50 of file variable_storage.h.
absl::flat_hash_set<VariableId> operations_research::math_opt::VariableStorage::Diff::integer |
Definition at line 53 of file variable_storage.h.
absl::flat_hash_set<VariableId> operations_research::math_opt::VariableStorage::Diff::lower_bounds |
Definition at line 51 of file variable_storage.h.
absl::flat_hash_set<VariableId> operations_research::math_opt::VariableStorage::Diff::upper_bounds |
Definition at line 52 of file variable_storage.h.