Google OR-Tools v9.15
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.33.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 != 6033001
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"
43// @@protoc_insertion_point(includes)
44
45// Must be included last.
46#include "google/protobuf/port_def.inc"
47
48#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fparameters_2eproto OR_PROTO_DLL
49
50namespace google {
51namespace protobuf {
52namespace internal {
53template <typename T>
54::absl::string_view GetAnyMessageName();
55} // namespace internal
56} // namespace protobuf
57} // namespace google
58
59// Internal implementation detail -- do not use these members.
61 static const ::uint32_t offsets[];
62};
63extern "C" {
64OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fparameters_2eproto;
65} // extern "C"
66namespace operations_research {
67namespace math_opt {
68enum EmphasisProto : int;
69OR_PROTO_DLL extern const uint32_t EmphasisProto_internal_data_[];
70enum LPAlgorithmProto : int;
71OR_PROTO_DLL extern const uint32_t LPAlgorithmProto_internal_data_[];
72enum SolverTypeProto : int;
73OR_PROTO_DLL extern const uint32_t SolverTypeProto_internal_data_[];
77OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_;
81OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_;
82class StrictnessProto;
85OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull StrictnessProto_class_data_;
86} // namespace math_opt
87} // namespace operations_research
88namespace google {
89namespace protobuf {
90template <>
91internal::EnumTraitsT<::operations_research::math_opt::EmphasisProto_internal_data_>
92 internal::EnumTraitsImpl::value<::operations_research::math_opt::EmphasisProto>;
93template <>
94internal::EnumTraitsT<::operations_research::math_opt::LPAlgorithmProto_internal_data_>
95 internal::EnumTraitsImpl::value<::operations_research::math_opt::LPAlgorithmProto>;
96template <>
97internal::EnumTraitsT<::operations_research::math_opt::SolverTypeProto_internal_data_>
98 internal::EnumTraitsImpl::value<::operations_research::math_opt::SolverTypeProto>;
99} // namespace protobuf
100} // namespace google
101
102namespace operations_research {
103namespace math_opt {
123
124OR_PROTO_DLL extern const uint32_t SolverTypeProto_internal_data_[];
126 static_cast<SolverTypeProto>(0);
128 static_cast<SolverTypeProto>(13);
129inline bool SolverTypeProto_IsValid(int value) {
130 return 0 <= value && value <= 13 && ((12287u >> value) & 1) != 0;
131}
132inline constexpr int SolverTypeProto_ARRAYSIZE = 13 + 1;
133OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SolverTypeProto_descriptor();
134template <typename T>
135const ::std::string& SolverTypeProto_Name(T value) {
136 static_assert(::std::is_same<T, SolverTypeProto>::value ||
137 ::std::is_integral<T>::value,
138 "Incorrect type passed to SolverTypeProto_Name().");
139 return SolverTypeProto_Name(static_cast<SolverTypeProto>(value));
140}
141template <>
142inline const ::std::string& SolverTypeProto_Name(SolverTypeProto value) {
143 return ::google::protobuf::internal::NameOfDenseEnum<SolverTypeProto_descriptor, 0, 13>(
144 static_cast<int>(value));
145}
147 ::absl::string_view name, SolverTypeProto* PROTOBUF_NONNULL value) {
148 return ::google::protobuf::internal::ParseNamedEnum<SolverTypeProto>(SolverTypeProto_descriptor(), name,
149 value);
150}
162
163OR_PROTO_DLL extern const uint32_t LPAlgorithmProto_internal_data_[];
165 static_cast<LPAlgorithmProto>(0);
167 static_cast<LPAlgorithmProto>(4);
168inline bool LPAlgorithmProto_IsValid(int value) {
169 return 0 <= value && value <= 4;
170}
171inline constexpr int LPAlgorithmProto_ARRAYSIZE = 4 + 1;
172OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LPAlgorithmProto_descriptor();
173template <typename T>
174const ::std::string& LPAlgorithmProto_Name(T value) {
175 static_assert(::std::is_same<T, LPAlgorithmProto>::value ||
176 ::std::is_integral<T>::value,
177 "Incorrect type passed to LPAlgorithmProto_Name().");
178 return LPAlgorithmProto_Name(static_cast<LPAlgorithmProto>(value));
179}
180template <>
181inline const ::std::string& LPAlgorithmProto_Name(LPAlgorithmProto value) {
182 return ::google::protobuf::internal::NameOfDenseEnum<LPAlgorithmProto_descriptor, 0, 4>(
183 static_cast<int>(value));
184}
186 ::absl::string_view name, LPAlgorithmProto* PROTOBUF_NONNULL value) {
187 return ::google::protobuf::internal::ParseNamedEnum<LPAlgorithmProto>(LPAlgorithmProto_descriptor(), name,
188 value);
189}
190enum EmphasisProto : int {
198 ::std::numeric_limits<::int32_t>::min(),
200 ::std::numeric_limits<::int32_t>::max(),
201};
202
203OR_PROTO_DLL extern const uint32_t EmphasisProto_internal_data_[];
205 static_cast<EmphasisProto>(0);
207 static_cast<EmphasisProto>(5);
208inline bool EmphasisProto_IsValid(int value) {
209 return 0 <= value && value <= 5;
210}
211inline constexpr int EmphasisProto_ARRAYSIZE = 5 + 1;
212OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL EmphasisProto_descriptor();
213template <typename T>
214const ::std::string& EmphasisProto_Name(T value) {
215 static_assert(::std::is_same<T, EmphasisProto>::value ||
216 ::std::is_integral<T>::value,
217 "Incorrect type passed to EmphasisProto_Name().");
218 return EmphasisProto_Name(static_cast<EmphasisProto>(value));
219}
220template <>
221inline const ::std::string& EmphasisProto_Name(EmphasisProto value) {
222 return ::google::protobuf::internal::NameOfDenseEnum<EmphasisProto_descriptor, 0, 5>(
223 static_cast<int>(value));
224}
226 ::absl::string_view name, EmphasisProto* PROTOBUF_NONNULL value) {
227 return ::google::protobuf::internal::ParseNamedEnum<EmphasisProto>(EmphasisProto_descriptor(), name,
228 value);
229}
230
231// ===================================================================
232
233
234// -------------------------------------------------------------------
235
236class OR_PROTO_DLL StrictnessProto final : public ::google::protobuf::Message
237/* @@protoc_insertion_point(class_definition:operations_research.math_opt.StrictnessProto) */ {
238 public:
239 inline StrictnessProto() : StrictnessProto(nullptr) {}
240 ~StrictnessProto() PROTOBUF_FINAL;
242#if defined(PROTOBUF_CUSTOM_VTABLE)
243 void operator delete(StrictnessProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
244 SharedDtor(*msg);
245 ::google::protobuf::internal::SizedDelete(msg, sizeof(StrictnessProto));
246 }
247#endif
248
249 template <typename = void>
250 explicit PROTOBUF_CONSTEXPR StrictnessProto(::google::protobuf::internal::ConstantInitialized);
251
252 inline StrictnessProto(const StrictnessProto& from) : StrictnessProto(nullptr, from) {}
253 inline StrictnessProto(StrictnessProto&& from) noexcept
254 : StrictnessProto(nullptr, ::std::move(from)) {}
256 CopyFrom(from);
257 return *this;
258 }
259 inline StrictnessProto& operator=(StrictnessProto&& from) noexcept {
260 if (this == &from) return *this;
261 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
262 InternalSwap(&from);
263 } else {
264 CopyFrom(from);
265 }
266 return *this;
267 }
268
269 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
270 ABSL_ATTRIBUTE_LIFETIME_BOUND {
271 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
272 }
273 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
274 ABSL_ATTRIBUTE_LIFETIME_BOUND {
275 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
276 }
277
278 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
279 return GetDescriptor();
281 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
282 return default_instance().GetMetadata().descriptor;
284 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
285 return default_instance().GetMetadata().reflection;
287 static const StrictnessProto& default_instance() {
288 return *reinterpret_cast<const StrictnessProto*>(
290 }
291 static constexpr int kIndexInFileMessages = 0;
292 friend void swap(StrictnessProto& a, StrictnessProto& b) { a.Swap(&b); }
293 inline void Swap(StrictnessProto* PROTOBUF_NONNULL other) {
294 if (other == this) return;
295 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
296 InternalSwap(other);
297 } else {
298 ::google::protobuf::internal::GenericSwap(this, other);
299 }
300 }
301 void UnsafeArenaSwap(StrictnessProto* PROTOBUF_NONNULL other) {
302 if (other == this) return;
303 ABSL_DCHECK(GetArena() == other->GetArena());
304 InternalSwap(other);
305 }
306
307 // implements Message ----------------------------------------------
308
309 StrictnessProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
310 return ::google::protobuf::Message::DefaultConstruct<StrictnessProto>(arena);
312 using ::google::protobuf::Message::CopyFrom;
313 void CopyFrom(const StrictnessProto& from);
314 using ::google::protobuf::Message::MergeFrom;
315 void MergeFrom(const StrictnessProto& from) { StrictnessProto::MergeImpl(*this, from); }
316
317 private:
318 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
319 const ::google::protobuf::MessageLite& from_msg);
320
321 public:
322 bool IsInitialized() const {
323 return true;
325 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
326 #if defined(PROTOBUF_CUSTOM_VTABLE)
327 private:
328 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
329 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
330 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
331 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
332
333 public:
334 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
335 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
336 ::uint8_t* PROTOBUF_NONNULL target,
337 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
338 return _InternalSerialize(*this, target, stream);
339 }
340 #else // PROTOBUF_CUSTOM_VTABLE
341 ::size_t ByteSizeLong() const final;
342 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
343 ::uint8_t* PROTOBUF_NONNULL target,
344 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
345 #endif // PROTOBUF_CUSTOM_VTABLE
346 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
347
348 private:
349 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
350 static void SharedDtor(MessageLite& self);
351 void InternalSwap(StrictnessProto* PROTOBUF_NONNULL other);
352 private:
353 template <typename T>
354 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
355 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.StrictnessProto"; }
356
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
361 : StrictnessProto(arena) {
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 explicit SolverInitializerProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
548 SolverInitializerProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolverInitializerProto& from);
550 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolverInitializerProto&& from) noexcept
551 : SolverInitializerProto(arena) {
552 *this = ::std::move(from);
553 }
554 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
555 static void* PROTOBUF_NONNULL PlacementNew_(
556 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
557 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
558 static constexpr auto InternalNewImpl_();
559
560 public:
561 static constexpr auto InternalGenerateClassData_();
562
563 ::google::protobuf::Metadata GetMetadata() const;
564 // nested types ----------------------------------------------------
565
566 // accessors -------------------------------------------------------
567 enum : int {
568 kGurobiFieldNumber = 1,
569 kXpressFieldNumber = 3,
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 // .operations_research.math_opt.XpressInitializerProto xpress = 3;
587 bool has_xpress() const;
588 void clear_xpress() ;
589 const ::operations_research::math_opt::XpressInitializerProto& xpress() const;
595
596 private:
597 const ::operations_research::math_opt::XpressInitializerProto& _internal_xpress() const;
598 ::operations_research::math_opt::XpressInitializerProto* PROTOBUF_NONNULL _internal_mutable_xpress();
599
600 public:
601 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolverInitializerProto)
602 private:
603 class _Internal;
604 friend class ::google::protobuf::internal::TcParser;
605 static const ::google::protobuf::internal::TcParseTable<2, 2,
606 2, 0,
607 2>
608 _table_;
609
610 friend class ::google::protobuf::MessageLite;
611 friend class ::google::protobuf::Arena;
612 template <typename T>
613 friend class ::google::protobuf::Arena::InternalHelper;
614 using InternalArenaConstructable_ = void;
615 using DestructorSkippable_ = void;
616 struct Impl_ {
617 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
618 inline explicit Impl_(
619 ::google::protobuf::internal::InternalVisibility visibility,
620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
621 inline explicit Impl_(
622 ::google::protobuf::internal::InternalVisibility visibility,
623 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
624 const SolverInitializerProto& from_msg);
625 ::google::protobuf::internal::HasBits<1> _has_bits_;
626 ::google::protobuf::internal::CachedSize _cached_size_;
629 PROTOBUF_TSAN_DECLARE_MEMBER
630 };
631 union { Impl_ _impl_; };
632 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
633};
635OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_;
636// -------------------------------------------------------------------
637
638class OR_PROTO_DLL SolveParametersProto final : public ::google::protobuf::Message
639/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveParametersProto) */ {
640 public:
641 inline SolveParametersProto() : SolveParametersProto(nullptr) {}
642 ~SolveParametersProto() PROTOBUF_FINAL;
643
644#if defined(PROTOBUF_CUSTOM_VTABLE)
645 void operator delete(SolveParametersProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
646 SharedDtor(*msg);
647 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveParametersProto));
648 }
649#endif
650
651 template <typename = void>
652 explicit PROTOBUF_CONSTEXPR SolveParametersProto(::google::protobuf::internal::ConstantInitialized);
653
654 inline SolveParametersProto(const SolveParametersProto& from) : SolveParametersProto(nullptr, from) {}
655 inline SolveParametersProto(SolveParametersProto&& from) noexcept
656 : SolveParametersProto(nullptr, ::std::move(from)) {}
657 inline SolveParametersProto& operator=(const SolveParametersProto& from) {
658 CopyFrom(from);
659 return *this;
660 }
662 if (this == &from) return *this;
663 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
664 InternalSwap(&from);
665 } else {
666 CopyFrom(from);
667 }
668 return *this;
669 }
670
671 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
672 ABSL_ATTRIBUTE_LIFETIME_BOUND {
673 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
674 }
675 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
676 ABSL_ATTRIBUTE_LIFETIME_BOUND {
677 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
678 }
680 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
681 return GetDescriptor();
682 }
683 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
684 return default_instance().GetMetadata().descriptor;
685 }
686 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
687 return default_instance().GetMetadata().reflection;
688 }
689 static const SolveParametersProto& default_instance() {
690 return *reinterpret_cast<const SolveParametersProto*>(
692 }
693 static constexpr int kIndexInFileMessages = 2;
694 friend void swap(SolveParametersProto& a, SolveParametersProto& b) { a.Swap(&b); }
695 inline void Swap(SolveParametersProto* PROTOBUF_NONNULL other) {
696 if (other == this) return;
697 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
698 InternalSwap(other);
699 } else {
700 ::google::protobuf::internal::GenericSwap(this, other);
701 }
702 }
703 void UnsafeArenaSwap(SolveParametersProto* PROTOBUF_NONNULL other) {
704 if (other == this) return;
705 ABSL_DCHECK(GetArena() == other->GetArena());
706 InternalSwap(other);
708
709 // implements Message ----------------------------------------------
710
711 SolveParametersProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
712 return ::google::protobuf::Message::DefaultConstruct<SolveParametersProto>(arena);
713 }
714 using ::google::protobuf::Message::CopyFrom;
716 using ::google::protobuf::Message::MergeFrom;
717 void MergeFrom(const SolveParametersProto& from) { SolveParametersProto::MergeImpl(*this, from); }
718
719 private:
720 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
721 const ::google::protobuf::MessageLite& from_msg);
722
723 public:
724 bool IsInitialized() const {
725 return true;
726 }
727 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
728 #if defined(PROTOBUF_CUSTOM_VTABLE)
729 private:
730 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
731 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
732 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
733 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
734
735 public:
736 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
737 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
738 ::uint8_t* PROTOBUF_NONNULL target,
739 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
740 return _InternalSerialize(*this, target, stream);
741 }
742 #else // PROTOBUF_CUSTOM_VTABLE
743 ::size_t ByteSizeLong() const final;
744 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
745 ::uint8_t* PROTOBUF_NONNULL target,
746 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
747 #endif // PROTOBUF_CUSTOM_VTABLE
748 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
749
750 private:
751 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
752 static void SharedDtor(MessageLite& self);
753 void InternalSwap(SolveParametersProto* PROTOBUF_NONNULL other);
754 private:
755 template <typename T>
756 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
757 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveParametersProto"; }
758
759 explicit SolveParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
760 SolveParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveParametersProto& from);
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveParametersProto&& from) noexcept
763 : SolveParametersProto(arena) {
764 *this = ::std::move(from);
765 }
766 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
767 static void* PROTOBUF_NONNULL PlacementNew_(
768 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
769 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
770 static constexpr auto InternalNewImpl_();
771
772 public:
773 static constexpr auto InternalGenerateClassData_();
774
775 ::google::protobuf::Metadata GetMetadata() const;
776 // nested types ----------------------------------------------------
777
778 // accessors -------------------------------------------------------
779 enum : int {
780 kTimeLimitFieldNumber = 1,
781 kGscipFieldNumber = 12,
782 kGurobiFieldNumber = 13,
783 kGlopFieldNumber = 14,
807 };
808 // .google.protobuf.Duration time_limit = 1;
809 bool has_time_limit() const;
811 const ::google::protobuf::Duration& time_limit() const;
812 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_time_limit();
813 ::google::protobuf::Duration* PROTOBUF_NONNULL mutable_time_limit();
814 void set_allocated_time_limit(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
815 void unsafe_arena_set_allocated_time_limit(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
816 ::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_time_limit();
817
818 private:
819 const ::google::protobuf::Duration& _internal_time_limit() const;
820 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_time_limit();
821
822 public:
823 // .operations_research.GScipParameters gscip = 12;
824 bool has_gscip() const;
825 void clear_gscip() ;
826 const ::operations_research::GScipParameters& gscip() const;
827 [[nodiscard]] ::operations_research::GScipParameters* PROTOBUF_NULLABLE release_gscip();
829 void set_allocated_gscip(::operations_research::GScipParameters* PROTOBUF_NULLABLE value);
832
833 private:
834 const ::operations_research::GScipParameters& _internal_gscip() const;
835 ::operations_research::GScipParameters* PROTOBUF_NONNULL _internal_mutable_gscip();
836
837 public:
838 // .operations_research.math_opt.GurobiParametersProto gurobi = 13;
839 bool has_gurobi() const;
840 void clear_gurobi() ;
841 const ::operations_research::math_opt::GurobiParametersProto& gurobi() const;
847
848 private:
849 const ::operations_research::math_opt::GurobiParametersProto& _internal_gurobi() const;
850 ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL _internal_mutable_gurobi();
851
852 public:
853 // .operations_research.glop.GlopParameters glop = 14;
854 bool has_glop() const;
855 void clear_glop() ;
856 const ::operations_research::glop::GlopParameters& glop() const;
857 [[nodiscard]] ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE release_glop();
862
863 private:
864 const ::operations_research::glop::GlopParameters& _internal_glop() const;
865 ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL _internal_mutable_glop();
866
867 public:
868 // .operations_research.sat.SatParameters cp_sat = 15;
869 bool has_cp_sat() const;
870 void clear_cp_sat() ;
871 const ::operations_research::sat::SatParameters& cp_sat() const;
872 [[nodiscard]] ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE release_cp_sat();
877
878 private:
879 const ::operations_research::sat::SatParameters& _internal_cp_sat() const;
880 ::operations_research::sat::SatParameters* PROTOBUF_NONNULL _internal_mutable_cp_sat();
881
882 public:
883 // .operations_research.pdlp.PrimalDualHybridGradientParams pdlp = 16;
884 bool has_pdlp() const;
885 void clear_pdlp() ;
886 const ::operations_research::pdlp::PrimalDualHybridGradientParams& pdlp() const;
892
893 private:
894 const ::operations_research::pdlp::PrimalDualHybridGradientParams& _internal_pdlp() const;
895 ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL _internal_mutable_pdlp();
896
897 public:
898 // .operations_research.math_opt.OsqpSettingsProto osqp = 19;
899 bool has_osqp() const;
900 void clear_osqp() ;
901 const ::operations_research::math_opt::OsqpSettingsProto& osqp() const;
902 [[nodiscard]] ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE release_osqp();
907
908 private:
909 const ::operations_research::math_opt::OsqpSettingsProto& _internal_osqp() const;
910 ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL _internal_mutable_osqp();
911
912 public:
913 // .operations_research.math_opt.GlpkParametersProto glpk = 26;
914 bool has_glpk() const;
915 void clear_glpk() ;
916 const ::operations_research::math_opt::GlpkParametersProto& glpk() const;
922
923 private:
924 const ::operations_research::math_opt::GlpkParametersProto& _internal_glpk() const;
925 ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL _internal_mutable_glpk();
926
927 public:
928 // .operations_research.math_opt.HighsOptionsProto highs = 27;
929 bool has_highs() const;
930 void clear_highs() ;
931 const ::operations_research::math_opt::HighsOptionsProto& highs() const;
932 [[nodiscard]] ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE release_highs();
937
938 private:
939 const ::operations_research::math_opt::HighsOptionsProto& _internal_highs() const;
940 ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL _internal_mutable_highs();
941
942 public:
943 // .operations_research.math_opt.XpressParametersProto xpress = 28;
944 bool has_xpress() const;
945 void clear_xpress() ;
946 const ::operations_research::math_opt::XpressParametersProto& xpress() const;
952
953 private:
954 const ::operations_research::math_opt::XpressParametersProto& _internal_xpress() const;
955 ::operations_research::math_opt::XpressParametersProto* PROTOBUF_NONNULL _internal_mutable_xpress();
956
957 public:
958 // optional int64 iteration_limit = 2;
959 bool has_iteration_limit() const;
960 void clear_iteration_limit() ;
961 ::int64_t iteration_limit() const;
962 void set_iteration_limit(::int64_t value);
963
964 private:
965 ::int64_t _internal_iteration_limit() const;
966 void _internal_set_iteration_limit(::int64_t value);
967
968 public:
969 // bool enable_output = 3;
970 void clear_enable_output() ;
971 bool enable_output() const;
972 void set_enable_output(bool value);
973
974 private:
975 bool _internal_enable_output() const;
976 void _internal_set_enable_output(bool value);
977
978 public:
979 // optional int32 threads = 4;
980 bool has_threads() const;
981 void clear_threads() ;
982 ::int32_t threads() const;
983 void set_threads(::int32_t value);
984
985 private:
986 ::int32_t _internal_threads() const;
987 void _internal_set_threads(::int32_t value);
988
989 public:
990 // optional int32 random_seed = 5;
991 bool has_random_seed() const;
992 void clear_random_seed() ;
993 ::int32_t random_seed() const;
994 void set_random_seed(::int32_t value);
995
996 private:
997 ::int32_t _internal_random_seed() const;
998 void _internal_set_random_seed(::int32_t value);
999
1000 public:
1001 // .operations_research.math_opt.LPAlgorithmProto lp_algorithm = 6;
1002 void clear_lp_algorithm() ;
1005
1006 private:
1007 ::operations_research::math_opt::LPAlgorithmProto _internal_lp_algorithm() const;
1008 void _internal_set_lp_algorithm(::operations_research::math_opt::LPAlgorithmProto value);
1009
1010 public:
1011 // .operations_research.math_opt.EmphasisProto presolve = 7;
1012 void clear_presolve() ;
1015
1016 private:
1017 ::operations_research::math_opt::EmphasisProto _internal_presolve() const;
1018 void _internal_set_presolve(::operations_research::math_opt::EmphasisProto value);
1019
1020 public:
1021 // .operations_research.math_opt.EmphasisProto cuts = 8;
1022 void clear_cuts() ;
1025
1026 private:
1028 void _internal_set_cuts(::operations_research::math_opt::EmphasisProto value);
1029
1030 public:
1031 // .operations_research.math_opt.EmphasisProto heuristics = 9;
1032 void clear_heuristics() ;
1035
1036 private:
1037 ::operations_research::math_opt::EmphasisProto _internal_heuristics() const;
1038 void _internal_set_heuristics(::operations_research::math_opt::EmphasisProto value);
1039
1040 public:
1041 // .operations_research.math_opt.EmphasisProto scaling = 10;
1042 void clear_scaling() ;
1045
1046 private:
1047 ::operations_research::math_opt::EmphasisProto _internal_scaling() const;
1048 void _internal_set_scaling(::operations_research::math_opt::EmphasisProto value);
1049
1050 public:
1051 // optional double relative_gap_tolerance = 17;
1052 bool has_relative_gap_tolerance() const;
1054 double relative_gap_tolerance() const;
1055 void set_relative_gap_tolerance(double value);
1056
1057 private:
1058 double _internal_relative_gap_tolerance() const;
1059 void _internal_set_relative_gap_tolerance(double value);
1060
1061 public:
1062 // optional double absolute_gap_tolerance = 18;
1063 bool has_absolute_gap_tolerance() const;
1065 double absolute_gap_tolerance() const;
1066 void set_absolute_gap_tolerance(double value);
1067
1068 private:
1069 double _internal_absolute_gap_tolerance() const;
1070 void _internal_set_absolute_gap_tolerance(double value);
1071
1072 public:
1073 // optional double cutoff_limit = 20;
1074 bool has_cutoff_limit() const;
1075 void clear_cutoff_limit() ;
1076 double cutoff_limit() const;
1077 void set_cutoff_limit(double value);
1078
1079 private:
1080 double _internal_cutoff_limit() const;
1081 void _internal_set_cutoff_limit(double value);
1082
1083 public:
1084 // optional double objective_limit = 21;
1085 bool has_objective_limit() const;
1086 void clear_objective_limit() ;
1087 double objective_limit() const;
1088 void set_objective_limit(double value);
1089
1090 private:
1091 double _internal_objective_limit() const;
1092 void _internal_set_objective_limit(double value);
1093
1094 public:
1095 // optional double best_bound_limit = 22;
1096 bool has_best_bound_limit() const;
1097 void clear_best_bound_limit() ;
1098 double best_bound_limit() const;
1099 void set_best_bound_limit(double value);
1100
1101 private:
1102 double _internal_best_bound_limit() const;
1103 void _internal_set_best_bound_limit(double value);
1104
1105 public:
1106 // optional int64 node_limit = 24;
1107 bool has_node_limit() const;
1108 void clear_node_limit() ;
1109 ::int64_t node_limit() const;
1110 void set_node_limit(::int64_t value);
1111
1112 private:
1113 ::int64_t _internal_node_limit() const;
1114 void _internal_set_node_limit(::int64_t value);
1115
1116 public:
1117 // optional int32 solution_limit = 23;
1118 bool has_solution_limit() const;
1119 void clear_solution_limit() ;
1120 ::int32_t solution_limit() const;
1121 void set_solution_limit(::int32_t value);
1122
1123 private:
1124 ::int32_t _internal_solution_limit() const;
1125 void _internal_set_solution_limit(::int32_t value);
1126
1127 public:
1128 // optional int32 solution_pool_size = 25;
1129 bool has_solution_pool_size() const;
1131 ::int32_t solution_pool_size() const;
1132 void set_solution_pool_size(::int32_t value);
1133
1134 private:
1135 ::int32_t _internal_solution_pool_size() const;
1136 void _internal_set_solution_pool_size(::int32_t value);
1137
1138 public:
1139 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveParametersProto)
1140 private:
1141 class _Internal;
1142 friend class ::google::protobuf::internal::TcParser;
1143 static const ::google::protobuf::internal::TcParseTable<5, 27,
1144 10, 0,
1145 2>
1146 _table_;
1147
1148 friend class ::google::protobuf::MessageLite;
1149 friend class ::google::protobuf::Arena;
1150 template <typename T>
1151 friend class ::google::protobuf::Arena::InternalHelper;
1152 using InternalArenaConstructable_ = void;
1153 using DestructorSkippable_ = void;
1154 struct Impl_ {
1155 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1156 inline explicit Impl_(
1157 ::google::protobuf::internal::InternalVisibility visibility,
1158 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1159 inline explicit Impl_(
1160 ::google::protobuf::internal::InternalVisibility visibility,
1161 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1162 const SolveParametersProto& from_msg);
1163 ::google::protobuf::internal::HasBits<1> _has_bits_;
1164 ::google::protobuf::internal::CachedSize _cached_size_;
1165 ::google::protobuf::Duration* PROTOBUF_NULLABLE time_limit_;
1166 ::operations_research::GScipParameters* PROTOBUF_NULLABLE gscip_;
1168 ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE glop_;
1169 ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE cp_sat_;
1175 ::int64_t iteration_limit_;
1176 bool enable_output_;
1177 ::int32_t threads_;
1178 ::int32_t random_seed_;
1179 int lp_algorithm_;
1180 int presolve_;
1181 int cuts_;
1182 int heuristics_;
1183 int scaling_;
1184 double relative_gap_tolerance_;
1185 double absolute_gap_tolerance_;
1186 double cutoff_limit_;
1187 double objective_limit_;
1188 double best_bound_limit_;
1189 ::int64_t node_limit_;
1190 ::int32_t solution_limit_;
1191 ::int32_t solution_pool_size_;
1192 PROTOBUF_TSAN_DECLARE_MEMBER
1193 };
1194 union { Impl_ _impl_; };
1195 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
1196};
1197
1198OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_;
1200// ===================================================================
1201
1202
1203
1204
1205// ===================================================================
1206
1207
1208#ifdef __GNUC__
1209#pragma GCC diagnostic push
1210#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1211#endif // __GNUC__
1212// -------------------------------------------------------------------
1213
1214// StrictnessProto
1215
1216// bool bad_parameter = 1;
1218 ::google::protobuf::internal::TSanWrite(&_impl_);
1219 _impl_.bad_parameter_ = false;
1220 ClearHasBit(_impl_._has_bits_[0],
1221 0x00000001U);
1222}
1223inline bool StrictnessProto::bad_parameter() const {
1224 // @@protoc_insertion_point(field_get:operations_research.math_opt.StrictnessProto.bad_parameter)
1225 return _internal_bad_parameter();
1226}
1227inline void StrictnessProto::set_bad_parameter(bool value) {
1228 _internal_set_bad_parameter(value);
1229 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1230 // @@protoc_insertion_point(field_set:operations_research.math_opt.StrictnessProto.bad_parameter)
1231}
1232inline bool StrictnessProto::_internal_bad_parameter() const {
1233 ::google::protobuf::internal::TSanRead(&_impl_);
1234 return _impl_.bad_parameter_;
1235}
1236inline void StrictnessProto::_internal_set_bad_parameter(bool value) {
1237 ::google::protobuf::internal::TSanWrite(&_impl_);
1238 _impl_.bad_parameter_ = value;
1239}
1240
1241// -------------------------------------------------------------------
1242
1243// SolverInitializerProto
1244
1245// .operations_research.math_opt.GurobiInitializerProto gurobi = 1;
1246inline bool SolverInitializerProto::has_gurobi() const {
1247 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1248 PROTOBUF_ASSUME(!value || _impl_.gurobi_ != nullptr);
1249 return value;
1250}
1251inline const ::operations_research::math_opt::GurobiInitializerProto& SolverInitializerProto::_internal_gurobi() const {
1252 ::google::protobuf::internal::TSanRead(&_impl_);
1253 const ::operations_research::math_opt::GurobiInitializerProto* p = _impl_.gurobi_;
1255}
1256inline const ::operations_research::math_opt::GurobiInitializerProto& SolverInitializerProto::gurobi() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1257 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolverInitializerProto.gurobi)
1258 return _internal_gurobi();
1259}
1262 ::google::protobuf::internal::TSanWrite(&_impl_);
1263 if (GetArena() == nullptr) {
1264 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
1265 }
1266 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiInitializerProto*>(value);
1267 if (value != nullptr) {
1268 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1269 } else {
1270 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1271 }
1272 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolverInitializerProto.gurobi)
1273}
1274inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NULLABLE SolverInitializerProto::release_gurobi() {
1275 ::google::protobuf::internal::TSanWrite(&_impl_);
1276
1277 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1279 _impl_.gurobi_ = nullptr;
1280 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1281 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1282 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1283 if (GetArena() == nullptr) {
1284 delete old;
1285 }
1286 } else {
1287 if (GetArena() != nullptr) {
1288 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1289 }
1290 }
1291 return released;
1292}
1293inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NULLABLE SolverInitializerProto::unsafe_arena_release_gurobi() {
1294 ::google::protobuf::internal::TSanWrite(&_impl_);
1295 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolverInitializerProto.gurobi)
1296
1297 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1298 ::operations_research::math_opt::GurobiInitializerProto* temp = _impl_.gurobi_;
1299 _impl_.gurobi_ = nullptr;
1300 return temp;
1302inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::_internal_mutable_gurobi() {
1303 ::google::protobuf::internal::TSanWrite(&_impl_);
1304 if (_impl_.gurobi_ == nullptr) {
1305 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GurobiInitializerProto>(GetArena());
1306 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiInitializerProto*>(p);
1307 }
1308 return _impl_.gurobi_;
1309}
1310inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::mutable_gurobi()
1311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1312 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1313 ::operations_research::math_opt::GurobiInitializerProto* _msg = _internal_mutable_gurobi();
1314 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolverInitializerProto.gurobi)
1315 return _msg;
1316}
1317inline void SolverInitializerProto::set_allocated_gurobi(::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NULLABLE value) {
1318 ::google::protobuf::Arena* message_arena = GetArena();
1319 ::google::protobuf::internal::TSanWrite(&_impl_);
1320 if (message_arena == nullptr) {
1321 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
1322 }
1323
1324 if (value != nullptr) {
1325 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1326 if (message_arena != submessage_arena) {
1327 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1328 }
1329 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1330 } else {
1331 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1332 }
1333
1334 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiInitializerProto*>(value);
1335 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolverInitializerProto.gurobi)
1336}
1337
1338// .operations_research.math_opt.XpressInitializerProto xpress = 3;
1339inline bool SolverInitializerProto::has_xpress() const {
1340 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1341 PROTOBUF_ASSUME(!value || _impl_.xpress_ != nullptr);
1342 return value;
1343}
1344inline const ::operations_research::math_opt::XpressInitializerProto& SolverInitializerProto::_internal_xpress() const {
1345 ::google::protobuf::internal::TSanRead(&_impl_);
1346 const ::operations_research::math_opt::XpressInitializerProto* p = _impl_.xpress_;
1348}
1349inline const ::operations_research::math_opt::XpressInitializerProto& SolverInitializerProto::xpress() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1350 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolverInitializerProto.xpress)
1351 return _internal_xpress();
1352}
1355 ::google::protobuf::internal::TSanWrite(&_impl_);
1356 if (GetArena() == nullptr) {
1357 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.xpress_);
1358 }
1359 _impl_.xpress_ = reinterpret_cast<::operations_research::math_opt::XpressInitializerProto*>(value);
1360 if (value != nullptr) {
1361 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1362 } else {
1363 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1364 }
1365 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolverInitializerProto.xpress)
1366}
1367inline ::operations_research::math_opt::XpressInitializerProto* PROTOBUF_NULLABLE SolverInitializerProto::release_xpress() {
1368 ::google::protobuf::internal::TSanWrite(&_impl_);
1369
1370 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1372 _impl_.xpress_ = nullptr;
1373 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1374 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1375 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1376 if (GetArena() == nullptr) {
1377 delete old;
1378 }
1379 } else {
1380 if (GetArena() != nullptr) {
1381 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1382 }
1383 }
1384 return released;
1385}
1386inline ::operations_research::math_opt::XpressInitializerProto* PROTOBUF_NULLABLE SolverInitializerProto::unsafe_arena_release_xpress() {
1387 ::google::protobuf::internal::TSanWrite(&_impl_);
1388 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolverInitializerProto.xpress)
1389
1390 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1391 ::operations_research::math_opt::XpressInitializerProto* temp = _impl_.xpress_;
1392 _impl_.xpress_ = nullptr;
1393 return temp;
1395inline ::operations_research::math_opt::XpressInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::_internal_mutable_xpress() {
1396 ::google::protobuf::internal::TSanWrite(&_impl_);
1397 if (_impl_.xpress_ == nullptr) {
1398 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::XpressInitializerProto>(GetArena());
1399 _impl_.xpress_ = reinterpret_cast<::operations_research::math_opt::XpressInitializerProto*>(p);
1400 }
1401 return _impl_.xpress_;
1402}
1403inline ::operations_research::math_opt::XpressInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::mutable_xpress()
1404 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1405 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1406 ::operations_research::math_opt::XpressInitializerProto* _msg = _internal_mutable_xpress();
1407 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolverInitializerProto.xpress)
1408 return _msg;
1409}
1410inline void SolverInitializerProto::set_allocated_xpress(::operations_research::math_opt::XpressInitializerProto* PROTOBUF_NULLABLE value) {
1411 ::google::protobuf::Arena* message_arena = GetArena();
1412 ::google::protobuf::internal::TSanWrite(&_impl_);
1413 if (message_arena == nullptr) {
1414 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.xpress_);
1415 }
1416
1417 if (value != nullptr) {
1418 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1419 if (message_arena != submessage_arena) {
1420 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1421 }
1422 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1423 } else {
1424 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
1425 }
1426
1427 _impl_.xpress_ = reinterpret_cast<::operations_research::math_opt::XpressInitializerProto*>(value);
1428 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolverInitializerProto.xpress)
1429}
1430
1431// -------------------------------------------------------------------
1432
1433// SolveParametersProto
1434
1435// .google.protobuf.Duration time_limit = 1;
1436inline bool SolveParametersProto::has_time_limit() const {
1437 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1438 PROTOBUF_ASSUME(!value || _impl_.time_limit_ != nullptr);
1439 return value;
1440}
1441inline const ::google::protobuf::Duration& SolveParametersProto::_internal_time_limit() const {
1442 ::google::protobuf::internal::TSanRead(&_impl_);
1443 const ::google::protobuf::Duration* p = _impl_.time_limit_;
1444 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
1446inline const ::google::protobuf::Duration& SolveParametersProto::time_limit() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1447 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.time_limit)
1448 return _internal_time_limit();
1449}
1451 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1452 ::google::protobuf::internal::TSanWrite(&_impl_);
1453 if (GetArena() == nullptr) {
1454 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.time_limit_);
1456 _impl_.time_limit_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1457 if (value != nullptr) {
1458 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1459 } else {
1460 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1461 }
1462 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.time_limit)
1463}
1464inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveParametersProto::release_time_limit() {
1465 ::google::protobuf::internal::TSanWrite(&_impl_);
1466
1467 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1468 ::google::protobuf::Duration* released = _impl_.time_limit_;
1469 _impl_.time_limit_ = nullptr;
1470 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1471 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1472 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1473 if (GetArena() == nullptr) {
1474 delete old;
1475 }
1476 } else {
1477 if (GetArena() != nullptr) {
1478 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1479 }
1480 }
1481 return released;
1482}
1483inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_time_limit() {
1484 ::google::protobuf::internal::TSanWrite(&_impl_);
1485 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.time_limit)
1486
1487 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1488 ::google::protobuf::Duration* temp = _impl_.time_limit_;
1489 _impl_.time_limit_ = nullptr;
1490 return temp;
1491}
1492inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_time_limit() {
1493 ::google::protobuf::internal::TSanWrite(&_impl_);
1494 if (_impl_.time_limit_ == nullptr) {
1495 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1496 _impl_.time_limit_ = reinterpret_cast<::google::protobuf::Duration*>(p);
1497 }
1498 return _impl_.time_limit_;
1499}
1500inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveParametersProto::mutable_time_limit()
1501 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1502 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1503 ::google::protobuf::Duration* _msg = _internal_mutable_time_limit();
1504 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.time_limit)
1505 return _msg;
1506}
1507inline void SolveParametersProto::set_allocated_time_limit(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1508 ::google::protobuf::Arena* message_arena = GetArena();
1509 ::google::protobuf::internal::TSanWrite(&_impl_);
1510 if (message_arena == nullptr) {
1511 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.time_limit_);
1512 }
1513
1514 if (value != nullptr) {
1515 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1516 if (message_arena != submessage_arena) {
1517 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1518 }
1519 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1520 } else {
1521 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1522 }
1523
1524 _impl_.time_limit_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1525 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.time_limit)
1526}
1527
1528// optional int64 iteration_limit = 2;
1530 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
1531 return value;
1532}
1534 ::google::protobuf::internal::TSanWrite(&_impl_);
1535 _impl_.iteration_limit_ = ::int64_t{0};
1536 ClearHasBit(_impl_._has_bits_[0],
1537 0x00000400U);
1539inline ::int64_t SolveParametersProto::iteration_limit() const {
1540 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.iteration_limit)
1541 return _internal_iteration_limit();
1543inline void SolveParametersProto::set_iteration_limit(::int64_t value) {
1544 _internal_set_iteration_limit(value);
1545 SetHasBit(_impl_._has_bits_[0], 0x00000400U);
1546 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.iteration_limit)
1547}
1548inline ::int64_t SolveParametersProto::_internal_iteration_limit() const {
1549 ::google::protobuf::internal::TSanRead(&_impl_);
1550 return _impl_.iteration_limit_;
1551}
1552inline void SolveParametersProto::_internal_set_iteration_limit(::int64_t value) {
1553 ::google::protobuf::internal::TSanWrite(&_impl_);
1554 _impl_.iteration_limit_ = value;
1555}
1556
1557// optional int64 node_limit = 24;
1558inline bool SolveParametersProto::has_node_limit() const {
1559 bool value = CheckHasBit(_impl_._has_bits_[0], 0x01000000U);
1560 return value;
1561}
1563 ::google::protobuf::internal::TSanWrite(&_impl_);
1564 _impl_.node_limit_ = ::int64_t{0};
1565 ClearHasBit(_impl_._has_bits_[0],
1566 0x01000000U);
1568inline ::int64_t SolveParametersProto::node_limit() const {
1569 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.node_limit)
1570 return _internal_node_limit();
1572inline void SolveParametersProto::set_node_limit(::int64_t value) {
1573 _internal_set_node_limit(value);
1574 SetHasBit(_impl_._has_bits_[0], 0x01000000U);
1575 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.node_limit)
1576}
1577inline ::int64_t SolveParametersProto::_internal_node_limit() const {
1578 ::google::protobuf::internal::TSanRead(&_impl_);
1579 return _impl_.node_limit_;
1580}
1581inline void SolveParametersProto::_internal_set_node_limit(::int64_t value) {
1582 ::google::protobuf::internal::TSanWrite(&_impl_);
1583 _impl_.node_limit_ = value;
1584}
1585
1586// optional double cutoff_limit = 20;
1587inline bool SolveParametersProto::has_cutoff_limit() const {
1588 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00200000U);
1589 return value;
1590}
1592 ::google::protobuf::internal::TSanWrite(&_impl_);
1593 _impl_.cutoff_limit_ = 0;
1594 ClearHasBit(_impl_._has_bits_[0],
1595 0x00200000U);
1597inline double SolveParametersProto::cutoff_limit() const {
1598 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.cutoff_limit)
1599 return _internal_cutoff_limit();
1601inline void SolveParametersProto::set_cutoff_limit(double value) {
1602 _internal_set_cutoff_limit(value);
1603 SetHasBit(_impl_._has_bits_[0], 0x00200000U);
1604 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.cutoff_limit)
1605}
1606inline double SolveParametersProto::_internal_cutoff_limit() const {
1607 ::google::protobuf::internal::TSanRead(&_impl_);
1608 return _impl_.cutoff_limit_;
1609}
1610inline void SolveParametersProto::_internal_set_cutoff_limit(double value) {
1611 ::google::protobuf::internal::TSanWrite(&_impl_);
1612 _impl_.cutoff_limit_ = value;
1613}
1614
1615// optional double objective_limit = 21;
1617 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00400000U);
1618 return value;
1619}
1621 ::google::protobuf::internal::TSanWrite(&_impl_);
1622 _impl_.objective_limit_ = 0;
1623 ClearHasBit(_impl_._has_bits_[0],
1624 0x00400000U);
1626inline double SolveParametersProto::objective_limit() const {
1627 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.objective_limit)
1628 return _internal_objective_limit();
1630inline void SolveParametersProto::set_objective_limit(double value) {
1631 _internal_set_objective_limit(value);
1632 SetHasBit(_impl_._has_bits_[0], 0x00400000U);
1633 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.objective_limit)
1634}
1635inline double SolveParametersProto::_internal_objective_limit() const {
1636 ::google::protobuf::internal::TSanRead(&_impl_);
1637 return _impl_.objective_limit_;
1638}
1639inline void SolveParametersProto::_internal_set_objective_limit(double value) {
1640 ::google::protobuf::internal::TSanWrite(&_impl_);
1641 _impl_.objective_limit_ = value;
1642}
1643
1644// optional double best_bound_limit = 22;
1646 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00800000U);
1647 return value;
1648}
1650 ::google::protobuf::internal::TSanWrite(&_impl_);
1651 _impl_.best_bound_limit_ = 0;
1652 ClearHasBit(_impl_._has_bits_[0],
1653 0x00800000U);
1655inline double SolveParametersProto::best_bound_limit() const {
1656 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.best_bound_limit)
1657 return _internal_best_bound_limit();
1659inline void SolveParametersProto::set_best_bound_limit(double value) {
1660 _internal_set_best_bound_limit(value);
1661 SetHasBit(_impl_._has_bits_[0], 0x00800000U);
1662 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.best_bound_limit)
1663}
1664inline double SolveParametersProto::_internal_best_bound_limit() const {
1665 ::google::protobuf::internal::TSanRead(&_impl_);
1666 return _impl_.best_bound_limit_;
1667}
1668inline void SolveParametersProto::_internal_set_best_bound_limit(double value) {
1669 ::google::protobuf::internal::TSanWrite(&_impl_);
1670 _impl_.best_bound_limit_ = value;
1671}
1672
1673// optional int32 solution_limit = 23;
1674inline bool SolveParametersProto::has_solution_limit() const {
1675 bool value = CheckHasBit(_impl_._has_bits_[0], 0x02000000U);
1676 return value;
1677}
1679 ::google::protobuf::internal::TSanWrite(&_impl_);
1680 _impl_.solution_limit_ = 0;
1681 ClearHasBit(_impl_._has_bits_[0],
1682 0x02000000U);
1684inline ::int32_t SolveParametersProto::solution_limit() const {
1685 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.solution_limit)
1686 return _internal_solution_limit();
1688inline void SolveParametersProto::set_solution_limit(::int32_t value) {
1689 _internal_set_solution_limit(value);
1690 SetHasBit(_impl_._has_bits_[0], 0x02000000U);
1691 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.solution_limit)
1692}
1693inline ::int32_t SolveParametersProto::_internal_solution_limit() const {
1694 ::google::protobuf::internal::TSanRead(&_impl_);
1695 return _impl_.solution_limit_;
1696}
1697inline void SolveParametersProto::_internal_set_solution_limit(::int32_t value) {
1698 ::google::protobuf::internal::TSanWrite(&_impl_);
1699 _impl_.solution_limit_ = value;
1700}
1701
1702// bool enable_output = 3;
1704 ::google::protobuf::internal::TSanWrite(&_impl_);
1705 _impl_.enable_output_ = false;
1706 ClearHasBit(_impl_._has_bits_[0],
1707 0x00000800U);
1708}
1709inline bool SolveParametersProto::enable_output() const {
1710 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.enable_output)
1711 return _internal_enable_output();
1713inline void SolveParametersProto::set_enable_output(bool value) {
1714 _internal_set_enable_output(value);
1715 SetHasBit(_impl_._has_bits_[0], 0x00000800U);
1716 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.enable_output)
1717}
1718inline bool SolveParametersProto::_internal_enable_output() const {
1719 ::google::protobuf::internal::TSanRead(&_impl_);
1720 return _impl_.enable_output_;
1721}
1722inline void SolveParametersProto::_internal_set_enable_output(bool value) {
1723 ::google::protobuf::internal::TSanWrite(&_impl_);
1724 _impl_.enable_output_ = value;
1725}
1726
1727// optional int32 threads = 4;
1728inline bool SolveParametersProto::has_threads() const {
1729 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
1730 return value;
1731}
1733 ::google::protobuf::internal::TSanWrite(&_impl_);
1734 _impl_.threads_ = 0;
1735 ClearHasBit(_impl_._has_bits_[0],
1736 0x00001000U);
1738inline ::int32_t SolveParametersProto::threads() const {
1739 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.threads)
1740 return _internal_threads();
1742inline void SolveParametersProto::set_threads(::int32_t value) {
1743 _internal_set_threads(value);
1744 SetHasBit(_impl_._has_bits_[0], 0x00001000U);
1745 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.threads)
1746}
1747inline ::int32_t SolveParametersProto::_internal_threads() const {
1748 ::google::protobuf::internal::TSanRead(&_impl_);
1749 return _impl_.threads_;
1750}
1751inline void SolveParametersProto::_internal_set_threads(::int32_t value) {
1752 ::google::protobuf::internal::TSanWrite(&_impl_);
1753 _impl_.threads_ = value;
1754}
1755
1756// optional int32 random_seed = 5;
1757inline bool SolveParametersProto::has_random_seed() const {
1758 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00002000U);
1759 return value;
1760}
1762 ::google::protobuf::internal::TSanWrite(&_impl_);
1763 _impl_.random_seed_ = 0;
1764 ClearHasBit(_impl_._has_bits_[0],
1765 0x00002000U);
1767inline ::int32_t SolveParametersProto::random_seed() const {
1768 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.random_seed)
1769 return _internal_random_seed();
1771inline void SolveParametersProto::set_random_seed(::int32_t value) {
1772 _internal_set_random_seed(value);
1773 SetHasBit(_impl_._has_bits_[0], 0x00002000U);
1774 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.random_seed)
1775}
1776inline ::int32_t SolveParametersProto::_internal_random_seed() const {
1777 ::google::protobuf::internal::TSanRead(&_impl_);
1778 return _impl_.random_seed_;
1779}
1780inline void SolveParametersProto::_internal_set_random_seed(::int32_t value) {
1781 ::google::protobuf::internal::TSanWrite(&_impl_);
1782 _impl_.random_seed_ = value;
1783}
1784
1785// optional double absolute_gap_tolerance = 18;
1787 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00100000U);
1788 return value;
1789}
1791 ::google::protobuf::internal::TSanWrite(&_impl_);
1792 _impl_.absolute_gap_tolerance_ = 0;
1793 ClearHasBit(_impl_._has_bits_[0],
1794 0x00100000U);
1797 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.absolute_gap_tolerance)
1798 return _internal_absolute_gap_tolerance();
1800inline void SolveParametersProto::set_absolute_gap_tolerance(double value) {
1801 _internal_set_absolute_gap_tolerance(value);
1802 SetHasBit(_impl_._has_bits_[0], 0x00100000U);
1803 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.absolute_gap_tolerance)
1804}
1805inline double SolveParametersProto::_internal_absolute_gap_tolerance() const {
1806 ::google::protobuf::internal::TSanRead(&_impl_);
1807 return _impl_.absolute_gap_tolerance_;
1808}
1809inline void SolveParametersProto::_internal_set_absolute_gap_tolerance(double value) {
1810 ::google::protobuf::internal::TSanWrite(&_impl_);
1811 _impl_.absolute_gap_tolerance_ = value;
1812}
1813
1814// optional double relative_gap_tolerance = 17;
1816 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00080000U);
1817 return value;
1818}
1820 ::google::protobuf::internal::TSanWrite(&_impl_);
1821 _impl_.relative_gap_tolerance_ = 0;
1822 ClearHasBit(_impl_._has_bits_[0],
1823 0x00080000U);
1826 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.relative_gap_tolerance)
1827 return _internal_relative_gap_tolerance();
1829inline void SolveParametersProto::set_relative_gap_tolerance(double value) {
1830 _internal_set_relative_gap_tolerance(value);
1831 SetHasBit(_impl_._has_bits_[0], 0x00080000U);
1832 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.relative_gap_tolerance)
1833}
1834inline double SolveParametersProto::_internal_relative_gap_tolerance() const {
1835 ::google::protobuf::internal::TSanRead(&_impl_);
1836 return _impl_.relative_gap_tolerance_;
1837}
1838inline void SolveParametersProto::_internal_set_relative_gap_tolerance(double value) {
1839 ::google::protobuf::internal::TSanWrite(&_impl_);
1840 _impl_.relative_gap_tolerance_ = value;
1841}
1842
1843// optional int32 solution_pool_size = 25;
1845 bool value = CheckHasBit(_impl_._has_bits_[0], 0x04000000U);
1846 return value;
1847}
1849 ::google::protobuf::internal::TSanWrite(&_impl_);
1850 _impl_.solution_pool_size_ = 0;
1851 ClearHasBit(_impl_._has_bits_[0],
1852 0x04000000U);
1854inline ::int32_t SolveParametersProto::solution_pool_size() const {
1855 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.solution_pool_size)
1856 return _internal_solution_pool_size();
1858inline void SolveParametersProto::set_solution_pool_size(::int32_t value) {
1859 _internal_set_solution_pool_size(value);
1860 SetHasBit(_impl_._has_bits_[0], 0x04000000U);
1861 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.solution_pool_size)
1862}
1863inline ::int32_t SolveParametersProto::_internal_solution_pool_size() const {
1864 ::google::protobuf::internal::TSanRead(&_impl_);
1865 return _impl_.solution_pool_size_;
1866}
1867inline void SolveParametersProto::_internal_set_solution_pool_size(::int32_t value) {
1868 ::google::protobuf::internal::TSanWrite(&_impl_);
1869 _impl_.solution_pool_size_ = value;
1870}
1871
1872// .operations_research.math_opt.LPAlgorithmProto lp_algorithm = 6;
1874 ::google::protobuf::internal::TSanWrite(&_impl_);
1875 _impl_.lp_algorithm_ = 0;
1876 ClearHasBit(_impl_._has_bits_[0],
1877 0x00004000U);
1878}
1879inline ::operations_research::math_opt::LPAlgorithmProto SolveParametersProto::lp_algorithm() const {
1880 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.lp_algorithm)
1881 return _internal_lp_algorithm();
1884 _internal_set_lp_algorithm(value);
1885 SetHasBit(_impl_._has_bits_[0], 0x00004000U);
1886 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.lp_algorithm)
1887}
1888inline ::operations_research::math_opt::LPAlgorithmProto SolveParametersProto::_internal_lp_algorithm() const {
1889 ::google::protobuf::internal::TSanRead(&_impl_);
1890 return static_cast<::operations_research::math_opt::LPAlgorithmProto>(_impl_.lp_algorithm_);
1891}
1892inline void SolveParametersProto::_internal_set_lp_algorithm(::operations_research::math_opt::LPAlgorithmProto value) {
1893 ::google::protobuf::internal::TSanWrite(&_impl_);
1894 _impl_.lp_algorithm_ = value;
1895}
1896
1897// .operations_research.math_opt.EmphasisProto presolve = 7;
1899 ::google::protobuf::internal::TSanWrite(&_impl_);
1900 _impl_.presolve_ = 0;
1901 ClearHasBit(_impl_._has_bits_[0],
1902 0x00008000U);
1903}
1904inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::presolve() const {
1905 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.presolve)
1906 return _internal_presolve();
1909 _internal_set_presolve(value);
1910 SetHasBit(_impl_._has_bits_[0], 0x00008000U);
1911 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.presolve)
1912}
1913inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_presolve() const {
1914 ::google::protobuf::internal::TSanRead(&_impl_);
1915 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.presolve_);
1916}
1917inline void SolveParametersProto::_internal_set_presolve(::operations_research::math_opt::EmphasisProto value) {
1918 ::google::protobuf::internal::TSanWrite(&_impl_);
1919 _impl_.presolve_ = value;
1920}
1921
1922// .operations_research.math_opt.EmphasisProto cuts = 8;
1924 ::google::protobuf::internal::TSanWrite(&_impl_);
1925 _impl_.cuts_ = 0;
1926 ClearHasBit(_impl_._has_bits_[0],
1927 0x00010000U);
1928}
1929inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::cuts() const {
1930 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.cuts)
1931 return _internal_cuts();
1934 _internal_set_cuts(value);
1935 SetHasBit(_impl_._has_bits_[0], 0x00010000U);
1936 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.cuts)
1937}
1938inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_cuts() const {
1939 ::google::protobuf::internal::TSanRead(&_impl_);
1940 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.cuts_);
1941}
1942inline void SolveParametersProto::_internal_set_cuts(::operations_research::math_opt::EmphasisProto value) {
1943 ::google::protobuf::internal::TSanWrite(&_impl_);
1944 _impl_.cuts_ = value;
1945}
1946
1947// .operations_research.math_opt.EmphasisProto heuristics = 9;
1949 ::google::protobuf::internal::TSanWrite(&_impl_);
1950 _impl_.heuristics_ = 0;
1951 ClearHasBit(_impl_._has_bits_[0],
1952 0x00020000U);
1953}
1954inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::heuristics() const {
1955 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.heuristics)
1956 return _internal_heuristics();
1959 _internal_set_heuristics(value);
1960 SetHasBit(_impl_._has_bits_[0], 0x00020000U);
1961 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.heuristics)
1962}
1963inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_heuristics() const {
1964 ::google::protobuf::internal::TSanRead(&_impl_);
1965 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.heuristics_);
1966}
1967inline void SolveParametersProto::_internal_set_heuristics(::operations_research::math_opt::EmphasisProto value) {
1968 ::google::protobuf::internal::TSanWrite(&_impl_);
1969 _impl_.heuristics_ = value;
1970}
1971
1972// .operations_research.math_opt.EmphasisProto scaling = 10;
1974 ::google::protobuf::internal::TSanWrite(&_impl_);
1975 _impl_.scaling_ = 0;
1976 ClearHasBit(_impl_._has_bits_[0],
1977 0x00040000U);
1978}
1979inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::scaling() const {
1980 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.scaling)
1981 return _internal_scaling();
1984 _internal_set_scaling(value);
1985 SetHasBit(_impl_._has_bits_[0], 0x00040000U);
1986 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveParametersProto.scaling)
1987}
1988inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_scaling() const {
1989 ::google::protobuf::internal::TSanRead(&_impl_);
1990 return static_cast<::operations_research::math_opt::EmphasisProto>(_impl_.scaling_);
1991}
1992inline void SolveParametersProto::_internal_set_scaling(::operations_research::math_opt::EmphasisProto value) {
1993 ::google::protobuf::internal::TSanWrite(&_impl_);
1994 _impl_.scaling_ = value;
1995}
1996
1997// .operations_research.GScipParameters gscip = 12;
1998inline bool SolveParametersProto::has_gscip() const {
1999 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2000 PROTOBUF_ASSUME(!value || _impl_.gscip_ != nullptr);
2001 return value;
2002}
2003inline const ::operations_research::GScipParameters& SolveParametersProto::_internal_gscip() const {
2004 ::google::protobuf::internal::TSanRead(&_impl_);
2005 const ::operations_research::GScipParameters* p = _impl_.gscip_;
2006 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::GScipParameters&>(::operations_research::_GScipParameters_default_instance_);
2008inline const ::operations_research::GScipParameters& SolveParametersProto::gscip() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2009 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.gscip)
2010 return _internal_gscip();
2011}
2013 ::operations_research::GScipParameters* PROTOBUF_NULLABLE value) {
2014 ::google::protobuf::internal::TSanWrite(&_impl_);
2015 if (GetArena() == nullptr) {
2016 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gscip_);
2018 _impl_.gscip_ = reinterpret_cast<::operations_research::GScipParameters*>(value);
2019 if (value != nullptr) {
2020 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2021 } else {
2022 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2023 }
2024 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.gscip)
2025}
2026inline ::operations_research::GScipParameters* PROTOBUF_NULLABLE SolveParametersProto::release_gscip() {
2027 ::google::protobuf::internal::TSanWrite(&_impl_);
2028
2029 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2031 _impl_.gscip_ = nullptr;
2032 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2033 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2034 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2035 if (GetArena() == nullptr) {
2036 delete old;
2037 }
2038 } else {
2039 if (GetArena() != nullptr) {
2040 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2041 }
2042 }
2043 return released;
2044}
2045inline ::operations_research::GScipParameters* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_gscip() {
2046 ::google::protobuf::internal::TSanWrite(&_impl_);
2047 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.gscip)
2048
2049 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2050 ::operations_research::GScipParameters* temp = _impl_.gscip_;
2051 _impl_.gscip_ = nullptr;
2052 return temp;
2053}
2054inline ::operations_research::GScipParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_gscip() {
2055 ::google::protobuf::internal::TSanWrite(&_impl_);
2056 if (_impl_.gscip_ == nullptr) {
2057 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipParameters>(GetArena());
2058 _impl_.gscip_ = reinterpret_cast<::operations_research::GScipParameters*>(p);
2059 }
2060 return _impl_.gscip_;
2061}
2062inline ::operations_research::GScipParameters* PROTOBUF_NONNULL SolveParametersProto::mutable_gscip()
2063 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2064 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2065 ::operations_research::GScipParameters* _msg = _internal_mutable_gscip();
2066 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.gscip)
2067 return _msg;
2068}
2070 ::google::protobuf::Arena* message_arena = GetArena();
2071 ::google::protobuf::internal::TSanWrite(&_impl_);
2072 if (message_arena == nullptr) {
2073 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gscip_);
2074 }
2075
2076 if (value != nullptr) {
2077 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2078 if (message_arena != submessage_arena) {
2079 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2080 }
2081 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2082 } else {
2083 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2084 }
2085
2086 _impl_.gscip_ = reinterpret_cast<::operations_research::GScipParameters*>(value);
2087 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.gscip)
2088}
2089
2090// .operations_research.math_opt.GurobiParametersProto gurobi = 13;
2091inline bool SolveParametersProto::has_gurobi() const {
2092 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2093 PROTOBUF_ASSUME(!value || _impl_.gurobi_ != nullptr);
2094 return value;
2095}
2096inline const ::operations_research::math_opt::GurobiParametersProto& SolveParametersProto::_internal_gurobi() const {
2097 ::google::protobuf::internal::TSanRead(&_impl_);
2098 const ::operations_research::math_opt::GurobiParametersProto* p = _impl_.gurobi_;
2099 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::GurobiParametersProto&>(::operations_research::math_opt::_GurobiParametersProto_default_instance_);
2101inline const ::operations_research::math_opt::GurobiParametersProto& SolveParametersProto::gurobi() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2102 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.gurobi)
2103 return _internal_gurobi();
2104}
2107 ::google::protobuf::internal::TSanWrite(&_impl_);
2108 if (GetArena() == nullptr) {
2109 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
2111 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiParametersProto*>(value);
2112 if (value != nullptr) {
2113 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2114 } else {
2115 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2116 }
2117 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.gurobi)
2118}
2119inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NULLABLE SolveParametersProto::release_gurobi() {
2120 ::google::protobuf::internal::TSanWrite(&_impl_);
2121
2122 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2124 _impl_.gurobi_ = nullptr;
2125 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2126 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2127 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2128 if (GetArena() == nullptr) {
2129 delete old;
2130 }
2131 } else {
2132 if (GetArena() != nullptr) {
2133 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2134 }
2135 }
2136 return released;
2137}
2138inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_gurobi() {
2139 ::google::protobuf::internal::TSanWrite(&_impl_);
2140 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.gurobi)
2141
2142 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2143 ::operations_research::math_opt::GurobiParametersProto* temp = _impl_.gurobi_;
2144 _impl_.gurobi_ = nullptr;
2145 return temp;
2146}
2147inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_gurobi() {
2148 ::google::protobuf::internal::TSanWrite(&_impl_);
2149 if (_impl_.gurobi_ == nullptr) {
2150 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GurobiParametersProto>(GetArena());
2151 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiParametersProto*>(p);
2152 }
2153 return _impl_.gurobi_;
2154}
2155inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL SolveParametersProto::mutable_gurobi()
2156 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2157 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2158 ::operations_research::math_opt::GurobiParametersProto* _msg = _internal_mutable_gurobi();
2159 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.gurobi)
2160 return _msg;
2161}
2163 ::google::protobuf::Arena* message_arena = GetArena();
2164 ::google::protobuf::internal::TSanWrite(&_impl_);
2165 if (message_arena == nullptr) {
2166 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.gurobi_);
2167 }
2168
2169 if (value != nullptr) {
2170 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2171 if (message_arena != submessage_arena) {
2172 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2173 }
2174 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2175 } else {
2176 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2177 }
2178
2179 _impl_.gurobi_ = reinterpret_cast<::operations_research::math_opt::GurobiParametersProto*>(value);
2180 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.gurobi)
2181}
2182
2183// .operations_research.glop.GlopParameters glop = 14;
2184inline bool SolveParametersProto::has_glop() const {
2185 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
2186 PROTOBUF_ASSUME(!value || _impl_.glop_ != nullptr);
2187 return value;
2188}
2189inline const ::operations_research::glop::GlopParameters& SolveParametersProto::_internal_glop() const {
2190 ::google::protobuf::internal::TSanRead(&_impl_);
2191 const ::operations_research::glop::GlopParameters* p = _impl_.glop_;
2192 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::glop::GlopParameters&>(::operations_research::glop::_GlopParameters_default_instance_);
2194inline const ::operations_research::glop::GlopParameters& SolveParametersProto::glop() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2195 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.glop)
2196 return _internal_glop();
2197}
2199 ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE value) {
2200 ::google::protobuf::internal::TSanWrite(&_impl_);
2201 if (GetArena() == nullptr) {
2202 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glop_);
2204 _impl_.glop_ = reinterpret_cast<::operations_research::glop::GlopParameters*>(value);
2205 if (value != nullptr) {
2206 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2207 } else {
2208 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2209 }
2210 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.glop)
2211}
2212inline ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE SolveParametersProto::release_glop() {
2213 ::google::protobuf::internal::TSanWrite(&_impl_);
2214
2215 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2217 _impl_.glop_ = nullptr;
2218 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2219 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2220 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2221 if (GetArena() == nullptr) {
2222 delete old;
2223 }
2224 } else {
2225 if (GetArena() != nullptr) {
2226 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2227 }
2228 }
2229 return released;
2230}
2231inline ::operations_research::glop::GlopParameters* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_glop() {
2232 ::google::protobuf::internal::TSanWrite(&_impl_);
2233 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.glop)
2234
2235 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2236 ::operations_research::glop::GlopParameters* temp = _impl_.glop_;
2237 _impl_.glop_ = nullptr;
2238 return temp;
2239}
2240inline ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_glop() {
2241 ::google::protobuf::internal::TSanWrite(&_impl_);
2242 if (_impl_.glop_ == nullptr) {
2243 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::glop::GlopParameters>(GetArena());
2244 _impl_.glop_ = reinterpret_cast<::operations_research::glop::GlopParameters*>(p);
2245 }
2246 return _impl_.glop_;
2247}
2248inline ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL SolveParametersProto::mutable_glop()
2249 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2250 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2251 ::operations_research::glop::GlopParameters* _msg = _internal_mutable_glop();
2252 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.glop)
2253 return _msg;
2254}
2256 ::google::protobuf::Arena* message_arena = GetArena();
2257 ::google::protobuf::internal::TSanWrite(&_impl_);
2258 if (message_arena == nullptr) {
2259 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glop_);
2260 }
2261
2262 if (value != nullptr) {
2263 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2264 if (message_arena != submessage_arena) {
2265 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2266 }
2267 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2268 } else {
2269 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2270 }
2271
2272 _impl_.glop_ = reinterpret_cast<::operations_research::glop::GlopParameters*>(value);
2273 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.glop)
2274}
2275
2276// .operations_research.sat.SatParameters cp_sat = 15;
2277inline bool SolveParametersProto::has_cp_sat() const {
2278 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2279 PROTOBUF_ASSUME(!value || _impl_.cp_sat_ != nullptr);
2280 return value;
2281}
2282inline const ::operations_research::sat::SatParameters& SolveParametersProto::_internal_cp_sat() const {
2283 ::google::protobuf::internal::TSanRead(&_impl_);
2284 const ::operations_research::sat::SatParameters* p = _impl_.cp_sat_;
2285 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::sat::SatParameters&>(::operations_research::sat::_SatParameters_default_instance_);
2287inline const ::operations_research::sat::SatParameters& SolveParametersProto::cp_sat() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2288 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.cp_sat)
2289 return _internal_cp_sat();
2290}
2292 ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE value) {
2293 ::google::protobuf::internal::TSanWrite(&_impl_);
2294 if (GetArena() == nullptr) {
2295 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cp_sat_);
2297 _impl_.cp_sat_ = reinterpret_cast<::operations_research::sat::SatParameters*>(value);
2298 if (value != nullptr) {
2299 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2300 } else {
2301 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2302 }
2303 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.cp_sat)
2304}
2305inline ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE SolveParametersProto::release_cp_sat() {
2306 ::google::protobuf::internal::TSanWrite(&_impl_);
2307
2308 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2310 _impl_.cp_sat_ = nullptr;
2311 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2312 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2313 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2314 if (GetArena() == nullptr) {
2315 delete old;
2316 }
2317 } else {
2318 if (GetArena() != nullptr) {
2319 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2320 }
2321 }
2322 return released;
2323}
2324inline ::operations_research::sat::SatParameters* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_cp_sat() {
2325 ::google::protobuf::internal::TSanWrite(&_impl_);
2326 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.cp_sat)
2327
2328 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2329 ::operations_research::sat::SatParameters* temp = _impl_.cp_sat_;
2330 _impl_.cp_sat_ = nullptr;
2331 return temp;
2332}
2333inline ::operations_research::sat::SatParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_cp_sat() {
2334 ::google::protobuf::internal::TSanWrite(&_impl_);
2335 if (_impl_.cp_sat_ == nullptr) {
2336 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::sat::SatParameters>(GetArena());
2337 _impl_.cp_sat_ = reinterpret_cast<::operations_research::sat::SatParameters*>(p);
2338 }
2339 return _impl_.cp_sat_;
2340}
2341inline ::operations_research::sat::SatParameters* PROTOBUF_NONNULL SolveParametersProto::mutable_cp_sat()
2342 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2343 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2344 ::operations_research::sat::SatParameters* _msg = _internal_mutable_cp_sat();
2345 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.cp_sat)
2346 return _msg;
2347}
2349 ::google::protobuf::Arena* message_arena = GetArena();
2350 ::google::protobuf::internal::TSanWrite(&_impl_);
2351 if (message_arena == nullptr) {
2352 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cp_sat_);
2353 }
2354
2355 if (value != nullptr) {
2356 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2357 if (message_arena != submessage_arena) {
2358 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2359 }
2360 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2361 } else {
2362 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2363 }
2364
2365 _impl_.cp_sat_ = reinterpret_cast<::operations_research::sat::SatParameters*>(value);
2366 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.cp_sat)
2367}
2368
2369// .operations_research.pdlp.PrimalDualHybridGradientParams pdlp = 16;
2370inline bool SolveParametersProto::has_pdlp() const {
2371 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
2372 PROTOBUF_ASSUME(!value || _impl_.pdlp_ != nullptr);
2373 return value;
2374}
2375inline const ::operations_research::pdlp::PrimalDualHybridGradientParams& SolveParametersProto::_internal_pdlp() const {
2376 ::google::protobuf::internal::TSanRead(&_impl_);
2377 const ::operations_research::pdlp::PrimalDualHybridGradientParams* p = _impl_.pdlp_;
2378 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::pdlp::PrimalDualHybridGradientParams&>(::operations_research::pdlp::_PrimalDualHybridGradientParams_default_instance_);
2380inline const ::operations_research::pdlp::PrimalDualHybridGradientParams& SolveParametersProto::pdlp() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2381 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.pdlp)
2382 return _internal_pdlp();
2383}
2386 ::google::protobuf::internal::TSanWrite(&_impl_);
2387 if (GetArena() == nullptr) {
2388 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pdlp_);
2390 _impl_.pdlp_ = reinterpret_cast<::operations_research::pdlp::PrimalDualHybridGradientParams*>(value);
2391 if (value != nullptr) {
2392 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2393 } else {
2394 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
2395 }
2396 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.pdlp)
2397}
2398inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NULLABLE SolveParametersProto::release_pdlp() {
2399 ::google::protobuf::internal::TSanWrite(&_impl_);
2400
2401 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
2403 _impl_.pdlp_ = nullptr;
2404 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2405 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2406 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2407 if (GetArena() == nullptr) {
2408 delete old;
2409 }
2410 } else {
2411 if (GetArena() != nullptr) {
2412 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2413 }
2414 }
2415 return released;
2416}
2417inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_pdlp() {
2418 ::google::protobuf::internal::TSanWrite(&_impl_);
2419 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.pdlp)
2420
2421 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
2422 ::operations_research::pdlp::PrimalDualHybridGradientParams* temp = _impl_.pdlp_;
2423 _impl_.pdlp_ = nullptr;
2424 return temp;
2425}
2426inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_pdlp() {
2427 ::google::protobuf::internal::TSanWrite(&_impl_);
2428 if (_impl_.pdlp_ == nullptr) {
2429 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::PrimalDualHybridGradientParams>(GetArena());
2431 }
2432 return _impl_.pdlp_;
2433}
2434inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL SolveParametersProto::mutable_pdlp()
2435 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2436 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2437 ::operations_research::pdlp::PrimalDualHybridGradientParams* _msg = _internal_mutable_pdlp();
2438 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.pdlp)
2439 return _msg;
2440}
2442 ::google::protobuf::Arena* message_arena = GetArena();
2443 ::google::protobuf::internal::TSanWrite(&_impl_);
2444 if (message_arena == nullptr) {
2445 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pdlp_);
2446 }
2447
2448 if (value != nullptr) {
2449 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2450 if (message_arena != submessage_arena) {
2451 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2452 }
2453 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2454 } else {
2455 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
2456 }
2457
2458 _impl_.pdlp_ = reinterpret_cast<::operations_research::pdlp::PrimalDualHybridGradientParams*>(value);
2459 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.pdlp)
2460}
2461
2462// .operations_research.math_opt.OsqpSettingsProto osqp = 19;
2463inline bool SolveParametersProto::has_osqp() const {
2464 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
2465 PROTOBUF_ASSUME(!value || _impl_.osqp_ != nullptr);
2466 return value;
2467}
2468inline const ::operations_research::math_opt::OsqpSettingsProto& SolveParametersProto::_internal_osqp() const {
2469 ::google::protobuf::internal::TSanRead(&_impl_);
2470 const ::operations_research::math_opt::OsqpSettingsProto* p = _impl_.osqp_;
2471 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::OsqpSettingsProto&>(::operations_research::math_opt::_OsqpSettingsProto_default_instance_);
2473inline const ::operations_research::math_opt::OsqpSettingsProto& SolveParametersProto::osqp() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2474 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.osqp)
2475 return _internal_osqp();
2476}
2478 ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE value) {
2479 ::google::protobuf::internal::TSanWrite(&_impl_);
2480 if (GetArena() == nullptr) {
2481 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.osqp_);
2483 _impl_.osqp_ = reinterpret_cast<::operations_research::math_opt::OsqpSettingsProto*>(value);
2484 if (value != nullptr) {
2485 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2486 } else {
2487 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2488 }
2489 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.osqp)
2490}
2491inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE SolveParametersProto::release_osqp() {
2492 ::google::protobuf::internal::TSanWrite(&_impl_);
2493
2494 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2496 _impl_.osqp_ = nullptr;
2497 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2498 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2499 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2500 if (GetArena() == nullptr) {
2501 delete old;
2502 }
2503 } else {
2504 if (GetArena() != nullptr) {
2505 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2506 }
2507 }
2508 return released;
2509}
2510inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_osqp() {
2511 ::google::protobuf::internal::TSanWrite(&_impl_);
2512 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.osqp)
2513
2514 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2515 ::operations_research::math_opt::OsqpSettingsProto* temp = _impl_.osqp_;
2516 _impl_.osqp_ = nullptr;
2517 return temp;
2518}
2519inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_osqp() {
2520 ::google::protobuf::internal::TSanWrite(&_impl_);
2521 if (_impl_.osqp_ == nullptr) {
2522 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpSettingsProto>(GetArena());
2523 _impl_.osqp_ = reinterpret_cast<::operations_research::math_opt::OsqpSettingsProto*>(p);
2524 }
2525 return _impl_.osqp_;
2526}
2527inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL SolveParametersProto::mutable_osqp()
2528 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2529 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2530 ::operations_research::math_opt::OsqpSettingsProto* _msg = _internal_mutable_osqp();
2531 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.osqp)
2532 return _msg;
2533}
2535 ::google::protobuf::Arena* message_arena = GetArena();
2536 ::google::protobuf::internal::TSanWrite(&_impl_);
2537 if (message_arena == nullptr) {
2538 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.osqp_);
2539 }
2540
2541 if (value != nullptr) {
2542 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2543 if (message_arena != submessage_arena) {
2544 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2545 }
2546 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2547 } else {
2548 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
2549 }
2550
2551 _impl_.osqp_ = reinterpret_cast<::operations_research::math_opt::OsqpSettingsProto*>(value);
2552 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.osqp)
2553}
2554
2555// .operations_research.math_opt.GlpkParametersProto glpk = 26;
2556inline bool SolveParametersProto::has_glpk() const {
2557 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
2558 PROTOBUF_ASSUME(!value || _impl_.glpk_ != nullptr);
2559 return value;
2560}
2561inline const ::operations_research::math_opt::GlpkParametersProto& SolveParametersProto::_internal_glpk() const {
2562 ::google::protobuf::internal::TSanRead(&_impl_);
2563 const ::operations_research::math_opt::GlpkParametersProto* p = _impl_.glpk_;
2564 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::GlpkParametersProto&>(::operations_research::math_opt::_GlpkParametersProto_default_instance_);
2566inline const ::operations_research::math_opt::GlpkParametersProto& SolveParametersProto::glpk() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2567 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.glpk)
2568 return _internal_glpk();
2569}
2572 ::google::protobuf::internal::TSanWrite(&_impl_);
2573 if (GetArena() == nullptr) {
2574 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glpk_);
2576 _impl_.glpk_ = reinterpret_cast<::operations_research::math_opt::GlpkParametersProto*>(value);
2577 if (value != nullptr) {
2578 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
2579 } else {
2580 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
2581 }
2582 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.glpk)
2583}
2584inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NULLABLE SolveParametersProto::release_glpk() {
2585 ::google::protobuf::internal::TSanWrite(&_impl_);
2586
2587 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
2589 _impl_.glpk_ = nullptr;
2590 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2591 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2592 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2593 if (GetArena() == nullptr) {
2594 delete old;
2595 }
2596 } else {
2597 if (GetArena() != nullptr) {
2598 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2599 }
2600 }
2601 return released;
2602}
2603inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_glpk() {
2604 ::google::protobuf::internal::TSanWrite(&_impl_);
2605 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.glpk)
2606
2607 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
2608 ::operations_research::math_opt::GlpkParametersProto* temp = _impl_.glpk_;
2609 _impl_.glpk_ = nullptr;
2610 return temp;
2611}
2612inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_glpk() {
2613 ::google::protobuf::internal::TSanWrite(&_impl_);
2614 if (_impl_.glpk_ == nullptr) {
2615 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GlpkParametersProto>(GetArena());
2616 _impl_.glpk_ = reinterpret_cast<::operations_research::math_opt::GlpkParametersProto*>(p);
2617 }
2618 return _impl_.glpk_;
2619}
2620inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL SolveParametersProto::mutable_glpk()
2621 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2622 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
2623 ::operations_research::math_opt::GlpkParametersProto* _msg = _internal_mutable_glpk();
2624 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.glpk)
2625 return _msg;
2626}
2628 ::google::protobuf::Arena* message_arena = GetArena();
2629 ::google::protobuf::internal::TSanWrite(&_impl_);
2630 if (message_arena == nullptr) {
2631 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.glpk_);
2632 }
2633
2634 if (value != nullptr) {
2635 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2636 if (message_arena != submessage_arena) {
2637 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2638 }
2639 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
2640 } else {
2641 ClearHasBit(_impl_._has_bits_[0], 0x00000080U);
2642 }
2643
2644 _impl_.glpk_ = reinterpret_cast<::operations_research::math_opt::GlpkParametersProto*>(value);
2645 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.glpk)
2646}
2647
2648// .operations_research.math_opt.HighsOptionsProto highs = 27;
2649inline bool SolveParametersProto::has_highs() const {
2650 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
2651 PROTOBUF_ASSUME(!value || _impl_.highs_ != nullptr);
2652 return value;
2653}
2654inline const ::operations_research::math_opt::HighsOptionsProto& SolveParametersProto::_internal_highs() const {
2655 ::google::protobuf::internal::TSanRead(&_impl_);
2656 const ::operations_research::math_opt::HighsOptionsProto* p = _impl_.highs_;
2657 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::HighsOptionsProto&>(::operations_research::math_opt::_HighsOptionsProto_default_instance_);
2659inline const ::operations_research::math_opt::HighsOptionsProto& SolveParametersProto::highs() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2660 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.highs)
2661 return _internal_highs();
2662}
2664 ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE value) {
2665 ::google::protobuf::internal::TSanWrite(&_impl_);
2666 if (GetArena() == nullptr) {
2667 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.highs_);
2669 _impl_.highs_ = reinterpret_cast<::operations_research::math_opt::HighsOptionsProto*>(value);
2670 if (value != nullptr) {
2671 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
2672 } else {
2673 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
2674 }
2675 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.highs)
2676}
2677inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE SolveParametersProto::release_highs() {
2678 ::google::protobuf::internal::TSanWrite(&_impl_);
2679
2680 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
2682 _impl_.highs_ = nullptr;
2683 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2684 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2685 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2686 if (GetArena() == nullptr) {
2687 delete old;
2688 }
2689 } else {
2690 if (GetArena() != nullptr) {
2691 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2692 }
2693 }
2694 return released;
2695}
2696inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_highs() {
2697 ::google::protobuf::internal::TSanWrite(&_impl_);
2698 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.highs)
2699
2700 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
2701 ::operations_research::math_opt::HighsOptionsProto* temp = _impl_.highs_;
2702 _impl_.highs_ = nullptr;
2703 return temp;
2704}
2705inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_highs() {
2706 ::google::protobuf::internal::TSanWrite(&_impl_);
2707 if (_impl_.highs_ == nullptr) {
2708 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::HighsOptionsProto>(GetArena());
2709 _impl_.highs_ = reinterpret_cast<::operations_research::math_opt::HighsOptionsProto*>(p);
2710 }
2711 return _impl_.highs_;
2712}
2713inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL SolveParametersProto::mutable_highs()
2714 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2715 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
2716 ::operations_research::math_opt::HighsOptionsProto* _msg = _internal_mutable_highs();
2717 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.highs)
2718 return _msg;
2719}
2721 ::google::protobuf::Arena* message_arena = GetArena();
2722 ::google::protobuf::internal::TSanWrite(&_impl_);
2723 if (message_arena == nullptr) {
2724 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.highs_);
2725 }
2726
2727 if (value != nullptr) {
2728 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2729 if (message_arena != submessage_arena) {
2730 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2731 }
2732 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
2733 } else {
2734 ClearHasBit(_impl_._has_bits_[0], 0x00000100U);
2735 }
2736
2737 _impl_.highs_ = reinterpret_cast<::operations_research::math_opt::HighsOptionsProto*>(value);
2738 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.highs)
2739}
2740
2741// .operations_research.math_opt.XpressParametersProto xpress = 28;
2742inline bool SolveParametersProto::has_xpress() const {
2743 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
2744 PROTOBUF_ASSUME(!value || _impl_.xpress_ != nullptr);
2745 return value;
2746}
2747inline const ::operations_research::math_opt::XpressParametersProto& SolveParametersProto::_internal_xpress() const {
2748 ::google::protobuf::internal::TSanRead(&_impl_);
2749 const ::operations_research::math_opt::XpressParametersProto* p = _impl_.xpress_;
2750 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::XpressParametersProto&>(::operations_research::math_opt::_XpressParametersProto_default_instance_);
2752inline const ::operations_research::math_opt::XpressParametersProto& SolveParametersProto::xpress() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2753 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveParametersProto.xpress)
2754 return _internal_xpress();
2755}
2758 ::google::protobuf::internal::TSanWrite(&_impl_);
2759 if (GetArena() == nullptr) {
2760 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.xpress_);
2762 _impl_.xpress_ = reinterpret_cast<::operations_research::math_opt::XpressParametersProto*>(value);
2763 if (value != nullptr) {
2764 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
2765 } else {
2766 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
2767 }
2768 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveParametersProto.xpress)
2769}
2770inline ::operations_research::math_opt::XpressParametersProto* PROTOBUF_NULLABLE SolveParametersProto::release_xpress() {
2771 ::google::protobuf::internal::TSanWrite(&_impl_);
2772
2773 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
2775 _impl_.xpress_ = nullptr;
2776 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2777 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2778 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2779 if (GetArena() == nullptr) {
2780 delete old;
2781 }
2782 } else {
2783 if (GetArena() != nullptr) {
2784 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2785 }
2786 }
2787 return released;
2788}
2789inline ::operations_research::math_opt::XpressParametersProto* PROTOBUF_NULLABLE SolveParametersProto::unsafe_arena_release_xpress() {
2790 ::google::protobuf::internal::TSanWrite(&_impl_);
2791 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveParametersProto.xpress)
2792
2793 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
2794 ::operations_research::math_opt::XpressParametersProto* temp = _impl_.xpress_;
2795 _impl_.xpress_ = nullptr;
2796 return temp;
2797}
2798inline ::operations_research::math_opt::XpressParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_xpress() {
2799 ::google::protobuf::internal::TSanWrite(&_impl_);
2800 if (_impl_.xpress_ == nullptr) {
2801 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::XpressParametersProto>(GetArena());
2802 _impl_.xpress_ = reinterpret_cast<::operations_research::math_opt::XpressParametersProto*>(p);
2803 }
2804 return _impl_.xpress_;
2805}
2806inline ::operations_research::math_opt::XpressParametersProto* PROTOBUF_NONNULL SolveParametersProto::mutable_xpress()
2807 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2808 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
2809 ::operations_research::math_opt::XpressParametersProto* _msg = _internal_mutable_xpress();
2810 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveParametersProto.xpress)
2811 return _msg;
2812}
2814 ::google::protobuf::Arena* message_arena = GetArena();
2815 ::google::protobuf::internal::TSanWrite(&_impl_);
2816 if (message_arena == nullptr) {
2817 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.xpress_);
2818 }
2819
2820 if (value != nullptr) {
2821 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2822 if (message_arena != submessage_arena) {
2823 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2824 }
2825 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
2826 } else {
2827 ClearHasBit(_impl_._has_bits_[0], 0x00000200U);
2828 }
2829
2830 _impl_.xpress_ = reinterpret_cast<::operations_research::math_opt::XpressParametersProto*>(value);
2831 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveParametersProto.xpress)
2832}
2833
2834#ifdef __GNUC__
2835#pragma GCC diagnostic pop
2836#endif // __GNUC__
2837
2838// @@protoc_insertion_point(namespace_scope)
2839} // namespace math_opt
2840} // namespace operations_research
2841
2842
2843namespace google {
2844namespace protobuf {
2845
2846template <>
2847struct is_proto_enum<::operations_research::math_opt::SolverTypeProto> : std::true_type {};
2848template <>
2849inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::SolverTypeProto>() {
2850 return ::operations_research::math_opt::SolverTypeProto_descriptor();
2851}
2852template <>
2853struct is_proto_enum<::operations_research::math_opt::LPAlgorithmProto> : std::true_type {};
2854template <>
2855inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LPAlgorithmProto>() {
2856 return ::operations_research::math_opt::LPAlgorithmProto_descriptor();
2857}
2858template <>
2859struct is_proto_enum<::operations_research::math_opt::EmphasisProto> : std::true_type {};
2860template <>
2861inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::EmphasisProto>() {
2862 return ::operations_research::math_opt::EmphasisProto_descriptor();
2863}
2865} // namespace protobuf
2866} // namespace google
2867
2868// @@protoc_insertion_point(global_scope)
2869
2870#include "google/protobuf/port_undef.inc"
2871
2872#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
const ::operations_research::sat::SatParameters & cp_sat() const
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)
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NONNULL mutable_osqp()
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()
void unsafe_arena_set_allocated_xpress(::operations_research::math_opt::XpressParametersProto *PROTOBUF_NULLABLE value)
::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()
const ::operations_research::math_opt::XpressParametersProto & xpress() const
PROTOBUF_CONSTEXPR SolveParametersProto(::google::protobuf::internal::ConstantInitialized)
void unsafe_arena_set_allocated_gscip(::operations_research::GScipParameters *PROTOBUF_NULLABLE value)
void set_allocated_xpress(::operations_research::math_opt::XpressParametersProto *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE release_glpk()
::operations_research::math_opt::XpressParametersProto *PROTOBUF_NULLABLE unsafe_arena_release_xpress()
::operations_research::GScipParameters *PROTOBUF_NULLABLE release_gscip()
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)
::operations_research::math_opt::XpressParametersProto *PROTOBUF_NONNULL mutable_xpress()
::operations_research::math_opt::LPAlgorithmProto lp_algorithm() const
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)
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()
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)
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE release_highs()
SolveParametersProto & operator=(const SolveParametersProto &from)
::google::protobuf::Duration *PROTOBUF_NULLABLE release_time_limit()
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)
::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()
::operations_research::math_opt::XpressParametersProto *PROTOBUF_NULLABLE release_xpress()
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()
::operations_research::math_opt::EmphasisProto cuts() const
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NONNULL mutable_glpk()
::operations_research::math_opt::XpressInitializerProto *PROTOBUF_NONNULL mutable_xpress()
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()
::operations_research::math_opt::XpressInitializerProto *PROTOBUF_NULLABLE release_xpress()
::operations_research::math_opt::XpressInitializerProto *PROTOBUF_NULLABLE unsafe_arena_release_xpress()
const ::operations_research::math_opt::XpressInitializerProto & xpress() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void set_allocated_xpress(::operations_research::math_opt::XpressInitializerProto *PROTOBUF_NULLABLE value)
::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()
void unsafe_arena_set_allocated_xpress(::operations_research::math_opt::XpressInitializerProto *PROTOBUF_NULLABLE value)
friend class ::google::protobuf::MessageLite
void Swap(StrictnessProto *PROTOBUF_NONNULL other)
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)
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_
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 XpressParametersProtoDefaultTypeInternal _XpressParametersProto_default_instance_
Definition xpress.pb.cc:108
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 XpressInitializerProtoDefaultTypeInternal _XpressInitializerProto_default_instance_
Definition xpress.pb.cc:83
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_
OR-Tools root namespace.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GScipParametersDefaultTypeInternal _GScipParameters_default_instance_
Definition gscip.pb.cc:217