Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
cp_model_fz_solver.cc File Reference
#include "ortools/flatzinc/cp_model_fz_solver.h"
#include <algorithm>
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <tuple>
#include <utility>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/base/no_destructor.h"
#include "absl/container/btree_map.h"
#include "absl/container/btree_set.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/flags/flag.h"
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/types/span.h"
#include "google/protobuf/arena.h"
#include "ortools/base/iterator_adaptors.h"
#include "ortools/base/stl_util.h"
#include "ortools/flatzinc/checker.h"
#include "ortools/flatzinc/model.h"
#include "ortools/sat/cp_model.pb.h"
#include "ortools/sat/cp_model_checker.h"
#include "ortools/sat/cp_model_solver.h"
#include "ortools/sat/cp_model_utils.h"
#include "ortools/sat/model.h"
#include "ortools/sat/sat_parameters.pb.h"
#include "ortools/util/logging.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

 ABSL_FLAG (int64_t, fz_int_max, int64_t{1}<< 40, "Default max value for unbounded integer variables.")
 ABSL_FLAG (bool, force_interleave_search, false, "If true, enable interleaved workers when num_workers is 1.")
 ABSL_FLAG (bool, fz_use_light_encoding, false, "Use lighter encodings for the model")
void operations_research::sat::ProcessFloatingPointOVariablesAndObjective (fz::Model *fz_model)
CpSolverResponse operations_research::sat::SolveFzWithCpModelProto (const fz::Model &fz_model, const fz::FlatzincSatParameters &p, const SatParameters &sat_params, Model *sat_model, SolverLogger *solution_logger)

Function Documentation

◆ ABSL_FLAG() [1/3]

ABSL_FLAG ( bool ,
force_interleave_search ,
false ,
"If true,
enable interleaved workers when num_workers is 1."  )

◆ ABSL_FLAG() [2/3]

ABSL_FLAG ( bool ,
fz_use_light_encoding ,
false ,
"Use lighter encodings for the model"  )

◆ ABSL_FLAG() [3/3]

ABSL_FLAG ( int64_t ,
fz_int_max ,
int64_t{1}<< 40,
"Default max value for unbounded integer variables."  )