![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 720 of file precedences.h.
#include <precedences.h>
Public Member Functions | |
| Linear2Bounds (Model *model) | |
| ~Linear2Bounds () | |
| IntegerValue | UpperBound (LinearExpression2 expr) const |
| IntegerValue | UpperBound (LinearExpression2Index lin2_index) const |
| void | AddReasonForUpperBoundLowerThan (LinearExpression2 expr, IntegerValue ub, std::vector< Literal > *literal_reason, std::vector< IntegerLiteral > *integer_reason) const |
| RelationStatus | GetStatus (LinearExpression2 expr, IntegerValue lb, IntegerValue ub) const |
| IntegerValue | NonTrivialUpperBound (LinearExpression2Index lin2_index) const |
| bool | EnqueueLowerOrEqual (LinearExpression2 expr, IntegerValue ub, absl::Span< const Literal > literal_reason, absl::Span< const IntegerLiteral > integer_reason) |
| std::string | LazyReasonName () const final |
| void | Explain (int id, IntegerLiteral to_explain, IntegerReason *reason) final |
| Public Member Functions inherited from operations_research::sat::LazyReasonInterface | |
| LazyReasonInterface ()=default | |
| virtual | ~LazyReasonInterface ()=default |
|
inlineexplicit |
Definition at line 722 of file precedences.h.
| operations_research::sat::Linear2Bounds::~Linear2Bounds | ( | ) |
Definition at line 1490 of file precedences.cc.
| void operations_research::sat::Linear2Bounds::AddReasonForUpperBoundLowerThan | ( | LinearExpression2 | expr, |
| IntegerValue | ub, | ||
| std::vector< Literal > * | literal_reason, | ||
| std::vector< IntegerLiteral > * | integer_reason ) const |
Definition at line 1535 of file precedences.cc.
| bool operations_research::sat::Linear2Bounds::EnqueueLowerOrEqual | ( | LinearExpression2 | expr, |
| IntegerValue | ub, | ||
| absl::Span< const Literal > | literal_reason, | ||
| absl::Span< const IntegerLiteral > | integer_reason ) |
Definition at line 1598 of file precedences.cc.
|
finalvirtual |
Implements operations_research::sat::LazyReasonInterface.
Definition at line 1727 of file precedences.cc.
| RelationStatus operations_research::sat::Linear2Bounds::GetStatus | ( | LinearExpression2 | expr, |
| IntegerValue | lb, | ||
| IntegerValue | ub ) const |
Definition at line 1577 of file precedences.cc.
|
inlinefinalvirtual |
Implements operations_research::sat::LazyReasonInterface.
Definition at line 759 of file precedences.h.
|
inline |
Definition at line 868 of file precedences.h.
| IntegerValue operations_research::sat::Linear2Bounds::UpperBound | ( | LinearExpression2 | expr | ) | const |
Definition at line 1515 of file precedences.cc.
| IntegerValue operations_research::sat::Linear2Bounds::UpperBound | ( | LinearExpression2Index | lin2_index | ) | const |
Definition at line 1508 of file precedences.cc.