Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
all_different.cc File Reference
#include "ortools/sat/all_different.h"
#include <algorithm>
#include <cstdint>
#include <functional>
#include <limits>
#include <utility>
#include <vector>
#include "absl/container/btree_map.h"
#include "absl/log/check.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/graph/strongly_connected_components.h"
#include "ortools/sat/integer.h"
#include "ortools/sat/model.h"
#include "ortools/sat/sat_base.h"
#include "ortools/sat/sat_solver.h"
#include "ortools/util/sort.h"
#include "ortools/util/strong_integers.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::sat
 

Functions

std::function< void(Model *)> operations_research::sat::AllDifferentBinary (const std::vector< IntegerVariable > &vars)
 
std::function< void(Model *)> operations_research::sat::AllDifferentOnBounds (const std::vector< AffineExpression > &expressions)
 
std::function< void(Model *)> operations_research::sat::AllDifferentOnBounds (const std::vector< IntegerVariable > &vars)
 
std::function< void(Model *)> operations_research::sat::AllDifferentAC (const std::vector< IntegerVariable > &variables)