Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
parameters.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/parameters.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fmath_5fopt_2fparameters_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fparameters_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
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"
19#endif
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" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
42// @@protoc_insertion_point(includes)
43
44// Must be included last.
45#include "google/protobuf/port_def.inc"
46
47#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fparameters_2eproto OR_PROTO_DLL
48
49namespace google {
50namespace protobuf {
51namespace internal {
52template <typename T>
53::absl::string_view GetAnyMessageName();
54} // namespace internal
55} // namespace protobuf
56} // namespace google
57
58// Internal implementation detail -- do not use these members.
60 static const ::uint32_t offsets[];
61};
62extern "C" {
63OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fparameters_2eproto;
64} // extern "C"
65namespace operations_research {
66namespace math_opt {
67enum EmphasisProto : int;
68OR_PROTO_DLL extern const uint32_t EmphasisProto_internal_data_[];
69enum LPAlgorithmProto : int;
70OR_PROTO_DLL extern const uint32_t LPAlgorithmProto_internal_data_[];
71enum SolverTypeProto : int;
72OR_PROTO_DLL extern const uint32_t SolverTypeProto_internal_data_[];
76OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_;
80OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_;
81class StrictnessProto;
84OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull StrictnessProto_class_data_;
85} // namespace math_opt
86} // namespace operations_research
87namespace google {
88namespace protobuf {
89template <>
90internal::EnumTraitsT<::operations_research::math_opt::EmphasisProto_internal_data_>
91 internal::EnumTraitsImpl::value<::operations_research::math_opt::EmphasisProto>;
92template <>
93internal::EnumTraitsT<::operations_research::math_opt::LPAlgorithmProto_internal_data_>
94 internal::EnumTraitsImpl::value<::operations_research::math_opt::LPAlgorithmProto>;
95template <>
96internal::EnumTraitsT<::operations_research::math_opt::SolverTypeProto_internal_data_>
97 internal::EnumTraitsImpl::value<::operations_research::math_opt::SolverTypeProto>;
98} // namespace protobuf
99} // namespace google
100
101namespace operations_research {
102namespace math_opt {
122
123OR_PROTO_DLL extern const uint32_t SolverTypeProto_internal_data_[];
125 static_cast<SolverTypeProto>(0);
127 static_cast<SolverTypeProto>(13);
128inline bool SolverTypeProto_IsValid(int value) {
129 return 0 <= value && value <= 13 && ((12287u >> value) & 1) != 0;
130}
131inline constexpr int SolverTypeProto_ARRAYSIZE = 13 + 1;
132OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SolverTypeProto_descriptor();
133template <typename T>
134const ::std::string& SolverTypeProto_Name(T value) {
135 static_assert(::std::is_same<T, SolverTypeProto>::value ||
136 ::std::is_integral<T>::value,
137 "Incorrect type passed to SolverTypeProto_Name().");
138 return SolverTypeProto_Name(static_cast<SolverTypeProto>(value));
139}
140template <>
141inline const ::std::string& SolverTypeProto_Name(SolverTypeProto value) {
142 return ::google::protobuf::internal::NameOfDenseEnum<SolverTypeProto_descriptor, 0, 13>(
143 static_cast<int>(value));
144}
146 ::absl::string_view name, SolverTypeProto* PROTOBUF_NONNULL value) {
147 return ::google::protobuf::internal::ParseNamedEnum<SolverTypeProto>(SolverTypeProto_descriptor(), name,
148 value);
149}
161
162OR_PROTO_DLL extern const uint32_t LPAlgorithmProto_internal_data_[];
164 static_cast<LPAlgorithmProto>(0);
166 static_cast<LPAlgorithmProto>(4);
167inline bool LPAlgorithmProto_IsValid(int value) {
168 return 0 <= value && value <= 4;
169}
170inline constexpr int LPAlgorithmProto_ARRAYSIZE = 4 + 1;
171OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LPAlgorithmProto_descriptor();
172template <typename T>
173const ::std::string& LPAlgorithmProto_Name(T value) {
174 static_assert(::std::is_same<T, LPAlgorithmProto>::value ||
175 ::std::is_integral<T>::value,
176 "Incorrect type passed to LPAlgorithmProto_Name().");
177 return LPAlgorithmProto_Name(static_cast<LPAlgorithmProto>(value));
178}
179template <>
180inline const ::std::string& LPAlgorithmProto_Name(LPAlgorithmProto value) {
181 return ::google::protobuf::internal::NameOfDenseEnum<LPAlgorithmProto_descriptor, 0, 4>(
182 static_cast<int>(value));
183}
185 ::absl::string_view name, LPAlgorithmProto* PROTOBUF_NONNULL value) {
186 return ::google::protobuf::internal::ParseNamedEnum<LPAlgorithmProto>(LPAlgorithmProto_descriptor(), name,
187 value);
188}
189enum EmphasisProto : int {
197 ::std::numeric_limits<::int32_t>::min(),
199 ::std::numeric_limits<::int32_t>::max(),
200};
201
202OR_PROTO_DLL extern const uint32_t EmphasisProto_internal_data_[];
204 static_cast<EmphasisProto>(0);
206 static_cast<EmphasisProto>(5);
207inline bool EmphasisProto_IsValid(int value) {
208 return 0 <= value && value <= 5;
209}
210inline constexpr int EmphasisProto_ARRAYSIZE = 5 + 1;
211OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL EmphasisProto_descriptor();
212template <typename T>
213const ::std::string& EmphasisProto_Name(T value) {
214 static_assert(::std::is_same<T, EmphasisProto>::value ||
215 ::std::is_integral<T>::value,
216 "Incorrect type passed to EmphasisProto_Name().");
217 return EmphasisProto_Name(static_cast<EmphasisProto>(value));
218}
219template <>
220inline const ::std::string& EmphasisProto_Name(EmphasisProto value) {
221 return ::google::protobuf::internal::NameOfDenseEnum<EmphasisProto_descriptor, 0, 5>(
222 static_cast<int>(value));
223}
225 ::absl::string_view name, EmphasisProto* PROTOBUF_NONNULL value) {
226 return ::google::protobuf::internal::ParseNamedEnum<EmphasisProto>(EmphasisProto_descriptor(), name,
227 value);
228}
229
230// ===================================================================
231
232
233// -------------------------------------------------------------------
234
235class OR_PROTO_DLL StrictnessProto final : public ::google::protobuf::Message
236/* @@protoc_insertion_point(class_definition:operations_research.math_opt.StrictnessProto) */ {
237 public:
238 inline StrictnessProto() : StrictnessProto(nullptr) {}
239 ~StrictnessProto() PROTOBUF_FINAL;
241#if defined(PROTOBUF_CUSTOM_VTABLE)
242 void operator delete(StrictnessProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
243 SharedDtor(*msg);
244 ::google::protobuf::internal::SizedDelete(msg, sizeof(StrictnessProto));
245 }
246#endif
247
248 template <typename = void>
249 explicit PROTOBUF_CONSTEXPR StrictnessProto(::google::protobuf::internal::ConstantInitialized);
250
251 inline StrictnessProto(const StrictnessProto& from) : StrictnessProto(nullptr, from) {}
252 inline StrictnessProto(StrictnessProto&& from) noexcept
253 : StrictnessProto(nullptr, ::std::move(from)) {}
255 CopyFrom(from);
256 return *this;
257 }
258 inline StrictnessProto& operator=(StrictnessProto&& from) noexcept {
259 if (this == &from) return *this;
260 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
261 InternalSwap(&from);
262 } else {
263 CopyFrom(from);
264 }
265 return *this;
266 }
267
268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
269 ABSL_ATTRIBUTE_LIFETIME_BOUND {
270 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
271 }
272 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
273 ABSL_ATTRIBUTE_LIFETIME_BOUND {
274 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
275 }
276
277 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
278 return GetDescriptor();
280 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
281 return default_instance().GetMetadata().descriptor;
283 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
284 return default_instance().GetMetadata().reflection;
286 static const StrictnessProto& default_instance() {
287 return *reinterpret_cast<const StrictnessProto*>(
289 }
290 static constexpr int kIndexInFileMessages = 0;
291 friend void swap(StrictnessProto& a, StrictnessProto& b) { a.Swap(&b); }
292 inline void Swap(StrictnessProto* PROTOBUF_NONNULL other) {
293 if (other == this) return;
294 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
295 InternalSwap(other);
296 } else {
297 ::google::protobuf::internal::GenericSwap(this, other);
298 }
299 }
300 void UnsafeArenaSwap(StrictnessProto* PROTOBUF_NONNULL other) {
301 if (other == this) return;
302 ABSL_DCHECK(GetArena() == other->GetArena());
303 InternalSwap(other);
304 }
305
306 // implements Message ----------------------------------------------
307
308 StrictnessProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
309 return ::google::protobuf::Message::DefaultConstruct<StrictnessProto>(arena);
311 using ::google::protobuf::Message::CopyFrom;
312 void CopyFrom(const StrictnessProto& from);
313 using ::google::protobuf::Message::MergeFrom;
314 void MergeFrom(const StrictnessProto& from) { StrictnessProto::MergeImpl(*this, from); }
315
316 private:
317 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
318 const ::google::protobuf::MessageLite& from_msg);
319
320 public:
321 bool IsInitialized() const {
322 return true;
324 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
325 #if defined(PROTOBUF_CUSTOM_VTABLE)
326 private:
327 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
328 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
329 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
330 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
331
332 public:
333 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
334 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
335 ::uint8_t* PROTOBUF_NONNULL target,
336 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
337 return _InternalSerialize(*this, target, stream);
338 }
339 #else // PROTOBUF_CUSTOM_VTABLE
340 ::size_t ByteSizeLong() const final;
341 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
342 ::uint8_t* PROTOBUF_NONNULL target,
343 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
344 #endif // PROTOBUF_CUSTOM_VTABLE
345 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
346
347 private:
348 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
349 static void SharedDtor(MessageLite& self);
350 void InternalSwap(StrictnessProto* PROTOBUF_NONNULL other);
351 private:
352 template <typename T>
353 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
354 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.StrictnessProto"; }
355
356 protected:
357 explicit StrictnessProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
358 StrictnessProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StrictnessProto& from);
360 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, StrictnessProto&& from) noexcept
362 *this = ::std::move(from);
363 }
364 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
365 static void* PROTOBUF_NONNULL PlacementNew_(
366 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
367 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
368 static constexpr auto InternalNewImpl_();
369
370 public:
371 static constexpr auto InternalGenerateClassData_();
372
373 ::google::protobuf::Metadata GetMetadata() const;
374 // nested types ----------------------------------------------------
375
376 // accessors -------------------------------------------------------
377 enum : int {
378 kBadParameterFieldNumber = 1,
379 };
380 // bool bad_parameter = 1;
381 void clear_bad_parameter() ;
382 bool bad_parameter() const;
383 void set_bad_parameter(bool value);
384
385 private:
386 bool _internal_bad_parameter() const;
387 void _internal_set_bad_parameter(bool value);
388
389 public:
390 // @@protoc_insertion_point(class_scope:operations_research.math_opt.StrictnessProto)
391 private:
392 class _Internal;
393 friend class ::google::protobuf::internal::TcParser;
394 static const ::google::protobuf::internal::TcParseTable<0, 1,
395 0, 0,
396 2>
397 _table_;
398
399 friend class ::google::protobuf::MessageLite;
400 friend class ::google::protobuf::Arena;
401 template <typename T>
402 friend class ::google::protobuf::Arena::InternalHelper;
403 using InternalArenaConstructable_ = void;
404 using DestructorSkippable_ = void;
405 struct Impl_ {
406 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
407 inline explicit Impl_(
408 ::google::protobuf::internal::InternalVisibility visibility,
409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
410 inline explicit Impl_(
411 ::google::protobuf::internal::InternalVisibility visibility,
412 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
413 const StrictnessProto& from_msg);
414 ::google::protobuf::internal::HasBits<1> _has_bits_;
415 ::google::protobuf::internal::CachedSize _cached_size_;
416 bool bad_parameter_;
417 PROTOBUF_TSAN_DECLARE_MEMBER
418 };
419 union { Impl_ _impl_; };
420 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
423OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull StrictnessProto_class_data_;
424// -------------------------------------------------------------------
425
426class OR_PROTO_DLL SolverInitializerProto final : public ::google::protobuf::Message
427/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolverInitializerProto) */ {
428 public:
430 ~SolverInitializerProto() PROTOBUF_FINAL;
431
432#if defined(PROTOBUF_CUSTOM_VTABLE)
433 void operator delete(SolverInitializerProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
434 SharedDtor(*msg);
435 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolverInitializerProto));
436 }
437#endif
438
439 template <typename = void>
440 explicit PROTOBUF_CONSTEXPR SolverInitializerProto(::google::protobuf::internal::ConstantInitialized);
441
442 inline SolverInitializerProto(const SolverInitializerProto& from) : SolverInitializerProto(nullptr, from) {}
444 : SolverInitializerProto(nullptr, ::std::move(from)) {}
446 CopyFrom(from);
447 return *this;
449 inline SolverInitializerProto& operator=(SolverInitializerProto&& from) noexcept {
450 if (this == &from) return *this;
451 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
452 InternalSwap(&from);
453 } else {
454 CopyFrom(from);
455 }
456 return *this;
457 }
458
459 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
460 ABSL_ATTRIBUTE_LIFETIME_BOUND {
461 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
463 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
464 ABSL_ATTRIBUTE_LIFETIME_BOUND {
465 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
467
468 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
469 return GetDescriptor();
470 }
471 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
472 return default_instance().GetMetadata().descriptor;
473 }
474 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
475 return default_instance().GetMetadata().reflection;
476 }
481 static constexpr int kIndexInFileMessages = 1;
482 friend void swap(SolverInitializerProto& a, SolverInitializerProto& b) { a.Swap(&b); }
483 inline void Swap(SolverInitializerProto* PROTOBUF_NONNULL other) {
484 if (other == this) return;
485 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
486 InternalSwap(other);
487 } else {
488 ::google::protobuf::internal::GenericSwap(this, other);
489 }
490 }
491 void UnsafeArenaSwap(SolverInitializerProto* PROTOBUF_NONNULL other) {
492 if (other == this) return;
493 ABSL_DCHECK(GetArena() == other->GetArena());
494 InternalSwap(other);
495 }
496
497 // implements Message ----------------------------------------------
498
499 SolverInitializerProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
500 return ::google::protobuf::Message::DefaultConstruct<SolverInitializerProto>(arena);
501 }
502 using ::google::protobuf::Message::CopyFrom;
503 void CopyFrom(const SolverInitializerProto& from);
504 using ::google::protobuf::Message::MergeFrom;
505 void MergeFrom(const SolverInitializerProto& from) { SolverInitializerProto::MergeImpl(*this, from); }
506
507 private:
508 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
509 const ::google::protobuf::MessageLite& from_msg);
510
511 public:
512 bool IsInitialized() const {
513 return true;
514 }
515 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
516 #if defined(PROTOBUF_CUSTOM_VTABLE)
517 private:
518 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
519 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
520 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
521 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
522
523 public:
524 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
525 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
526 ::uint8_t* PROTOBUF_NONNULL target,
527 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
528 return _InternalSerialize(*this, target, stream);
529 }
530 #else // PROTOBUF_CUSTOM_VTABLE
531 ::size_t ByteSizeLong() const final;
532 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
533 ::uint8_t* PROTOBUF_NONNULL target,
534 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
535 #endif // PROTOBUF_CUSTOM_VTABLE
536 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
537
538 private:
539 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
540 static void SharedDtor(MessageLite& self);
541 void InternalSwap(SolverInitializerProto* PROTOBUF_NONNULL other);
542 private:
543 template <typename T>
544 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
545 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolverInitializerProto"; }
546
547 protected:
548 explicit SolverInitializerProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
549 SolverInitializerProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolverInitializerProto& from);
551 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolverInitializerProto&& from) noexcept
552 : SolverInitializerProto(arena) {
553 *this = ::std::move(from);
554 }
555 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
556 static void* PROTOBUF_NONNULL PlacementNew_(
557 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
558 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
559 static constexpr auto InternalNewImpl_();
560
561 public:
562 static constexpr auto InternalGenerateClassData_();
563
564 ::google::protobuf::Metadata GetMetadata() const;
565 // nested types ----------------------------------------------------
566
567 // accessors -------------------------------------------------------
568 enum : int {
569 kGurobiFieldNumber = 1,
570 };
571 // .operations_research.math_opt.GurobiInitializerProto gurobi = 1;
572 bool has_gurobi() const;
573 void clear_gurobi() ;
574 const ::operations_research::math_opt::GurobiInitializerProto& gurobi() const;
580
581 private:
582 const ::operations_research::math_opt::GurobiInitializerProto& _internal_gurobi() const;
583 ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NONNULL _internal_mutable_gurobi();
584
585 public:
586 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolverInitializerProto)
587 private:
588 class _Internal;
589 friend class ::google::protobuf::internal::TcParser;
590 static const ::google::protobuf::internal::TcParseTable<0, 1,
591 1, 0,
592 2>
593 _table_;
594
595 friend class ::google::protobuf::MessageLite;
596 friend class ::google::protobuf::Arena;
597 template <typename T>
598 friend class ::google::protobuf::Arena::InternalHelper;
599 using InternalArenaConstructable_ = void;
600 using DestructorSkippable_ = void;
601 struct Impl_ {
602 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
603 inline explicit Impl_(
604 ::google::protobuf::internal::InternalVisibility visibility,
605 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
606 inline explicit Impl_(
607 ::google::protobuf::internal::InternalVisibility visibility,
608 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
609 const SolverInitializerProto& from_msg);
610 ::google::protobuf::internal::HasBits<1> _has_bits_;
611 ::google::protobuf::internal::CachedSize _cached_size_;
613 PROTOBUF_TSAN_DECLARE_MEMBER
614 };
615 union { Impl_ _impl_; };
616 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
617};
619OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_;
620// -------------------------------------------------------------------
621
622class OR_PROTO_DLL SolveParametersProto final : public ::google::protobuf::Message
623/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveParametersProto) */ {
624 public:
625 inline SolveParametersProto() : SolveParametersProto(nullptr) {}
626 ~SolveParametersProto() PROTOBUF_FINAL;
627
628#if defined(PROTOBUF_CUSTOM_VTABLE)
629 void operator delete(SolveParametersProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
630 SharedDtor(*msg);
631 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveParametersProto));
632 }
633#endif
634
635 template <typename = void>
636 explicit PROTOBUF_CONSTEXPR SolveParametersProto(::google::protobuf::internal::ConstantInitialized);
637
638 inline SolveParametersProto(const SolveParametersProto& from) : SolveParametersProto(nullptr, from) {}
639 inline SolveParametersProto(SolveParametersProto&& from) noexcept
640 : SolveParametersProto(nullptr, ::std::move(from)) {}
641 inline SolveParametersProto& operator=(const SolveParametersProto& from) {
642 CopyFrom(from);
643 return *this;
644 }
646 if (this == &from) return *this;
647 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
648 InternalSwap(&from);
649 } else {
650 CopyFrom(from);
651 }
652 return *this;
653 }
654
655 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
656 ABSL_ATTRIBUTE_LIFETIME_BOUND {
657 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
658 }
659 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
660 ABSL_ATTRIBUTE_LIFETIME_BOUND {
661 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
662 }
664 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
665 return GetDescriptor();
666 }
667 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
668 return default_instance().GetMetadata().descriptor;
669 }
670 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
671 return default_instance().GetMetadata().reflection;
672 }
673 static const SolveParametersProto& default_instance() {
674 return *reinterpret_cast<const SolveParametersProto*>(
676 }
677 static constexpr int kIndexInFileMessages = 2;
678 friend void swap(SolveParametersProto& a, SolveParametersProto& b) { a.Swap(&b); }
679 inline void Swap(SolveParametersProto* PROTOBUF_NONNULL other) {
680 if (other == this) return;
681 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
682 InternalSwap(other);
683 } else {
684 ::google::protobuf::internal::GenericSwap(this, other);
685 }
686 }
687 void UnsafeArenaSwap(SolveParametersProto* PROTOBUF_NONNULL other) {
688 if (other == this) return;
689 ABSL_DCHECK(GetArena() == other->GetArena());
690 InternalSwap(other);
692
693 // implements Message ----------------------------------------------
694
695 SolveParametersProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
696 return ::google::protobuf::Message::DefaultConstruct<SolveParametersProto>(arena);
697 }
698 using ::google::protobuf::Message::CopyFrom;
700 using ::google::protobuf::Message::MergeFrom;
701 void MergeFrom(const SolveParametersProto& from) { SolveParametersProto::MergeImpl(*this, from); }
702
703 private:
704 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
705 const ::google::protobuf::MessageLite& from_msg);
706
707 public:
708 bool IsInitialized() const {
709 return true;
710 }
711 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
712 #if defined(PROTOBUF_CUSTOM_VTABLE)
713 private:
714 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
715 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
716 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
717 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
718
719 public:
720 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
721 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
722 ::uint8_t* PROTOBUF_NONNULL target,
723 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
724 return _InternalSerialize(*this, target, stream);
725 }
726 #else // PROTOBUF_CUSTOM_VTABLE
727 ::size_t ByteSizeLong() const final;
728 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
729 ::uint8_t* PROTOBUF_NONNULL target,
730 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
731 #endif // PROTOBUF_CUSTOM_VTABLE
732 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
733
734 private:
735 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
736 static void SharedDtor(MessageLite& self);
737 void InternalSwap(SolveParametersProto* PROTOBUF_NONNULL other);
738 private:
739 template <typename T>
740 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
741 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveParametersProto"; }
742
743 protected:
744 explicit SolveParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
745 SolveParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveParametersProto& from);
747 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveParametersProto&& from) noexcept
748 : SolveParametersProto(arena) {
749 *this = ::std::move(from);
751 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
752 static void* PROTOBUF_NONNULL PlacementNew_(
753 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
754 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
755 static constexpr auto InternalNewImpl_();
756
757 public:
758 static constexpr auto InternalGenerateClassData_();
759
760 ::google::protobuf::Metadata GetMetadata() const;
761 // nested types ----------------------------------------------------
762
763 // accessors -------------------------------------------------------
764 enum : int {
765 kTimeLimitFieldNumber = 1,
766 kGscipFieldNumber = 12,
767 kGurobiFieldNumber = 13,
768 kGlopFieldNumber = 14,
791 };
792 // .google.protobuf.Duration time_limit = 1;
793 bool has_time_limit() const;
795 const ::google::protobuf::Duration& time_limit() const;
796 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_time_limit();
797 ::google::protobuf::Duration* PROTOBUF_NONNULL mutable_time_limit();
798 void set_allocated_time_limit(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
799 void unsafe_arena_set_allocated_time_limit(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
800 ::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_time_limit();
801
802 private:
803 const ::google::protobuf::Duration& _internal_time_limit() const;
804 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_time_limit();
805
806 public:
807 // .operations_research.GScipParameters gscip = 12;
808 bool has_gscip() const;
809 void clear_gscip() ;
810 const ::operations_research::GScipParameters& gscip() const;
811 [[nodiscard]] ::operations_research::GScipParameters* PROTOBUF_NULLABLE release_gscip();
813 void set_allocated_gscip(::operations_research::GScipParameters* PROTOBUF_NULLABLE value);
816
817 private:
818 const ::operations_research::GScipParameters& _internal_gscip() const;
819 ::operations_research::GScipParameters* PROTOBUF_NONNULL _internal_mutable_gscip();
820
821 public:
822 // .operations_research.math_opt.GurobiParametersProto gurobi = 13;
823 bool has_gurobi() const;
824 void clear_gurobi() ;
825 const ::operations_research::math_opt::GurobiParametersProto& gurobi() const;
831
832 private:
833 const ::operations_research::math_opt::GurobiParametersProto& _internal_gurobi() const;
834 ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL _internal_mutable_gurobi();
835
836 public:
837 // .operations_research.glop.GlopParameters glop = 14;
838 bool has_glop() const;
839 void clear_glop() ;
840 const ::operations_research::glop::GlopParameters& glop() const;
841 [[nodiscard]] ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE release_glop();
846
847 private:
848 const ::operations_research::glop::GlopParameters& _internal_glop() const;
849 ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL _internal_mutable_glop();
850
851 public:
852 // .operations_research.sat.SatParameters cp_sat = 15;
853 bool has_cp_sat() const;
854 void clear_cp_sat() ;
855 const ::operations_research::sat::SatParameters& cp_sat() const;
856 [[nodiscard]] ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE release_cp_sat();
861
862 private:
863 const ::operations_research::sat::SatParameters& _internal_cp_sat() const;
864 ::operations_research::sat::SatParameters* PROTOBUF_NONNULL _internal_mutable_cp_sat();
865
866 public:
867 // .operations_research.pdlp.PrimalDualHybridGradientParams pdlp = 16;
868 bool has_pdlp() const;
869 void clear_pdlp() ;
870 const ::operations_research::pdlp::PrimalDualHybridGradientParams& pdlp() const;
876
877 private:
878 const ::operations_research::pdlp::PrimalDualHybridGradientParams& _internal_pdlp() const;
879 ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL _internal_mutable_pdlp();
880
881 public:
882 // .operations_research.math_opt.OsqpSettingsProto osqp = 19;
883 bool has_osqp() const;
884 void clear_osqp() ;
885 const ::operations_research::math_opt::OsqpSettingsProto& osqp() const;
886 [[nodiscard]] ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE release_osqp();
891
892 private:
893 const ::operations_research::math_opt::OsqpSettingsProto& _internal_osqp() const;
894 ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL _internal_mutable_osqp();
895
896 public:
897 // .operations_research.math_opt.GlpkParametersProto glpk = 26;
898 bool has_glpk() const;
899 void clear_glpk() ;
900 const ::operations_research::math_opt::GlpkParametersProto& glpk() const;
906
907 private:
908 const ::operations_research::math_opt::GlpkParametersProto& _internal_glpk() const;
909 ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL _internal_mutable_glpk();
910
911 public:
912 // .operations_research.math_opt.HighsOptionsProto highs = 27;
913 bool has_highs() const;
914 void clear_highs() ;
915 const ::operations_research::math_opt::HighsOptionsProto& highs() const;
916 [[nodiscard]] ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE release_highs();
921
922 private:
923 const ::operations_research::math_opt::HighsOptionsProto& _internal_highs() const;
924 ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL _internal_mutable_highs();
925
926 public:
927 // optional int64 iteration_limit = 2;
928 bool has_iteration_limit() const;
929 void clear_iteration_limit() ;
930 ::int64_t iteration_limit() const;
931 void set_iteration_limit(::int64_t value);
932
933 private:
934 ::int64_t _internal_iteration_limit() const;
935 void _internal_set_iteration_limit(::int64_t value);
936
937 public:
938 // bool enable_output = 3;
939 void clear_enable_output() ;
940 bool enable_output() const;
941 void set_enable_output(bool value);
942
943 private:
944 bool _internal_enable_output() const;
945 void _internal_set_enable_output(bool value);
946
947 public:
948 // optional int32 threads = 4;
949 bool has_threads() const;
950 void clear_threads() ;
951 ::int32_t threads() const;
952 void set_threads(::int32_t value);
953
954 private:
955 ::int32_t _internal_threads() const;
956 void _internal_set_threads(::int32_t value);
957
958 public:
959 // optional int32 random_seed = 5;
960 bool has_random_seed() const;
961 void clear_random_seed() ;
962 ::int32_t random_seed() const;
963 void set_random_seed(::int32_t value);
964
965 private:
966 ::int32_t _internal_random_seed() const;
967 void _internal_set_random_seed(::int32_t value);
968
969 public:
970 // .operations_research.math_opt.LPAlgorithmProto lp_algorithm = 6;
971 void clear_lp_algorithm() ;
974
975 private:
976 ::operations_research::math_opt::LPAlgorithmProto _internal_lp_algorithm() const;
977 void _internal_set_lp_algorithm(::operations_research::math_opt::LPAlgorithmProto value);
978
979 public:
980 // .operations_research.math_opt.EmphasisProto presolve = 7;
981 void clear_presolve() ;
984
985 private:
986 ::operations_research::math_opt::EmphasisProto _internal_presolve() const;
987 void _internal_set_presolve(::operations_research::math_opt::EmphasisProto value);
988
989 public:
990 // .operations_research.math_opt.EmphasisProto cuts = 8;
991 void clear_cuts() ;
994
995 private:
997 void _internal_set_cuts(::operations_research::math_opt::EmphasisProto value);
998
999 public:
1000 // .operations_research.math_opt.EmphasisProto heuristics = 9;
1001 void clear_heuristics() ;
1004
1005 private:
1006 ::operations_research::math_opt::EmphasisProto _internal_heuristics() const;
1007 void _internal_set_heuristics(::operations_research::math_opt::EmphasisProto value);
1008
1009 public:
1010 // .operations_research.math_opt.EmphasisProto scaling = 10;
1011 void clear_scaling() ;
1014
1015 private:
1016 ::operations_research::math_opt::EmphasisProto _internal_scaling() const;
1017 void _internal_set_scaling(::operations_research::math_opt::EmphasisProto value);
1018
1019 public:
1020 // optional double relative_gap_tolerance = 17;
1021 bool has_relative_gap_tolerance() const;
1023 double relative_gap_tolerance() const;
1024 void set_relative_gap_tolerance(double value);
1025
1026 private:
1027 double _internal_relative_gap_tolerance() const;
1028 void _internal_set_relative_gap_tolerance(double value);
1029
1030 public:
1031 // optional double absolute_gap_tolerance = 18;
1032 bool has_absolute_gap_tolerance() const;
1034 double absolute_gap_tolerance() const;
1035 void set_absolute_gap_tolerance(double value);
1036
1037 private:
1038 double _internal_absolute_gap_tolerance() const;
1039 void _internal_set_absolute_gap_tolerance(double value);
1040
1041 public:
1042 // optional double cutoff_limit = 20;
1043 bool has_cutoff_limit() const;
1044 void clear_cutoff_limit() ;
1045 double cutoff_limit() const;
1046 void set_cutoff_limit(double value);
1047
1048 private:
1049 double _internal_cutoff_limit() const;
1050 void _internal_set_cutoff_limit(double value);
1051
1052 public:
1053 // optional double objective_limit = 21;
1054 bool has_objective_limit() const;
1055 void clear_objective_limit() ;
1056 double objective_limit() const;
1057 void set_objective_limit(double value);
1058
1059 private:
1060 double _internal_objective_limit() const;
1061 void _internal_set_objective_limit(double value);
1062
1063 public:
1064 // optional double best_bound_limit = 22;
1065 bool has_best_bound_limit() const;
1066 void clear_best_bound_limit() ;
1067 double best_bound_limit() const;
1068 void set_best_bound_limit(double value);
1069
1070 private:
1071 double _internal_best_bound_limit() const;
1072 void _internal_set_best_bound_limit(double value);
1073
1074 public:
1075 // optional int64 node_limit = 24;
1076 bool has_node_limit() const;
1077 void clear_node_limit() ;
1078 ::int64_t node_limit() const;
1079 void set_node_limit(::int64_t value);
1080
1081 private:
1082 ::int64_t _internal_node_limit() const;
1083 void _internal_set_node_limit(::int64_t value);
1084
1085 public:
1086 // optional int32 solution_limit = 23;
1087 bool has_solution_limit() const;
1088 void clear_solution_limit() ;
1089 ::int32_t solution_limit() const;
1090 void set_solution_limit(::int32_t value);
1091
1092 private:
1093 ::int32_t _internal_solution_limit() const;
1094 void _internal_set_solution_limit(::int32_t value);
1095
1096 public:
1097 // optional int32 solution_pool_size = 25;
1098 bool has_solution_pool_size() const;
1100 ::int32_t solution_pool_size() const;
1101 void set_solution_pool_size(::int32_t value);
1102
1103 private:
1104 ::int32_t _internal_solution_pool_size() const;
1105 void _internal_set_solution_pool_size(::int32_t value);
1106
1107 public:
1108 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveParametersProto)
1109 private:
1110 class _Internal;
1111 friend class ::google::protobuf::internal::TcParser;
1112 static const ::google::protobuf::internal::TcParseTable<5, 26,
1113 9, 0,
1114 2>
1115 _table_;
1116
1117 friend class ::google::protobuf::MessageLite;
1118 friend class ::google::protobuf::Arena;
1119 template <typename T>
1120 friend class ::google::protobuf::Arena::InternalHelper;
1121 using InternalArenaConstructable_ = void;
1122 using DestructorSkippable_ = void;
1123 struct Impl_ {
1124 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1125 inline explicit Impl_(
1126 ::google::protobuf::internal::InternalVisibility visibility,
1127 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1128 inline explicit Impl_(
1129 ::google::protobuf::internal::InternalVisibility visibility,
1130 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1131 const SolveParametersProto& from_msg);
1132 ::google::protobuf::internal::HasBits<1> _has_bits_;
1133 ::google::protobuf::internal::CachedSize _cached_size_;
1134 ::google::protobuf::Duration* PROTOBUF_NULLABLE time_limit_;
1135 ::operations_research::GScipParameters* PROTOBUF_NULLABLE gscip_;
1137 ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE glop_;
1138 ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE cp_sat_;
1143 ::int64_t iteration_limit_;
1144 bool enable_output_;
1145 ::int32_t threads_;
1146 ::int32_t random_seed_;
1147 int lp_algorithm_;
1148 int presolve_;
1149 int cuts_;
1150 int heuristics_;
1151 int scaling_;
1152 double relative_gap_tolerance_;
1153 double absolute_gap_tolerance_;
1154 double cutoff_limit_;
1155 double objective_limit_;
1156 double best_bound_limit_;
1157 ::int64_t node_limit_;
1158 ::int32_t solution_limit_;
1159 ::int32_t solution_pool_size_;
1160 PROTOBUF_TSAN_DECLARE_MEMBER
1161 };
1162 union { Impl_ _impl_; };
1163 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
1164};
1165
1166OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_;
1168// ===================================================================
1169
1170
1171
1172
1173// ===================================================================
1174
1175
1176#ifdef __GNUC__
1177#pragma GCC diagnostic push
1178#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1179#endif // __GNUC__
1180// -------------------------------------------------------------------
1181
1182// StrictnessProto
1183
1184// bool bad_parameter = 1;
1186 ::google::protobuf::internal::TSanWrite(&_impl_);
1187 _impl_.bad_parameter_ = false;
1188 _impl_._has_bits_[0] &= ~0x00000001u;
1189}
1190inline bool StrictnessProto::bad_parameter() const {
1191 // @@protoc_insertion_point(field_get:operations_research.math_opt.StrictnessProto.bad_parameter)
1192 return _internal_bad_parameter();
1193}
1194inline void StrictnessProto::set_bad_parameter(bool value) {
1195 _internal_set_bad_parameter(value);
1196 _impl_._has_bits_[0] |= 0x00000001u;
1197 // @@protoc_insertion_point(field_set:operations_research.math_opt.StrictnessProto.bad_parameter)
1198}
1199inline bool StrictnessProto::_internal_bad_parameter() const {
1200 ::google::protobuf::internal::TSanRead(&_impl_);
1201 return _impl_.bad_parameter_;
1202}
1203inline void StrictnessProto::_internal_set_bad_parameter(bool value) {
1204 ::google::protobuf::internal::TSanWrite(&_impl_);
1205 _impl_.bad_parameter_ = value;
1206}
1207
1208// -------------------------------------------------------------------
1209
1210// SolverInitializerProto
1211
1212// .operations_research.math_opt.GurobiInitializerProto gurobi = 1;
1213inline bool SolverInitializerProto::has_gurobi() const {
1214 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1215 PROTOBUF_ASSUME(!value || _impl_.gurobi_ != nullptr);
1216 return value;
1217}
1218inline const ::operations_research::math_opt::GurobiInitializerProto& SolverInitializerProto::_internal_gurobi() const {
1219 ::google::protobuf::internal::TSanRead(&_impl_);
1220 const ::operations_research::math_opt::GurobiInitializerProto* p = _impl_.gurobi_;
1222}
1223inline const ::operations_research::math_opt::GurobiInitializerProto& SolverInitializerProto::gurobi() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1224 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolverInitializerProto.gurobi)
1225 return _internal_gurobi();
1226}
1229 ::google::protobuf::internal::TSanWrite(&_impl_);
1230 if (GetArena() == nullptr) {
1231 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
1232 }
1233 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiInitializerProto*>(value);
1234 if (value != nullptr) {
1235 _impl_._has_bits_[0] |= 0x00000001u;
1236 } else {
1237 _impl_._has_bits_[0] &= ~0x00000001u;
1238 }
1239 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolverInitializerProto.gurobi)
1240}
1241inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NULLABLE SolverInitializerProto::release_gurobi() {
1242 ::google::protobuf::internal::TSanWrite(&_impl_);
1243
1244 _impl_._has_bits_[0] &= ~0x00000001u;
1246 _impl_.gurobi_ = nullptr;
1247 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1248 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1249 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1250 if (GetArena() == nullptr) {
1251 delete old;
1252 }
1253 } else {
1254 if (GetArena() != nullptr) {
1255 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1256 }
1257 }
1258 return released;
1259}
1260inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NULLABLE SolverInitializerProto::unsafe_arena_release_gurobi() {
1261 ::google::protobuf::internal::TSanWrite(&_impl_);
1262 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolverInitializerProto.gurobi)
1263
1264 _impl_._has_bits_[0] &= ~0x00000001u;
1265 ::operations_research::math_opt::GurobiInitializerProto* temp = _impl_.gurobi_;
1266 _impl_.gurobi_ = nullptr;
1267 return temp;
1269inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::_internal_mutable_gurobi() {
1270 ::google::protobuf::internal::TSanWrite(&_impl_);
1271 if (_impl_.gurobi_ == nullptr) {
1272 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GurobiInitializerProto>(GetArena());
1273 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiInitializerProto*>(p);
1274 }
1275 return _impl_.gurobi_;
1276}
1277inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::mutable_gurobi()
1278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1279 _impl_._has_bits_[0] |= 0x00000001u;
1280 ::operations_research::math_opt::GurobiInitializerProto* _msg = _internal_mutable_gurobi();
1281 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolverInitializerProto.gurobi)
1282 return _msg;
1283}
1284inline void SolverInitializerProto::set_allocated_gurobi(::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NULLABLE value) {
1285 ::google::protobuf::Arena* message_arena = GetArena();
1286 ::google::protobuf::internal::TSanWrite(&_impl_);
1287 if (message_arena == nullptr) {
1288 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
1289 }
1290
1291 if (value != nullptr) {
1292 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1293 if (message_arena != submessage_arena) {
1294 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1295 }
1296 _impl_._has_bits_[0] |= 0x00000001u;
1297 } else {
1298 _impl_._has_bits_[0] &= ~0x00000001u;
1299 }
1300
1301 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiInitializerProto*>(value);
1302 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolverInitializerProto.gurobi)
1303}
1304
1305// -------------------------------------------------------------------
1306
1307// SolveParametersProto
1308
1309// .google.protobuf.Duration time_limit = 1;
1310inline bool SolveParametersProto::has_time_limit() const {
1311 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1312 PROTOBUF_ASSUME(!value || _impl_.time_limit_ != nullptr);
1313 return value;
1314}
1315inline const ::google::protobuf::Duration& SolveParametersProto::_internal_time_limit() const {
1316 ::google::protobuf::internal::TSanRead(&_impl_);
1317 const ::google::protobuf::Duration* p = _impl_.time_limit_;
1318 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
1320inline const ::google::protobuf::Duration& SolveParametersProto::time_limit() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1321 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.time_limit)
1322 return _internal_time_limit();
1323}
1325 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1326 ::google::protobuf::internal::TSanWrite(&_impl_);
1327 if (GetArena() == nullptr) {
1328 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.time_limit_);
1330 _impl_.time_limit_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1331 if (value != nullptr) {
1332 _impl_._has_bits_[0] |= 0x00000001u;
1333 } else {
1334 _impl_._has_bits_[0] &= ~0x00000001u;
1335 }
1336 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.time_limit)
1337}
1338inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveParametersProto::release_time_limit() {
1339 ::google::protobuf::internal::TSanWrite(&_impl_);
1340
1341 _impl_._has_bits_[0] &= ~0x00000001u;
1342 ::google::protobuf::Duration* released = _impl_.time_limit_;
1343 _impl_.time_limit_ = nullptr;
1344 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1345 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1346 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1347 if (GetArena() == nullptr) {
1348 delete old;
1349 }
1350 } else {
1351 if (GetArena() != nullptr) {
1352 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1353 }
1354 }
1355 return released;
1356}
1357inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_time_limit() {
1358 ::google::protobuf::internal::TSanWrite(&_impl_);
1359 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.time_limit)
1360
1361 _impl_._has_bits_[0] &= ~0x00000001u;
1362 ::google::protobuf::Duration* temp = _impl_.time_limit_;
1363 _impl_.time_limit_ = nullptr;
1364 return temp;
1365}
1366inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_time_limit() {
1367 ::google::protobuf::internal::TSanWrite(&_impl_);
1368 if (_impl_.time_limit_ == nullptr) {
1369 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1370 _impl_.time_limit_ = reinterpret_cast<::google::protobuf::Duration*>(p);
1371 }
1372 return _impl_.time_limit_;
1373}
1374inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveParametersProto::mutable_time_limit()
1375 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1376 _impl_._has_bits_[0] |= 0x00000001u;
1377 ::google::protobuf::Duration* _msg = _internal_mutable_time_limit();
1378 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.time_limit)
1379 return _msg;
1380}
1381inline void SolveParametersProto::set_allocated_time_limit(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1382 ::google::protobuf::Arena* message_arena = GetArena();
1383 ::google::protobuf::internal::TSanWrite(&_impl_);
1384 if (message_arena == nullptr) {
1385 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.time_limit_);
1386 }
1387
1388 if (value != nullptr) {
1389 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1390 if (message_arena != submessage_arena) {
1391 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1392 }
1393 _impl_._has_bits_[0] |= 0x00000001u;
1394 } else {
1395 _impl_._has_bits_[0] &= ~0x00000001u;
1396 }
1397
1398 _impl_.time_limit_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1399 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.time_limit)
1400}
1401
1402// optional int64 iteration_limit = 2;
1404 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1405 return value;
1406}
1408 ::google::protobuf::internal::TSanWrite(&_impl_);
1409 _impl_.iteration_limit_ = ::int64_t{0};
1410 _impl_._has_bits_[0] &= ~0x00000200u;
1411}
1413 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.iteration_limit)
1414 return _internal_iteration_limit();
1415}
1416inline void SolveParametersProto::set_iteration_limit(::int64_t value) {
1417 _internal_set_iteration_limit(value);
1418 _impl_._has_bits_[0] |= 0x00000200u;
1419 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.iteration_limit)
1420}
1421inline ::int64_t SolveParametersProto::_internal_iteration_limit() const {
1422 ::google::protobuf::internal::TSanRead(&_impl_);
1423 return _impl_.iteration_limit_;
1424}
1425inline void SolveParametersProto::_internal_set_iteration_limit(::int64_t value) {
1426 ::google::protobuf::internal::TSanWrite(&_impl_);
1427 _impl_.iteration_limit_ = value;
1428}
1429
1430// optional int64 node_limit = 24;
1431inline bool SolveParametersProto::has_node_limit() const {
1432 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
1433 return value;
1434}
1436 ::google::protobuf::internal::TSanWrite(&_impl_);
1437 _impl_.node_limit_ = ::int64_t{0};
1438 _impl_._has_bits_[0] &= ~0x00800000u;
1439}
1440inline ::int64_t SolveParametersProto::node_limit() const {
1441 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.node_limit)
1442 return _internal_node_limit();
1443}
1444inline void SolveParametersProto::set_node_limit(::int64_t value) {
1445 _internal_set_node_limit(value);
1446 _impl_._has_bits_[0] |= 0x00800000u;
1447 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.node_limit)
1448}
1449inline ::int64_t SolveParametersProto::_internal_node_limit() const {
1450 ::google::protobuf::internal::TSanRead(&_impl_);
1451 return _impl_.node_limit_;
1452}
1453inline void SolveParametersProto::_internal_set_node_limit(::int64_t value) {
1454 ::google::protobuf::internal::TSanWrite(&_impl_);
1455 _impl_.node_limit_ = value;
1456}
1457
1458// optional double cutoff_limit = 20;
1459inline bool SolveParametersProto::has_cutoff_limit() const {
1460 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
1461 return value;
1462}
1464 ::google::protobuf::internal::TSanWrite(&_impl_);
1465 _impl_.cutoff_limit_ = 0;
1466 _impl_._has_bits_[0] &= ~0x00100000u;
1467}
1469 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.cutoff_limit)
1470 return _internal_cutoff_limit();
1471}
1473 _internal_set_cutoff_limit(value);
1474 _impl_._has_bits_[0] |= 0x00100000u;
1475 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.cutoff_limit)
1476}
1477inline double SolveParametersProto::_internal_cutoff_limit() const {
1478 ::google::protobuf::internal::TSanRead(&_impl_);
1479 return _impl_.cutoff_limit_;
1480}
1481inline void SolveParametersProto::_internal_set_cutoff_limit(double value) {
1482 ::google::protobuf::internal::TSanWrite(&_impl_);
1483 _impl_.cutoff_limit_ = value;
1484}
1485
1486// optional double objective_limit = 21;
1488 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
1489 return value;
1490}
1492 ::google::protobuf::internal::TSanWrite(&_impl_);
1493 _impl_.objective_limit_ = 0;
1494 _impl_._has_bits_[0] &= ~0x00200000u;
1495}
1497 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.objective_limit)
1498 return _internal_objective_limit();
1499}
1501 _internal_set_objective_limit(value);
1502 _impl_._has_bits_[0] |= 0x00200000u;
1503 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.objective_limit)
1504}
1505inline double SolveParametersProto::_internal_objective_limit() const {
1506 ::google::protobuf::internal::TSanRead(&_impl_);
1507 return _impl_.objective_limit_;
1508}
1509inline void SolveParametersProto::_internal_set_objective_limit(double value) {
1510 ::google::protobuf::internal::TSanWrite(&_impl_);
1511 _impl_.objective_limit_ = value;
1512}
1513
1514// optional double best_bound_limit = 22;
1516 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
1517 return value;
1518}
1520 ::google::protobuf::internal::TSanWrite(&_impl_);
1521 _impl_.best_bound_limit_ = 0;
1522 _impl_._has_bits_[0] &= ~0x00400000u;
1523}
1525 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.best_bound_limit)
1526 return _internal_best_bound_limit();
1527}
1529 _internal_set_best_bound_limit(value);
1530 _impl_._has_bits_[0] |= 0x00400000u;
1531 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.best_bound_limit)
1532}
1533inline double SolveParametersProto::_internal_best_bound_limit() const {
1534 ::google::protobuf::internal::TSanRead(&_impl_);
1535 return _impl_.best_bound_limit_;
1536}
1537inline void SolveParametersProto::_internal_set_best_bound_limit(double value) {
1538 ::google::protobuf::internal::TSanWrite(&_impl_);
1539 _impl_.best_bound_limit_ = value;
1540}
1541
1542// optional int32 solution_limit = 23;
1543inline bool SolveParametersProto::has_solution_limit() const {
1544 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
1545 return value;
1546}
1548 ::google::protobuf::internal::TSanWrite(&_impl_);
1549 _impl_.solution_limit_ = 0;
1550 _impl_._has_bits_[0] &= ~0x01000000u;
1551}
1553 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.solution_limit)
1554 return _internal_solution_limit();
1555}
1556inline void SolveParametersProto::set_solution_limit(::int32_t value) {
1557 _internal_set_solution_limit(value);
1558 _impl_._has_bits_[0] |= 0x01000000u;
1559 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.solution_limit)
1560}
1561inline ::int32_t SolveParametersProto::_internal_solution_limit() const {
1562 ::google::protobuf::internal::TSanRead(&_impl_);
1563 return _impl_.solution_limit_;
1564}
1565inline void SolveParametersProto::_internal_set_solution_limit(::int32_t value) {
1566 ::google::protobuf::internal::TSanWrite(&_impl_);
1567 _impl_.solution_limit_ = value;
1568}
1569
1570// bool enable_output = 3;
1572 ::google::protobuf::internal::TSanWrite(&_impl_);
1573 _impl_.enable_output_ = false;
1574 _impl_._has_bits_[0] &= ~0x00000400u;
1575}
1576inline bool SolveParametersProto::enable_output() const {
1577 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.enable_output)
1578 return _internal_enable_output();
1579}
1581 _internal_set_enable_output(value);
1582 _impl_._has_bits_[0] |= 0x00000400u;
1583 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.enable_output)
1584}
1585inline bool SolveParametersProto::_internal_enable_output() const {
1586 ::google::protobuf::internal::TSanRead(&_impl_);
1587 return _impl_.enable_output_;
1588}
1589inline void SolveParametersProto::_internal_set_enable_output(bool value) {
1590 ::google::protobuf::internal::TSanWrite(&_impl_);
1591 _impl_.enable_output_ = value;
1592}
1593
1594// optional int32 threads = 4;
1595inline bool SolveParametersProto::has_threads() const {
1596 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1597 return value;
1598}
1600 ::google::protobuf::internal::TSanWrite(&_impl_);
1601 _impl_.threads_ = 0;
1602 _impl_._has_bits_[0] &= ~0x00000800u;
1603}
1604inline ::int32_t SolveParametersProto::threads() const {
1605 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.threads)
1606 return _internal_threads();
1607}
1608inline void SolveParametersProto::set_threads(::int32_t value) {
1609 _internal_set_threads(value);
1610 _impl_._has_bits_[0] |= 0x00000800u;
1611 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.threads)
1612}
1613inline ::int32_t SolveParametersProto::_internal_threads() const {
1614 ::google::protobuf::internal::TSanRead(&_impl_);
1615 return _impl_.threads_;
1616}
1617inline void SolveParametersProto::_internal_set_threads(::int32_t value) {
1618 ::google::protobuf::internal::TSanWrite(&_impl_);
1619 _impl_.threads_ = value;
1620}
1621
1622// optional int32 random_seed = 5;
1623inline bool SolveParametersProto::has_random_seed() const {
1624 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
1625 return value;
1626}
1628 ::google::protobuf::internal::TSanWrite(&_impl_);
1629 _impl_.random_seed_ = 0;
1630 _impl_._has_bits_[0] &= ~0x00001000u;
1631}
1632inline ::int32_t SolveParametersProto::random_seed() const {
1633 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.random_seed)
1634 return _internal_random_seed();
1635}
1636inline void SolveParametersProto::set_random_seed(::int32_t value) {
1637 _internal_set_random_seed(value);
1638 _impl_._has_bits_[0] |= 0x00001000u;
1639 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.random_seed)
1640}
1641inline ::int32_t SolveParametersProto::_internal_random_seed() const {
1642 ::google::protobuf::internal::TSanRead(&_impl_);
1643 return _impl_.random_seed_;
1644}
1645inline void SolveParametersProto::_internal_set_random_seed(::int32_t value) {
1646 ::google::protobuf::internal::TSanWrite(&_impl_);
1647 _impl_.random_seed_ = value;
1648}
1649
1650// optional double absolute_gap_tolerance = 18;
1652 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
1653 return value;
1654}
1656 ::google::protobuf::internal::TSanWrite(&_impl_);
1657 _impl_.absolute_gap_tolerance_ = 0;
1658 _impl_._has_bits_[0] &= ~0x00080000u;
1659}
1661 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.absolute_gap_tolerance)
1662 return _internal_absolute_gap_tolerance();
1663}
1665 _internal_set_absolute_gap_tolerance(value);
1666 _impl_._has_bits_[0] |= 0x00080000u;
1667 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.absolute_gap_tolerance)
1668}
1669inline double SolveParametersProto::_internal_absolute_gap_tolerance() const {
1670 ::google::protobuf::internal::TSanRead(&_impl_);
1671 return _impl_.absolute_gap_tolerance_;
1672}
1673inline void SolveParametersProto::_internal_set_absolute_gap_tolerance(double value) {
1674 ::google::protobuf::internal::TSanWrite(&_impl_);
1675 _impl_.absolute_gap_tolerance_ = value;
1676}
1677
1678// optional double relative_gap_tolerance = 17;
1680 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
1681 return value;
1682}
1684 ::google::protobuf::internal::TSanWrite(&_impl_);
1685 _impl_.relative_gap_tolerance_ = 0;
1686 _impl_._has_bits_[0] &= ~0x00040000u;
1687}
1689 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.relative_gap_tolerance)
1690 return _internal_relative_gap_tolerance();
1691}
1693 _internal_set_relative_gap_tolerance(value);
1694 _impl_._has_bits_[0] |= 0x00040000u;
1695 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.relative_gap_tolerance)
1696}
1697inline double SolveParametersProto::_internal_relative_gap_tolerance() const {
1698 ::google::protobuf::internal::TSanRead(&_impl_);
1699 return _impl_.relative_gap_tolerance_;
1700}
1701inline void SolveParametersProto::_internal_set_relative_gap_tolerance(double value) {
1702 ::google::protobuf::internal::TSanWrite(&_impl_);
1703 _impl_.relative_gap_tolerance_ = value;
1704}
1705
1706// optional int32 solution_pool_size = 25;
1708 bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
1709 return value;
1710}
1712 ::google::protobuf::internal::TSanWrite(&_impl_);
1713 _impl_.solution_pool_size_ = 0;
1714 _impl_._has_bits_[0] &= ~0x02000000u;
1715}
1717 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.solution_pool_size)
1718 return _internal_solution_pool_size();
1719}
1721 _internal_set_solution_pool_size(value);
1722 _impl_._has_bits_[0] |= 0x02000000u;
1723 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.solution_pool_size)
1724}
1725inline ::int32_t SolveParametersProto::_internal_solution_pool_size() const {
1726 ::google::protobuf::internal::TSanRead(&_impl_);
1727 return _impl_.solution_pool_size_;
1728}
1729inline void SolveParametersProto::_internal_set_solution_pool_size(::int32_t value) {
1730 ::google::protobuf::internal::TSanWrite(&_impl_);
1731 _impl_.solution_pool_size_ = value;
1732}
1733
1734// .operations_research.math_opt.LPAlgorithmProto lp_algorithm = 6;
1736 ::google::protobuf::internal::TSanWrite(&_impl_);
1737 _impl_.lp_algorithm_ = 0;
1738 _impl_._has_bits_[0] &= ~0x00002000u;
1739}
1740inline ::operations_research::math_opt::LPAlgorithmProto SolveParametersProto::lp_algorithm() const {
1741 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.lp_algorithm)
1742 return _internal_lp_algorithm();
1743}
1745 _internal_set_lp_algorithm(value);
1746 _impl_._has_bits_[0] |= 0x00002000u;
1747 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.lp_algorithm)
1748}
1749inline ::operations_research::math_opt::LPAlgorithmProto SolveParametersProto::_internal_lp_algorithm() const {
1750 ::google::protobuf::internal::TSanRead(&_impl_);
1751 return static_cast<::operations_research::math_opt::LPAlgorithmProto>(_impl_.lp_algorithm_);
1752}
1753inline void SolveParametersProto::_internal_set_lp_algorithm(::operations_research::math_opt::LPAlgorithmProto value) {
1754 ::google::protobuf::internal::TSanWrite(&_impl_);
1755 _impl_.lp_algorithm_ = value;
1756}
1757
1758// .operations_research.math_opt.EmphasisProto presolve = 7;
1760 ::google::protobuf::internal::TSanWrite(&_impl_);
1761 _impl_.presolve_ = 0;
1762 _impl_._has_bits_[0] &= ~0x00004000u;
1763}
1764inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::presolve() const {
1765 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.presolve)
1766 return _internal_presolve();
1767}
1769 _internal_set_presolve(value);
1770 _impl_._has_bits_[0] |= 0x00004000u;
1771 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.presolve)
1772}
1773inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_presolve() const {
1774 ::google::protobuf::internal::TSanRead(&_impl_);
1775 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.presolve_);
1776}
1777inline void SolveParametersProto::_internal_set_presolve(::operations_research::math_opt::EmphasisProto value) {
1778 ::google::protobuf::internal::TSanWrite(&_impl_);
1779 _impl_.presolve_ = value;
1780}
1781
1782// .operations_research.math_opt.EmphasisProto cuts = 8;
1784 ::google::protobuf::internal::TSanWrite(&_impl_);
1785 _impl_.cuts_ = 0;
1786 _impl_._has_bits_[0] &= ~0x00008000u;
1787}
1788inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::cuts() const {
1789 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.cuts)
1790 return _internal_cuts();
1791}
1793 _internal_set_cuts(value);
1794 _impl_._has_bits_[0] |= 0x00008000u;
1795 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.cuts)
1796}
1797inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_cuts() const {
1798 ::google::protobuf::internal::TSanRead(&_impl_);
1799 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.cuts_);
1800}
1801inline void SolveParametersProto::_internal_set_cuts(::operations_research::math_opt::EmphasisProto value) {
1802 ::google::protobuf::internal::TSanWrite(&_impl_);
1803 _impl_.cuts_ = value;
1804}
1805
1806// .operations_research.math_opt.EmphasisProto heuristics = 9;
1808 ::google::protobuf::internal::TSanWrite(&_impl_);
1809 _impl_.heuristics_ = 0;
1810 _impl_._has_bits_[0] &= ~0x00010000u;
1811}
1812inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::heuristics() const {
1813 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.heuristics)
1814 return _internal_heuristics();
1815}
1817 _internal_set_heuristics(value);
1818 _impl_._has_bits_[0] |= 0x00010000u;
1819 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.heuristics)
1820}
1821inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_heuristics() const {
1822 ::google::protobuf::internal::TSanRead(&_impl_);
1823 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.heuristics_);
1824}
1825inline void SolveParametersProto::_internal_set_heuristics(::operations_research::math_opt::EmphasisProto value) {
1826 ::google::protobuf::internal::TSanWrite(&_impl_);
1827 _impl_.heuristics_ = value;
1828}
1829
1830// .operations_research.math_opt.EmphasisProto scaling = 10;
1832 ::google::protobuf::internal::TSanWrite(&_impl_);
1833 _impl_.scaling_ = 0;
1834 _impl_._has_bits_[0] &= ~0x00020000u;
1835}
1836inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::scaling() const {
1837 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.scaling)
1838 return _internal_scaling();
1839}
1841 _internal_set_scaling(value);
1842 _impl_._has_bits_[0] |= 0x00020000u;
1843 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.scaling)
1844}
1845inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_scaling() const {
1846 ::google::protobuf::internal::TSanRead(&_impl_);
1847 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.scaling_);
1848}
1849inline void SolveParametersProto::_internal_set_scaling(::operations_research::math_opt::EmphasisProto value) {
1850 ::google::protobuf::internal::TSanWrite(&_impl_);
1851 _impl_.scaling_ = value;
1852}
1853
1854// .operations_research.GScipParameters gscip = 12;
1855inline bool SolveParametersProto::has_gscip() const {
1856 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1857 PROTOBUF_ASSUME(!value || _impl_.gscip_ != nullptr);
1858 return value;
1859}
1860inline const ::operations_research::GScipParameters& SolveParametersProto::_internal_gscip() const {
1861 ::google::protobuf::internal::TSanRead(&_impl_);
1862 const ::operations_research::GScipParameters* p = _impl_.gscip_;
1863 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::GScipParameters&>(::operations_research::_GScipParameters_default_instance_);
1865inline const ::operations_research::GScipParameters& SolveParametersProto::gscip() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1866 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.gscip)
1867 return _internal_gscip();
1868}
1870 ::operations_research::GScipParameters* PROTOBUF_NULLABLE value) {
1871 ::google::protobuf::internal::TSanWrite(&_impl_);
1872 if (GetArena() == nullptr) {
1873 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gscip_);
1875 _impl_.gscip_ = reinterpret_cast<::operations_research::GScipParameters*>(value);
1876 if (value != nullptr) {
1877 _impl_._has_bits_[0] |= 0x00000002u;
1878 } else {
1879 _impl_._has_bits_[0] &= ~0x00000002u;
1880 }
1881 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.gscip)
1882}
1883inline ::operations_research::GScipParameters* PROTOBUF_NULLABLE SolveParametersProto::release_gscip() {
1884 ::google::protobuf::internal::TSanWrite(&_impl_);
1885
1886 _impl_._has_bits_[0] &= ~0x00000002u;
1888 _impl_.gscip_ = nullptr;
1889 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1890 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1891 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1892 if (GetArena() == nullptr) {
1893 delete old;
1894 }
1895 } else {
1896 if (GetArena() != nullptr) {
1897 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1898 }
1899 }
1900 return released;
1901}
1902inline ::operations_research::GScipParameters* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_gscip() {
1903 ::google::protobuf::internal::TSanWrite(&_impl_);
1904 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.gscip)
1905
1906 _impl_._has_bits_[0] &= ~0x00000002u;
1907 ::operations_research::GScipParameters* temp = _impl_.gscip_;
1908 _impl_.gscip_ = nullptr;
1909 return temp;
1910}
1911inline ::operations_research::GScipParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_gscip() {
1912 ::google::protobuf::internal::TSanWrite(&_impl_);
1913 if (_impl_.gscip_ == nullptr) {
1914 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipParameters>(GetArena());
1915 _impl_.gscip_ = reinterpret_cast<::operations_research::GScipParameters*>(p);
1916 }
1917 return _impl_.gscip_;
1918}
1919inline ::operations_research::GScipParameters* PROTOBUF_NONNULL SolveParametersProto::mutable_gscip()
1920 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1921 _impl_._has_bits_[0] |= 0x00000002u;
1922 ::operations_research::GScipParameters* _msg = _internal_mutable_gscip();
1923 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.gscip)
1924 return _msg;
1925}
1927 ::google::protobuf::Arena* message_arena = GetArena();
1928 ::google::protobuf::internal::TSanWrite(&_impl_);
1929 if (message_arena == nullptr) {
1930 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gscip_);
1931 }
1932
1933 if (value != nullptr) {
1934 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1935 if (message_arena != submessage_arena) {
1936 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1937 }
1938 _impl_._has_bits_[0] |= 0x00000002u;
1939 } else {
1940 _impl_._has_bits_[0] &= ~0x00000002u;
1941 }
1942
1943 _impl_.gscip_ = reinterpret_cast<::operations_research::GScipParameters*>(value);
1944 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.gscip)
1945}
1946
1947// .operations_research.math_opt.GurobiParametersProto gurobi = 13;
1948inline bool SolveParametersProto::has_gurobi() const {
1949 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1950 PROTOBUF_ASSUME(!value || _impl_.gurobi_ != nullptr);
1951 return value;
1952}
1953inline const ::operations_research::math_opt::GurobiParametersProto& SolveParametersProto::_internal_gurobi() const {
1954 ::google::protobuf::internal::TSanRead(&_impl_);
1955 const ::operations_research::math_opt::GurobiParametersProto* p = _impl_.gurobi_;
1956 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::GurobiParametersProto&>(::operations_research::math_opt::_GurobiParametersProto_default_instance_);
1958inline const ::operations_research::math_opt::GurobiParametersProto& SolveParametersProto::gurobi() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1959 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.gurobi)
1960 return _internal_gurobi();
1961}
1964 ::google::protobuf::internal::TSanWrite(&_impl_);
1965 if (GetArena() == nullptr) {
1966 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
1968 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiParametersProto*>(value);
1969 if (value != nullptr) {
1970 _impl_._has_bits_[0] |= 0x00000004u;
1971 } else {
1972 _impl_._has_bits_[0] &= ~0x00000004u;
1973 }
1974 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.gurobi)
1975}
1976inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NULLABLE SolveParametersProto::release_gurobi() {
1977 ::google::protobuf::internal::TSanWrite(&_impl_);
1978
1979 _impl_._has_bits_[0] &= ~0x00000004u;
1981 _impl_.gurobi_ = nullptr;
1982 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1983 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1984 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1985 if (GetArena() == nullptr) {
1986 delete old;
1987 }
1988 } else {
1989 if (GetArena() != nullptr) {
1990 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1991 }
1992 }
1993 return released;
1994}
1995inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_gurobi() {
1996 ::google::protobuf::internal::TSanWrite(&_impl_);
1997 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.gurobi)
1998
1999 _impl_._has_bits_[0] &= ~0x00000004u;
2000 ::operations_research::math_opt::GurobiParametersProto* temp = _impl_.gurobi_;
2001 _impl_.gurobi_ = nullptr;
2002 return temp;
2003}
2004inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_gurobi() {
2005 ::google::protobuf::internal::TSanWrite(&_impl_);
2006 if (_impl_.gurobi_ == nullptr) {
2007 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GurobiParametersProto>(GetArena());
2008 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiParametersProto*>(p);
2009 }
2010 return _impl_.gurobi_;
2011}
2012inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL SolveParametersProto::mutable_gurobi()
2013 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2014 _impl_._has_bits_[0] |= 0x00000004u;
2015 ::operations_research::math_opt::GurobiParametersProto* _msg = _internal_mutable_gurobi();
2016 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.gurobi)
2017 return _msg;
2018}
2020 ::google::protobuf::Arena* message_arena = GetArena();
2021 ::google::protobuf::internal::TSanWrite(&_impl_);
2022 if (message_arena == nullptr) {
2023 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
2024 }
2025
2026 if (value != nullptr) {
2027 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2028 if (message_arena != submessage_arena) {
2029 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2030 }
2031 _impl_._has_bits_[0] |= 0x00000004u;
2032 } else {
2033 _impl_._has_bits_[0] &= ~0x00000004u;
2034 }
2035
2036 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiParametersProto*>(value);
2037 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.gurobi)
2038}
2039
2040// .operations_research.glop.GlopParameters glop = 14;
2041inline bool SolveParametersProto::has_glop() const {
2042 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2043 PROTOBUF_ASSUME(!value || _impl_.glop_ != nullptr);
2044 return value;
2045}
2046inline const ::operations_research::glop::GlopParameters& SolveParametersProto::_internal_glop() const {
2047 ::google::protobuf::internal::TSanRead(&_impl_);
2048 const ::operations_research::glop::GlopParameters* p = _impl_.glop_;
2049 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::glop::GlopParameters&>(::operations_research::glop::_GlopParameters_default_instance_);
2051inline const ::operations_research::glop::GlopParameters& SolveParametersProto::glop() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2052 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.glop)
2053 return _internal_glop();
2054}
2056 ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE value) {
2057 ::google::protobuf::internal::TSanWrite(&_impl_);
2058 if (GetArena() == nullptr) {
2059 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glop_);
2061 _impl_.glop_ = reinterpret_cast<::operations_research::glop::GlopParameters*>(value);
2062 if (value != nullptr) {
2063 _impl_._has_bits_[0] |= 0x00000008u;
2064 } else {
2065 _impl_._has_bits_[0] &= ~0x00000008u;
2066 }
2067 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.glop)
2068}
2069inline ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE SolveParametersProto::release_glop() {
2070 ::google::protobuf::internal::TSanWrite(&_impl_);
2071
2072 _impl_._has_bits_[0] &= ~0x00000008u;
2074 _impl_.glop_ = nullptr;
2075 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2076 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2077 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2078 if (GetArena() == nullptr) {
2079 delete old;
2080 }
2081 } else {
2082 if (GetArena() != nullptr) {
2083 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2084 }
2085 }
2086 return released;
2087}
2088inline ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_glop() {
2089 ::google::protobuf::internal::TSanWrite(&_impl_);
2090 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.glop)
2091
2092 _impl_._has_bits_[0] &= ~0x00000008u;
2093 ::operations_research::glop::GlopParameters* temp = _impl_.glop_;
2094 _impl_.glop_ = nullptr;
2095 return temp;
2096}
2097inline ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_glop() {
2098 ::google::protobuf::internal::TSanWrite(&_impl_);
2099 if (_impl_.glop_ == nullptr) {
2100 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::glop::GlopParameters>(GetArena());
2101 _impl_.glop_ = reinterpret_cast<::operations_research::glop::GlopParameters*>(p);
2102 }
2103 return _impl_.glop_;
2104}
2105inline ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL SolveParametersProto::mutable_glop()
2106 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2107 _impl_._has_bits_[0] |= 0x00000008u;
2108 ::operations_research::glop::GlopParameters* _msg = _internal_mutable_glop();
2109 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.glop)
2110 return _msg;
2111}
2113 ::google::protobuf::Arena* message_arena = GetArena();
2114 ::google::protobuf::internal::TSanWrite(&_impl_);
2115 if (message_arena == nullptr) {
2116 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glop_);
2117 }
2118
2119 if (value != nullptr) {
2120 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2121 if (message_arena != submessage_arena) {
2122 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2123 }
2124 _impl_._has_bits_[0] |= 0x00000008u;
2125 } else {
2126 _impl_._has_bits_[0] &= ~0x00000008u;
2127 }
2128
2129 _impl_.glop_ = reinterpret_cast<::operations_research::glop::GlopParameters*>(value);
2130 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.glop)
2131}
2132
2133// .operations_research.sat.SatParameters cp_sat = 15;
2134inline bool SolveParametersProto::has_cp_sat() const {
2135 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2136 PROTOBUF_ASSUME(!value || _impl_.cp_sat_ != nullptr);
2137 return value;
2138}
2139inline const ::operations_research::sat::SatParameters& SolveParametersProto::_internal_cp_sat() const {
2140 ::google::protobuf::internal::TSanRead(&_impl_);
2141 const ::operations_research::sat::SatParameters* p = _impl_.cp_sat_;
2142 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::sat::SatParameters&>(::operations_research::sat::_SatParameters_default_instance_);
2144inline const ::operations_research::sat::SatParameters& SolveParametersProto::cp_sat() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2145 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.cp_sat)
2146 return _internal_cp_sat();
2147}
2149 ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE value) {
2150 ::google::protobuf::internal::TSanWrite(&_impl_);
2151 if (GetArena() == nullptr) {
2152 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cp_sat_);
2154 _impl_.cp_sat_ = reinterpret_cast<::operations_research::sat::SatParameters*>(value);
2155 if (value != nullptr) {
2156 _impl_._has_bits_[0] |= 0x00000010u;
2157 } else {
2158 _impl_._has_bits_[0] &= ~0x00000010u;
2159 }
2160 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.cp_sat)
2161}
2162inline ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE SolveParametersProto::release_cp_sat() {
2163 ::google::protobuf::internal::TSanWrite(&_impl_);
2164
2165 _impl_._has_bits_[0] &= ~0x00000010u;
2167 _impl_.cp_sat_ = nullptr;
2168 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2169 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2170 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2171 if (GetArena() == nullptr) {
2172 delete old;
2173 }
2174 } else {
2175 if (GetArena() != nullptr) {
2176 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2177 }
2178 }
2179 return released;
2180}
2181inline ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_cp_sat() {
2182 ::google::protobuf::internal::TSanWrite(&_impl_);
2183 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.cp_sat)
2184
2185 _impl_._has_bits_[0] &= ~0x00000010u;
2186 ::operations_research::sat::SatParameters* temp = _impl_.cp_sat_;
2187 _impl_.cp_sat_ = nullptr;
2188 return temp;
2189}
2190inline ::operations_research::sat::SatParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_cp_sat() {
2191 ::google::protobuf::internal::TSanWrite(&_impl_);
2192 if (_impl_.cp_sat_ == nullptr) {
2193 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::sat::SatParameters>(GetArena());
2194 _impl_.cp_sat_ = reinterpret_cast<::operations_research::sat::SatParameters*>(p);
2195 }
2196 return _impl_.cp_sat_;
2197}
2198inline ::operations_research::sat::SatParameters* PROTOBUF_NONNULL SolveParametersProto::mutable_cp_sat()
2199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2200 _impl_._has_bits_[0] |= 0x00000010u;
2201 ::operations_research::sat::SatParameters* _msg = _internal_mutable_cp_sat();
2202 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.cp_sat)
2203 return _msg;
2204}
2206 ::google::protobuf::Arena* message_arena = GetArena();
2207 ::google::protobuf::internal::TSanWrite(&_impl_);
2208 if (message_arena == nullptr) {
2209 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cp_sat_);
2210 }
2211
2212 if (value != nullptr) {
2213 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2214 if (message_arena != submessage_arena) {
2215 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2216 }
2217 _impl_._has_bits_[0] |= 0x00000010u;
2218 } else {
2219 _impl_._has_bits_[0] &= ~0x00000010u;
2220 }
2221
2222 _impl_.cp_sat_ = reinterpret_cast<::operations_research::sat::SatParameters*>(value);
2223 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.cp_sat)
2224}
2225
2226// .operations_research.pdlp.PrimalDualHybridGradientParams pdlp = 16;
2227inline bool SolveParametersProto::has_pdlp() const {
2228 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2229 PROTOBUF_ASSUME(!value || _impl_.pdlp_ != nullptr);
2230 return value;
2231}
2232inline const ::operations_research::pdlp::PrimalDualHybridGradientParams& SolveParametersProto::_internal_pdlp() const {
2233 ::google::protobuf::internal::TSanRead(&_impl_);
2234 const ::operations_research::pdlp::PrimalDualHybridGradientParams* p = _impl_.pdlp_;
2235 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::pdlp::PrimalDualHybridGradientParams&>(::operations_research::pdlp::_PrimalDualHybridGradientParams_default_instance_);
2237inline const ::operations_research::pdlp::PrimalDualHybridGradientParams& SolveParametersProto::pdlp() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2238 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.pdlp)
2239 return _internal_pdlp();
2240}
2243 ::google::protobuf::internal::TSanWrite(&_impl_);
2244 if (GetArena() == nullptr) {
2245 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pdlp_);
2247 _impl_.pdlp_ = reinterpret_cast<::operations_research::pdlp::PrimalDualHybridGradientParams*>(value);
2248 if (value != nullptr) {
2249 _impl_._has_bits_[0] |= 0x00000020u;
2250 } else {
2251 _impl_._has_bits_[0] &= ~0x00000020u;
2252 }
2253 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.pdlp)
2254}
2255inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NULLABLE SolveParametersProto::release_pdlp() {
2256 ::google::protobuf::internal::TSanWrite(&_impl_);
2257
2258 _impl_._has_bits_[0] &= ~0x00000020u;
2260 _impl_.pdlp_ = nullptr;
2261 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2262 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2263 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2264 if (GetArena() == nullptr) {
2265 delete old;
2266 }
2267 } else {
2268 if (GetArena() != nullptr) {
2269 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2270 }
2271 }
2272 return released;
2273}
2274inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_pdlp() {
2275 ::google::protobuf::internal::TSanWrite(&_impl_);
2276 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.pdlp)
2277
2278 _impl_._has_bits_[0] &= ~0x00000020u;
2279 ::operations_research::pdlp::PrimalDualHybridGradientParams* temp = _impl_.pdlp_;
2280 _impl_.pdlp_ = nullptr;
2281 return temp;
2282}
2283inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_pdlp() {
2284 ::google::protobuf::internal::TSanWrite(&_impl_);
2285 if (_impl_.pdlp_ == nullptr) {
2286 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::PrimalDualHybridGradientParams>(GetArena());
2288 }
2289 return _impl_.pdlp_;
2290}
2291inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL SolveParametersProto::mutable_pdlp()
2292 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2293 _impl_._has_bits_[0] |= 0x00000020u;
2294 ::operations_research::pdlp::PrimalDualHybridGradientParams* _msg = _internal_mutable_pdlp();
2295 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.pdlp)
2296 return _msg;
2297}
2299 ::google::protobuf::Arena* message_arena = GetArena();
2300 ::google::protobuf::internal::TSanWrite(&_impl_);
2301 if (message_arena == nullptr) {
2302 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pdlp_);
2303 }
2304
2305 if (value != nullptr) {
2306 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2307 if (message_arena != submessage_arena) {
2308 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2309 }
2310 _impl_._has_bits_[0] |= 0x00000020u;
2311 } else {
2312 _impl_._has_bits_[0] &= ~0x00000020u;
2313 }
2314
2315 _impl_.pdlp_ = reinterpret_cast<::operations_research::pdlp::PrimalDualHybridGradientParams*>(value);
2316 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.pdlp)
2317}
2318
2319// .operations_research.math_opt.OsqpSettingsProto osqp = 19;
2320inline bool SolveParametersProto::has_osqp() const {
2321 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2322 PROTOBUF_ASSUME(!value || _impl_.osqp_ != nullptr);
2323 return value;
2324}
2325inline const ::operations_research::math_opt::OsqpSettingsProto& SolveParametersProto::_internal_osqp() const {
2326 ::google::protobuf::internal::TSanRead(&_impl_);
2327 const ::operations_research::math_opt::OsqpSettingsProto* p = _impl_.osqp_;
2328 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::OsqpSettingsProto&>(::operations_research::math_opt::_OsqpSettingsProto_default_instance_);
2330inline const ::operations_research::math_opt::OsqpSettingsProto& SolveParametersProto::osqp() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2331 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.osqp)
2332 return _internal_osqp();
2333}
2335 ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE value) {
2336 ::google::protobuf::internal::TSanWrite(&_impl_);
2337 if (GetArena() == nullptr) {
2338 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.osqp_);
2340 _impl_.osqp_ = reinterpret_cast<::operations_research::math_opt::OsqpSettingsProto*>(value);
2341 if (value != nullptr) {
2342 _impl_._has_bits_[0] |= 0x00000040u;
2343 } else {
2344 _impl_._has_bits_[0] &= ~0x00000040u;
2345 }
2346 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.osqp)
2347}
2348inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE SolveParametersProto::release_osqp() {
2349 ::google::protobuf::internal::TSanWrite(&_impl_);
2350
2351 _impl_._has_bits_[0] &= ~0x00000040u;
2353 _impl_.osqp_ = nullptr;
2354 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2355 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2356 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2357 if (GetArena() == nullptr) {
2358 delete old;
2359 }
2360 } else {
2361 if (GetArena() != nullptr) {
2362 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2363 }
2364 }
2365 return released;
2366}
2367inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_osqp() {
2368 ::google::protobuf::internal::TSanWrite(&_impl_);
2369 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.osqp)
2370
2371 _impl_._has_bits_[0] &= ~0x00000040u;
2372 ::operations_research::math_opt::OsqpSettingsProto* temp = _impl_.osqp_;
2373 _impl_.osqp_ = nullptr;
2374 return temp;
2375}
2376inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_osqp() {
2377 ::google::protobuf::internal::TSanWrite(&_impl_);
2378 if (_impl_.osqp_ == nullptr) {
2379 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpSettingsProto>(GetArena());
2380 _impl_.osqp_ = reinterpret_cast<::operations_research::math_opt::OsqpSettingsProto*>(p);
2381 }
2382 return _impl_.osqp_;
2383}
2384inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL SolveParametersProto::mutable_osqp()
2385 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2386 _impl_._has_bits_[0] |= 0x00000040u;
2387 ::operations_research::math_opt::OsqpSettingsProto* _msg = _internal_mutable_osqp();
2388 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.osqp)
2389 return _msg;
2390}
2392 ::google::protobuf::Arena* message_arena = GetArena();
2393 ::google::protobuf::internal::TSanWrite(&_impl_);
2394 if (message_arena == nullptr) {
2395 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.osqp_);
2396 }
2397
2398 if (value != nullptr) {
2399 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2400 if (message_arena != submessage_arena) {
2401 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2402 }
2403 _impl_._has_bits_[0] |= 0x00000040u;
2404 } else {
2405 _impl_._has_bits_[0] &= ~0x00000040u;
2406 }
2407
2408 _impl_.osqp_ = reinterpret_cast<::operations_research::math_opt::OsqpSettingsProto*>(value);
2409 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.osqp)
2410}
2411
2412// .operations_research.math_opt.GlpkParametersProto glpk = 26;
2413inline bool SolveParametersProto::has_glpk() const {
2414 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2415 PROTOBUF_ASSUME(!value || _impl_.glpk_ != nullptr);
2416 return value;
2417}
2418inline const ::operations_research::math_opt::GlpkParametersProto& SolveParametersProto::_internal_glpk() const {
2419 ::google::protobuf::internal::TSanRead(&_impl_);
2420 const ::operations_research::math_opt::GlpkParametersProto* p = _impl_.glpk_;
2421 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::GlpkParametersProto&>(::operations_research::math_opt::_GlpkParametersProto_default_instance_);
2423inline const ::operations_research::math_opt::GlpkParametersProto& SolveParametersProto::glpk() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2424 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.glpk)
2425 return _internal_glpk();
2426}
2429 ::google::protobuf::internal::TSanWrite(&_impl_);
2430 if (GetArena() == nullptr) {
2431 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glpk_);
2433 _impl_.glpk_ = reinterpret_cast<::operations_research::math_opt::GlpkParametersProto*>(value);
2434 if (value != nullptr) {
2435 _impl_._has_bits_[0] |= 0x00000080u;
2436 } else {
2437 _impl_._has_bits_[0] &= ~0x00000080u;
2438 }
2439 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.glpk)
2440}
2441inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NULLABLE SolveParametersProto::release_glpk() {
2442 ::google::protobuf::internal::TSanWrite(&_impl_);
2443
2444 _impl_._has_bits_[0] &= ~0x00000080u;
2446 _impl_.glpk_ = nullptr;
2447 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2448 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2449 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2450 if (GetArena() == nullptr) {
2451 delete old;
2452 }
2453 } else {
2454 if (GetArena() != nullptr) {
2455 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2456 }
2457 }
2458 return released;
2459}
2460inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_glpk() {
2461 ::google::protobuf::internal::TSanWrite(&_impl_);
2462 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.glpk)
2463
2464 _impl_._has_bits_[0] &= ~0x00000080u;
2465 ::operations_research::math_opt::GlpkParametersProto* temp = _impl_.glpk_;
2466 _impl_.glpk_ = nullptr;
2467 return temp;
2468}
2469inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_glpk() {
2470 ::google::protobuf::internal::TSanWrite(&_impl_);
2471 if (_impl_.glpk_ == nullptr) {
2472 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GlpkParametersProto>(GetArena());
2473 _impl_.glpk_ = reinterpret_cast<::operations_research::math_opt::GlpkParametersProto*>(p);
2474 }
2475 return _impl_.glpk_;
2476}
2477inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL SolveParametersProto::mutable_glpk()
2478 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2479 _impl_._has_bits_[0] |= 0x00000080u;
2480 ::operations_research::math_opt::GlpkParametersProto* _msg = _internal_mutable_glpk();
2481 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.glpk)
2482 return _msg;
2483}
2485 ::google::protobuf::Arena* message_arena = GetArena();
2486 ::google::protobuf::internal::TSanWrite(&_impl_);
2487 if (message_arena == nullptr) {
2488 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glpk_);
2489 }
2490
2491 if (value != nullptr) {
2492 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2493 if (message_arena != submessage_arena) {
2494 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2495 }
2496 _impl_._has_bits_[0] |= 0x00000080u;
2497 } else {
2498 _impl_._has_bits_[0] &= ~0x00000080u;
2499 }
2500
2501 _impl_.glpk_ = reinterpret_cast<::operations_research::math_opt::GlpkParametersProto*>(value);
2502 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.glpk)
2503}
2504
2505// .operations_research.math_opt.HighsOptionsProto highs = 27;
2506inline bool SolveParametersProto::has_highs() const {
2507 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
2508 PROTOBUF_ASSUME(!value || _impl_.highs_ != nullptr);
2509 return value;
2510}
2511inline const ::operations_research::math_opt::HighsOptionsProto& SolveParametersProto::_internal_highs() const {
2512 ::google::protobuf::internal::TSanRead(&_impl_);
2513 const ::operations_research::math_opt::HighsOptionsProto* p = _impl_.highs_;
2514 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::HighsOptionsProto&>(::operations_research::math_opt::_HighsOptionsProto_default_instance_);
2516inline const ::operations_research::math_opt::HighsOptionsProto& SolveParametersProto::highs() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2517 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.highs)
2518 return _internal_highs();
2519}
2521 ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE value) {
2522 ::google::protobuf::internal::TSanWrite(&_impl_);
2523 if (GetArena() == nullptr) {
2524 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.highs_);
2526 _impl_.highs_ = reinterpret_cast<::operations_research::math_opt::HighsOptionsProto*>(value);
2527 if (value != nullptr) {
2528 _impl_._has_bits_[0] |= 0x00000100u;
2529 } else {
2530 _impl_._has_bits_[0] &= ~0x00000100u;
2531 }
2532 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.highs)
2533}
2534inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE SolveParametersProto::release_highs() {
2535 ::google::protobuf::internal::TSanWrite(&_impl_);
2536
2537 _impl_._has_bits_[0] &= ~0x00000100u;
2539 _impl_.highs_ = nullptr;
2540 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2541 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2542 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2543 if (GetArena() == nullptr) {
2544 delete old;
2545 }
2546 } else {
2547 if (GetArena() != nullptr) {
2548 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2549 }
2550 }
2551 return released;
2552}
2553inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_highs() {
2554 ::google::protobuf::internal::TSanWrite(&_impl_);
2555 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.highs)
2556
2557 _impl_._has_bits_[0] &= ~0x00000100u;
2558 ::operations_research::math_opt::HighsOptionsProto* temp = _impl_.highs_;
2559 _impl_.highs_ = nullptr;
2560 return temp;
2561}
2562inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_highs() {
2563 ::google::protobuf::internal::TSanWrite(&_impl_);
2564 if (_impl_.highs_ == nullptr) {
2565 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::HighsOptionsProto>(GetArena());
2566 _impl_.highs_ = reinterpret_cast<::operations_research::math_opt::HighsOptionsProto*>(p);
2567 }
2568 return _impl_.highs_;
2569}
2570inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL SolveParametersProto::mutable_highs()
2571 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2572 _impl_._has_bits_[0] |= 0x00000100u;
2573 ::operations_research::math_opt::HighsOptionsProto* _msg = _internal_mutable_highs();
2574 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.highs)
2575 return _msg;
2576}
2578 ::google::protobuf::Arena* message_arena = GetArena();
2579 ::google::protobuf::internal::TSanWrite(&_impl_);
2580 if (message_arena == nullptr) {
2581 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.highs_);
2582 }
2583
2584 if (value != nullptr) {
2585 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2586 if (message_arena != submessage_arena) {
2587 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2588 }
2589 _impl_._has_bits_[0] |= 0x00000100u;
2590 } else {
2591 _impl_._has_bits_[0] &= ~0x00000100u;
2592 }
2593
2594 _impl_.highs_ = reinterpret_cast<::operations_research::math_opt::HighsOptionsProto*>(value);
2595 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.highs)
2596}
2597
2598#ifdef __GNUC__
2599#pragma GCC diagnostic pop
2600#endif // __GNUC__
2601
2602// @@protoc_insertion_point(namespace_scope)
2603} // namespace math_opt
2604} // namespace operations_research
2605
2606
2607namespace google {
2608namespace protobuf {
2609
2610template <>
2611struct is_proto_enum<::operations_research::math_opt::SolverTypeProto> : std::true_type {};
2612template <>
2613inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::SolverTypeProto>() {
2614 return ::operations_research::math_opt::SolverTypeProto_descriptor();
2615}
2616template <>
2617struct is_proto_enum<::operations_research::math_opt::LPAlgorithmProto> : std::true_type {};
2618template <>
2619inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LPAlgorithmProto>() {
2620 return ::operations_research::math_opt::LPAlgorithmProto_descriptor();
2621}
2622template <>
2623struct is_proto_enum<::operations_research::math_opt::EmphasisProto> : std::true_type {};
2624template <>
2625inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::EmphasisProto>() {
2626 return ::operations_research::math_opt::EmphasisProto_descriptor();
2627}
2629} // namespace protobuf
2630} // namespace google
2631
2632// @@protoc_insertion_point(global_scope)
2633
2634#include "google/protobuf/port_undef.inc"
2635
2636#endif // ortools_2fmath_5fopt_2fparameters_2eproto_2epb_2eh
void unsafe_arena_set_allocated_glpk(::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(SolveParametersProto &a, SolveParametersProto &b)
::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NONNULL mutable_gurobi()
void set_allocated_glpk(::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::HighsOptionsProto & highs() const
::operations_research::math_opt::EmphasisProto presolve() const
bool has_gscip() const
.operations_research.GScipParameters gscip = 12;
const ::operations_research::sat::SatParameters & cp_sat() const
bool has_cutoff_limit() const
optional double cutoff_limit = 20;
void clear_lp_algorithm()
.operations_research.math_opt.LPAlgorithmProto lp_algorithm = 6;
const ::operations_research::math_opt::GlpkParametersProto & glpk() const
void set_presolve(::operations_research::math_opt::EmphasisProto value)
void set_lp_algorithm(::operations_research::math_opt::LPAlgorithmProto value)
void Swap(SolveParametersProto *PROTOBUF_NONNULL other)
void clear_heuristics()
.operations_research.math_opt.EmphasisProto heuristics = 9;
bool has_objective_limit() const
optional double objective_limit = 21;
bool has_random_seed() const
optional int32 random_seed = 5;
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NONNULL mutable_osqp()
bool has_solution_limit() const
optional int32 solution_limit = 23;
void unsafe_arena_set_allocated_gurobi(::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE value)
void CopyFrom(const SolveParametersProto &from)
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NONNULL mutable_highs()
static const SolveParametersProto & default_instance()
::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE release_glop()
::operations_research::glop::GlopParameters *PROTOBUF_NONNULL mutable_glop()
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE unsafe_arena_release_glpk()
void set_allocated_gscip(::operations_research::GScipParameters *PROTOBUF_NULLABLE value)
void set_scaling(::operations_research::math_opt::EmphasisProto value)
::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NONNULL mutable_pdlp()
::operations_research::sat::SatParameters *PROTOBUF_NONNULL mutable_cp_sat()
const ::operations_research::glop::GlopParameters & glop() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::operations_research::math_opt::EmphasisProto scaling() const
::operations_research::sat::SatParameters *PROTOBUF_NULLABLE unsafe_arena_release_cp_sat()
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE unsafe_arena_release_osqp()
void set_allocated_pdlp(::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_pdlp(::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE value)
::operations_research::math_opt::EmphasisProto heuristics() const
void set_cuts(::operations_research::math_opt::EmphasisProto value)
::operations_research::GScipParameters *PROTOBUF_NONNULL mutable_gscip()
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_time_limit()
void unsafe_arena_set_allocated_cp_sat(::operations_research::sat::SatParameters *PROTOBUF_NULLABLE value)
void set_allocated_osqp(::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE value)
::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE release_pdlp()
bool has_absolute_gap_tolerance() const
optional double absolute_gap_tolerance = 18;
bool has_pdlp() const
.operations_research.pdlp.PrimalDualHybridGradientParams pdlp = 16;
bool has_node_limit() const
optional int64 node_limit = 24;
void clear_presolve()
.operations_research.math_opt.EmphasisProto presolve = 7;
PROTOBUF_CONSTEXPR SolveParametersProto(::google::protobuf::internal::ConstantInitialized)
void unsafe_arena_set_allocated_gscip(::operations_research::GScipParameters *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_gurobi() const
.operations_research.math_opt.GurobiParametersProto gurobi = 13;
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE release_glpk()
::operations_research::GScipParameters *PROTOBUF_NULLABLE release_gscip()
bool has_glpk() const
.operations_research.math_opt.GlpkParametersProto glpk = 26;
void unsafe_arena_set_allocated_highs(::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_time_limit(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
bool has_glop() const
.operations_research.glop.GlopParameters glop = 14;
::operations_research::math_opt::LPAlgorithmProto lp_algorithm() const
bool has_osqp() const
.operations_research.math_opt.OsqpSettingsProto osqp = 19;
const ::operations_research::GScipParameters & gscip() const
const ::operations_research::pdlp::PrimalDualHybridGradientParams & pdlp() const
::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE unsafe_arena_release_glop()
void MergeFrom(const SolveParametersProto &from)
const ::operations_research::math_opt::GurobiParametersProto & gurobi() const
void unsafe_arena_set_allocated_osqp(::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE value)
bool has_best_bound_limit() const
optional double best_bound_limit = 22;
void set_allocated_cp_sat(::operations_research::sat::SatParameters *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_glop(::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE value)
::operations_research::GScipParameters *PROTOBUF_NULLABLE unsafe_arena_release_gscip()
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE unsafe_arena_release_highs()
bool has_cp_sat() const
.operations_research.sat.SatParameters cp_sat = 15;
void clear_scaling()
.operations_research.math_opt.EmphasisProto scaling = 10;
void set_allocated_time_limit(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void set_heuristics(::operations_research::math_opt::EmphasisProto value)
void set_allocated_glop(::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE value)
bool has_relative_gap_tolerance() const
optional double relative_gap_tolerance = 17;
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE release_highs()
SolveParametersProto & operator=(const SolveParametersProto &from)
::google::protobuf::Duration *PROTOBUF_NULLABLE release_time_limit()
bool has_threads() const
optional int32 threads = 4;
const ::google::protobuf::Duration & time_limit() const
::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE release_gurobi()
void set_allocated_highs(::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE value)
bool has_solution_pool_size() const
optional int32 solution_pool_size = 25;
bool has_time_limit() const
.google.protobuf.Duration time_limit = 1;
::operations_research::sat::SatParameters *PROTOBUF_NULLABLE release_cp_sat()
void set_allocated_gurobi(::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE value)
::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE unsafe_arena_release_pdlp()
void clear_cuts()
.operations_research.math_opt.EmphasisProto cuts = 8;
bool has_iteration_limit() const
optional int64 iteration_limit = 2;
const ::operations_research::math_opt::OsqpSettingsProto & osqp() const
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_time_limit()
::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE unsafe_arena_release_gurobi()
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE release_osqp()
bool has_highs() const
.operations_research.math_opt.HighsOptionsProto highs = 27;
::operations_research::math_opt::EmphasisProto cuts() const
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NONNULL mutable_glpk()
PROTOBUF_CONSTEXPR SolverInitializerProto(::google::protobuf::internal::ConstantInitialized)
const ::operations_research::math_opt::GurobiInitializerProto & gurobi() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
SolverInitializerProto & operator=(const SolverInitializerProto &from)
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE release_gurobi()
void set_allocated_gurobi(::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
bool has_gurobi() const
.operations_research.math_opt.GurobiInitializerProto gurobi = 1;
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NONNULL mutable_gurobi()
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE unsafe_arena_release_gurobi()
void unsafe_arena_set_allocated_gurobi(::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE value)
void CopyFrom(const SolverInitializerProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const SolverInitializerProto &from)
void Swap(SolverInitializerProto *PROTOBUF_NONNULL other)
static const SolverInitializerProto & default_instance()
friend class ::google::protobuf::MessageLite
void Swap(StrictnessProto *PROTOBUF_NONNULL other)
StrictnessProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, StrictnessProto &&from) noexcept
void clear_bad_parameter()
bool bad_parameter = 1;
StrictnessProto(const StrictnessProto &from)
PROTOBUF_CONSTEXPR StrictnessProto(::google::protobuf::internal::ConstantInitialized)
StrictnessProto & operator=(const StrictnessProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void CopyFrom(const StrictnessProto &from)
time_limit
Definition solve.cc:22
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fparameters_2eproto
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::SolverTypeProto >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::EmphasisProto >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LPAlgorithmProto >()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlopParametersDefaultTypeInternal _GlopParameters_default_instance_
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
constexpr int LPAlgorithmProto_ARRAYSIZE
constexpr int SolverTypeProto_ARRAYSIZE
constexpr LPAlgorithmProto LPAlgorithmProto_MAX
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolverInitializerProtoDefaultTypeInternal _SolverInitializerProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProtoDefaultTypeInternal _HighsOptionsProto_default_instance_
Definition highs.pb.cc:128
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveParametersProtoDefaultTypeInternal _SolveParametersProto_default_instance_
bool EmphasisProto_IsValid(int value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL EmphasisProto_descriptor()
PROTOBUF_CONSTINIT const uint32_t EmphasisProto_internal_data_[]
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LPAlgorithmProto_descriptor()
constexpr LPAlgorithmProto LPAlgorithmProto_MIN
bool LPAlgorithmProto_Parse(::absl::string_view name, LPAlgorithmProto *PROTOBUF_NONNULL value)
const ::std::string & LPAlgorithmProto_Name(T value)
constexpr SolverTypeProto SolverTypeProto_MAX
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SolverTypeProto_descriptor()
PROTOBUF_CONSTINIT const uint32_t LPAlgorithmProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_
constexpr SolverTypeProto SolverTypeProto_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpSettingsProtoDefaultTypeInternal _OsqpSettingsProto_default_instance_
Definition osqp.pb.cc:73
bool SolverTypeProto_Parse(::absl::string_view name, SolverTypeProto *PROTOBUF_NONNULL value)
const ::std::string & EmphasisProto_Name(T value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlpkParametersProtoDefaultTypeInternal _GlpkParametersProto_default_instance_
Definition glpk.pb.cc:53
constexpr EmphasisProto EmphasisProto_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiParametersProtoDefaultTypeInternal _GurobiParametersProto_default_instance_
Definition gurobi.pb.cc:117
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StrictnessProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StrictnessProtoDefaultTypeInternal _StrictnessProto_default_instance_
bool LPAlgorithmProto_IsValid(int value)
bool SolverTypeProto_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiInitializerProtoDefaultTypeInternal _GurobiInitializerProto_default_instance_
Definition gurobi.pb.cc:142
bool EmphasisProto_Parse(::absl::string_view name, EmphasisProto *PROTOBUF_NONNULL value)
PROTOBUF_CONSTINIT const uint32_t SolverTypeProto_internal_data_[]
const ::std::string & SolverTypeProto_Name(T value)
constexpr EmphasisProto EmphasisProto_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalDualHybridGradientParamsDefaultTypeInternal _PrimalDualHybridGradientParams_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SatParametersDefaultTypeInternal _SatParameters_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GScipParametersDefaultTypeInternal _GScipParameters_default_instance_
Definition gscip.pb.cc:217
Internal implementation detail – do not use these members.