6#ifndef ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_2epb_2eh
7#define ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
36#include "google/protobuf/port_def.inc"
38#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto OR_PROTO_DLL
67internal::EnumTraitsT<::operations_research::ConstraintSolverParameters_TrailCompression_internal_data_>
68 internal::EnumTraitsImpl::value<::operations_research::ConstraintSolverParameters_TrailCompression>;
77 ::std::numeric_limits<::int32_t>::min(),
79 ::std::numeric_limits<::int32_t>::max(),
88 return 0 <= value && value <= 1;
94 static_assert(::std::is_same<T, ConstraintSolverParameters_TrailCompression>::value ||
95 ::std::is_integral<T>::value,
96 "Incorrect type passed to TrailCompression_Name().");
101 return ::google::protobuf::internal::NameOfDenseEnum<ConstraintSolverParameters_TrailCompression_descriptor, 0, 1>(
102 static_cast<int>(value));
115class OR_PROTO_DLL ConstraintSolverParameters final :
public ::google::protobuf::Message
121#if defined(PROTOBUF_CUSTOM_VTABLE)
128 template <
typename =
void>
139 if (
this == &from)
return *
this;
140 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
148 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
149 ABSL_ATTRIBUTE_LIFETIME_BOUND {
150 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
152 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
153 ABSL_ATTRIBUTE_LIFETIME_BOUND {
154 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
157 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
158 return GetDescriptor();
160 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
161 return default_instance().GetMetadata().descriptor;
163 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
164 return default_instance().GetMetadata().reflection;
170 static constexpr int kIndexInFileMessages = 0;
173 if (other ==
this)
return;
174 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
177 ::google::protobuf::internal::GenericSwap(
this, other);
180 void UnsafeArenaSwap(ConstraintSolverParameters* PROTOBUF_NONNULL other) {
181 if (other ==
this)
return;
182 ABSL_DCHECK(GetArena() == other->GetArena());
189 return ::google::protobuf::Message::DefaultConstruct<ConstraintSolverParameters>(arena);
191 using ::google::protobuf::Message::CopyFrom;
193 using ::google::protobuf::Message::MergeFrom;
197 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
198 const ::google::protobuf::MessageLite& from_msg);
204 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
205 #if defined(PROTOBUF_CUSTOM_VTABLE)
207 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
208 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
209 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
210 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
213 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
214 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
215 ::uint8_t* PROTOBUF_NONNULL target,
216 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
217 return _InternalSerialize(*
this, target, stream);
220 ::size_t ByteSizeLong() const final;
221 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
222 ::uint8_t* PROTOBUF_NONNULL target,
223 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
225 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
228 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
232 template <
typename T>
234 static ::absl::string_view FullMessageName() {
return "operations_research.ConstraintSolverParameters"; }
242 *
this = ::std::move(from);
244 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
245 static
void* PROTOBUF_NONNULL PlacementNew_(
246 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
247 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
248 static constexpr auto InternalNewImpl_();
251 static constexpr auto InternalGenerateClassData_();
253 ::
google::protobuf::Metadata GetMetadata() const;
267 template <
typename T>
268 static inline const ::std::string& TrailCompression_Name(T value) {
271 static inline bool TrailCompression_Parse(
272 ::absl::string_view name, TrailCompression* PROTOBUF_NONNULL value) {
278 kProfileFileFieldNumber = 8,
279 kCompressTrailFieldNumber = 1,
309 template <
typename Arg_ = const ::std::string&,
typename... Args_>
316 const ::std::string& _internal_profile_file()
const;
317 PROTOBUF_ALWAYS_INLINE
void _internal_set_profile_file(const ::std::string& value);
318 ::std::string* PROTOBUF_NONNULL _internal_mutable_profile_file();
337 ::int32_t _internal_trail_block_size()
const;
338 void _internal_set_trail_block_size(::int32_t value);
347 ::int32_t _internal_array_split_size()
const;
348 void _internal_set_array_split_size(::int32_t value);
357 bool _internal_store_names()
const;
358 void _internal_set_store_names(
bool value);
367 bool _internal_name_cast_variables()
const;
368 void _internal_set_name_cast_variables(
bool value);
377 bool _internal_name_all_variables()
const;
378 void _internal_set_name_all_variables(
bool value);
387 bool _internal_profile_propagation()
const;
388 void _internal_set_profile_propagation(
bool value);
397 bool _internal_trace_propagation()
const;
398 void _internal_set_trace_propagation(
bool value);
407 bool _internal_trace_search()
const;
408 void _internal_set_trace_search(
bool value);
417 bool _internal_print_model()
const;
418 void _internal_set_print_model(
bool value);
427 bool _internal_print_model_stats()
const;
428 void _internal_set_print_model_stats(
bool value);
437 bool _internal_print_added_constraints()
const;
438 void _internal_set_print_added_constraints(
bool value);
447 bool _internal_disable_solve()
const;
448 void _internal_set_disable_solve(
bool value);
457 bool _internal_profile_local_search()
const;
458 void _internal_set_profile_local_search(
bool value);
467 bool _internal_print_local_search_profile()
const;
468 void _internal_set_print_local_search_profile(
bool value);
477 bool _internal_use_small_table()
const;
478 void _internal_set_use_small_table(
bool value);
487 bool _internal_use_cumulative_edge_finder()
const;
488 void _internal_set_use_cumulative_edge_finder(
bool value);
497 bool _internal_use_cumulative_time_table()
const;
498 void _internal_set_use_cumulative_time_table(
bool value);
507 bool _internal_use_sequence_high_demand_tasks()
const;
508 void _internal_set_use_sequence_high_demand_tasks(
bool value);
517 ::int32_t _internal_max_edge_finder_size()
const;
518 void _internal_set_max_edge_finder_size(::int32_t value);
527 bool _internal_use_all_possible_disjunctions()
const;
528 void _internal_set_use_all_possible_disjunctions(
bool value);
537 bool _internal_diffn_use_cumulative()
const;
538 void _internal_set_diffn_use_cumulative(
bool value);
547 bool _internal_use_element_rmq()
const;
548 void _internal_set_use_element_rmq(
bool value);
557 bool _internal_use_cumulative_time_table_sync()
const;
558 void _internal_set_use_cumulative_time_table_sync(
bool value);
567 bool _internal_skip_locally_optimal_paths()
const;
568 void _internal_set_skip_locally_optimal_paths(
bool value);
577 ::int32_t _internal_check_solution_period()
const;
578 void _internal_set_check_solution_period(::int32_t value);
584 friend class ::google::protobuf::internal::TcParser;
585 static const ::google::protobuf::internal::TcParseTable<5, 27,
590 friend class ::google::protobuf::MessageLite;
591 friend class ::google::protobuf::Arena;
592 template <
typename T>
593 friend class ::google::protobuf::Arena::InternalHelper;
594 using InternalArenaConstructable_ = void;
595 using DestructorSkippable_ = void;
597 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
598 inline explicit Impl_(
599 ::google::protobuf::internal::InternalVisibility visibility,
600 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
601 inline explicit Impl_(
602 ::google::protobuf::internal::InternalVisibility visibility,
603 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
605 ::google::protobuf::internal::HasBits<1> _has_bits_;
606 ::google::protobuf::internal::CachedSize _cached_size_;
607 ::google::protobuf::internal::ArenaStringPtr profile_file_;
609 ::int32_t trail_block_size_;
610 ::int32_t array_split_size_;
612 bool name_cast_variables_;
613 bool name_all_variables_;
614 bool profile_propagation_;
615 bool trace_propagation_;
618 bool print_model_stats_;
619 bool print_added_constraints_;
621 bool profile_local_search_;
622 bool print_local_search_profile_;
623 bool use_small_table_;
624 bool use_cumulative_edge_finder_;
625 bool use_cumulative_time_table_;
626 bool use_sequence_high_demand_tasks_;
627 ::int32_t max_edge_finder_size_;
628 bool use_all_possible_disjunctions_;
629 bool diffn_use_cumulative_;
630 bool use_element_rmq_;
631 bool use_cumulative_time_table_sync_;
632 bool skip_locally_optimal_paths_;
633 ::int32_t check_solution_period_;
634 PROTOBUF_TSAN_DECLARE_MEMBER
636 union { Impl_ _impl_; };
637 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
651#pragma GCC diagnostic push
652#pragma GCC diagnostic ignored "-Wstrict-aliasing"
660 ::google::protobuf::internal::TSanWrite(&
_impl_);
661 _impl_.compress_trail_ = 0;
662 _impl_._has_bits_[0] &= ~0x00000002u;
666 return _internal_compress_trail();
669 _internal_set_compress_trail(value);
670 _impl_._has_bits_[0] |= 0x00000002u;
673inline ::operations_research::ConstraintSolverParameters_TrailCompression ConstraintSolverParameters::_internal_compress_trail()
const {
674 ::google::protobuf::internal::TSanRead(&
_impl_);
678 ::google::protobuf::internal::TSanWrite(&
_impl_);
679 _impl_.compress_trail_ = value;
684 ::google::protobuf::internal::TSanWrite(&
_impl_);
685 _impl_.trail_block_size_ = 0;
686 _impl_._has_bits_[0] &= ~0x00000004u;
690 return _internal_trail_block_size();
693 _internal_set_trail_block_size(value);
694 _impl_._has_bits_[0] |= 0x00000004u;
697inline ::int32_t ConstraintSolverParameters::_internal_trail_block_size()
const {
698 ::google::protobuf::internal::TSanRead(&
_impl_);
699 return _impl_.trail_block_size_;
701inline void ConstraintSolverParameters::_internal_set_trail_block_size(::int32_t value) {
702 ::google::protobuf::internal::TSanWrite(&
_impl_);
703 _impl_.trail_block_size_ = value;
708 ::google::protobuf::internal::TSanWrite(&
_impl_);
709 _impl_.array_split_size_ = 0;
710 _impl_._has_bits_[0] &= ~0x00000008u;
714 return _internal_array_split_size();
717 _internal_set_array_split_size(value);
718 _impl_._has_bits_[0] |= 0x00000008u;
721inline ::int32_t ConstraintSolverParameters::_internal_array_split_size()
const {
722 ::google::protobuf::internal::TSanRead(&
_impl_);
723 return _impl_.array_split_size_;
725inline void ConstraintSolverParameters::_internal_set_array_split_size(::int32_t value) {
726 ::google::protobuf::internal::TSanWrite(&
_impl_);
727 _impl_.array_split_size_ = value;
732 ::google::protobuf::internal::TSanWrite(&
_impl_);
733 _impl_.store_names_ =
false;
734 _impl_._has_bits_[0] &= ~0x00000010u;
738 return _internal_store_names();
741 _internal_set_store_names(value);
742 _impl_._has_bits_[0] |= 0x00000010u;
745inline bool ConstraintSolverParameters::_internal_store_names()
const {
746 ::google::protobuf::internal::TSanRead(&
_impl_);
747 return _impl_.store_names_;
749inline void ConstraintSolverParameters::_internal_set_store_names(
bool value) {
750 ::google::protobuf::internal::TSanWrite(&
_impl_);
751 _impl_.store_names_ = value;
756 ::google::protobuf::internal::TSanWrite(&
_impl_);
757 _impl_.name_cast_variables_ =
false;
758 _impl_._has_bits_[0] &= ~0x00000020u;
762 return _internal_name_cast_variables();
765 _internal_set_name_cast_variables(value);
766 _impl_._has_bits_[0] |= 0x00000020u;
769inline bool ConstraintSolverParameters::_internal_name_cast_variables()
const {
770 ::google::protobuf::internal::TSanRead(&
_impl_);
771 return _impl_.name_cast_variables_;
773inline void ConstraintSolverParameters::_internal_set_name_cast_variables(
bool value) {
774 ::google::protobuf::internal::TSanWrite(&
_impl_);
775 _impl_.name_cast_variables_ = value;
780 ::google::protobuf::internal::TSanWrite(&
_impl_);
781 _impl_.name_all_variables_ =
false;
782 _impl_._has_bits_[0] &= ~0x00000040u;
786 return _internal_name_all_variables();
789 _internal_set_name_all_variables(value);
790 _impl_._has_bits_[0] |= 0x00000040u;
793inline bool ConstraintSolverParameters::_internal_name_all_variables()
const {
794 ::google::protobuf::internal::TSanRead(&
_impl_);
795 return _impl_.name_all_variables_;
797inline void ConstraintSolverParameters::_internal_set_name_all_variables(
bool value) {
798 ::google::protobuf::internal::TSanWrite(&
_impl_);
799 _impl_.name_all_variables_ = value;
804 ::google::protobuf::internal::TSanWrite(&
_impl_);
805 _impl_.profile_propagation_ =
false;
806 _impl_._has_bits_[0] &= ~0x00000080u;
810 return _internal_profile_propagation();
813 _internal_set_profile_propagation(value);
814 _impl_._has_bits_[0] |= 0x00000080u;
817inline bool ConstraintSolverParameters::_internal_profile_propagation()
const {
818 ::google::protobuf::internal::TSanRead(&
_impl_);
819 return _impl_.profile_propagation_;
821inline void ConstraintSolverParameters::_internal_set_profile_propagation(
bool value) {
822 ::google::protobuf::internal::TSanWrite(&
_impl_);
823 _impl_.profile_propagation_ = value;
828 ::google::protobuf::internal::TSanWrite(&
_impl_);
829 _impl_.profile_file_.ClearToEmpty();
830 _impl_._has_bits_[0] &= ~0x00000001u;
833 ABSL_ATTRIBUTE_LIFETIME_BOUND {
835 return _internal_profile_file();
837template <
typename Arg_,
typename... Args_>
839 ::google::protobuf::internal::TSanWrite(&
_impl_);
840 _impl_._has_bits_[0] |= 0x00000001u;
841 _impl_.profile_file_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
845 ABSL_ATTRIBUTE_LIFETIME_BOUND {
846 ::std::string* _s = _internal_mutable_profile_file();
850inline const ::std::string& ConstraintSolverParameters::_internal_profile_file()
const {
851 ::google::protobuf::internal::TSanRead(&
_impl_);
852 return _impl_.profile_file_.Get();
854inline void ConstraintSolverParameters::_internal_set_profile_file(const ::std::string& value) {
855 ::google::protobuf::internal::TSanWrite(&
_impl_);
856 _impl_._has_bits_[0] |= 0x00000001u;
857 _impl_.profile_file_.Set(value, GetArena());
859inline ::std::string* PROTOBUF_NONNULL ConstraintSolverParameters::_internal_mutable_profile_file() {
860 ::google::protobuf::internal::TSanWrite(&
_impl_);
861 _impl_._has_bits_[0] |= 0x00000001u;
862 return _impl_.profile_file_.Mutable( GetArena());
865 ::google::protobuf::internal::TSanWrite(&
_impl_);
867 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
870 _impl_._has_bits_[0] &= ~0x00000001u;
871 auto* released =
_impl_.profile_file_.Release();
872 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
873 _impl_.profile_file_.Set(
"", GetArena());
878 ::google::protobuf::internal::TSanWrite(&
_impl_);
879 if (value !=
nullptr) {
880 _impl_._has_bits_[0] |= 0x00000001u;
884 _impl_.profile_file_.SetAllocated(value, GetArena());
885 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.profile_file_.IsDefault()) {
886 _impl_.profile_file_.Set(
"", GetArena());
893 ::google::protobuf::internal::TSanWrite(&
_impl_);
894 _impl_.profile_local_search_ =
false;
895 _impl_._has_bits_[0] &= ~0x00004000u;
899 return _internal_profile_local_search();
902 _internal_set_profile_local_search(value);
903 _impl_._has_bits_[0] |= 0x00004000u;
906inline bool ConstraintSolverParameters::_internal_profile_local_search()
const {
907 ::google::protobuf::internal::TSanRead(&
_impl_);
908 return _impl_.profile_local_search_;
910inline void ConstraintSolverParameters::_internal_set_profile_local_search(
bool value) {
911 ::google::protobuf::internal::TSanWrite(&
_impl_);
912 _impl_.profile_local_search_ = value;
917 ::google::protobuf::internal::TSanWrite(&
_impl_);
918 _impl_.print_local_search_profile_ =
false;
919 _impl_._has_bits_[0] &= ~0x00008000u;
923 return _internal_print_local_search_profile();
926 _internal_set_print_local_search_profile(value);
927 _impl_._has_bits_[0] |= 0x00008000u;
930inline bool ConstraintSolverParameters::_internal_print_local_search_profile()
const {
931 ::google::protobuf::internal::TSanRead(&
_impl_);
932 return _impl_.print_local_search_profile_;
934inline void ConstraintSolverParameters::_internal_set_print_local_search_profile(
bool value) {
935 ::google::protobuf::internal::TSanWrite(&
_impl_);
936 _impl_.print_local_search_profile_ = value;
941 ::google::protobuf::internal::TSanWrite(&
_impl_);
942 _impl_.trace_propagation_ =
false;
943 _impl_._has_bits_[0] &= ~0x00000100u;
947 return _internal_trace_propagation();
950 _internal_set_trace_propagation(value);
951 _impl_._has_bits_[0] |= 0x00000100u;
954inline bool ConstraintSolverParameters::_internal_trace_propagation()
const {
955 ::google::protobuf::internal::TSanRead(&
_impl_);
956 return _impl_.trace_propagation_;
958inline void ConstraintSolverParameters::_internal_set_trace_propagation(
bool value) {
959 ::google::protobuf::internal::TSanWrite(&
_impl_);
960 _impl_.trace_propagation_ = value;
965 ::google::protobuf::internal::TSanWrite(&
_impl_);
966 _impl_.trace_search_ =
false;
967 _impl_._has_bits_[0] &= ~0x00000200u;
971 return _internal_trace_search();
974 _internal_set_trace_search(value);
975 _impl_._has_bits_[0] |= 0x00000200u;
978inline bool ConstraintSolverParameters::_internal_trace_search()
const {
979 ::google::protobuf::internal::TSanRead(&
_impl_);
980 return _impl_.trace_search_;
982inline void ConstraintSolverParameters::_internal_set_trace_search(
bool value) {
983 ::google::protobuf::internal::TSanWrite(&
_impl_);
984 _impl_.trace_search_ = value;
989 ::google::protobuf::internal::TSanWrite(&
_impl_);
990 _impl_.print_model_ =
false;
991 _impl_._has_bits_[0] &= ~0x00000400u;
995 return _internal_print_model();
998 _internal_set_print_model(value);
999 _impl_._has_bits_[0] |= 0x00000400u;
1002inline bool ConstraintSolverParameters::_internal_print_model()
const {
1003 ::google::protobuf::internal::TSanRead(&
_impl_);
1004 return _impl_.print_model_;
1006inline void ConstraintSolverParameters::_internal_set_print_model(
bool value) {
1007 ::google::protobuf::internal::TSanWrite(&
_impl_);
1008 _impl_.print_model_ = value;
1013 ::google::protobuf::internal::TSanWrite(&
_impl_);
1014 _impl_.print_model_stats_ =
false;
1015 _impl_._has_bits_[0] &= ~0x00000800u;
1019 return _internal_print_model_stats();
1022 _internal_set_print_model_stats(value);
1023 _impl_._has_bits_[0] |= 0x00000800u;
1026inline bool ConstraintSolverParameters::_internal_print_model_stats()
const {
1027 ::google::protobuf::internal::TSanRead(&
_impl_);
1028 return _impl_.print_model_stats_;
1030inline void ConstraintSolverParameters::_internal_set_print_model_stats(
bool value) {
1031 ::google::protobuf::internal::TSanWrite(&
_impl_);
1032 _impl_.print_model_stats_ = value;
1037 ::google::protobuf::internal::TSanWrite(&
_impl_);
1038 _impl_.print_added_constraints_ =
false;
1039 _impl_._has_bits_[0] &= ~0x00001000u;
1043 return _internal_print_added_constraints();
1046 _internal_set_print_added_constraints(value);
1047 _impl_._has_bits_[0] |= 0x00001000u;
1050inline bool ConstraintSolverParameters::_internal_print_added_constraints()
const {
1051 ::google::protobuf::internal::TSanRead(&
_impl_);
1052 return _impl_.print_added_constraints_;
1054inline void ConstraintSolverParameters::_internal_set_print_added_constraints(
bool value) {
1055 ::google::protobuf::internal::TSanWrite(&
_impl_);
1056 _impl_.print_added_constraints_ = value;
1061 ::google::protobuf::internal::TSanWrite(&
_impl_);
1062 _impl_.disable_solve_ =
false;
1063 _impl_._has_bits_[0] &= ~0x00002000u;
1067 return _internal_disable_solve();
1070 _internal_set_disable_solve(value);
1071 _impl_._has_bits_[0] |= 0x00002000u;
1074inline bool ConstraintSolverParameters::_internal_disable_solve()
const {
1075 ::google::protobuf::internal::TSanRead(&
_impl_);
1076 return _impl_.disable_solve_;
1078inline void ConstraintSolverParameters::_internal_set_disable_solve(
bool value) {
1079 ::google::protobuf::internal::TSanWrite(&
_impl_);
1080 _impl_.disable_solve_ = value;
1085 ::google::protobuf::internal::TSanWrite(&
_impl_);
1086 _impl_.use_small_table_ =
false;
1087 _impl_._has_bits_[0] &= ~0x00010000u;
1091 return _internal_use_small_table();
1094 _internal_set_use_small_table(value);
1095 _impl_._has_bits_[0] |= 0x00010000u;
1098inline bool ConstraintSolverParameters::_internal_use_small_table()
const {
1099 ::google::protobuf::internal::TSanRead(&
_impl_);
1100 return _impl_.use_small_table_;
1102inline void ConstraintSolverParameters::_internal_set_use_small_table(
bool value) {
1103 ::google::protobuf::internal::TSanWrite(&
_impl_);
1104 _impl_.use_small_table_ = value;
1109 ::google::protobuf::internal::TSanWrite(&
_impl_);
1110 _impl_.use_cumulative_edge_finder_ =
false;
1111 _impl_._has_bits_[0] &= ~0x00020000u;
1115 return _internal_use_cumulative_edge_finder();
1118 _internal_set_use_cumulative_edge_finder(value);
1119 _impl_._has_bits_[0] |= 0x00020000u;
1122inline bool ConstraintSolverParameters::_internal_use_cumulative_edge_finder()
const {
1123 ::google::protobuf::internal::TSanRead(&
_impl_);
1124 return _impl_.use_cumulative_edge_finder_;
1126inline void ConstraintSolverParameters::_internal_set_use_cumulative_edge_finder(
bool value) {
1127 ::google::protobuf::internal::TSanWrite(&
_impl_);
1128 _impl_.use_cumulative_edge_finder_ = value;
1133 ::google::protobuf::internal::TSanWrite(&
_impl_);
1134 _impl_.use_cumulative_time_table_ =
false;
1135 _impl_._has_bits_[0] &= ~0x00040000u;
1139 return _internal_use_cumulative_time_table();
1142 _internal_set_use_cumulative_time_table(value);
1143 _impl_._has_bits_[0] |= 0x00040000u;
1146inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table()
const {
1147 ::google::protobuf::internal::TSanRead(&
_impl_);
1148 return _impl_.use_cumulative_time_table_;
1150inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table(
bool value) {
1151 ::google::protobuf::internal::TSanWrite(&
_impl_);
1152 _impl_.use_cumulative_time_table_ = value;
1157 ::google::protobuf::internal::TSanWrite(&
_impl_);
1158 _impl_.use_cumulative_time_table_sync_ =
false;
1159 _impl_._has_bits_[0] &= ~0x01000000u;
1163 return _internal_use_cumulative_time_table_sync();
1166 _internal_set_use_cumulative_time_table_sync(value);
1167 _impl_._has_bits_[0] |= 0x01000000u;
1170inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table_sync()
const {
1171 ::google::protobuf::internal::TSanRead(&
_impl_);
1172 return _impl_.use_cumulative_time_table_sync_;
1174inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table_sync(
bool value) {
1175 ::google::protobuf::internal::TSanWrite(&
_impl_);
1176 _impl_.use_cumulative_time_table_sync_ = value;
1181 ::google::protobuf::internal::TSanWrite(&
_impl_);
1182 _impl_.use_sequence_high_demand_tasks_ =
false;
1183 _impl_._has_bits_[0] &= ~0x00080000u;
1187 return _internal_use_sequence_high_demand_tasks();
1190 _internal_set_use_sequence_high_demand_tasks(value);
1191 _impl_._has_bits_[0] |= 0x00080000u;
1194inline bool ConstraintSolverParameters::_internal_use_sequence_high_demand_tasks()
const {
1195 ::google::protobuf::internal::TSanRead(&
_impl_);
1196 return _impl_.use_sequence_high_demand_tasks_;
1198inline void ConstraintSolverParameters::_internal_set_use_sequence_high_demand_tasks(
bool value) {
1199 ::google::protobuf::internal::TSanWrite(&
_impl_);
1200 _impl_.use_sequence_high_demand_tasks_ = value;
1205 ::google::protobuf::internal::TSanWrite(&
_impl_);
1206 _impl_.use_all_possible_disjunctions_ =
false;
1207 _impl_._has_bits_[0] &= ~0x00200000u;
1211 return _internal_use_all_possible_disjunctions();
1214 _internal_set_use_all_possible_disjunctions(value);
1215 _impl_._has_bits_[0] |= 0x00200000u;
1218inline bool ConstraintSolverParameters::_internal_use_all_possible_disjunctions()
const {
1219 ::google::protobuf::internal::TSanRead(&
_impl_);
1220 return _impl_.use_all_possible_disjunctions_;
1222inline void ConstraintSolverParameters::_internal_set_use_all_possible_disjunctions(
bool value) {
1223 ::google::protobuf::internal::TSanWrite(&
_impl_);
1224 _impl_.use_all_possible_disjunctions_ = value;
1229 ::google::protobuf::internal::TSanWrite(&
_impl_);
1230 _impl_.max_edge_finder_size_ = 0;
1231 _impl_._has_bits_[0] &= ~0x00100000u;
1235 return _internal_max_edge_finder_size();
1238 _internal_set_max_edge_finder_size(value);
1239 _impl_._has_bits_[0] |= 0x00100000u;
1242inline ::int32_t ConstraintSolverParameters::_internal_max_edge_finder_size()
const {
1243 ::google::protobuf::internal::TSanRead(&
_impl_);
1244 return _impl_.max_edge_finder_size_;
1246inline void ConstraintSolverParameters::_internal_set_max_edge_finder_size(::int32_t value) {
1247 ::google::protobuf::internal::TSanWrite(&
_impl_);
1248 _impl_.max_edge_finder_size_ = value;
1253 ::google::protobuf::internal::TSanWrite(&
_impl_);
1254 _impl_.diffn_use_cumulative_ =
false;
1255 _impl_._has_bits_[0] &= ~0x00400000u;
1259 return _internal_diffn_use_cumulative();
1262 _internal_set_diffn_use_cumulative(value);
1263 _impl_._has_bits_[0] |= 0x00400000u;
1266inline bool ConstraintSolverParameters::_internal_diffn_use_cumulative()
const {
1267 ::google::protobuf::internal::TSanRead(&
_impl_);
1268 return _impl_.diffn_use_cumulative_;
1270inline void ConstraintSolverParameters::_internal_set_diffn_use_cumulative(
bool value) {
1271 ::google::protobuf::internal::TSanWrite(&
_impl_);
1272 _impl_.diffn_use_cumulative_ = value;
1277 ::google::protobuf::internal::TSanWrite(&
_impl_);
1278 _impl_.use_element_rmq_ =
false;
1279 _impl_._has_bits_[0] &= ~0x00800000u;
1283 return _internal_use_element_rmq();
1286 _internal_set_use_element_rmq(value);
1287 _impl_._has_bits_[0] |= 0x00800000u;
1290inline bool ConstraintSolverParameters::_internal_use_element_rmq()
const {
1291 ::google::protobuf::internal::TSanRead(&
_impl_);
1292 return _impl_.use_element_rmq_;
1294inline void ConstraintSolverParameters::_internal_set_use_element_rmq(
bool value) {
1295 ::google::protobuf::internal::TSanWrite(&
_impl_);
1296 _impl_.use_element_rmq_ = value;
1301 ::google::protobuf::internal::TSanWrite(&
_impl_);
1302 _impl_.skip_locally_optimal_paths_ =
false;
1303 _impl_._has_bits_[0] &= ~0x02000000u;
1307 return _internal_skip_locally_optimal_paths();
1310 _internal_set_skip_locally_optimal_paths(value);
1311 _impl_._has_bits_[0] |= 0x02000000u;
1314inline bool ConstraintSolverParameters::_internal_skip_locally_optimal_paths()
const {
1315 ::google::protobuf::internal::TSanRead(&
_impl_);
1316 return _impl_.skip_locally_optimal_paths_;
1318inline void ConstraintSolverParameters::_internal_set_skip_locally_optimal_paths(
bool value) {
1319 ::google::protobuf::internal::TSanWrite(&
_impl_);
1320 _impl_.skip_locally_optimal_paths_ = value;
1325 ::google::protobuf::internal::TSanWrite(&
_impl_);
1326 _impl_.check_solution_period_ = 0;
1327 _impl_._has_bits_[0] &= ~0x04000000u;
1331 return _internal_check_solution_period();
1334 _internal_set_check_solution_period(value);
1335 _impl_._has_bits_[0] |= 0x04000000u;
1338inline ::int32_t ConstraintSolverParameters::_internal_check_solution_period()
const {
1339 ::google::protobuf::internal::TSanRead(&
_impl_);
1340 return _impl_.check_solution_period_;
1342inline void ConstraintSolverParameters::_internal_set_check_solution_period(::int32_t value) {
1343 ::google::protobuf::internal::TSanWrite(&
_impl_);
1344 _impl_.check_solution_period_ = value;
1348#pragma GCC diagnostic pop
1362 return ::operations_research::ConstraintSolverParameters_TrailCompression_descriptor();
1370#include "google/protobuf/port_undef.inc"
::operations_research::ConstraintSolverParameters_TrailCompression compress_trail() const
void set_profile_file(Arg_ &&arg, Args_... args)
void set_disable_solve(bool value)
friend class ::google::protobuf::MessageLite
static constexpr int TrailCompression_ARRAYSIZE
void set_print_model_stats(bool value)
void clear_use_cumulative_time_table()
bool use_cumulative_time_table = 106;
bool diffn_use_cumulative() const
bool print_local_search_profile() const
::std::string *PROTOBUF_NULLABLE release_profile_file()
void set_trail_block_size(::int32_t value)
ConstraintSolverParameters()
::int32_t array_split_size() const
bool use_cumulative_edge_finder() const
void clear_array_split_size()
int32 array_split_size = 3;
void set_print_local_search_profile(bool value)
ConstraintSolverParameters(const ConstraintSolverParameters &from)
void clear_print_model()
bool print_model = 11;
void clear_compress_trail()
.operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
void clear_diffn_use_cumulative()
bool diffn_use_cumulative = 110;
void clear_disable_solve()
bool disable_solve = 15;
@ kPrintAddedConstraintsFieldNumber
@ kDisableSolveFieldNumber
@ kUseCumulativeTimeTableFieldNumber
@ kProfilePropagationFieldNumber
@ kMaxEdgeFinderSizeFieldNumber
@ kNameAllVariablesFieldNumber
@ kCheckSolutionPeriodFieldNumber
@ kUseAllPossibleDisjunctionsFieldNumber
@ kDiffnUseCumulativeFieldNumber
@ kProfileLocalSearchFieldNumber
@ kUseCumulativeEdgeFinderFieldNumber
@ kArraySplitSizeFieldNumber
@ kUseSmallTableFieldNumber
@ kPrintModelStatsFieldNumber
@ kTraceSearchFieldNumber
@ kUseSequenceHighDemandTasksFieldNumber
@ kNameCastVariablesFieldNumber
@ kTracePropagationFieldNumber
@ kSkipLocallyOptimalPathsFieldNumber
@ kPrintLocalSearchProfileFieldNumber
@ kUseElementRmqFieldNumber
@ kUseCumulativeTimeTableSyncFieldNumber
@ kTrailBlockSizeFieldNumber
void clear_skip_locally_optimal_paths()
bool skip_locally_optimal_paths = 113;
bool IsInitialized() const
bool print_added_constraints() const
void set_print_model(bool value)
void set_profile_propagation(bool value)
void clear_trace_propagation()
bool trace_propagation = 9;
void set_allocated_profile_file(::std::string *PROTOBUF_NULLABLE value)
void clear_print_added_constraints()
bool print_added_constraints = 13;
void set_use_sequence_high_demand_tasks(bool value)
void set_skip_locally_optimal_paths(bool value)
void clear_name_cast_variables()
bool name_cast_variables = 5;
void clear_trail_block_size()
int32 trail_block_size = 2;
void set_check_solution_period(::int32_t value)
void clear_use_element_rmq()
bool use_element_rmq = 111;
bool trace_propagation() const
void clear_profile_file()
string profile_file = 8;
void set_array_split_size(::int32_t value)
::int32_t max_edge_finder_size() const
ConstraintSolverParameters_TrailCompression TrailCompression
nested types -------------------------------------------------—
static bool TrailCompression_IsValid(int value)
void set_use_cumulative_time_table(bool value)
bool use_cumulative_time_table_sync() const
bool disable_solve() const
void set_profile_local_search(bool value)
bool print_model_stats() const
void set_diffn_use_cumulative(bool value)
bool use_sequence_high_demand_tasks() const
bool name_all_variables() const
void clear_check_solution_period()
int32 check_solution_period = 114;
bool use_all_possible_disjunctions() const
void Swap(ConstraintSolverParameters *PROTOBUF_NONNULL other)
void clear_trace_search()
bool trace_search = 10;
void clear_use_small_table()
bool use_small_table = 101;
bool use_element_rmq() const
void set_print_added_constraints(bool value)
const ::std::string & profile_file() const
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TrailCompression_descriptor()
ConstraintSolverParameters(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, ConstraintSolverParameters &&from) noexcept
void set_use_cumulative_edge_finder(bool value)
void clear_use_cumulative_time_table_sync()
bool use_cumulative_time_table_sync = 112;
void set_store_names(bool value)
void set_trace_search(bool value)
void clear_print_local_search_profile()
bool print_local_search_profile = 17;
bool profile_propagation() const
void clear_max_edge_finder_size()
int32 max_edge_finder_size = 109;
void clear_profile_local_search()
bool profile_local_search = 16;
bool use_cumulative_time_table() const
void clear_profile_propagation()
bool profile_propagation = 7;
void set_trace_propagation(bool value)
void clear_print_model_stats()
bool print_model_stats = 12;
void CopyFrom(const ConstraintSolverParameters &from)
::std::string *PROTOBUF_NONNULL mutable_profile_file()
bool profile_local_search() const
void set_max_edge_finder_size(::int32_t value)
PROTOBUF_CONSTEXPR ConstraintSolverParameters(::google::protobuf::internal::ConstantInitialized)
bool use_small_table() const
bool name_cast_variables() const
bool trace_search() const
::int32_t trail_block_size() const
void clear_store_names()
bool store_names = 4;
void clear_use_cumulative_edge_finder()
bool use_cumulative_edge_finder = 105;
static constexpr TrailCompression COMPRESS_WITH_ZLIB
void set_name_all_variables(bool value)
void set_use_element_rmq(bool value)
::int32_t check_solution_period() const
void clear_name_all_variables()
bool name_all_variables = 6;
void clear_use_sequence_high_demand_tasks()
bool use_sequence_high_demand_tasks = 107;
void set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value)
ConstraintSolverParameters & operator=(const ConstraintSolverParameters &from)
void set_use_small_table(bool value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_use_all_possible_disjunctions()
bool use_all_possible_disjunctions = 108;
void set_use_cumulative_time_table_sync(bool value)
bool skip_locally_optimal_paths() const
void set_use_all_possible_disjunctions(bool value)
void set_name_cast_variables(bool value)
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::ConstraintSolverParameters_TrailCompression >()
In SWIG mode, we don't want anything besides these top-level includes.
bool ConstraintSolverParameters_TrailCompression_Parse(::absl::string_view name, ConstraintSolverParameters_TrailCompression *PROTOBUF_NONNULL value)
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintSolverParameters_class_data_
constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX
ConstraintSolverParameters_TrailCompression
@ ConstraintSolverParameters_TrailCompression_NO_COMPRESSION
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MIN_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MAX_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL ConstraintSolverParameters_TrailCompression_descriptor()
const ::std::string & ConstraintSolverParameters_TrailCompression_Name(T value)
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
PROTOBUF_CONSTINIT const uint32_t ConstraintSolverParameters_TrailCompression_internal_data_[]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto