Definition at line 174 of file presolve_util.h.
#include <presolve_util.h>
|
| | ActivityBoundHelper ()=default |
| void | ClearAtMostOnes () |
| void | AddAtMostOne (absl::Span< const int > amo) |
| void | AddAllAtMostOnes (const CpModelProto &proto) |
| int64_t | ComputeMaxActivity (absl::Span< const std::pair< int, int64_t > > terms, std::vector< std::array< int64_t, 2 > > *conditional=nullptr) |
| int64_t | ComputeMinActivity (absl::Span< const std::pair< int, int64_t > > terms, std::vector< std::array< int64_t, 2 > > *conditional=nullptr) |
| bool | PresolveEnforcement (absl::Span< const int > refs, ConstraintProto *ct, absl::flat_hash_set< int > *literals_at_true) |
| int | RemoveEnforcementThatMakesConstraintTrivial (absl::Span< const std::pair< int, int64_t > > boolean_terms, const Domain &other_terms, const Domain &rhs, ConstraintProto *ct) |
| std::vector< absl::Span< const int > > | PartitionLiteralsIntoAmo (absl::Span< const int > literals) |
| bool | IsAmo (absl::Span< const int > literals) |
| int | NumAmoForVariable (int var) const |
◆ ActivityBoundHelper()
| operations_research::sat::ActivityBoundHelper::ActivityBoundHelper |
( |
| ) |
|
|
default |
◆ AddAllAtMostOnes()
| void operations_research::sat::ActivityBoundHelper::AddAllAtMostOnes |
( |
const CpModelProto & | proto | ) |
|
◆ AddAtMostOne()
| void operations_research::sat::ActivityBoundHelper::AddAtMostOne |
( |
absl::Span< const int > | amo | ) |
|
◆ ClearAtMostOnes()
| void operations_research::sat::ActivityBoundHelper::ClearAtMostOnes |
( |
| ) |
|
◆ ComputeMaxActivity()
| int64_t operations_research::sat::ActivityBoundHelper::ComputeMaxActivity |
( |
absl::Span< const std::pair< int, int64_t > > | terms, |
|
|
std::vector< std::array< int64_t, 2 > > * | conditional = nullptr ) |
|
inline |
◆ ComputeMinActivity()
| int64_t operations_research::sat::ActivityBoundHelper::ComputeMinActivity |
( |
absl::Span< const std::pair< int, int64_t > > | terms, |
|
|
std::vector< std::array< int64_t, 2 > > * | conditional = nullptr ) |
|
inline |
◆ IsAmo()
| bool operations_research::sat::ActivityBoundHelper::IsAmo |
( |
absl::Span< const int > | literals | ) |
|
◆ NumAmoForVariable()
| int operations_research::sat::ActivityBoundHelper::NumAmoForVariable |
( |
int | var | ) |
const |
|
inline |
◆ PartitionLiteralsIntoAmo()
| std::vector< absl::Span< const int > > operations_research::sat::ActivityBoundHelper::PartitionLiteralsIntoAmo |
( |
absl::Span< const int > | literals | ) |
|
◆ PresolveEnforcement()
| bool operations_research::sat::ActivityBoundHelper::PresolveEnforcement |
( |
absl::Span< const int > | refs, |
|
|
ConstraintProto * | ct, |
|
|
absl::flat_hash_set< int > * | literals_at_true ) |
◆ RemoveEnforcementThatMakesConstraintTrivial()
| int operations_research::sat::ActivityBoundHelper::RemoveEnforcementThatMakesConstraintTrivial |
( |
absl::Span< const std::pair< int, int64_t > > | boolean_terms, |
|
|
const Domain & | other_terms, |
|
|
const Domain & | rhs, |
|
|
ConstraintProto * | ct ) |
The documentation for this class was generated from the following files: