Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
variable_expand.cc File Reference
#include "ortools/sat/variable_expand.h"
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/base/log_severity.h"
#include "absl/container/btree_map.h"
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/strings/str_cat.h"
#include "ortools/base/stl_util.h"
#include "ortools/sat/cp_model_utils.h"
#include "ortools/sat/presolve_context.h"
#include "ortools/sat/solution_crush.h"
#include "ortools/util/saturated_arithmetic.h"
#include "ortools/util/sorted_interval_list.h"

Go to the source code of this file.

Namespaces

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

Functions

bool operations_research::sat::ProcessEncodingConstraints (int var, PresolveContext *context, ValueEncoding &values, OrderEncoding &order, std::vector< std::vector< EncodingLinear1 > > &linear_ones_by_type, std::vector< int > &constraint_indices, bool &var_in_objective, bool &var_has_positive_objective_coefficient)
void operations_research::sat::TryToReplaceVariableByItsEncoding (int var, PresolveContext *context, SolutionCrush &solution_crush)