OR-Tools  9.2
solver_parameters.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/constraint_solver/solver_parameters.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3019000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3019001 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/message.h>
31#include <google/protobuf/repeated_field.h> // IWYU pragma: export
32#include <google/protobuf/extension_set.h> // IWYU pragma: export
33#include <google/protobuf/generated_enum_reflection.h>
34#include <google/protobuf/unknown_field_set.h>
35// @@protoc_insertion_point(includes)
36#include <google/protobuf/port_def.inc>
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
38PROTOBUF_NAMESPACE_OPEN
39namespace internal {
40class AnyMetadata;
41} // namespace internal
42PROTOBUF_NAMESPACE_CLOSE
43
44// Internal implementation detail -- do not use these members.
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54 static const uint32_t offsets[];
55};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
57namespace operations_research {
58class ConstraintSolverParameters;
59struct ConstraintSolverParametersDefaultTypeInternal;
60extern ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_;
61} // namespace operations_research
62PROTOBUF_NAMESPACE_OPEN
63template<> ::operations_research::ConstraintSolverParameters* Arena::CreateMaybeMessage<::operations_research::ConstraintSolverParameters>(Arena*);
64PROTOBUF_NAMESPACE_CLOSE
65namespace operations_research {
66
72};
77
78const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConstraintSolverParameters_TrailCompression_descriptor();
79template<typename T>
80inline const std::string& ConstraintSolverParameters_TrailCompression_Name(T enum_t_value) {
83 "Incorrect type passed to function ConstraintSolverParameters_TrailCompression_Name.");
84 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
86}
88 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConstraintSolverParameters_TrailCompression* value) {
89 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ConstraintSolverParameters_TrailCompression>(
91}
92// ===================================================================
93
95 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:operations_research.ConstraintSolverParameters) */ {
96 public:
99 explicit constexpr ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
100
104 *this = ::std::move(from);
105 }
106
108 CopyFrom(from);
109 return *this;
110 }
112 if (this == &from) return *this;
113 if (GetOwningArena() == from.GetOwningArena()
114 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
115 && GetOwningArena() != nullptr
116 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
117 ) {
118 InternalSwap(&from);
119 } else {
120 CopyFrom(from);
121 }
122 return *this;
123 }
124
125 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
126 return GetDescriptor();
127 }
128 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
129 return default_instance().GetMetadata().descriptor;
130 }
131 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
132 return default_instance().GetMetadata().reflection;
133 }
136 }
138 return reinterpret_cast<const ConstraintSolverParameters*>(
140 }
141 static constexpr int kIndexInFileMessages =
142 0;
143
145 a.Swap(&b);
146 }
147 inline void Swap(ConstraintSolverParameters* other) {
148 if (other == this) return;
149 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
150 if (GetOwningArena() != nullptr &&
151 GetOwningArena() == other->GetOwningArena()) {
152 #else // PROTOBUF_FORCE_COPY_IN_SWAP
153 if (GetOwningArena() == other->GetOwningArena()) {
154 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
155 InternalSwap(other);
156 } else {
157 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
158 }
159 }
161 if (other == this) return;
162 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
163 InternalSwap(other);
164 }
165
166 // implements Message ----------------------------------------------
167
168 ConstraintSolverParameters* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
169 return CreateMaybeMessage<ConstraintSolverParameters>(arena);
170 }
171 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
172 void CopyFrom(const ConstraintSolverParameters& from);
173 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
174 void MergeFrom(const ConstraintSolverParameters& from);
175 private:
176 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
177 public:
178 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
179 bool IsInitialized() const final;
180
181 size_t ByteSizeLong() const final;
182 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
183 uint8_t* _InternalSerialize(
184 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
185 int GetCachedSize() const final { return _cached_size_.Get(); }
186
187 private:
188 void SharedCtor();
189 void SharedDtor();
190 void SetCachedSize(int size) const final;
191 void InternalSwap(ConstraintSolverParameters* other);
192
193 private:
194 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
195 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
196 return "operations_research.ConstraintSolverParameters";
197 }
198 protected:
199 explicit ConstraintSolverParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena,
200 bool is_message_owned = false);
201 private:
202 static void ArenaDtor(void* object);
203 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
204 public:
205
206 static const ClassData _class_data_;
207 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
208
209 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
210
211 // nested types ----------------------------------------------------
212
218 static inline bool TrailCompression_IsValid(int value) {
220 }
225 static constexpr int TrailCompression_ARRAYSIZE =
227 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
230 }
231 template<typename T>
232 static inline const std::string& TrailCompression_Name(T enum_t_value) {
235 "Incorrect type passed to function TrailCompression_Name.");
237 }
238 static inline bool TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
241 }
242
243 // accessors -------------------------------------------------------
244
245 enum : int {
273 };
274 // string profile_file = 8;
275 void clear_profile_file();
276 const std::string& profile_file() const;
277 template <typename ArgT0 = const std::string&, typename... ArgT>
278 void set_profile_file(ArgT0&& arg0, ArgT... args);
279 std::string* mutable_profile_file();
280 PROTOBUF_NODISCARD std::string* release_profile_file();
281 void set_allocated_profile_file(std::string* profile_file);
282 private:
283 const std::string& _internal_profile_file() const;
284 inline PROTOBUF_ALWAYS_INLINE void _internal_set_profile_file(const std::string& value);
285 std::string* _internal_mutable_profile_file();
286 public:
287
288 // .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
292 private:
295 public:
296
297 // int32 trail_block_size = 2;
299 int32_t trail_block_size() const;
300 void set_trail_block_size(int32_t value);
301 private:
302 int32_t _internal_trail_block_size() const;
303 void _internal_set_trail_block_size(int32_t value);
304 public:
305
306 // int32 array_split_size = 3;
308 int32_t array_split_size() const;
309 void set_array_split_size(int32_t value);
310 private:
311 int32_t _internal_array_split_size() const;
312 void _internal_set_array_split_size(int32_t value);
313 public:
314
315 // bool store_names = 4;
316 void clear_store_names();
317 bool store_names() const;
318 void set_store_names(bool value);
319 private:
320 bool _internal_store_names() const;
321 void _internal_set_store_names(bool value);
322 public:
323
324 // bool name_cast_variables = 5;
326 bool name_cast_variables() const;
328 private:
329 bool _internal_name_cast_variables() const;
330 void _internal_set_name_cast_variables(bool value);
331 public:
332
333 // bool name_all_variables = 6;
335 bool name_all_variables() const;
336 void set_name_all_variables(bool value);
337 private:
338 bool _internal_name_all_variables() const;
339 void _internal_set_name_all_variables(bool value);
340 public:
341
342 // bool profile_propagation = 7;
344 bool profile_propagation() const;
346 private:
347 bool _internal_profile_propagation() const;
348 void _internal_set_profile_propagation(bool value);
349 public:
350
351 // bool print_model = 11;
352 void clear_print_model();
353 bool print_model() const;
354 void set_print_model(bool value);
355 private:
356 bool _internal_print_model() const;
357 void _internal_set_print_model(bool value);
358 public:
359
360 // bool print_model_stats = 12;
362 bool print_model_stats() const;
363 void set_print_model_stats(bool value);
364 private:
365 bool _internal_print_model_stats() const;
366 void _internal_set_print_model_stats(bool value);
367 public:
368
369 // bool print_added_constraints = 13;
371 bool print_added_constraints() const;
373 private:
374 bool _internal_print_added_constraints() const;
375 void _internal_set_print_added_constraints(bool value);
376 public:
377
378 // bool disable_solve = 15;
379 void clear_disable_solve();
380 bool disable_solve() const;
381 void set_disable_solve(bool value);
382 private:
383 bool _internal_disable_solve() const;
384 void _internal_set_disable_solve(bool value);
385 public:
386
387 // bool profile_local_search = 16;
389 bool profile_local_search() const;
391 private:
392 bool _internal_profile_local_search() const;
393 void _internal_set_profile_local_search(bool value);
394 public:
395
396 // bool print_local_search_profile = 17;
398 bool print_local_search_profile() const;
400 private:
401 bool _internal_print_local_search_profile() const;
402 void _internal_set_print_local_search_profile(bool value);
403 public:
404
405 // bool trace_propagation = 9;
407 bool trace_propagation() const;
408 void set_trace_propagation(bool value);
409 private:
410 bool _internal_trace_propagation() const;
411 void _internal_set_trace_propagation(bool value);
412 public:
413
414 // bool trace_search = 10;
415 void clear_trace_search();
416 bool trace_search() const;
417 void set_trace_search(bool value);
418 private:
419 bool _internal_trace_search() const;
420 void _internal_set_trace_search(bool value);
421 public:
422
423 // int32 check_solution_period = 114;
425 int32_t check_solution_period() const;
426 void set_check_solution_period(int32_t value);
427 private:
428 int32_t _internal_check_solution_period() const;
429 void _internal_set_check_solution_period(int32_t value);
430 public:
431
432 // bool use_small_table = 101;
434 bool use_small_table() const;
435 void set_use_small_table(bool value);
436 private:
437 bool _internal_use_small_table() const;
438 void _internal_set_use_small_table(bool value);
439 public:
440
441 // bool use_cumulative_edge_finder = 105;
443 bool use_cumulative_edge_finder() const;
445 private:
446 bool _internal_use_cumulative_edge_finder() const;
447 void _internal_set_use_cumulative_edge_finder(bool value);
448 public:
449
450 // bool use_cumulative_time_table = 106;
452 bool use_cumulative_time_table() const;
454 private:
455 bool _internal_use_cumulative_time_table() const;
456 void _internal_set_use_cumulative_time_table(bool value);
457 public:
458
459 // bool use_cumulative_time_table_sync = 112;
463 private:
464 bool _internal_use_cumulative_time_table_sync() const;
465 void _internal_set_use_cumulative_time_table_sync(bool value);
466 public:
467
468 // int32 max_edge_finder_size = 109;
470 int32_t max_edge_finder_size() const;
471 void set_max_edge_finder_size(int32_t value);
472 private:
473 int32_t _internal_max_edge_finder_size() const;
474 void _internal_set_max_edge_finder_size(int32_t value);
475 public:
476
477 // bool use_sequence_high_demand_tasks = 107;
481 private:
482 bool _internal_use_sequence_high_demand_tasks() const;
483 void _internal_set_use_sequence_high_demand_tasks(bool value);
484 public:
485
486 // bool use_all_possible_disjunctions = 108;
490 private:
491 bool _internal_use_all_possible_disjunctions() const;
492 void _internal_set_use_all_possible_disjunctions(bool value);
493 public:
494
495 // bool diffn_use_cumulative = 110;
497 bool diffn_use_cumulative() const;
499 private:
500 bool _internal_diffn_use_cumulative() const;
501 void _internal_set_diffn_use_cumulative(bool value);
502 public:
503
504 // bool use_element_rmq = 111;
506 bool use_element_rmq() const;
507 void set_use_element_rmq(bool value);
508 private:
509 bool _internal_use_element_rmq() const;
510 void _internal_set_use_element_rmq(bool value);
511 public:
512
513 // bool skip_locally_optimal_paths = 113;
515 bool skip_locally_optimal_paths() const;
517 private:
518 bool _internal_skip_locally_optimal_paths() const;
519 void _internal_set_skip_locally_optimal_paths(bool value);
520 public:
521
522 // @@protoc_insertion_point(class_scope:operations_research.ConstraintSolverParameters)
523 private:
524 class _Internal;
525
526 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
527 typedef void InternalArenaConstructable_;
528 typedef void DestructorSkippable_;
529 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr profile_file_;
530 int compress_trail_;
531 int32_t trail_block_size_;
532 int32_t array_split_size_;
533 bool store_names_;
534 bool name_cast_variables_;
535 bool name_all_variables_;
536 bool profile_propagation_;
537 bool print_model_;
538 bool print_model_stats_;
539 bool print_added_constraints_;
540 bool disable_solve_;
541 bool profile_local_search_;
542 bool print_local_search_profile_;
543 bool trace_propagation_;
544 bool trace_search_;
545 int32_t check_solution_period_;
546 bool use_small_table_;
547 bool use_cumulative_edge_finder_;
548 bool use_cumulative_time_table_;
549 bool use_cumulative_time_table_sync_;
550 int32_t max_edge_finder_size_;
551 bool use_sequence_high_demand_tasks_;
552 bool use_all_possible_disjunctions_;
553 bool diffn_use_cumulative_;
554 bool use_element_rmq_;
555 bool skip_locally_optimal_paths_;
556 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
557 friend struct ::TableStruct_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto;
558};
559// ===================================================================
560
561
562// ===================================================================
563
564#ifdef __GNUC__
565 #pragma GCC diagnostic push
566 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
567#endif // __GNUC__
568// ConstraintSolverParameters
569
570// .operations_research.ConstraintSolverParameters.TrailCompression compress_trail = 1;
572 compress_trail_ = 0;
573}
574inline ::operations_research::ConstraintSolverParameters_TrailCompression ConstraintSolverParameters::_internal_compress_trail() const {
575 return static_cast< ::operations_research::ConstraintSolverParameters_TrailCompression >(compress_trail_);
576}
578 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.compress_trail)
579 return _internal_compress_trail();
580}
581inline void ConstraintSolverParameters::_internal_set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value) {
582
583 compress_trail_ = value;
584}
586 _internal_set_compress_trail(value);
587 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.compress_trail)
588}
589
590// int32 trail_block_size = 2;
592 trail_block_size_ = 0;
593}
594inline int32_t ConstraintSolverParameters::_internal_trail_block_size() const {
595 return trail_block_size_;
596}
598 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trail_block_size)
599 return _internal_trail_block_size();
600}
601inline void ConstraintSolverParameters::_internal_set_trail_block_size(int32_t value) {
602
603 trail_block_size_ = value;
604}
606 _internal_set_trail_block_size(value);
607 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trail_block_size)
608}
609
610// int32 array_split_size = 3;
612 array_split_size_ = 0;
613}
614inline int32_t ConstraintSolverParameters::_internal_array_split_size() const {
615 return array_split_size_;
616}
618 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.array_split_size)
619 return _internal_array_split_size();
620}
621inline void ConstraintSolverParameters::_internal_set_array_split_size(int32_t value) {
622
623 array_split_size_ = value;
624}
626 _internal_set_array_split_size(value);
627 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.array_split_size)
628}
629
630// bool store_names = 4;
632 store_names_ = false;
633}
634inline bool ConstraintSolverParameters::_internal_store_names() const {
635 return store_names_;
636}
638 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.store_names)
639 return _internal_store_names();
640}
641inline void ConstraintSolverParameters::_internal_set_store_names(bool value) {
642
643 store_names_ = value;
644}
646 _internal_set_store_names(value);
647 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.store_names)
648}
649
650// bool name_cast_variables = 5;
652 name_cast_variables_ = false;
653}
654inline bool ConstraintSolverParameters::_internal_name_cast_variables() const {
655 return name_cast_variables_;
656}
658 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.name_cast_variables)
659 return _internal_name_cast_variables();
660}
661inline void ConstraintSolverParameters::_internal_set_name_cast_variables(bool value) {
662
663 name_cast_variables_ = value;
664}
666 _internal_set_name_cast_variables(value);
667 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.name_cast_variables)
668}
669
670// bool name_all_variables = 6;
672 name_all_variables_ = false;
673}
674inline bool ConstraintSolverParameters::_internal_name_all_variables() const {
675 return name_all_variables_;
676}
678 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.name_all_variables)
679 return _internal_name_all_variables();
680}
681inline void ConstraintSolverParameters::_internal_set_name_all_variables(bool value) {
682
683 name_all_variables_ = value;
684}
686 _internal_set_name_all_variables(value);
687 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.name_all_variables)
688}
689
690// bool profile_propagation = 7;
692 profile_propagation_ = false;
693}
694inline bool ConstraintSolverParameters::_internal_profile_propagation() const {
695 return profile_propagation_;
696}
698 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_propagation)
699 return _internal_profile_propagation();
700}
701inline void ConstraintSolverParameters::_internal_set_profile_propagation(bool value) {
702
703 profile_propagation_ = value;
704}
706 _internal_set_profile_propagation(value);
707 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_propagation)
708}
709
710// string profile_file = 8;
712 profile_file_.ClearToEmpty();
713}
714inline const std::string& ConstraintSolverParameters::profile_file() const {
715 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_file)
716 return _internal_profile_file();
717}
718template <typename ArgT0, typename... ArgT>
719inline PROTOBUF_ALWAYS_INLINE
720void ConstraintSolverParameters::set_profile_file(ArgT0&& arg0, ArgT... args) {
721
722 profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
723 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_file)
724}
726 std::string* _s = _internal_mutable_profile_file();
727 // @@protoc_insertion_point(field_mutable:operations_research.ConstraintSolverParameters.profile_file)
728 return _s;
729}
730inline const std::string& ConstraintSolverParameters::_internal_profile_file() const {
731 return profile_file_.Get();
732}
733inline void ConstraintSolverParameters::_internal_set_profile_file(const std::string& value) {
734
735 profile_file_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
736}
737inline std::string* ConstraintSolverParameters::_internal_mutable_profile_file() {
738
739 return profile_file_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
740}
742 // @@protoc_insertion_point(field_release:operations_research.ConstraintSolverParameters.profile_file)
743 return profile_file_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
744}
746 if (profile_file != nullptr) {
747
748 } else {
749
750 }
751 profile_file_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), profile_file,
752 GetArenaForAllocation());
753#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
754 if (profile_file_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
755 profile_file_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
756 }
757#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
758 // @@protoc_insertion_point(field_set_allocated:operations_research.ConstraintSolverParameters.profile_file)
759}
760
761// bool profile_local_search = 16;
763 profile_local_search_ = false;
764}
765inline bool ConstraintSolverParameters::_internal_profile_local_search() const {
766 return profile_local_search_;
767}
769 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.profile_local_search)
770 return _internal_profile_local_search();
771}
772inline void ConstraintSolverParameters::_internal_set_profile_local_search(bool value) {
773
774 profile_local_search_ = value;
775}
777 _internal_set_profile_local_search(value);
778 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.profile_local_search)
779}
780
781// bool print_local_search_profile = 17;
783 print_local_search_profile_ = false;
784}
785inline bool ConstraintSolverParameters::_internal_print_local_search_profile() const {
786 return print_local_search_profile_;
787}
789 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_local_search_profile)
790 return _internal_print_local_search_profile();
791}
792inline void ConstraintSolverParameters::_internal_set_print_local_search_profile(bool value) {
793
794 print_local_search_profile_ = value;
795}
797 _internal_set_print_local_search_profile(value);
798 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_local_search_profile)
799}
800
801// bool trace_propagation = 9;
803 trace_propagation_ = false;
804}
805inline bool ConstraintSolverParameters::_internal_trace_propagation() const {
806 return trace_propagation_;
807}
809 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trace_propagation)
810 return _internal_trace_propagation();
811}
812inline void ConstraintSolverParameters::_internal_set_trace_propagation(bool value) {
813
814 trace_propagation_ = value;
815}
817 _internal_set_trace_propagation(value);
818 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trace_propagation)
819}
820
821// bool trace_search = 10;
823 trace_search_ = false;
824}
825inline bool ConstraintSolverParameters::_internal_trace_search() const {
826 return trace_search_;
827}
829 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.trace_search)
830 return _internal_trace_search();
831}
832inline void ConstraintSolverParameters::_internal_set_trace_search(bool value) {
833
834 trace_search_ = value;
835}
837 _internal_set_trace_search(value);
838 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.trace_search)
839}
840
841// bool print_model = 11;
843 print_model_ = false;
844}
845inline bool ConstraintSolverParameters::_internal_print_model() const {
846 return print_model_;
847}
849 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_model)
850 return _internal_print_model();
851}
852inline void ConstraintSolverParameters::_internal_set_print_model(bool value) {
853
854 print_model_ = value;
855}
857 _internal_set_print_model(value);
858 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_model)
859}
860
861// bool print_model_stats = 12;
863 print_model_stats_ = false;
864}
865inline bool ConstraintSolverParameters::_internal_print_model_stats() const {
866 return print_model_stats_;
867}
869 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_model_stats)
870 return _internal_print_model_stats();
871}
872inline void ConstraintSolverParameters::_internal_set_print_model_stats(bool value) {
873
874 print_model_stats_ = value;
875}
877 _internal_set_print_model_stats(value);
878 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_model_stats)
879}
880
881// bool print_added_constraints = 13;
883 print_added_constraints_ = false;
884}
885inline bool ConstraintSolverParameters::_internal_print_added_constraints() const {
886 return print_added_constraints_;
887}
889 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.print_added_constraints)
890 return _internal_print_added_constraints();
891}
892inline void ConstraintSolverParameters::_internal_set_print_added_constraints(bool value) {
893
894 print_added_constraints_ = value;
895}
897 _internal_set_print_added_constraints(value);
898 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.print_added_constraints)
899}
900
901// bool disable_solve = 15;
903 disable_solve_ = false;
904}
905inline bool ConstraintSolverParameters::_internal_disable_solve() const {
906 return disable_solve_;
907}
909 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.disable_solve)
910 return _internal_disable_solve();
911}
912inline void ConstraintSolverParameters::_internal_set_disable_solve(bool value) {
913
914 disable_solve_ = value;
915}
917 _internal_set_disable_solve(value);
918 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.disable_solve)
919}
920
921// bool use_small_table = 101;
923 use_small_table_ = false;
924}
925inline bool ConstraintSolverParameters::_internal_use_small_table() const {
926 return use_small_table_;
927}
929 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_small_table)
930 return _internal_use_small_table();
931}
932inline void ConstraintSolverParameters::_internal_set_use_small_table(bool value) {
933
934 use_small_table_ = value;
935}
937 _internal_set_use_small_table(value);
938 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_small_table)
939}
940
941// bool use_cumulative_edge_finder = 105;
943 use_cumulative_edge_finder_ = false;
944}
945inline bool ConstraintSolverParameters::_internal_use_cumulative_edge_finder() const {
946 return use_cumulative_edge_finder_;
947}
949 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_edge_finder)
950 return _internal_use_cumulative_edge_finder();
951}
952inline void ConstraintSolverParameters::_internal_set_use_cumulative_edge_finder(bool value) {
953
954 use_cumulative_edge_finder_ = value;
955}
957 _internal_set_use_cumulative_edge_finder(value);
958 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_edge_finder)
959}
960
961// bool use_cumulative_time_table = 106;
963 use_cumulative_time_table_ = false;
964}
965inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table() const {
966 return use_cumulative_time_table_;
967}
969 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_time_table)
970 return _internal_use_cumulative_time_table();
971}
972inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table(bool value) {
973
974 use_cumulative_time_table_ = value;
975}
977 _internal_set_use_cumulative_time_table(value);
978 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_time_table)
979}
980
981// bool use_cumulative_time_table_sync = 112;
983 use_cumulative_time_table_sync_ = false;
984}
985inline bool ConstraintSolverParameters::_internal_use_cumulative_time_table_sync() const {
986 return use_cumulative_time_table_sync_;
987}
989 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_cumulative_time_table_sync)
990 return _internal_use_cumulative_time_table_sync();
991}
992inline void ConstraintSolverParameters::_internal_set_use_cumulative_time_table_sync(bool value) {
993
994 use_cumulative_time_table_sync_ = value;
995}
997 _internal_set_use_cumulative_time_table_sync(value);
998 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_cumulative_time_table_sync)
999}
1000
1001// bool use_sequence_high_demand_tasks = 107;
1003 use_sequence_high_demand_tasks_ = false;
1004}
1005inline bool ConstraintSolverParameters::_internal_use_sequence_high_demand_tasks() const {
1006 return use_sequence_high_demand_tasks_;
1007}
1009 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_sequence_high_demand_tasks)
1010 return _internal_use_sequence_high_demand_tasks();
1011}
1012inline void ConstraintSolverParameters::_internal_set_use_sequence_high_demand_tasks(bool value) {
1013
1014 use_sequence_high_demand_tasks_ = value;
1015}
1017 _internal_set_use_sequence_high_demand_tasks(value);
1018 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_sequence_high_demand_tasks)
1019}
1020
1021// bool use_all_possible_disjunctions = 108;
1023 use_all_possible_disjunctions_ = false;
1024}
1025inline bool ConstraintSolverParameters::_internal_use_all_possible_disjunctions() const {
1026 return use_all_possible_disjunctions_;
1027}
1029 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_all_possible_disjunctions)
1030 return _internal_use_all_possible_disjunctions();
1031}
1032inline void ConstraintSolverParameters::_internal_set_use_all_possible_disjunctions(bool value) {
1033
1034 use_all_possible_disjunctions_ = value;
1035}
1037 _internal_set_use_all_possible_disjunctions(value);
1038 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_all_possible_disjunctions)
1039}
1040
1041// int32 max_edge_finder_size = 109;
1043 max_edge_finder_size_ = 0;
1044}
1045inline int32_t ConstraintSolverParameters::_internal_max_edge_finder_size() const {
1046 return max_edge_finder_size_;
1047}
1049 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.max_edge_finder_size)
1050 return _internal_max_edge_finder_size();
1051}
1052inline void ConstraintSolverParameters::_internal_set_max_edge_finder_size(int32_t value) {
1053
1054 max_edge_finder_size_ = value;
1055}
1057 _internal_set_max_edge_finder_size(value);
1058 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.max_edge_finder_size)
1059}
1060
1061// bool diffn_use_cumulative = 110;
1063 diffn_use_cumulative_ = false;
1064}
1065inline bool ConstraintSolverParameters::_internal_diffn_use_cumulative() const {
1066 return diffn_use_cumulative_;
1067}
1069 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.diffn_use_cumulative)
1070 return _internal_diffn_use_cumulative();
1071}
1072inline void ConstraintSolverParameters::_internal_set_diffn_use_cumulative(bool value) {
1073
1074 diffn_use_cumulative_ = value;
1075}
1077 _internal_set_diffn_use_cumulative(value);
1078 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.diffn_use_cumulative)
1079}
1080
1081// bool use_element_rmq = 111;
1083 use_element_rmq_ = false;
1084}
1085inline bool ConstraintSolverParameters::_internal_use_element_rmq() const {
1086 return use_element_rmq_;
1087}
1089 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.use_element_rmq)
1090 return _internal_use_element_rmq();
1091}
1092inline void ConstraintSolverParameters::_internal_set_use_element_rmq(bool value) {
1093
1094 use_element_rmq_ = value;
1095}
1097 _internal_set_use_element_rmq(value);
1098 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.use_element_rmq)
1099}
1100
1101// bool skip_locally_optimal_paths = 113;
1103 skip_locally_optimal_paths_ = false;
1104}
1105inline bool ConstraintSolverParameters::_internal_skip_locally_optimal_paths() const {
1106 return skip_locally_optimal_paths_;
1107}
1109 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.skip_locally_optimal_paths)
1110 return _internal_skip_locally_optimal_paths();
1111}
1112inline void ConstraintSolverParameters::_internal_set_skip_locally_optimal_paths(bool value) {
1113
1114 skip_locally_optimal_paths_ = value;
1115}
1117 _internal_set_skip_locally_optimal_paths(value);
1118 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.skip_locally_optimal_paths)
1119}
1120
1121// int32 check_solution_period = 114;
1123 check_solution_period_ = 0;
1124}
1125inline int32_t ConstraintSolverParameters::_internal_check_solution_period() const {
1126 return check_solution_period_;
1127}
1129 // @@protoc_insertion_point(field_get:operations_research.ConstraintSolverParameters.check_solution_period)
1130 return _internal_check_solution_period();
1131}
1132inline void ConstraintSolverParameters::_internal_set_check_solution_period(int32_t value) {
1133
1134 check_solution_period_ = value;
1135}
1137 _internal_set_check_solution_period(value);
1138 // @@protoc_insertion_point(field_set:operations_research.ConstraintSolverParameters.check_solution_period)
1139}
1140
1141#ifdef __GNUC__
1142 #pragma GCC diagnostic pop
1143#endif // __GNUC__
1144
1145// @@protoc_insertion_point(namespace_scope)
1146
1147} // namespace operations_research
1148
1149PROTOBUF_NAMESPACE_OPEN
1150
1151template <> struct is_proto_enum< ::operations_research::ConstraintSolverParameters_TrailCompression> : ::std::true_type {};
1152template <>
1153inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::ConstraintSolverParameters_TrailCompression>() {
1155}
1156
1157PROTOBUF_NAMESPACE_CLOSE
1158
1159// @@protoc_insertion_point(global_scope)
1160
1161#include <google/protobuf/port_undef.inc>
1162#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
int64_t max
Definition: alldiff_cst.cc:140
int64_t min
Definition: alldiff_cst.cc:139
void Swap(ConstraintSolverParameters *other)
static bool TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TrailCompression *value)
ConstraintSolverParameters & operator=(const ConstraintSolverParameters &from)
void CopyFrom(const ConstraintSolverParameters &from)
ConstraintSolverParameters * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_compress_trail(::operations_research::ConstraintSolverParameters_TrailCompression value)
void set_profile_file(ArgT0 &&arg0, ArgT... args)
PROTOBUF_NODISCARD std::string * release_profile_file()
ConstraintSolverParameters & operator=(ConstraintSolverParameters &&from) noexcept
friend void swap(ConstraintSolverParameters &a, ConstraintSolverParameters &b)
void UnsafeArenaSwap(ConstraintSolverParameters *other)
static constexpr TrailCompression COMPRESS_WITH_ZLIB
static const ConstraintSolverParameters & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static constexpr TrailCompression TrailCompression_MAX
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ConstraintSolverParameters &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_allocated_profile_file(std::string *profile_file)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr TrailCompression TrailCompression_MIN
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TrailCompression_descriptor()
static constexpr TrailCompression NO_COMPRESSION
static const ConstraintSolverParameters * internal_default_instance()
::operations_research::ConstraintSolverParameters_TrailCompression compress_trail() const
ConstraintSolverParameters(ConstraintSolverParameters &&from) noexcept
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const std::string & TrailCompression_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
int64_t b
int64_t a
const std::string name
int64_t value
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT ConstraintSolverParametersDefaultTypeInternal _ConstraintSolverParameters_default_instance_
bool ConstraintSolverParameters_TrailCompression_IsValid(int value)
bool ConstraintSolverParameters_TrailCompression_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConstraintSolverParameters_TrailCompression *value)
constexpr int ConstraintSolverParameters_TrailCompression_TrailCompression_ARRAYSIZE
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConstraintSolverParameters_TrailCompression_descriptor()
const std::string & ConstraintSolverParameters_TrailCompression_Name(T enum_t_value)
@ ConstraintSolverParameters_TrailCompression_COMPRESS_WITH_ZLIB
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MAX_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_ConstraintSolverParameters_TrailCompression_INT_MIN_SENTINEL_DO_NOT_USE_
@ ConstraintSolverParameters_TrailCompression_NO_COMPRESSION
constexpr ConstraintSolverParameters_TrailCompression ConstraintSolverParameters_TrailCompression_TrailCompression_MAX
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fsolver_5fparameters_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)