Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
all_different.h File Reference
#include <cstdint>
#include <functional>
#include <utility>
#include <vector>
#include "absl/log/check.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/sat/enforcement.h"
#include "ortools/sat/enforcement_helper.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/integer_base.h"
#include "ortools/sat/model.h"
#include "ortools/sat/sat_base.h"
#include "ortools/sat/util.h"
#include "ortools/util/bitset.h"
#include "ortools/util/strong_integers.h"

Go to the source code of this file.

Classes

class  operations_research::sat::AllDifferentConstraint
class  operations_research::sat::AllDifferentBoundsPropagator

Namespaces

namespace  operations_research
 OR-Tools root namespace.
namespace  operations_research::sat

Functions

std::function< void(Model *)> operations_research::sat::AllDifferentBinary (absl::Span< const IntegerVariable > vars)
std::function< void(Model *)> operations_research::sat::AllDifferentOnBounds (absl::Span< const IntegerVariable > vars)
std::function< void(Model *)> operations_research::sat::AllDifferentOnBounds (absl::Span< const Literal > enforcement_literals, absl::Span< const AffineExpression > expressions)
std::function< void(Model *)> operations_research::sat::AllDifferentAC (absl::Span< const IntegerVariable > variables)