Google OR-Tools v9.11
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/container/flat_hash_map.h"
#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/strong_integers.h"

Go to the source code of this file.

Classes

class  operations_research::sat::AllDifferentConstraint
 Implementation of AllDifferentAC(). More...
 
class  operations_research::sat::AllDifferentBoundsPropagator
 

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< IntegerVariable > &vars)
 
std::function< void(Model *)> operations_research::sat::AllDifferentOnBounds (const std::vector< AffineExpression > &expressions)
 
std::function< void(Model *)> operations_research::sat::AllDifferentAC (const std::vector< IntegerVariable > &variables)