![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <routing_cuts.h>
Public Member Functions | |
NodeExpression () | |
NodeExpression (IntegerVariable var, IntegerValue coeff, IntegerValue offset) | |
NodeExpression (const AffineExpression &expr) | |
bool | IsEmpty () const |
IntegerValue | ValueAt (IntegerValue x) const |
NodeExpression | Negated () const |
Public Attributes | |
IntegerVariable | var |
IntegerValue | coeff |
IntegerValue | offset |
A coeff * var + offset affine expression, where var is always a positive reference (contrary to AffineExpression, where the coefficient is always positive).
Definition at line 69 of file routing_cuts.h.
|
inline |
Definition at line 74 of file routing_cuts.h.
|
inline |
Definition at line 76 of file routing_cuts.h.
|
inlineexplicit |
Definition at line 79 of file routing_cuts.h.
|
inline |
Definition at line 90 of file routing_cuts.h.
|
inline |
Definition at line 94 of file routing_cuts.h.
|
inline |
Definition at line 92 of file routing_cuts.h.
IntegerValue operations_research::sat::NodeExpression::coeff |
Definition at line 71 of file routing_cuts.h.
IntegerValue operations_research::sat::NodeExpression::offset |
Definition at line 72 of file routing_cuts.h.
IntegerVariable operations_research::sat::NodeExpression::var |
Definition at line 70 of file routing_cuts.h.