Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <cstdint>
#include <functional>
#include <memory>
#include <vector>
#include "absl/log/check.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/base/types.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/model.h"
#include "ortools/sat/sat_base.h"
#include "ortools/util/rev.h"
#include "ortools/util/strong_integers.h"
Go to the source code of this file.
Classes | |
class | operations_research::sat::BooleanXorPropagator |
class | operations_research::sat::GreaterThanAtLeastOneOfPropagator |
Namespaces | |
namespace | operations_research |
In SWIG mode, we don't want anything besides these top-level includes. | |
namespace | operations_research::sat |
Functions | |
std::vector< IntegerValue > | operations_research::sat::ToIntegerValueVector (const std::vector< int64_t > &input) |
std::function< void(Model *)> | operations_research::sat::LiteralXorIs (const std::vector< Literal > &literals, bool value) |
Enforces the XOR of a set of literals to be equal to the given value. | |
std::function< void(Model *)> | operations_research::sat::GreaterThanAtLeastOneOf (IntegerVariable target_var, const absl::Span< const IntegerVariable > vars, const absl::Span< const IntegerValue > offsets, const absl::Span< const Literal > selectors, const absl::Span< const Literal > enforcements) |
std::function< void(Model *)> | operations_research::sat::PartialIsOneOfVar (IntegerVariable target_var, const std::vector< IntegerVariable > &vars, const std::vector< Literal > &selectors) |