Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
result.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/result.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fmath_5fopt_2fresult_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fresult_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
38// @@protoc_insertion_point(includes)
39
40// Must be included last.
41#include "google/protobuf/port_def.inc"
42
43#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fresult_2eproto OR_PROTO_DLL
44
45namespace google {
46namespace protobuf {
47namespace internal {
48template <typename T>
49::absl::string_view GetAnyMessageName();
50} // namespace internal
51} // namespace protobuf
52} // namespace google
53
54// Internal implementation detail -- do not use these members.
56 static const ::uint32_t offsets[];
57};
58extern "C" {
59OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto;
60} // extern "C"
61namespace operations_research {
62namespace math_opt {
63enum FeasibilityStatusProto : int;
64OR_PROTO_DLL extern const uint32_t FeasibilityStatusProto_internal_data_[];
65enum LimitProto : int;
66OR_PROTO_DLL extern const uint32_t LimitProto_internal_data_[];
67enum TerminationReasonProto : int;
68OR_PROTO_DLL extern const uint32_t TerminationReasonProto_internal_data_[];
72OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_;
76OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_;
80OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_;
84OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_;
85class SolveStatsProto;
88OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_;
92OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull TerminationProto_class_data_;
93} // namespace math_opt
94} // namespace operations_research
95namespace google {
96namespace protobuf {
97template <>
98internal::EnumTraitsT<::operations_research::math_opt::FeasibilityStatusProto_internal_data_>
99 internal::EnumTraitsImpl::value<::operations_research::math_opt::FeasibilityStatusProto>;
100template <>
101internal::EnumTraitsT<::operations_research::math_opt::LimitProto_internal_data_>
102 internal::EnumTraitsImpl::value<::operations_research::math_opt::LimitProto>;
103template <>
104internal::EnumTraitsT<::operations_research::math_opt::TerminationReasonProto_internal_data_>
105 internal::EnumTraitsImpl::value<::operations_research::math_opt::TerminationReasonProto>;
106} // namespace protobuf
107} // namespace google
108
109namespace operations_research {
110namespace math_opt {
121
122OR_PROTO_DLL extern const uint32_t FeasibilityStatusProto_internal_data_[];
124 static_cast<FeasibilityStatusProto>(0);
126 static_cast<FeasibilityStatusProto>(3);
127inline bool FeasibilityStatusProto_IsValid(int value) {
128 return 0 <= value && value <= 3;
129}
130inline constexpr int FeasibilityStatusProto_ARRAYSIZE = 3 + 1;
131OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FeasibilityStatusProto_descriptor();
132template <typename T>
133const ::std::string& FeasibilityStatusProto_Name(T value) {
134 static_assert(::std::is_same<T, FeasibilityStatusProto>::value ||
135 ::std::is_integral<T>::value,
136 "Incorrect type passed to FeasibilityStatusProto_Name().");
137 return FeasibilityStatusProto_Name(static_cast<FeasibilityStatusProto>(value));
138}
139template <>
140inline const ::std::string& FeasibilityStatusProto_Name(FeasibilityStatusProto value) {
141 return ::google::protobuf::internal::NameOfDenseEnum<FeasibilityStatusProto_descriptor, 0, 3>(
142 static_cast<int>(value));
143}
145 ::absl::string_view name, FeasibilityStatusProto* PROTOBUF_NONNULL value) {
146 return ::google::protobuf::internal::ParseNamedEnum<FeasibilityStatusProto>(FeasibilityStatusProto_descriptor(), name,
147 value);
148}
165
166OR_PROTO_DLL extern const uint32_t TerminationReasonProto_internal_data_[];
168 static_cast<TerminationReasonProto>(0);
170 static_cast<TerminationReasonProto>(9);
171inline bool TerminationReasonProto_IsValid(int value) {
172 return 0 <= value && value <= 9;
173}
174inline constexpr int TerminationReasonProto_ARRAYSIZE = 9 + 1;
175OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL TerminationReasonProto_descriptor();
176template <typename T>
177const ::std::string& TerminationReasonProto_Name(T value) {
178 static_assert(::std::is_same<T, TerminationReasonProto>::value ||
179 ::std::is_integral<T>::value,
180 "Incorrect type passed to TerminationReasonProto_Name().");
181 return TerminationReasonProto_Name(static_cast<TerminationReasonProto>(value));
182}
183template <>
184inline const ::std::string& TerminationReasonProto_Name(TerminationReasonProto value) {
185 return ::google::protobuf::internal::NameOfDenseEnum<TerminationReasonProto_descriptor, 0, 9>(
186 static_cast<int>(value));
187}
189 ::absl::string_view name, TerminationReasonProto* PROTOBUF_NONNULL value) {
190 return ::google::protobuf::internal::ParseNamedEnum<TerminationReasonProto>(TerminationReasonProto_descriptor(), name,
191 value);
192}
212
213OR_PROTO_DLL extern const uint32_t LimitProto_internal_data_[];
214inline constexpr LimitProto LimitProto_MIN =
215 static_cast<LimitProto>(0);
216inline constexpr LimitProto LimitProto_MAX =
217 static_cast<LimitProto>(12);
218inline bool LimitProto_IsValid(int value) {
219 return 0 <= value && value <= 12;
220}
221inline constexpr int LimitProto_ARRAYSIZE = 12 + 1;
222OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LimitProto_descriptor();
223template <typename T>
224const ::std::string& LimitProto_Name(T value) {
225 static_assert(::std::is_same<T, LimitProto>::value ||
226 ::std::is_integral<T>::value,
227 "Incorrect type passed to LimitProto_Name().");
228 return LimitProto_Name(static_cast<LimitProto>(value));
229}
230template <>
231inline const ::std::string& LimitProto_Name(LimitProto value) {
232 return ::google::protobuf::internal::NameOfDenseEnum<LimitProto_descriptor, 0, 12>(
233 static_cast<int>(value));
234}
236 ::absl::string_view name, LimitProto* PROTOBUF_NONNULL value) {
237 return ::google::protobuf::internal::ParseNamedEnum<LimitProto>(LimitProto_descriptor(), name,
238 value);
239}
240
241// ===================================================================
242
243
244// -------------------------------------------------------------------
245
246class OR_PROTO_DLL ProblemStatusProto final : public ::google::protobuf::Message
247/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ProblemStatusProto) */ {
248 public:
249 inline ProblemStatusProto() : ProblemStatusProto(nullptr) {}
250 ~ProblemStatusProto() PROTOBUF_FINAL;
252#if defined(PROTOBUF_CUSTOM_VTABLE)
253 void operator delete(ProblemStatusProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
254 SharedDtor(*msg);
255 ::google::protobuf::internal::SizedDelete(msg, sizeof(ProblemStatusProto));
256 }
257#endif
258
259 template <typename = void>
260 explicit PROTOBUF_CONSTEXPR ProblemStatusProto(::google::protobuf::internal::ConstantInitialized);
261
262 inline ProblemStatusProto(const ProblemStatusProto& from) : ProblemStatusProto(nullptr, from) {}
263 inline ProblemStatusProto(ProblemStatusProto&& from) noexcept
264 : ProblemStatusProto(nullptr, ::std::move(from)) {}
266 CopyFrom(from);
267 return *this;
268 }
269 inline ProblemStatusProto& operator=(ProblemStatusProto&& from) noexcept {
270 if (this == &from) return *this;
271 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
272 InternalSwap(&from);
273 } else {
274 CopyFrom(from);
275 }
276 return *this;
277 }
278
279 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
280 ABSL_ATTRIBUTE_LIFETIME_BOUND {
281 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
282 }
283 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
284 ABSL_ATTRIBUTE_LIFETIME_BOUND {
285 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
286 }
287
288 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
289 return GetDescriptor();
291 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
292 return default_instance().GetMetadata().descriptor;
294 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
295 return default_instance().GetMetadata().reflection;
297 static const ProblemStatusProto& default_instance() {
298 return *reinterpret_cast<const ProblemStatusProto*>(
300 }
301 static constexpr int kIndexInFileMessages = 0;
302 friend void swap(ProblemStatusProto& a, ProblemStatusProto& b) { a.Swap(&b); }
303 inline void Swap(ProblemStatusProto* PROTOBUF_NONNULL other) {
304 if (other == this) return;
305 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
306 InternalSwap(other);
307 } else {
308 ::google::protobuf::internal::GenericSwap(this, other);
309 }
310 }
311 void UnsafeArenaSwap(ProblemStatusProto* PROTOBUF_NONNULL other) {
312 if (other == this) return;
313 ABSL_DCHECK(GetArena() == other->GetArena());
314 InternalSwap(other);
315 }
316
317 // implements Message ----------------------------------------------
318
319 ProblemStatusProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
320 return ::google::protobuf::Message::DefaultConstruct<ProblemStatusProto>(arena);
322 using ::google::protobuf::Message::CopyFrom;
323 void CopyFrom(const ProblemStatusProto& from);
324 using ::google::protobuf::Message::MergeFrom;
325 void MergeFrom(const ProblemStatusProto& from) { ProblemStatusProto::MergeImpl(*this, from); }
326
327 private:
328 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
329 const ::google::protobuf::MessageLite& from_msg);
330
331 public:
332 bool IsInitialized() const {
333 return true;
335 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
336 #if defined(PROTOBUF_CUSTOM_VTABLE)
337 private:
338 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
339 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
340 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
341 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
342
343 public:
344 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
345 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
346 ::uint8_t* PROTOBUF_NONNULL target,
347 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
348 return _InternalSerialize(*this, target, stream);
349 }
350 #else // PROTOBUF_CUSTOM_VTABLE
351 ::size_t ByteSizeLong() const final;
352 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
353 ::uint8_t* PROTOBUF_NONNULL target,
354 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
355 #endif // PROTOBUF_CUSTOM_VTABLE
356 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
357
358 private:
359 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
360 static void SharedDtor(MessageLite& self);
361 void InternalSwap(ProblemStatusProto* PROTOBUF_NONNULL other);
362 private:
363 template <typename T>
364 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
365 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ProblemStatusProto"; }
366
367 protected:
368 explicit ProblemStatusProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
369 ProblemStatusProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ProblemStatusProto& from);
371 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ProblemStatusProto&& from) noexcept
373 *this = ::std::move(from);
374 }
375 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
376 static void* PROTOBUF_NONNULL PlacementNew_(
377 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
378 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
379 static constexpr auto InternalNewImpl_();
380
381 public:
382 static constexpr auto InternalGenerateClassData_();
383
384 ::google::protobuf::Metadata GetMetadata() const;
385 // nested types ----------------------------------------------------
386
387 // accessors -------------------------------------------------------
388 enum : int {
389 kPrimalStatusFieldNumber = 1,
390 kDualStatusFieldNumber = 2,
392 };
393 // .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
394 void clear_primal_status() ;
397
398 private:
399 ::operations_research::math_opt::FeasibilityStatusProto _internal_primal_status() const;
400 void _internal_set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value);
401
402 public:
403 // .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
404 void clear_dual_status() ;
407
408 private:
410 void _internal_set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value);
411
412 public:
413 // bool primal_or_dual_infeasible = 3;
415 bool primal_or_dual_infeasible() const;
416 void set_primal_or_dual_infeasible(bool value);
417
418 private:
419 bool _internal_primal_or_dual_infeasible() const;
420 void _internal_set_primal_or_dual_infeasible(bool value);
421
422 public:
423 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ProblemStatusProto)
424 private:
425 class _Internal;
426 friend class ::google::protobuf::internal::TcParser;
427 static const ::google::protobuf::internal::TcParseTable<2, 3,
428 0, 0,
429 2>
430 _table_;
431
432 friend class ::google::protobuf::MessageLite;
433 friend class ::google::protobuf::Arena;
434 template <typename T>
435 friend class ::google::protobuf::Arena::InternalHelper;
436 using InternalArenaConstructable_ = void;
437 using DestructorSkippable_ = void;
438 struct Impl_ {
439 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
440 inline explicit Impl_(
441 ::google::protobuf::internal::InternalVisibility visibility,
442 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
443 inline explicit Impl_(
444 ::google::protobuf::internal::InternalVisibility visibility,
445 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
446 const ProblemStatusProto& from_msg);
447 ::google::protobuf::internal::HasBits<1> _has_bits_;
448 ::google::protobuf::internal::CachedSize _cached_size_;
449 int primal_status_;
450 int dual_status_;
451 bool primal_or_dual_infeasible_;
452 PROTOBUF_TSAN_DECLARE_MEMBER
453 };
454 union { Impl_ _impl_; };
455 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
458OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_;
459// -------------------------------------------------------------------
460
461class OR_PROTO_DLL ObjectiveBoundsProto final : public ::google::protobuf::Message
462/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ObjectiveBoundsProto) */ {
463 public:
465 ~ObjectiveBoundsProto() PROTOBUF_FINAL;
466
467#if defined(PROTOBUF_CUSTOM_VTABLE)
468 void operator delete(ObjectiveBoundsProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
469 SharedDtor(*msg);
470 ::google::protobuf::internal::SizedDelete(msg, sizeof(ObjectiveBoundsProto));
471 }
472#endif
473
474 template <typename = void>
475 explicit PROTOBUF_CONSTEXPR ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized);
476
477 inline ObjectiveBoundsProto(const ObjectiveBoundsProto& from) : ObjectiveBoundsProto(nullptr, from) {}
479 : ObjectiveBoundsProto(nullptr, ::std::move(from)) {}
481 CopyFrom(from);
482 return *this;
484 inline ObjectiveBoundsProto& operator=(ObjectiveBoundsProto&& from) noexcept {
485 if (this == &from) return *this;
486 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
487 InternalSwap(&from);
488 } else {
489 CopyFrom(from);
490 }
491 return *this;
492 }
493
494 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
495 ABSL_ATTRIBUTE_LIFETIME_BOUND {
496 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
498 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
499 ABSL_ATTRIBUTE_LIFETIME_BOUND {
500 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
502
503 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
504 return GetDescriptor();
505 }
506 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
507 return default_instance().GetMetadata().descriptor;
508 }
509 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
510 return default_instance().GetMetadata().reflection;
511 }
513 return *reinterpret_cast<const ObjectiveBoundsProto*>(
516 static constexpr int kIndexInFileMessages = 2;
517 friend void swap(ObjectiveBoundsProto& a, ObjectiveBoundsProto& b) { a.Swap(&b); }
518 inline void Swap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
519 if (other == this) return;
520 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
521 InternalSwap(other);
522 } else {
523 ::google::protobuf::internal::GenericSwap(this, other);
524 }
525 }
526 void UnsafeArenaSwap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
527 if (other == this) return;
528 ABSL_DCHECK(GetArena() == other->GetArena());
529 InternalSwap(other);
530 }
531
532 // implements Message ----------------------------------------------
533
534 ObjectiveBoundsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
535 return ::google::protobuf::Message::DefaultConstruct<ObjectiveBoundsProto>(arena);
536 }
537 using ::google::protobuf::Message::CopyFrom;
538 void CopyFrom(const ObjectiveBoundsProto& from);
539 using ::google::protobuf::Message::MergeFrom;
540 void MergeFrom(const ObjectiveBoundsProto& from) { ObjectiveBoundsProto::MergeImpl(*this, from); }
541
542 private:
543 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
544 const ::google::protobuf::MessageLite& from_msg);
545
546 public:
547 bool IsInitialized() const {
548 return true;
549 }
550 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
551 #if defined(PROTOBUF_CUSTOM_VTABLE)
552 private:
553 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
554 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
555 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
556 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
557
558 public:
559 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
560 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
561 ::uint8_t* PROTOBUF_NONNULL target,
562 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
563 return _InternalSerialize(*this, target, stream);
564 }
565 #else // PROTOBUF_CUSTOM_VTABLE
566 ::size_t ByteSizeLong() const final;
567 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
568 ::uint8_t* PROTOBUF_NONNULL target,
569 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
570 #endif // PROTOBUF_CUSTOM_VTABLE
571 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
572
573 private:
574 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
575 static void SharedDtor(MessageLite& self);
576 void InternalSwap(ObjectiveBoundsProto* PROTOBUF_NONNULL other);
577 private:
578 template <typename T>
579 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
580 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ObjectiveBoundsProto"; }
581
582 protected:
583 explicit ObjectiveBoundsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
584 ObjectiveBoundsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveBoundsProto& from);
586 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ObjectiveBoundsProto&& from) noexcept
587 : ObjectiveBoundsProto(arena) {
588 *this = ::std::move(from);
589 }
590 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
591 static void* PROTOBUF_NONNULL PlacementNew_(
592 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
593 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
594 static constexpr auto InternalNewImpl_();
595
596 public:
597 static constexpr auto InternalGenerateClassData_();
598
599 ::google::protobuf::Metadata GetMetadata() const;
600 // nested types ----------------------------------------------------
601
602 // accessors -------------------------------------------------------
603 enum : int {
604 kPrimalBoundFieldNumber = 2,
605 kDualBoundFieldNumber = 3,
606 };
607 // double primal_bound = 2;
609 double primal_bound() const;
610 void set_primal_bound(double value);
611
612 private:
613 double _internal_primal_bound() const;
614 void _internal_set_primal_bound(double value);
615
616 public:
617 // double dual_bound = 3;
618 void clear_dual_bound() ;
619 double dual_bound() const;
620 void set_dual_bound(double value);
621
622 private:
623 double _internal_dual_bound() const;
624 void _internal_set_dual_bound(double value);
625
626 public:
627 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ObjectiveBoundsProto)
628 private:
629 class _Internal;
630 friend class ::google::protobuf::internal::TcParser;
631 static const ::google::protobuf::internal::TcParseTable<1, 2,
632 0, 0,
633 2>
634 _table_;
635
636 friend class ::google::protobuf::MessageLite;
637 friend class ::google::protobuf::Arena;
638 template <typename T>
639 friend class ::google::protobuf::Arena::InternalHelper;
640 using InternalArenaConstructable_ = void;
641 using DestructorSkippable_ = void;
642 struct Impl_ {
643 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
644 inline explicit Impl_(
645 ::google::protobuf::internal::InternalVisibility visibility,
646 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
647 inline explicit Impl_(
648 ::google::protobuf::internal::InternalVisibility visibility,
649 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
650 const ObjectiveBoundsProto& from_msg);
651 ::google::protobuf::internal::HasBits<1> _has_bits_;
652 ::google::protobuf::internal::CachedSize _cached_size_;
653 double primal_bound_;
654 double dual_bound_;
655 PROTOBUF_TSAN_DECLARE_MEMBER
656 };
657 union { Impl_ _impl_; };
658 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
659};
661OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_;
662// -------------------------------------------------------------------
663
664class OR_PROTO_DLL TerminationProto final : public ::google::protobuf::Message
665/* @@protoc_insertion_point(class_definition:operations_research.math_opt.TerminationProto) */ {
666 public:
667 inline TerminationProto() : TerminationProto(nullptr) {}
668 ~TerminationProto() PROTOBUF_FINAL;
669
670#if defined(PROTOBUF_CUSTOM_VTABLE)
671 void operator delete(TerminationProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
672 SharedDtor(*msg);
673 ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminationProto));
674 }
675#endif
676
677 template <typename = void>
678 explicit PROTOBUF_CONSTEXPR TerminationProto(::google::protobuf::internal::ConstantInitialized);
679
680 inline TerminationProto(const TerminationProto& from) : TerminationProto(nullptr, from) {}
681 inline TerminationProto(TerminationProto&& from) noexcept
682 : TerminationProto(nullptr, ::std::move(from)) {}
683 inline TerminationProto& operator=(const TerminationProto& from) {
684 CopyFrom(from);
685 return *this;
686 }
687 inline TerminationProto& operator=(TerminationProto&& from) noexcept {
688 if (this == &from) return *this;
689 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
690 InternalSwap(&from);
691 } else {
692 CopyFrom(from);
693 }
694 return *this;
695 }
696
697 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
698 ABSL_ATTRIBUTE_LIFETIME_BOUND {
699 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
700 }
701 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
702 ABSL_ATTRIBUTE_LIFETIME_BOUND {
703 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
704 }
706 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
707 return GetDescriptor();
708 }
709 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
710 return default_instance().GetMetadata().descriptor;
711 }
712 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
713 return default_instance().GetMetadata().reflection;
714 }
715 static const TerminationProto& default_instance() {
716 return *reinterpret_cast<const TerminationProto*>(
718 }
719 static constexpr int kIndexInFileMessages = 3;
720 friend void swap(TerminationProto& a, TerminationProto& b) { a.Swap(&b); }
721 inline void Swap(TerminationProto* PROTOBUF_NONNULL other) {
722 if (other == this) return;
723 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
724 InternalSwap(other);
725 } else {
726 ::google::protobuf::internal::GenericSwap(this, other);
727 }
728 }
729 void UnsafeArenaSwap(TerminationProto* PROTOBUF_NONNULL other) {
730 if (other == this) return;
731 ABSL_DCHECK(GetArena() == other->GetArena());
732 InternalSwap(other);
734
735 // implements Message ----------------------------------------------
736
737 TerminationProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
738 return ::google::protobuf::Message::DefaultConstruct<TerminationProto>(arena);
739 }
740 using ::google::protobuf::Message::CopyFrom;
741 void CopyFrom(const TerminationProto& from);
742 using ::google::protobuf::Message::MergeFrom;
743 void MergeFrom(const TerminationProto& from) { TerminationProto::MergeImpl(*this, from); }
744
745 private:
746 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
747 const ::google::protobuf::MessageLite& from_msg);
748
749 public:
750 bool IsInitialized() const {
751 return true;
752 }
753 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
754 #if defined(PROTOBUF_CUSTOM_VTABLE)
755 private:
756 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
757 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
758 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
759 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
760
761 public:
762 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
763 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
764 ::uint8_t* PROTOBUF_NONNULL target,
765 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
766 return _InternalSerialize(*this, target, stream);
767 }
768 #else // PROTOBUF_CUSTOM_VTABLE
769 ::size_t ByteSizeLong() const final;
770 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
771 ::uint8_t* PROTOBUF_NONNULL target,
772 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
773 #endif // PROTOBUF_CUSTOM_VTABLE
774 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
775
776 private:
777 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
778 static void SharedDtor(MessageLite& self);
779 void InternalSwap(TerminationProto* PROTOBUF_NONNULL other);
780 private:
781 template <typename T>
782 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
783 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.TerminationProto"; }
784
785 protected:
786 explicit TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
787 TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TerminationProto& from);
789 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TerminationProto&& from) noexcept
790 : TerminationProto(arena) {
791 *this = ::std::move(from);
793 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
794 static void* PROTOBUF_NONNULL PlacementNew_(
795 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
796 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
797 static constexpr auto InternalNewImpl_();
798
799 public:
800 static constexpr auto InternalGenerateClassData_();
801
802 ::google::protobuf::Metadata GetMetadata() const;
803 // nested types ----------------------------------------------------
804
805 // accessors -------------------------------------------------------
806 enum : int {
807 kDetailFieldNumber = 3,
808 kProblemStatusFieldNumber = 4,
809 kObjectiveBoundsFieldNumber = 5,
810 kReasonFieldNumber = 1,
812 };
813 // string detail = 3;
815 const ::std::string& detail() const;
816 template <typename Arg_ = const ::std::string&, typename... Args_>
817 void set_detail(Arg_&& arg, Args_... args);
818 ::std::string* PROTOBUF_NONNULL mutable_detail();
819 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_detail();
820 void set_allocated_detail(::std::string* PROTOBUF_NULLABLE value);
822 private:
823 const ::std::string& _internal_detail() const;
824 PROTOBUF_ALWAYS_INLINE void _internal_set_detail(const ::std::string& value);
825 ::std::string* PROTOBUF_NONNULL _internal_mutable_detail();
826
827 public:
828 // .operations_research.math_opt.ProblemStatusProto problem_status = 4;
829 bool has_problem_status() const;
830 void clear_problem_status() ;
831 const ::operations_research::math_opt::ProblemStatusProto& problem_status() const;
837
838 private:
839 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status() const;
840 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL _internal_mutable_problem_status();
841
842 public:
843 // .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
844 bool has_objective_bounds() const;
846 const ::operations_research::math_opt::ObjectiveBoundsProto& objective_bounds() const;
852
853 private:
854 const ::operations_research::math_opt::ObjectiveBoundsProto& _internal_objective_bounds() const;
855 ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL _internal_mutable_objective_bounds();
856
857 public:
858 // .operations_research.math_opt.TerminationReasonProto reason = 1;
859 void clear_reason() ;
862
863 private:
865 void _internal_set_reason(::operations_research::math_opt::TerminationReasonProto value);
866
867 public:
868 // .operations_research.math_opt.LimitProto limit = 2;
869 void clear_limit() ;
872
873 private:
874 ::operations_research::math_opt::LimitProto _internal_limit() const;
875 void _internal_set_limit(::operations_research::math_opt::LimitProto value);
876
877 public:
878 // @@protoc_insertion_point(class_scope:operations_research.math_opt.TerminationProto)
879 private:
880 class _Internal;
881 friend class ::google::protobuf::internal::TcParser;
882 static const ::google::protobuf::internal::TcParseTable<3, 5,
883 2, 60,
884 2>
885 _table_;
886
887 friend class ::google::protobuf::MessageLite;
888 friend class ::google::protobuf::Arena;
889 template <typename T>
890 friend class ::google::protobuf::Arena::InternalHelper;
891 using InternalArenaConstructable_ = void;
892 using DestructorSkippable_ = void;
893 struct Impl_ {
894 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
895 inline explicit Impl_(
896 ::google::protobuf::internal::InternalVisibility visibility,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
898 inline explicit Impl_(
899 ::google::protobuf::internal::InternalVisibility visibility,
900 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
901 const TerminationProto& from_msg);
902 ::google::protobuf::internal::HasBits<1> _has_bits_;
903 ::google::protobuf::internal::CachedSize _cached_size_;
904 ::google::protobuf::internal::ArenaStringPtr detail_;
905 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE problem_status_;
906 ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NULLABLE objective_bounds_;
907 int reason_;
908 int limit_;
909 PROTOBUF_TSAN_DECLARE_MEMBER
910 };
911 union { Impl_ _impl_; };
912 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
913};
914
915OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull TerminationProto_class_data_;
916// -------------------------------------------------------------------
917
918class OR_PROTO_DLL SolveStatsProto final : public ::google::protobuf::Message
919/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveStatsProto) */ {
920 public:
921 inline SolveStatsProto() : SolveStatsProto(nullptr) {}
922 ~SolveStatsProto() PROTOBUF_FINAL;
924#if defined(PROTOBUF_CUSTOM_VTABLE)
925 void operator delete(SolveStatsProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
926 SharedDtor(*msg);
927 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveStatsProto));
928 }
929#endif
930
931 template <typename = void>
932 explicit PROTOBUF_CONSTEXPR SolveStatsProto(::google::protobuf::internal::ConstantInitialized);
933
934 inline SolveStatsProto(const SolveStatsProto& from) : SolveStatsProto(nullptr, from) {}
935 inline SolveStatsProto(SolveStatsProto&& from) noexcept
936 : SolveStatsProto(nullptr, ::std::move(from)) {}
938 CopyFrom(from);
939 return *this;
941 inline SolveStatsProto& operator=(SolveStatsProto&& from) noexcept {
942 if (this == &from) return *this;
943 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
944 InternalSwap(&from);
945 } else {
946 CopyFrom(from);
947 }
948 return *this;
949 }
950
951 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
953 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
954 }
955 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
957 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
958 }
959
960 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
961 return GetDescriptor();
962 }
963 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
964 return default_instance().GetMetadata().descriptor;
966 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
967 return default_instance().GetMetadata().reflection;
969 static const SolveStatsProto& default_instance() {
970 return *reinterpret_cast<const SolveStatsProto*>(
972 }
973 static constexpr int kIndexInFileMessages = 1;
974 friend void swap(SolveStatsProto& a, SolveStatsProto& b) { a.Swap(&b); }
975 inline void Swap(SolveStatsProto* PROTOBUF_NONNULL other) {
976 if (other == this) return;
977 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
978 InternalSwap(other);
979 } else {
980 ::google::protobuf::internal::GenericSwap(this, other);
981 }
982 }
983 void UnsafeArenaSwap(SolveStatsProto* PROTOBUF_NONNULL other) {
984 if (other == this) return;
985 ABSL_DCHECK(GetArena() == other->GetArena());
986 InternalSwap(other);
987 }
989 // implements Message ----------------------------------------------
990
991 SolveStatsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
992 return ::google::protobuf::Message::DefaultConstruct<SolveStatsProto>(arena);
993 }
994 using ::google::protobuf::Message::CopyFrom;
995 void CopyFrom(const SolveStatsProto& from);
996 using ::google::protobuf::Message::MergeFrom;
997 void MergeFrom(const SolveStatsProto& from) { SolveStatsProto::MergeImpl(*this, from); }
998
999 private:
1000 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1001 const ::google::protobuf::MessageLite& from_msg);
1003 public:
1004 bool IsInitialized() const {
1005 return true;
1006 }
1007 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1008 #if defined(PROTOBUF_CUSTOM_VTABLE)
1009 private:
1010 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1011 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1012 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1013 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1014
1015 public:
1016 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1017 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1018 ::uint8_t* PROTOBUF_NONNULL target,
1019 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1020 return _InternalSerialize(*this, target, stream);
1021 }
1022 #else // PROTOBUF_CUSTOM_VTABLE
1023 ::size_t ByteSizeLong() const final;
1024 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1025 ::uint8_t* PROTOBUF_NONNULL target,
1026 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1027 #endif // PROTOBUF_CUSTOM_VTABLE
1028 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1029
1030 private:
1031 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1032 static void SharedDtor(MessageLite& self);
1033 void InternalSwap(SolveStatsProto* PROTOBUF_NONNULL other);
1034 private:
1035 template <typename T>
1036 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1037 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveStatsProto"; }
1038
1039 protected:
1040 explicit SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1041 SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveStatsProto& from);
1043 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveStatsProto&& from) noexcept
1044 : SolveStatsProto(arena) {
1045 *this = ::std::move(from);
1046 }
1047 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1048 static void* PROTOBUF_NONNULL PlacementNew_(
1049 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1050 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1051 static constexpr auto InternalNewImpl_();
1052
1053 public:
1054 static constexpr auto InternalGenerateClassData_();
1055
1056 ::google::protobuf::Metadata GetMetadata() const;
1057 // nested types ----------------------------------------------------
1058
1059 // accessors -------------------------------------------------------
1060 enum : int {
1070 // .google.protobuf.Duration solve_time = 1;
1071 bool has_solve_time() const;
1073 const ::google::protobuf::Duration& solve_time() const;
1074 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_solve_time();
1075 ::google::protobuf::Duration* PROTOBUF_NONNULL mutable_solve_time();
1076 void set_allocated_solve_time(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1077 void unsafe_arena_set_allocated_solve_time(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1078 ::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_solve_time();
1079
1080 private:
1081 const ::google::protobuf::Duration& _internal_solve_time() const;
1082 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_solve_time();
1083
1084 public:
1085 // .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
1086 [[deprecated]] bool has_problem_status() const;
1087 [[deprecated]] void clear_problem_status() ;
1088 [[deprecated]] const ::operations_research::math_opt::ProblemStatusProto& problem_status() const;
1089 [[deprecated]] [[nodiscard]] ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE release_problem_status();
1091 [[deprecated]] void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE value);
1094
1095 private:
1096 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status() const;
1097 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL _internal_mutable_problem_status();
1098
1099 public:
1100 // double best_primal_bound = 2 [deprecated = true];
1101 [[deprecated]] void clear_best_primal_bound() ;
1102 [[deprecated]] double best_primal_bound() const;
1103 [[deprecated]] void set_best_primal_bound(double value);
1104
1105 private:
1106 double _internal_best_primal_bound() const;
1107 void _internal_set_best_primal_bound(double value);
1108
1109 public:
1110 // double best_dual_bound = 3 [deprecated = true];
1111 [[deprecated]] void clear_best_dual_bound() ;
1112 [[deprecated]] double best_dual_bound() const;
1113 [[deprecated]] void set_best_dual_bound(double value);
1114
1115 private:
1116 double _internal_best_dual_bound() const;
1117 void _internal_set_best_dual_bound(double value);
1118
1119 public:
1120 // int64 simplex_iterations = 5;
1122 ::int64_t simplex_iterations() const;
1123 void set_simplex_iterations(::int64_t value);
1124
1125 private:
1126 ::int64_t _internal_simplex_iterations() const;
1127 void _internal_set_simplex_iterations(::int64_t value);
1128
1129 public:
1130 // int64 barrier_iterations = 6;
1132 ::int64_t barrier_iterations() const;
1133 void set_barrier_iterations(::int64_t value);
1134
1135 private:
1136 ::int64_t _internal_barrier_iterations() const;
1137 void _internal_set_barrier_iterations(::int64_t value);
1138
1139 public:
1140 // int64 node_count = 7;
1141 void clear_node_count() ;
1142 ::int64_t node_count() const;
1143 void set_node_count(::int64_t value);
1144
1145 private:
1146 ::int64_t _internal_node_count() const;
1147 void _internal_set_node_count(::int64_t value);
1148
1149 public:
1150 // int64 first_order_iterations = 8;
1152 ::int64_t first_order_iterations() const;
1153 void set_first_order_iterations(::int64_t value);
1154
1155 private:
1156 ::int64_t _internal_first_order_iterations() const;
1157 void _internal_set_first_order_iterations(::int64_t value);
1158
1159 public:
1160 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveStatsProto)
1161 private:
1162 class _Internal;
1163 friend class ::google::protobuf::internal::TcParser;
1164 static const ::google::protobuf::internal::TcParseTable<3, 8,
1165 2, 0,
1166 2>
1167 _table_;
1169 friend class ::google::protobuf::MessageLite;
1170 friend class ::google::protobuf::Arena;
1171 template <typename T>
1172 friend class ::google::protobuf::Arena::InternalHelper;
1173 using InternalArenaConstructable_ = void;
1174 using DestructorSkippable_ = void;
1175 struct Impl_ {
1176 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1177 inline explicit Impl_(
1178 ::google::protobuf::internal::InternalVisibility visibility,
1179 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1180 inline explicit Impl_(
1181 ::google::protobuf::internal::InternalVisibility visibility,
1182 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1183 const SolveStatsProto& from_msg);
1184 ::google::protobuf::internal::HasBits<1> _has_bits_;
1185 ::google::protobuf::internal::CachedSize _cached_size_;
1186 ::google::protobuf::Duration* PROTOBUF_NULLABLE solve_time_;
1187 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE problem_status_;
1188 double best_primal_bound_;
1189 double best_dual_bound_;
1190 ::int64_t simplex_iterations_;
1191 ::int64_t barrier_iterations_;
1192 ::int64_t node_count_;
1193 ::int64_t first_order_iterations_;
1194 PROTOBUF_TSAN_DECLARE_MEMBER
1195 };
1196 union { Impl_ _impl_; };
1197 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1198};
1199
1200OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_;
1201// -------------------------------------------------------------------
1203class OR_PROTO_DLL SolveResultProto_PdlpOutput final : public ::google::protobuf::Message
1204/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveResultProto.PdlpOutput) */ {
1205 public:
1207 ~SolveResultProto_PdlpOutput() PROTOBUF_FINAL;
1208
1209#if defined(PROTOBUF_CUSTOM_VTABLE)
1210 void operator delete(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1211 SharedDtor(*msg);
1212 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveResultProto_PdlpOutput));
1213 }
1214#endif
1215
1216 template <typename = void>
1217 explicit PROTOBUF_CONSTEXPR SolveResultProto_PdlpOutput(::google::protobuf::internal::ConstantInitialized);
1218
1220 inline SolveResultProto_PdlpOutput(SolveResultProto_PdlpOutput&& from) noexcept
1221 : SolveResultProto_PdlpOutput(nullptr, ::std::move(from)) {}
1222 inline SolveResultProto_PdlpOutput& operator=(const SolveResultProto_PdlpOutput& from) {
1224 return *this;
1227 if (this == &from) return *this;
1228 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1229 InternalSwap(&from);
1230 } else {
1231 CopyFrom(from);
1233 return *this;
1234 }
1235
1236 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1238 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1239 }
1240 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1241 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1242 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1243 }
1244
1245 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1247 }
1248 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1249 return default_instance().GetMetadata().descriptor;
1250 }
1251 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1252 return default_instance().GetMetadata().reflection;
1253 }
1258 static constexpr int kIndexInFileMessages = 4;
1259 friend void swap(SolveResultProto_PdlpOutput& a, SolveResultProto_PdlpOutput& b) { a.Swap(&b); }
1260 inline void Swap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other) {
1261 if (other == this) return;
1262 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1263 InternalSwap(other);
1264 } else {
1265 ::google::protobuf::internal::GenericSwap(this, other);
1267 }
1268 void UnsafeArenaSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other) {
1269 if (other == this) return;
1270 ABSL_DCHECK(GetArena() == other->GetArena());
1271 InternalSwap(other);
1272 }
1273
1274 // implements Message ----------------------------------------------
1275
1276 SolveResultProto_PdlpOutput* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1277 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto_PdlpOutput>(arena);
1278 }
1279 using ::google::protobuf::Message::CopyFrom;
1280 void CopyFrom(const SolveResultProto_PdlpOutput& from);
1281 using ::google::protobuf::Message::MergeFrom;
1282 void MergeFrom(const SolveResultProto_PdlpOutput& from) { SolveResultProto_PdlpOutput::MergeImpl(*this, from); }
1283
1284 private:
1285 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1286 const ::google::protobuf::MessageLite& from_msg);
1287
1288 public:
1289 bool IsInitialized() const {
1290 return true;
1291 }
1292 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1293 #if defined(PROTOBUF_CUSTOM_VTABLE)
1294 private:
1295 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1296 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1297 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1298 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1299
1300 public:
1301 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1302 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1303 ::uint8_t* PROTOBUF_NONNULL target,
1304 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1305 return _InternalSerialize(*this, target, stream);
1306 }
1307 #else // PROTOBUF_CUSTOM_VTABLE
1308 ::size_t ByteSizeLong() const final;
1309 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1310 ::uint8_t* PROTOBUF_NONNULL target,
1311 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1312 #endif // PROTOBUF_CUSTOM_VTABLE
1313 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1314
1315 private:
1316 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1317 static void SharedDtor(MessageLite& self);
1318 void InternalSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other);
1319 private:
1320 template <typename T>
1321 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1322 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveResultProto.PdlpOutput"; }
1323
1324 protected:
1325 explicit SolveResultProto_PdlpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1326 SolveResultProto_PdlpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveResultProto_PdlpOutput& from);
1328 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveResultProto_PdlpOutput&& from) noexcept
1330 *this = ::std::move(from);
1331 }
1332 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1333 static void* PROTOBUF_NONNULL PlacementNew_(
1334 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1335 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1336 static constexpr auto InternalNewImpl_();
1337
1338 public:
1339 static constexpr auto InternalGenerateClassData_();
1340
1341 ::google::protobuf::Metadata GetMetadata() const;
1342 // nested types ----------------------------------------------------
1343
1344 // accessors -------------------------------------------------------
1345 enum : int {
1347 };
1348 // .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
1349 bool has_convergence_information() const;
1350 void clear_convergence_information() ;
1351 const ::operations_research::pdlp::ConvergenceInformation& convergence_information() const;
1357
1358 private:
1359 const ::operations_research::pdlp::ConvergenceInformation& _internal_convergence_information() const;
1360 ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL _internal_mutable_convergence_information();
1361
1362 public:
1363 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveResultProto.PdlpOutput)
1364 private:
1365 class _Internal;
1366 friend class ::google::protobuf::internal::TcParser;
1367 static const ::google::protobuf::internal::TcParseTable<0, 1,
1368 1, 0,
1369 2>
1370 _table_;
1371
1372 friend class ::google::protobuf::MessageLite;
1373 friend class ::google::protobuf::Arena;
1374 template <typename T>
1375 friend class ::google::protobuf::Arena::InternalHelper;
1376 using InternalArenaConstructable_ = void;
1377 using DestructorSkippable_ = void;
1378 struct Impl_ {
1379 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1380 inline explicit Impl_(
1381 ::google::protobuf::internal::InternalVisibility visibility,
1382 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1383 inline explicit Impl_(
1384 ::google::protobuf::internal::InternalVisibility visibility,
1385 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1386 const SolveResultProto_PdlpOutput& from_msg);
1387 ::google::protobuf::internal::HasBits<1> _has_bits_;
1388 ::google::protobuf::internal::CachedSize _cached_size_;
1389 ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE convergence_information_;
1390 PROTOBUF_TSAN_DECLARE_MEMBER
1391 };
1392 union { Impl_ _impl_; };
1393 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1394};
1395
1396OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_;
1397// -------------------------------------------------------------------
1399class OR_PROTO_DLL SolveResultProto final : public ::google::protobuf::Message
1400/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveResultProto) */ {
1401 public:
1402 inline SolveResultProto() : SolveResultProto(nullptr) {}
1403 ~SolveResultProto() PROTOBUF_FINAL;
1404
1405#if defined(PROTOBUF_CUSTOM_VTABLE)
1406 void operator delete(SolveResultProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1407 SharedDtor(*msg);
1408 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveResultProto));
1410#endif
1411
1412 template <typename = void>
1413 explicit PROTOBUF_CONSTEXPR SolveResultProto(::google::protobuf::internal::ConstantInitialized);
1414
1415 inline SolveResultProto(const SolveResultProto& from) : SolveResultProto(nullptr, from) {}
1416 inline SolveResultProto(SolveResultProto&& from) noexcept
1417 : SolveResultProto(nullptr, ::std::move(from)) {}
1418 inline SolveResultProto& operator=(const SolveResultProto& from) {
1419 CopyFrom(from);
1420 return *this;
1421 }
1423 if (this == &from) return *this;
1424 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1425 InternalSwap(&from);
1426 } else {
1427 CopyFrom(from);
1428 }
1429 return *this;
1430 }
1431
1432 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1433 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1434 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1435 }
1436 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1437 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1438 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1440
1441 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1442 return GetDescriptor();
1444 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1445 return default_instance().GetMetadata().descriptor;
1446 }
1447 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1448 return default_instance().GetMetadata().reflection;
1449 }
1450 static const SolveResultProto& default_instance() {
1451 return *reinterpret_cast<const SolveResultProto*>(
1453 }
1459 };
1460 static constexpr int kIndexInFileMessages = 5;
1461 friend void swap(SolveResultProto& a, SolveResultProto& b) { a.Swap(&b); }
1462 inline void Swap(SolveResultProto* PROTOBUF_NONNULL other) {
1463 if (other == this) return;
1464 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1465 InternalSwap(other);
1466 } else {
1467 ::google::protobuf::internal::GenericSwap(this, other);
1470 void UnsafeArenaSwap(SolveResultProto* PROTOBUF_NONNULL other) {
1471 if (other == this) return;
1472 ABSL_DCHECK(GetArena() == other->GetArena());
1473 InternalSwap(other);
1474 }
1475
1476 // implements Message ----------------------------------------------
1478 SolveResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1479 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto>(arena);
1480 }
1481 using ::google::protobuf::Message::CopyFrom;
1482 void CopyFrom(const SolveResultProto& from);
1483 using ::google::protobuf::Message::MergeFrom;
1484 void MergeFrom(const SolveResultProto& from) { SolveResultProto::MergeImpl(*this, from); }
1486 private:
1487 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1488 const ::google::protobuf::MessageLite& from_msg);
1489
1490 public:
1491 bool IsInitialized() const {
1492 return true;
1493 }
1494 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1495 #if defined(PROTOBUF_CUSTOM_VTABLE)
1496 private:
1497 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1498 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1499 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1500 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1501
1502 public:
1503 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1504 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1505 ::uint8_t* PROTOBUF_NONNULL target,
1506 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1507 return _InternalSerialize(*this, target, stream);
1508 }
1509 #else // PROTOBUF_CUSTOM_VTABLE
1510 ::size_t ByteSizeLong() const final;
1511 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1512 ::uint8_t* PROTOBUF_NONNULL target,
1513 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1514 #endif // PROTOBUF_CUSTOM_VTABLE
1515 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1516
1517 private:
1518 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1519 static void SharedDtor(MessageLite& self);
1520 void InternalSwap(SolveResultProto* PROTOBUF_NONNULL other);
1521 private:
1522 template <typename T>
1523 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1524 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveResultProto"; }
1525
1526 protected:
1527 explicit SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1528 SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveResultProto& from);
1530 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveResultProto&& from) noexcept
1531 : SolveResultProto(arena) {
1532 *this = ::std::move(from);
1533 }
1534 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1535 static void* PROTOBUF_NONNULL PlacementNew_(
1536 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1537 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1538 static constexpr auto InternalNewImpl_();
1539
1540 public:
1541 static constexpr auto InternalGenerateClassData_();
1542
1543 ::google::protobuf::Metadata GetMetadata() const;
1544 // nested types ----------------------------------------------------
1546
1547 // accessors -------------------------------------------------------
1548 enum : int {
1558 // repeated .operations_research.math_opt.SolutionProto solutions = 3;
1559 int solutions_size() const;
1560 private:
1561 int _internal_solutions_size() const;
1563 public:
1564 void clear_solutions() ;
1566 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL mutable_solutions();
1567
1568 private:
1569 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& _internal_solutions() const;
1570 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL _internal_mutable_solutions();
1571 public:
1572 const ::operations_research::math_opt::SolutionProto& solutions(int index) const;
1574 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& solutions() const;
1575 // repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
1576 int primal_rays_size() const;
1577 private:
1578 int _internal_primal_rays_size() const;
1579
1580 public:
1581 void clear_primal_rays() ;
1583 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL mutable_primal_rays();
1584
1585 private:
1586 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& _internal_primal_rays() const;
1587 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL _internal_mutable_primal_rays();
1588 public:
1589 const ::operations_research::math_opt::PrimalRayProto& primal_rays(int index) const;
1591 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& primal_rays() const;
1592 // repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
1593 int dual_rays_size() const;
1594 private:
1595 int _internal_dual_rays_size() const;
1596
1597 public:
1598 void clear_dual_rays() ;
1600 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL mutable_dual_rays();
1601
1602 private:
1603 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& _internal_dual_rays() const;
1604 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL _internal_mutable_dual_rays();
1605 public:
1606 const ::operations_research::math_opt::DualRayProto& dual_rays(int index) const;
1608 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& dual_rays() const;
1609 // .operations_research.math_opt.TerminationProto termination = 2;
1610 bool has_termination() const;
1611 void clear_termination() ;
1612 const ::operations_research::math_opt::TerminationProto& termination() const;
1618
1619 private:
1620 const ::operations_research::math_opt::TerminationProto& _internal_termination() const;
1621 ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL _internal_mutable_termination();
1622
1623 public:
1624 // .operations_research.math_opt.SolveStatsProto solve_stats = 6;
1625 bool has_solve_stats() const;
1626 void clear_solve_stats() ;
1627 const ::operations_research::math_opt::SolveStatsProto& solve_stats() const;
1633
1634 private:
1635 const ::operations_research::math_opt::SolveStatsProto& _internal_solve_stats() const;
1636 ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL _internal_mutable_solve_stats();
1637
1638 public:
1639 // .operations_research.GScipOutput gscip_output = 7;
1640 bool has_gscip_output() const;
1641 private:
1642 bool _internal_has_gscip_output() const;
1643
1644 public:
1645 void clear_gscip_output() ;
1646 const ::operations_research::GScipOutput& gscip_output() const;
1647 [[nodiscard]] ::operations_research::GScipOutput* PROTOBUF_NULLABLE release_gscip_output();
1652
1653 private:
1654 const ::operations_research::GScipOutput& _internal_gscip_output() const;
1655 ::operations_research::GScipOutput* PROTOBUF_NONNULL _internal_mutable_gscip_output();
1656
1657 public:
1658 // .operations_research.math_opt.OsqpOutput osqp_output = 8;
1659 bool has_osqp_output() const;
1660 private:
1661 bool _internal_has_osqp_output() const;
1662
1663 public:
1664 void clear_osqp_output() ;
1665 const ::operations_research::math_opt::OsqpOutput& osqp_output() const;
1666 [[nodiscard]] ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE release_osqp_output();
1671
1672 private:
1673 const ::operations_research::math_opt::OsqpOutput& _internal_osqp_output() const;
1674 ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL _internal_mutable_osqp_output();
1675
1676 public:
1677 // .operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
1678 bool has_pdlp_output() const;
1679 private:
1680 bool _internal_has_pdlp_output() const;
1681
1682 public:
1683 void clear_pdlp_output() ;
1684 const ::operations_research::math_opt::SolveResultProto_PdlpOutput& pdlp_output() const;
1690
1691 private:
1692 const ::operations_research::math_opt::SolveResultProto_PdlpOutput& _internal_pdlp_output() const;
1693 ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL _internal_mutable_pdlp_output();
1694
1695 public:
1698 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveResultProto)
1699 private:
1700 class _Internal;
1701 void set_has_gscip_output();
1702 void set_has_osqp_output();
1703 void set_has_pdlp_output();
1704 inline bool has_solver_specific_output() const;
1705 inline void clear_has_solver_specific_output();
1706 friend class ::google::protobuf::internal::TcParser;
1707 static const ::google::protobuf::internal::TcParseTable<3, 8,
1708 8, 0,
1709 2>
1710 _table_;
1711
1712 friend class ::google::protobuf::MessageLite;
1713 friend class ::google::protobuf::Arena;
1714 template <typename T>
1715 friend class ::google::protobuf::Arena::InternalHelper;
1716 using InternalArenaConstructable_ = void;
1717 using DestructorSkippable_ = void;
1718 struct Impl_ {
1719 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1720 inline explicit Impl_(
1721 ::google::protobuf::internal::InternalVisibility visibility,
1722 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1723 inline explicit Impl_(
1724 ::google::protobuf::internal::InternalVisibility visibility,
1725 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1726 const SolveResultProto& from_msg);
1727 ::google::protobuf::internal::HasBits<1> _has_bits_;
1728 ::google::protobuf::internal::CachedSize _cached_size_;
1729 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SolutionProto > solutions_;
1730 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::PrimalRayProto > primal_rays_;
1731 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::DualRayProto > dual_rays_;
1732 ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE termination_;
1733 ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE solve_stats_;
1734 union SolverSpecificOutputUnion {
1735 constexpr SolverSpecificOutputUnion() : _constinit_{} {}
1736 ::google::protobuf::internal::ConstantInitialized _constinit_;
1737 ::google::protobuf::Message* PROTOBUF_NULLABLE gscip_output_;
1738 ::google::protobuf::Message* PROTOBUF_NULLABLE osqp_output_;
1739 ::google::protobuf::Message* PROTOBUF_NULLABLE pdlp_output_;
1740 } solver_specific_output_;
1741 ::uint32_t _oneof_case_[1];
1742 PROTOBUF_TSAN_DECLARE_MEMBER
1744 union { Impl_ _impl_; };
1745 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1747
1748OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_;
1749
1750// ===================================================================
1753
1754
1755// ===================================================================
1756
1757
1758#ifdef __GNUC__
1759#pragma GCC diagnostic push
1760#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1761#endif // __GNUC__
1762// -------------------------------------------------------------------
1763
1764// ProblemStatusProto
1765
1766// .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
1768 ::google::protobuf::internal::TSanWrite(&_impl_);
1769 _impl_.primal_status_ = 0;
1770 _impl_._has_bits_[0] &= ~0x00000001u;
1771}
1772inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::primal_status() const {
1773 // @@protoc_insertion_point(field_get:operations_research.math_opt.ProblemStatusProto.primal_status)
1774 return _internal_primal_status();
1775}
1777 _internal_set_primal_status(value);
1778 _impl_._has_bits_[0] |= 0x00000001u;
1779 // @@protoc_insertion_point(field_set:operations_research.math_opt.ProblemStatusProto.primal_status)
1780}
1781inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_primal_status() const {
1782 ::google::protobuf::internal::TSanRead(&_impl_);
1783 return static_cast<::operations_research::math_opt::FeasibilityStatusProto>(_impl_.primal_status_);
1784}
1785inline void ProblemStatusProto::_internal_set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value) {
1786 ::google::protobuf::internal::TSanWrite(&_impl_);
1787 _impl_.primal_status_ = value;
1788}
1789
1790// .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
1792 ::google::protobuf::internal::TSanWrite(&_impl_);
1793 _impl_.dual_status_ = 0;
1794 _impl_._has_bits_[0] &= ~0x00000002u;
1795}
1796inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::dual_status() const {
1797 // @@protoc_insertion_point(field_get:operations_research.math_opt.ProblemStatusProto.dual_status)
1798 return _internal_dual_status();
1799}
1801 _internal_set_dual_status(value);
1802 _impl_._has_bits_[0] |= 0x00000002u;
1803 // @@protoc_insertion_point(field_set:operations_research.math_opt.ProblemStatusProto.dual_status)
1804}
1805inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_dual_status() const {
1806 ::google::protobuf::internal::TSanRead(&_impl_);
1807 return static_cast<::operations_research::math_opt::FeasibilityStatusProto>(_impl_.dual_status_);
1808}
1809inline void ProblemStatusProto::_internal_set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value) {
1810 ::google::protobuf::internal::TSanWrite(&_impl_);
1811 _impl_.dual_status_ = value;
1812}
1813
1814// bool primal_or_dual_infeasible = 3;
1816 ::google::protobuf::internal::TSanWrite(&_impl_);
1817 _impl_.primal_or_dual_infeasible_ = false;
1818 _impl_._has_bits_[0] &= ~0x00000004u;
1819}
1821 // @@protoc_insertion_point(field_get:operations_research.math_opt.ProblemStatusProto.primal_or_dual_infeasible)
1822 return _internal_primal_or_dual_infeasible();
1823}
1825 _internal_set_primal_or_dual_infeasible(value);
1826 _impl_._has_bits_[0] |= 0x00000004u;
1827 // @@protoc_insertion_point(field_set:operations_research.math_opt.ProblemStatusProto.primal_or_dual_infeasible)
1828}
1829inline bool ProblemStatusProto::_internal_primal_or_dual_infeasible() const {
1830 ::google::protobuf::internal::TSanRead(&_impl_);
1831 return _impl_.primal_or_dual_infeasible_;
1832}
1833inline void ProblemStatusProto::_internal_set_primal_or_dual_infeasible(bool value) {
1834 ::google::protobuf::internal::TSanWrite(&_impl_);
1835 _impl_.primal_or_dual_infeasible_ = value;
1836}
1837
1838// -------------------------------------------------------------------
1839
1840// SolveStatsProto
1841
1842// .google.protobuf.Duration solve_time = 1;
1843inline bool SolveStatsProto::has_solve_time() const {
1844 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1845 PROTOBUF_ASSUME(!value || _impl_.solve_time_ != nullptr);
1846 return value;
1847}
1848inline const ::google::protobuf::Duration& SolveStatsProto::_internal_solve_time() const {
1849 ::google::protobuf::internal::TSanRead(&_impl_);
1850 const ::google::protobuf::Duration* p = _impl_.solve_time_;
1851 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
1852}
1853inline const ::google::protobuf::Duration& SolveStatsProto::solve_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1854 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.solve_time)
1855 return _internal_solve_time();
1856}
1858 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1859 ::google::protobuf::internal::TSanWrite(&_impl_);
1860 if (GetArena() == nullptr) {
1861 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_time_);
1862 }
1863 _impl_.solve_time_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1864 if (value != nullptr) {
1865 _impl_._has_bits_[0] |= 0x00000001u;
1866 } else {
1867 _impl_._has_bits_[0] &= ~0x00000001u;
1869 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveStatsProto.solve_time)
1870}
1871inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveStatsProto::release_solve_time() {
1872 ::google::protobuf::internal::TSanWrite(&_impl_);
1873
1874 _impl_._has_bits_[0] &= ~0x00000001u;
1875 ::google::protobuf::Duration* released = _impl_.solve_time_;
1876 _impl_.solve_time_ = nullptr;
1877 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1878 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1879 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1880 if (GetArena() == nullptr) {
1881 delete old;
1883 } else {
1884 if (GetArena() != nullptr) {
1885 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1886 }
1887 }
1888 return released;
1889}
1890inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveStatsProto::unsafe_arena_release_solve_time() {
1891 ::google::protobuf::internal::TSanWrite(&_impl_);
1892 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveStatsProto.solve_time)
1893
1894 _impl_._has_bits_[0] &= ~0x00000001u;
1895 ::google::protobuf::Duration* temp = _impl_.solve_time_;
1896 _impl_.solve_time_ = nullptr;
1897 return temp;
1898}
1899inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveStatsProto::_internal_mutable_solve_time() {
1900 ::google::protobuf::internal::TSanWrite(&_impl_);
1901 if (_impl_.solve_time_ == nullptr) {
1902 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1903 _impl_.solve_time_ = reinterpret_cast<::google::protobuf::Duration*>(p);
1904 }
1905 return _impl_.solve_time_;
1906}
1907inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveStatsProto::mutable_solve_time()
1908 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1909 _impl_._has_bits_[0] |= 0x00000001u;
1910 ::google::protobuf::Duration* _msg = _internal_mutable_solve_time();
1911 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveStatsProto.solve_time)
1912 return _msg;
1913}
1914inline void SolveStatsProto::set_allocated_solve_time(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1915 ::google::protobuf::Arena* message_arena = GetArena();
1916 ::google::protobuf::internal::TSanWrite(&_impl_);
1917 if (message_arena == nullptr) {
1918 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_time_);
1919 }
1920
1921 if (value != nullptr) {
1922 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1923 if (message_arena != submessage_arena) {
1924 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1926 _impl_._has_bits_[0] |= 0x00000001u;
1927 } else {
1928 _impl_._has_bits_[0] &= ~0x00000001u;
1929 }
1930
1931 _impl_.solve_time_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1932 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveStatsProto.solve_time)
1933}
1934
1935// double best_primal_bound = 2 [deprecated = true];
1937 ::google::protobuf::internal::TSanWrite(&_impl_);
1938 _impl_.best_primal_bound_ = 0;
1939 _impl_._has_bits_[0] &= ~0x00000004u;
1940}
1941inline double SolveStatsProto::best_primal_bound() const {
1942 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.best_primal_bound)
1943 return _internal_best_primal_bound();
1944}
1945inline void SolveStatsProto::set_best_primal_bound(double value) {
1946 _internal_set_best_primal_bound(value);
1947 _impl_._has_bits_[0] |= 0x00000004u;
1948 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.best_primal_bound)
1949}
1950inline double SolveStatsProto::_internal_best_primal_bound() const {
1951 ::google::protobuf::internal::TSanRead(&_impl_);
1952 return _impl_.best_primal_bound_;
1953}
1954inline void SolveStatsProto::_internal_set_best_primal_bound(double value) {
1955 ::google::protobuf::internal::TSanWrite(&_impl_);
1956 _impl_.best_primal_bound_ = value;
1957}
1958
1959// double best_dual_bound = 3 [deprecated = true];
1961 ::google::protobuf::internal::TSanWrite(&_impl_);
1962 _impl_.best_dual_bound_ = 0;
1963 _impl_._has_bits_[0] &= ~0x00000008u;
1964}
1965inline double SolveStatsProto::best_dual_bound() const {
1966 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.best_dual_bound)
1967 return _internal_best_dual_bound();
1968}
1969inline void SolveStatsProto::set_best_dual_bound(double value) {
1970 _internal_set_best_dual_bound(value);
1971 _impl_._has_bits_[0] |= 0x00000008u;
1972 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.best_dual_bound)
1973}
1974inline double SolveStatsProto::_internal_best_dual_bound() const {
1975 ::google::protobuf::internal::TSanRead(&_impl_);
1976 return _impl_.best_dual_bound_;
1977}
1978inline void SolveStatsProto::_internal_set_best_dual_bound(double value) {
1979 ::google::protobuf::internal::TSanWrite(&_impl_);
1980 _impl_.best_dual_bound_ = value;
1981}
1982
1983// .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
1984inline bool SolveStatsProto::has_problem_status() const {
1985 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1986 PROTOBUF_ASSUME(!value || _impl_.problem_status_ != nullptr);
1987 return value;
1988}
1990 ::google::protobuf::internal::TSanWrite(&_impl_);
1991 if (_impl_.problem_status_ != nullptr) _impl_.problem_status_->Clear();
1992 _impl_._has_bits_[0] &= ~0x00000002u;
1993}
1994inline const ::operations_research::math_opt::ProblemStatusProto& SolveStatsProto::_internal_problem_status() const {
1995 ::google::protobuf::internal::TSanRead(&_impl_);
1996 const ::operations_research::math_opt::ProblemStatusProto* p = _impl_.problem_status_;
1998}
1999inline const ::operations_research::math_opt::ProblemStatusProto& SolveStatsProto::problem_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2000 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.problem_status)
2001 return _internal_problem_status();
2002}
2004 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE value) {
2005 ::google::protobuf::internal::TSanWrite(&_impl_);
2006 if (GetArena() == nullptr) {
2007 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.problem_status_);
2008 }
2009 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(value);
2010 if (value != nullptr) {
2011 _impl_._has_bits_[0] |= 0x00000002u;
2012 } else {
2013 _impl_._has_bits_[0] &= ~0x00000002u;
2015 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveStatsProto.problem_status)
2016}
2017inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE SolveStatsProto::release_problem_status() {
2018 ::google::protobuf::internal::TSanWrite(&_impl_);
2019
2020 _impl_._has_bits_[0] &= ~0x00000002u;
2022 _impl_.problem_status_ = nullptr;
2023 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2024 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2025 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2026 if (GetArena() == nullptr) {
2027 delete old;
2029 } else {
2030 if (GetArena() != nullptr) {
2031 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2032 }
2033 }
2034 return released;
2035}
2036inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE SolveStatsProto::unsafe_arena_release_problem_status() {
2037 ::google::protobuf::internal::TSanWrite(&_impl_);
2038 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveStatsProto.problem_status)
2039
2040 _impl_._has_bits_[0] &= ~0x00000002u;
2041 ::operations_research::math_opt::ProblemStatusProto* temp = _impl_.problem_status_;
2042 _impl_.problem_status_ = nullptr;
2043 return temp;
2044}
2045inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL SolveStatsProto::_internal_mutable_problem_status() {
2046 ::google::protobuf::internal::TSanWrite(&_impl_);
2047 if (_impl_.problem_status_ == nullptr) {
2048 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ProblemStatusProto>(GetArena());
2049 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(p);
2050 }
2051 return _impl_.problem_status_;
2052}
2053inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL SolveStatsProto::mutable_problem_status()
2054 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2055 _impl_._has_bits_[0] |= 0x00000002u;
2056 ::operations_research::math_opt::ProblemStatusProto* _msg = _internal_mutable_problem_status();
2057 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveStatsProto.problem_status)
2058 return _msg;
2059}
2061 ::google::protobuf::Arena* message_arena = GetArena();
2062 ::google::protobuf::internal::TSanWrite(&_impl_);
2063 if (message_arena == nullptr) {
2064 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.problem_status_);
2065 }
2066
2067 if (value != nullptr) {
2068 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2069 if (message_arena != submessage_arena) {
2070 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2072 _impl_._has_bits_[0] |= 0x00000002u;
2073 } else {
2074 _impl_._has_bits_[0] &= ~0x00000002u;
2075 }
2076
2077 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(value);
2078 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveStatsProto.problem_status)
2079}
2080
2081// int64 simplex_iterations = 5;
2083 ::google::protobuf::internal::TSanWrite(&_impl_);
2084 _impl_.simplex_iterations_ = ::int64_t{0};
2085 _impl_._has_bits_[0] &= ~0x00000010u;
2086}
2087inline ::int64_t SolveStatsProto::simplex_iterations() const {
2088 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.simplex_iterations)
2089 return _internal_simplex_iterations();
2090}
2091inline void SolveStatsProto::set_simplex_iterations(::int64_t value) {
2092 _internal_set_simplex_iterations(value);
2093 _impl_._has_bits_[0] |= 0x00000010u;
2094 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.simplex_iterations)
2095}
2096inline ::int64_t SolveStatsProto::_internal_simplex_iterations() const {
2097 ::google::protobuf::internal::TSanRead(&_impl_);
2098 return _impl_.simplex_iterations_;
2099}
2100inline void SolveStatsProto::_internal_set_simplex_iterations(::int64_t value) {
2101 ::google::protobuf::internal::TSanWrite(&_impl_);
2102 _impl_.simplex_iterations_ = value;
2103}
2104
2105// int64 barrier_iterations = 6;
2107 ::google::protobuf::internal::TSanWrite(&_impl_);
2108 _impl_.barrier_iterations_ = ::int64_t{0};
2109 _impl_._has_bits_[0] &= ~0x00000020u;
2110}
2111inline ::int64_t SolveStatsProto::barrier_iterations() const {
2112 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.barrier_iterations)
2113 return _internal_barrier_iterations();
2114}
2115inline void SolveStatsProto::set_barrier_iterations(::int64_t value) {
2116 _internal_set_barrier_iterations(value);
2117 _impl_._has_bits_[0] |= 0x00000020u;
2118 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.barrier_iterations)
2119}
2120inline ::int64_t SolveStatsProto::_internal_barrier_iterations() const {
2121 ::google::protobuf::internal::TSanRead(&_impl_);
2122 return _impl_.barrier_iterations_;
2123}
2124inline void SolveStatsProto::_internal_set_barrier_iterations(::int64_t value) {
2125 ::google::protobuf::internal::TSanWrite(&_impl_);
2126 _impl_.barrier_iterations_ = value;
2127}
2128
2129// int64 first_order_iterations = 8;
2131 ::google::protobuf::internal::TSanWrite(&_impl_);
2132 _impl_.first_order_iterations_ = ::int64_t{0};
2133 _impl_._has_bits_[0] &= ~0x00000080u;
2134}
2135inline ::int64_t SolveStatsProto::first_order_iterations() const {
2136 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.first_order_iterations)
2137 return _internal_first_order_iterations();
2138}
2139inline void SolveStatsProto::set_first_order_iterations(::int64_t value) {
2140 _internal_set_first_order_iterations(value);
2141 _impl_._has_bits_[0] |= 0x00000080u;
2142 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.first_order_iterations)
2143}
2144inline ::int64_t SolveStatsProto::_internal_first_order_iterations() const {
2145 ::google::protobuf::internal::TSanRead(&_impl_);
2146 return _impl_.first_order_iterations_;
2147}
2148inline void SolveStatsProto::_internal_set_first_order_iterations(::int64_t value) {
2149 ::google::protobuf::internal::TSanWrite(&_impl_);
2150 _impl_.first_order_iterations_ = value;
2151}
2152
2153// int64 node_count = 7;
2155 ::google::protobuf::internal::TSanWrite(&_impl_);
2156 _impl_.node_count_ = ::int64_t{0};
2157 _impl_._has_bits_[0] &= ~0x00000040u;
2158}
2159inline ::int64_t SolveStatsProto::node_count() const {
2160 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.node_count)
2161 return _internal_node_count();
2162}
2163inline void SolveStatsProto::set_node_count(::int64_t value) {
2164 _internal_set_node_count(value);
2165 _impl_._has_bits_[0] |= 0x00000040u;
2166 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.node_count)
2167}
2168inline ::int64_t SolveStatsProto::_internal_node_count() const {
2169 ::google::protobuf::internal::TSanRead(&_impl_);
2170 return _impl_.node_count_;
2171}
2172inline void SolveStatsProto::_internal_set_node_count(::int64_t value) {
2173 ::google::protobuf::internal::TSanWrite(&_impl_);
2174 _impl_.node_count_ = value;
2175}
2176
2177// -------------------------------------------------------------------
2178
2179// ObjectiveBoundsProto
2180
2181// double primal_bound = 2;
2183 ::google::protobuf::internal::TSanWrite(&_impl_);
2184 _impl_.primal_bound_ = 0;
2185 _impl_._has_bits_[0] &= ~0x00000001u;
2186}
2187inline double ObjectiveBoundsProto::primal_bound() const {
2188 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveBoundsProto.primal_bound)
2189 return _internal_primal_bound();
2190}
2191inline void ObjectiveBoundsProto::set_primal_bound(double value) {
2192 _internal_set_primal_bound(value);
2193 _impl_._has_bits_[0] |= 0x00000001u;
2194 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveBoundsProto.primal_bound)
2195}
2196inline double ObjectiveBoundsProto::_internal_primal_bound() const {
2197 ::google::protobuf::internal::TSanRead(&_impl_);
2198 return _impl_.primal_bound_;
2200inline void ObjectiveBoundsProto::_internal_set_primal_bound(double value) {
2201 ::google::protobuf::internal::TSanWrite(&_impl_);
2202 _impl_.primal_bound_ = value;
2204
2205// double dual_bound = 3;
2207 ::google::protobuf::internal::TSanWrite(&_impl_);
2208 _impl_.dual_bound_ = 0;
2209 _impl_._has_bits_[0] &= ~0x00000002u;
2210}
2211inline double ObjectiveBoundsProto::dual_bound() const {
2212 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveBoundsProto.dual_bound)
2213 return _internal_dual_bound();
2214}
2215inline void ObjectiveBoundsProto::set_dual_bound(double value) {
2216 _internal_set_dual_bound(value);
2217 _impl_._has_bits_[0] |= 0x00000002u;
2218 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveBoundsProto.dual_bound)
2219}
2220inline double ObjectiveBoundsProto::_internal_dual_bound() const {
2221 ::google::protobuf::internal::TSanRead(&_impl_);
2222 return _impl_.dual_bound_;
2224inline void ObjectiveBoundsProto::_internal_set_dual_bound(double value) {
2225 ::google::protobuf::internal::TSanWrite(&_impl_);
2226 _impl_.dual_bound_ = value;
2228
2229// -------------------------------------------------------------------
2230
2231// TerminationProto
2232
2233// .operations_research.math_opt.TerminationReasonProto reason = 1;
2234inline void TerminationProto::clear_reason() {
2235 ::google::protobuf::internal::TSanWrite(&_impl_);
2236 _impl_.reason_ = 0;
2237 _impl_._has_bits_[0] &= ~0x00000008u;
2238}
2239inline ::operations_research::math_opt::TerminationReasonProto TerminationProto::reason() const {
2240 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.reason)
2241 return _internal_reason();
2242}
2244 _internal_set_reason(value);
2245 _impl_._has_bits_[0] |= 0x00000008u;
2246 // @@protoc_insertion_point(field_set:operations_research.math_opt.TerminationProto.reason)
2248inline ::operations_research::math_opt::TerminationReasonProto TerminationProto::_internal_reason() const {
2249 ::google::protobuf::internal::TSanRead(&_impl_);
2251}
2252inline void TerminationProto::_internal_set_reason(::operations_research::math_opt::TerminationReasonProto value) {
2253 ::google::protobuf::internal::TSanWrite(&_impl_);
2254 _impl_.reason_ = value;
2255}
2257// .operations_research.math_opt.LimitProto limit = 2;
2258inline void TerminationProto::clear_limit() {
2259 ::google::protobuf::internal::TSanWrite(&_impl_);
2260 _impl_.limit_ = 0;
2261 _impl_._has_bits_[0] &= ~0x00000010u;
2262}
2263inline ::operations_research::math_opt::LimitProto TerminationProto::limit() const {
2264 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.limit)
2265 return _internal_limit();
2266}
2268 _internal_set_limit(value);
2269 _impl_._has_bits_[0] |= 0x00000010u;
2270 // @@protoc_insertion_point(field_set:operations_research.math_opt.TerminationProto.limit)
2272inline ::operations_research::math_opt::LimitProto TerminationProto::_internal_limit() const {
2273 ::google::protobuf::internal::TSanRead(&_impl_);
2274 return static_cast<::operations_research::math_opt::LimitProto>(_impl_.limit_);
2275}
2276inline void TerminationProto::_internal_set_limit(::operations_research::math_opt::LimitProto value) {
2277 ::google::protobuf::internal::TSanWrite(&_impl_);
2278 _impl_.limit_ = value;
2279}
2281// string detail = 3;
2282inline void TerminationProto::clear_detail() {
2283 ::google::protobuf::internal::TSanWrite(&_impl_);
2284 _impl_.detail_.ClearToEmpty();
2285 _impl_._has_bits_[0] &= ~0x00000001u;
2286}
2287inline const ::std::string& TerminationProto::detail() const
2288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2289 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.detail)
2290 return _internal_detail();
2291}
2292template <typename Arg_, typename... Args_>
2293PROTOBUF_ALWAYS_INLINE void TerminationProto::set_detail(Arg_&& arg, Args_... args) {
2294 ::google::protobuf::internal::TSanWrite(&_impl_);
2295 _impl_._has_bits_[0] |= 0x00000001u;
2296 _impl_.detail_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2297 // @@protoc_insertion_point(field_set:operations_research.math_opt.TerminationProto.detail)
2298}
2299inline ::std::string* PROTOBUF_NONNULL TerminationProto::mutable_detail()
2300 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2301 ::std::string* _s = _internal_mutable_detail();
2302 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.TerminationProto.detail)
2303 return _s;
2304}
2305inline const ::std::string& TerminationProto::_internal_detail() const {
2306 ::google::protobuf::internal::TSanRead(&_impl_);
2307 return _impl_.detail_.Get();
2308}
2309inline void TerminationProto::_internal_set_detail(const ::std::string& value) {
2310 ::google::protobuf::internal::TSanWrite(&_impl_);
2311 _impl_._has_bits_[0] |= 0x00000001u;
2312 _impl_.detail_.Set(value, GetArena());
2313}
2314inline ::std::string* PROTOBUF_NONNULL TerminationProto::_internal_mutable_detail() {
2315 ::google::protobuf::internal::TSanWrite(&_impl_);
2316 _impl_._has_bits_[0] |= 0x00000001u;
2317 return _impl_.detail_.Mutable( GetArena());
2318}
2319inline ::std::string* PROTOBUF_NULLABLE TerminationProto::release_detail() {
2320 ::google::protobuf::internal::TSanWrite(&_impl_);
2321 // @@protoc_insertion_point(field_release:operations_research.math_opt.TerminationProto.detail)
2322 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
2323 return nullptr;
2324 }
2325 _impl_._has_bits_[0] &= ~0x00000001u;
2326 auto* released = _impl_.detail_.Release();
2327 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2328 _impl_.detail_.Set("", GetArena());
2329 }
2330 return released;
2331}
2332inline void TerminationProto::set_allocated_detail(::std::string* PROTOBUF_NULLABLE value) {
2333 ::google::protobuf::internal::TSanWrite(&_impl_);
2334 if (value != nullptr) {
2335 _impl_._has_bits_[0] |= 0x00000001u;
2336 } else {
2337 _impl_._has_bits_[0] &= ~0x00000001u;
2338 }
2339 _impl_.detail_.SetAllocated(value, GetArena());
2340 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.detail_.IsDefault()) {
2341 _impl_.detail_.Set("", GetArena());
2342 }
2343 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.TerminationProto.detail)
2344}
2346// .operations_research.math_opt.ProblemStatusProto problem_status = 4;
2347inline bool TerminationProto::has_problem_status() const {
2348 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2349 PROTOBUF_ASSUME(!value || _impl_.problem_status_ != nullptr);
2350 return value;
2351}
2353 ::google::protobuf::internal::TSanWrite(&_impl_);
2354 if (_impl_.problem_status_ != nullptr) _impl_.problem_status_->Clear();
2355 _impl_._has_bits_[0] &= ~0x00000002u;
2356}
2357inline const ::operations_research::math_opt::ProblemStatusProto& TerminationProto::_internal_problem_status() const {
2358 ::google::protobuf::internal::TSanRead(&_impl_);
2359 const ::operations_research::math_opt::ProblemStatusProto* p = _impl_.problem_status_;
2361}
2362inline const ::operations_research::math_opt::ProblemStatusProto& TerminationProto::problem_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2363 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.problem_status)
2364 return _internal_problem_status();
2367 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE value) {
2368 ::google::protobuf::internal::TSanWrite(&_impl_);
2369 if (GetArena() == nullptr) {
2370 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.problem_status_);
2371 }
2372 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(value);
2373 if (value != nullptr) {
2374 _impl_._has_bits_[0] |= 0x00000002u;
2375 } else {
2376 _impl_._has_bits_[0] &= ~0x00000002u;
2377 }
2378 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.TerminationProto.problem_status)
2380inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE TerminationProto::release_problem_status() {
2381 ::google::protobuf::internal::TSanWrite(&_impl_);
2382
2383 _impl_._has_bits_[0] &= ~0x00000002u;
2385 _impl_.problem_status_ = nullptr;
2386 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2387 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2388 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2389 if (GetArena() == nullptr) {
2390 delete old;
2391 }
2392 } else {
2393 if (GetArena() != nullptr) {
2394 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2395 }
2396 }
2397 return released;
2398}
2399inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE TerminationProto::unsafe_arena_release_problem_status() {
2400 ::google::protobuf::internal::TSanWrite(&_impl_);
2401 // @@protoc_insertion_point(field_release:operations_research.math_opt.TerminationProto.problem_status)
2402
2403 _impl_._has_bits_[0] &= ~0x00000002u;
2405 _impl_.problem_status_ = nullptr;
2406 return temp;
2407}
2408inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_problem_status() {
2409 ::google::protobuf::internal::TSanWrite(&_impl_);
2410 if (_impl_.problem_status_ == nullptr) {
2411 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ProblemStatusProto>(GetArena());
2412 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(p);
2413 }
2414 return _impl_.problem_status_;
2415}
2416inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL TerminationProto::mutable_problem_status()
2417 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2418 _impl_._has_bits_[0] |= 0x00000002u;
2419 ::operations_research::math_opt::ProblemStatusProto* _msg = _internal_mutable_problem_status();
2420 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.TerminationProto.problem_status)
2421 return _msg;
2422}
2424 ::google::protobuf::Arena* message_arena = GetArena();
2425 ::google::protobuf::internal::TSanWrite(&_impl_);
2426 if (message_arena == nullptr) {
2427 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.problem_status_);
2428 }
2430 if (value != nullptr) {
2431 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2432 if (message_arena != submessage_arena) {
2433 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2434 }
2435 _impl_._has_bits_[0] |= 0x00000002u;
2436 } else {
2437 _impl_._has_bits_[0] &= ~0x00000002u;
2438 }
2439
2440 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(value);
2441 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.TerminationProto.problem_status)
2442}
2443
2444// .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
2445inline bool TerminationProto::has_objective_bounds() const {
2446 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2447 PROTOBUF_ASSUME(!value || _impl_.objective_bounds_ != nullptr);
2448 return value;
2449}
2451 ::google::protobuf::internal::TSanWrite(&_impl_);
2452 if (_impl_.objective_bounds_ != nullptr) _impl_.objective_bounds_->Clear();
2453 _impl_._has_bits_[0] &= ~0x00000004u;
2454}
2455inline const ::operations_research::math_opt::ObjectiveBoundsProto& TerminationProto::_internal_objective_bounds() const {
2456 ::google::protobuf::internal::TSanRead(&_impl_);
2457 const ::operations_research::math_opt::ObjectiveBoundsProto* p = _impl_.objective_bounds_;
2459}
2460inline const ::operations_research::math_opt::ObjectiveBoundsProto& TerminationProto::objective_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2461 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.objective_bounds)
2462 return _internal_objective_bounds();
2466 ::google::protobuf::internal::TSanWrite(&_impl_);
2467 if (GetArena() == nullptr) {
2468 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_bounds_);
2469 }
2470 _impl_.objective_bounds_ = reinterpret_cast<::operations_research::math_opt::ObjectiveBoundsProto*>(value);
2471 if (value != nullptr) {
2472 _impl_._has_bits_[0] |= 0x00000004u;
2473 } else {
2474 _impl_._has_bits_[0] &= ~0x00000004u;
2475 }
2476 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.TerminationProto.objective_bounds)
2478inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NULLABLE TerminationProto::release_objective_bounds() {
2479 ::google::protobuf::internal::TSanWrite(&_impl_);
2480
2481 _impl_._has_bits_[0] &= ~0x00000004u;
2483 _impl_.objective_bounds_ = nullptr;
2484 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2485 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2486 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2487 if (GetArena() == nullptr) {
2488 delete old;
2489 }
2490 } else {
2491 if (GetArena() != nullptr) {
2492 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2493 }
2494 }
2495 return released;
2496}
2497inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NULLABLE TerminationProto::unsafe_arena_release_objective_bounds() {
2498 ::google::protobuf::internal::TSanWrite(&_impl_);
2499 // @@protoc_insertion_point(field_release:operations_research.math_opt.TerminationProto.objective_bounds)
2500
2501 _impl_._has_bits_[0] &= ~0x00000004u;
2503 _impl_.objective_bounds_ = nullptr;
2504 return temp;
2505}
2506inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_objective_bounds() {
2507 ::google::protobuf::internal::TSanWrite(&_impl_);
2508 if (_impl_.objective_bounds_ == nullptr) {
2509 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveBoundsProto>(GetArena());
2510 _impl_.objective_bounds_ = reinterpret_cast<::operations_research::math_opt::ObjectiveBoundsProto*>(p);
2511 }
2512 return _impl_.objective_bounds_;
2513}
2514inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL TerminationProto::mutable_objective_bounds()
2515 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2516 _impl_._has_bits_[0] |= 0x00000004u;
2517 ::operations_research::math_opt::ObjectiveBoundsProto* _msg = _internal_mutable_objective_bounds();
2518 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.TerminationProto.objective_bounds)
2519 return _msg;
2520}
2522 ::google::protobuf::Arena* message_arena = GetArena();
2523 ::google::protobuf::internal::TSanWrite(&_impl_);
2524 if (message_arena == nullptr) {
2525 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_bounds_);
2526 }
2528 if (value != nullptr) {
2529 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2530 if (message_arena != submessage_arena) {
2531 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2532 }
2533 _impl_._has_bits_[0] |= 0x00000004u;
2534 } else {
2535 _impl_._has_bits_[0] &= ~0x00000004u;
2536 }
2537
2538 _impl_.objective_bounds_ = reinterpret_cast<::operations_research::math_opt::ObjectiveBoundsProto*>(value);
2539 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.TerminationProto.objective_bounds)
2540}
2541
2542// -------------------------------------------------------------------
2543
2544// SolveResultProto_PdlpOutput
2545
2546// .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
2548 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2549 PROTOBUF_ASSUME(!value || _impl_.convergence_information_ != nullptr);
2550 return value;
2551}
2552inline const ::operations_research::pdlp::ConvergenceInformation& SolveResultProto_PdlpOutput::_internal_convergence_information() const {
2553 ::google::protobuf::internal::TSanRead(&_impl_);
2554 const ::operations_research::pdlp::ConvergenceInformation* p = _impl_.convergence_information_;
2555 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::pdlp::ConvergenceInformation&>(::operations_research::pdlp::_ConvergenceInformation_default_instance_);
2556}
2557inline const ::operations_research::pdlp::ConvergenceInformation& SolveResultProto_PdlpOutput::convergence_information() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2558 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2559 return _internal_convergence_information();
2560}
2562 ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE value) {
2563 ::google::protobuf::internal::TSanWrite(&_impl_);
2564 if (GetArena() == nullptr) {
2565 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.convergence_information_);
2566 }
2567 _impl_.convergence_information_ = reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*>(value);
2568 if (value != nullptr) {
2569 _impl_._has_bits_[0] |= 0x00000001u;
2570 } else {
2571 _impl_._has_bits_[0] &= ~0x00000001u;
2572 }
2573 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2574}
2575inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE SolveResultProto_PdlpOutput::release_convergence_information() {
2576 ::google::protobuf::internal::TSanWrite(&_impl_);
2577
2578 _impl_._has_bits_[0] &= ~0x00000001u;
2579 ::operations_research::pdlp::ConvergenceInformation* released = _impl_.convergence_information_;
2580 _impl_.convergence_information_ = nullptr;
2581 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2582 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2583 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2584 if (GetArena() == nullptr) {
2585 delete old;
2586 }
2587 } else {
2588 if (GetArena() != nullptr) {
2589 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2590 }
2591 }
2592 return released;
2593}
2594inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE SolveResultProto_PdlpOutput::unsafe_arena_release_convergence_information() {
2595 ::google::protobuf::internal::TSanWrite(&_impl_);
2596 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2597
2598 _impl_._has_bits_[0] &= ~0x00000001u;
2599 ::operations_research::pdlp::ConvergenceInformation* temp = _impl_.convergence_information_;
2600 _impl_.convergence_information_ = nullptr;
2601 return temp;
2602}
2603inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::_internal_mutable_convergence_information() {
2604 ::google::protobuf::internal::TSanWrite(&_impl_);
2605 if (_impl_.convergence_information_ == nullptr) {
2606 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::ConvergenceInformation>(GetArena());
2607 _impl_.convergence_information_ = reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*>(p);
2609 return _impl_.convergence_information_;
2610}
2611inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::mutable_convergence_information()
2612 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2613 _impl_._has_bits_[0] |= 0x00000001u;
2614 ::operations_research::pdlp::ConvergenceInformation* _msg = _internal_mutable_convergence_information();
2615 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2616 return _msg;
2617}
2619 ::google::protobuf::Arena* message_arena = GetArena();
2620 ::google::protobuf::internal::TSanWrite(&_impl_);
2621 if (message_arena == nullptr) {
2622 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.convergence_information_);
2623 }
2624
2625 if (value != nullptr) {
2626 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2627 if (message_arena != submessage_arena) {
2628 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2629 }
2630 _impl_._has_bits_[0] |= 0x00000001u;
2631 } else {
2632 _impl_._has_bits_[0] &= ~0x00000001u;
2633 }
2634
2635 _impl_.convergence_information_ = reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*>(value);
2636 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2637}
2638
2639// -------------------------------------------------------------------
2640
2641// SolveResultProto
2642
2643// .operations_research.math_opt.TerminationProto termination = 2;
2644inline bool SolveResultProto::has_termination() const {
2645 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2646 PROTOBUF_ASSUME(!value || _impl_.termination_ != nullptr);
2647 return value;
2648}
2650 ::google::protobuf::internal::TSanWrite(&_impl_);
2651 if (_impl_.termination_ != nullptr) _impl_.termination_->Clear();
2652 _impl_._has_bits_[0] &= ~0x00000001u;
2653}
2654inline const ::operations_research::math_opt::TerminationProto& SolveResultProto::_internal_termination() const {
2655 ::google::protobuf::internal::TSanRead(&_impl_);
2656 const ::operations_research::math_opt::TerminationProto* p = _impl_.termination_;
2657 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::TerminationProto&>(::operations_research::math_opt::_TerminationProto_default_instance_);
2658}
2659inline const ::operations_research::math_opt::TerminationProto& SolveResultProto::termination() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2660 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.termination)
2661 return _internal_termination();
2662}
2665 ::google::protobuf::internal::TSanWrite(&_impl_);
2666 if (GetArena() == nullptr) {
2667 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.termination_);
2668 }
2669 _impl_.termination_ = reinterpret_cast<::operations_research::math_opt::TerminationProto*>(value);
2670 if (value != nullptr) {
2671 _impl_._has_bits_[0] |= 0x00000001u;
2672 } else {
2673 _impl_._has_bits_[0] &= ~0x00000001u;
2675 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.termination)
2676}
2677inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE SolveResultProto::release_termination() {
2678 ::google::protobuf::internal::TSanWrite(&_impl_);
2679
2680 _impl_._has_bits_[0] &= ~0x00000001u;
2682 _impl_.termination_ = 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);
2693 }
2694 return released;
2695}
2696inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_termination() {
2697 ::google::protobuf::internal::TSanWrite(&_impl_);
2698 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.termination)
2699
2700 _impl_._has_bits_[0] &= ~0x00000001u;
2702 _impl_.termination_ = nullptr;
2703 return temp;
2704}
2705inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_termination() {
2706 ::google::protobuf::internal::TSanWrite(&_impl_);
2707 if (_impl_.termination_ == nullptr) {
2708 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::TerminationProto>(GetArena());
2709 _impl_.termination_ = reinterpret_cast<::operations_research::math_opt::TerminationProto*>(p);
2710 }
2711 return _impl_.termination_;
2712}
2713inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL SolveResultProto::mutable_termination()
2714 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2715 _impl_._has_bits_[0] |= 0x00000001u;
2716 ::operations_research::math_opt::TerminationProto* _msg = _internal_mutable_termination();
2717 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.termination)
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_.termination_);
2725 }
2726
2727 if (value != nullptr) {
2728 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2729 if (message_arena != submessage_arena) {
2730 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2731 }
2732 _impl_._has_bits_[0] |= 0x00000001u;
2733 } else {
2734 _impl_._has_bits_[0] &= ~0x00000001u;
2736
2737 _impl_.termination_ = reinterpret_cast<::operations_research::math_opt::TerminationProto*>(value);
2738 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.termination)
2739}
2740
2741// repeated .operations_research.math_opt.SolutionProto solutions = 3;
2742inline int SolveResultProto::_internal_solutions_size() const {
2743 return _internal_solutions().size();
2744}
2745inline int SolveResultProto::solutions_size() const {
2746 return _internal_solutions_size();
2747}
2748inline ::operations_research::math_opt::SolutionProto* PROTOBUF_NONNULL SolveResultProto::mutable_solutions(int index)
2749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2750 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.solutions)
2751 return _internal_mutable_solutions()->Mutable(index);
2752}
2753inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL SolveResultProto::mutable_solutions()
2754 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2755 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResultProto.solutions)
2756 ::google::protobuf::internal::TSanWrite(&_impl_);
2757 return _internal_mutable_solutions();
2758}
2759inline const ::operations_research::math_opt::SolutionProto& SolveResultProto::solutions(int index) const
2760 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2761 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.solutions)
2762 return _internal_solutions().Get(index);
2764inline ::operations_research::math_opt::SolutionProto* PROTOBUF_NONNULL SolveResultProto::add_solutions()
2765 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2766 ::google::protobuf::internal::TSanWrite(&_impl_);
2767 ::operations_research::math_opt::SolutionProto* _add = _internal_mutable_solutions()->Add();
2768 // @@protoc_insertion_point(field_add:operations_research.math_opt.SolveResultProto.solutions)
2769 return _add;
2770}
2771inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& SolveResultProto::solutions() const
2772 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2773 // @@protoc_insertion_point(field_list:operations_research.math_opt.SolveResultProto.solutions)
2774 return _internal_solutions();
2775}
2776inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
2777SolveResultProto::_internal_solutions() const {
2778 ::google::protobuf::internal::TSanRead(&_impl_);
2779 return _impl_.solutions_;
2780}
2781inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL
2782SolveResultProto::_internal_mutable_solutions() {
2783 ::google::protobuf::internal::TSanRead(&_impl_);
2784 return &_impl_.solutions_;
2785}
2787// repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
2788inline int SolveResultProto::_internal_primal_rays_size() const {
2789 return _internal_primal_rays().size();
2790}
2791inline int SolveResultProto::primal_rays_size() const {
2792 return _internal_primal_rays_size();
2793}
2794inline ::operations_research::math_opt::PrimalRayProto* PROTOBUF_NONNULL SolveResultProto::mutable_primal_rays(int index)
2795 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2796 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.primal_rays)
2797 return _internal_mutable_primal_rays()->Mutable(index);
2798}
2799inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL SolveResultProto::mutable_primal_rays()
2800 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2801 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResultProto.primal_rays)
2802 ::google::protobuf::internal::TSanWrite(&_impl_);
2803 return _internal_mutable_primal_rays();
2804}
2805inline const ::operations_research::math_opt::PrimalRayProto& SolveResultProto::primal_rays(int index) const
2806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2807 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.primal_rays)
2808 return _internal_primal_rays().Get(index);
2810inline ::operations_research::math_opt::PrimalRayProto* PROTOBUF_NONNULL SolveResultProto::add_primal_rays()
2811 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2812 ::google::protobuf::internal::TSanWrite(&_impl_);
2813 ::operations_research::math_opt::PrimalRayProto* _add = _internal_mutable_primal_rays()->Add();
2814 // @@protoc_insertion_point(field_add:operations_research.math_opt.SolveResultProto.primal_rays)
2815 return _add;
2816}
2817inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& SolveResultProto::primal_rays() const
2818 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2819 // @@protoc_insertion_point(field_list:operations_research.math_opt.SolveResultProto.primal_rays)
2820 return _internal_primal_rays();
2821}
2822inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>&
2823SolveResultProto::_internal_primal_rays() const {
2824 ::google::protobuf::internal::TSanRead(&_impl_);
2825 return _impl_.primal_rays_;
2826}
2827inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL
2828SolveResultProto::_internal_mutable_primal_rays() {
2829 ::google::protobuf::internal::TSanRead(&_impl_);
2830 return &_impl_.primal_rays_;
2831}
2833// repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
2834inline int SolveResultProto::_internal_dual_rays_size() const {
2835 return _internal_dual_rays().size();
2836}
2837inline int SolveResultProto::dual_rays_size() const {
2838 return _internal_dual_rays_size();
2839}
2840inline ::operations_research::math_opt::DualRayProto* PROTOBUF_NONNULL SolveResultProto::mutable_dual_rays(int index)
2841 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2842 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.dual_rays)
2843 return _internal_mutable_dual_rays()->Mutable(index);
2844}
2845inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL SolveResultProto::mutable_dual_rays()
2846 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2847 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResultProto.dual_rays)
2848 ::google::protobuf::internal::TSanWrite(&_impl_);
2849 return _internal_mutable_dual_rays();
2850}
2851inline const ::operations_research::math_opt::DualRayProto& SolveResultProto::dual_rays(int index) const
2852 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2853 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.dual_rays)
2854 return _internal_dual_rays().Get(index);
2856inline ::operations_research::math_opt::DualRayProto* PROTOBUF_NONNULL SolveResultProto::add_dual_rays()
2857 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2858 ::google::protobuf::internal::TSanWrite(&_impl_);
2859 ::operations_research::math_opt::DualRayProto* _add = _internal_mutable_dual_rays()->Add();
2860 // @@protoc_insertion_point(field_add:operations_research.math_opt.SolveResultProto.dual_rays)
2861 return _add;
2862}
2863inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& SolveResultProto::dual_rays() const
2864 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2865 // @@protoc_insertion_point(field_list:operations_research.math_opt.SolveResultProto.dual_rays)
2866 return _internal_dual_rays();
2867}
2868inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
2869SolveResultProto::_internal_dual_rays() const {
2870 ::google::protobuf::internal::TSanRead(&_impl_);
2871 return _impl_.dual_rays_;
2872}
2873inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL
2874SolveResultProto::_internal_mutable_dual_rays() {
2875 ::google::protobuf::internal::TSanRead(&_impl_);
2876 return &_impl_.dual_rays_;
2877}
2879// .operations_research.math_opt.SolveStatsProto solve_stats = 6;
2880inline bool SolveResultProto::has_solve_stats() const {
2881 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2882 PROTOBUF_ASSUME(!value || _impl_.solve_stats_ != nullptr);
2883 return value;
2884}
2886 ::google::protobuf::internal::TSanWrite(&_impl_);
2887 if (_impl_.solve_stats_ != nullptr) _impl_.solve_stats_->Clear();
2888 _impl_._has_bits_[0] &= ~0x00000002u;
2889}
2890inline const ::operations_research::math_opt::SolveStatsProto& SolveResultProto::_internal_solve_stats() const {
2891 ::google::protobuf::internal::TSanRead(&_impl_);
2892 const ::operations_research::math_opt::SolveStatsProto* p = _impl_.solve_stats_;
2894}
2895inline const ::operations_research::math_opt::SolveStatsProto& SolveResultProto::solve_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2896 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.solve_stats)
2897 return _internal_solve_stats();
2898}
2901 ::google::protobuf::internal::TSanWrite(&_impl_);
2902 if (GetArena() == nullptr) {
2903 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_stats_);
2904 }
2905 _impl_.solve_stats_ = reinterpret_cast<::operations_research::math_opt::SolveStatsProto*>(value);
2906 if (value != nullptr) {
2907 _impl_._has_bits_[0] |= 0x00000002u;
2908 } else {
2909 _impl_._has_bits_[0] &= ~0x00000002u;
2911 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.solve_stats)
2912}
2913inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE SolveResultProto::release_solve_stats() {
2914 ::google::protobuf::internal::TSanWrite(&_impl_);
2915
2916 _impl_._has_bits_[0] &= ~0x00000002u;
2918 _impl_.solve_stats_ = nullptr;
2919 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2920 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2921 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2922 if (GetArena() == nullptr) {
2923 delete old;
2924 }
2925 } else {
2926 if (GetArena() != nullptr) {
2927 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2929 }
2930 return released;
2931}
2932inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_solve_stats() {
2933 ::google::protobuf::internal::TSanWrite(&_impl_);
2934 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.solve_stats)
2935
2936 _impl_._has_bits_[0] &= ~0x00000002u;
2938 _impl_.solve_stats_ = nullptr;
2939 return temp;
2940}
2941inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_solve_stats() {
2942 ::google::protobuf::internal::TSanWrite(&_impl_);
2943 if (_impl_.solve_stats_ == nullptr) {
2944 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveStatsProto>(GetArena());
2945 _impl_.solve_stats_ = reinterpret_cast<::operations_research::math_opt::SolveStatsProto*>(p);
2946 }
2947 return _impl_.solve_stats_;
2948}
2949inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL SolveResultProto::mutable_solve_stats()
2950 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2951 _impl_._has_bits_[0] |= 0x00000002u;
2952 ::operations_research::math_opt::SolveStatsProto* _msg = _internal_mutable_solve_stats();
2953 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.solve_stats)
2954 return _msg;
2955}
2957 ::google::protobuf::Arena* message_arena = GetArena();
2958 ::google::protobuf::internal::TSanWrite(&_impl_);
2959 if (message_arena == nullptr) {
2960 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_stats_);
2961 }
2962
2963 if (value != nullptr) {
2964 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2965 if (message_arena != submessage_arena) {
2966 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2967 }
2968 _impl_._has_bits_[0] |= 0x00000002u;
2969 } else {
2970 _impl_._has_bits_[0] &= ~0x00000002u;
2972
2973 _impl_.solve_stats_ = reinterpret_cast<::operations_research::math_opt::SolveStatsProto*>(value);
2974 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.solve_stats)
2975}
2976
2977// .operations_research.GScipOutput gscip_output = 7;
2978inline bool SolveResultProto::has_gscip_output() const {
2980}
2981inline bool SolveResultProto::_internal_has_gscip_output() const {
2983}
2984inline void SolveResultProto::set_has_gscip_output() {
2985 _impl_._oneof_case_[0] = kGscipOutput;
2986}
2987inline ::operations_research::GScipOutput* PROTOBUF_NULLABLE SolveResultProto::release_gscip_output() {
2988 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.gscip_output)
2990 clear_has_solver_specific_output();
2991 auto* temp = reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_);
2992 if (GetArena() != nullptr) {
2993 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
2994 }
2995 _impl_.solver_specific_output_.gscip_output_ = nullptr;
2996 return temp;
2997 } else {
2998 return nullptr;
2999 }
3000}
3001inline const ::operations_research::GScipOutput& SolveResultProto::_internal_gscip_output() const {
3002 return solver_specific_output_case() == kGscipOutput ? *reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_) : reinterpret_cast<::operations_research::GScipOutput&>(::operations_research::_GScipOutput_default_instance_);
3003}
3004inline const ::operations_research::GScipOutput& SolveResultProto::gscip_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3005 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.gscip_output)
3006 return _internal_gscip_output();
3007}
3008inline ::operations_research::GScipOutput* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_gscip_output() {
3009 // @@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResultProto.gscip_output)
3011 clear_has_solver_specific_output();
3012 auto* temp = reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_);
3013 _impl_.solver_specific_output_.gscip_output_ = nullptr;
3014 return temp;
3015 } else {
3016 return nullptr;
3017 }
3018}
3020 ::operations_research::GScipOutput* PROTOBUF_NULLABLE value) {
3021 // We rely on the oneof clear method to free the earlier contents
3022 // of this oneof. We can directly use the pointer we're given to
3023 // set the new value.
3025 if (value) {
3026 set_has_gscip_output();
3027 _impl_.solver_specific_output_.gscip_output_ = reinterpret_cast<::google::protobuf::Message*>(value);
3028 }
3029 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.gscip_output)
3030}
3031inline ::operations_research::GScipOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_gscip_output() {
3034 set_has_gscip_output();
3035 _impl_.solver_specific_output_.gscip_output_ = reinterpret_cast<::google::protobuf::Message*>(
3036 ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipOutput>(GetArena()));
3037 }
3038 return reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_);
3039}
3040inline ::operations_research::GScipOutput* PROTOBUF_NONNULL SolveResultProto::mutable_gscip_output()
3041 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3042 ::operations_research::GScipOutput* _msg = _internal_mutable_gscip_output();
3043 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.gscip_output)
3044 return _msg;
3045}
3046
3047// .operations_research.math_opt.OsqpOutput osqp_output = 8;
3048inline bool SolveResultProto::has_osqp_output() const {
3050}
3051inline bool SolveResultProto::_internal_has_osqp_output() const {
3053}
3054inline void SolveResultProto::set_has_osqp_output() {
3055 _impl_._oneof_case_[0] = kOsqpOutput;
3056}
3057inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE SolveResultProto::release_osqp_output() {
3058 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.osqp_output)
3060 clear_has_solver_specific_output();
3061 auto* temp = reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_);
3062 if (GetArena() != nullptr) {
3063 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3064 }
3065 _impl_.solver_specific_output_.osqp_output_ = nullptr;
3066 return temp;
3067 } else {
3068 return nullptr;
3069 }
3070}
3071inline const ::operations_research::math_opt::OsqpOutput& SolveResultProto::_internal_osqp_output() const {
3073}
3074inline const ::operations_research::math_opt::OsqpOutput& SolveResultProto::osqp_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3075 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.osqp_output)
3076 return _internal_osqp_output();
3077}
3078inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_osqp_output() {
3079 // @@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResultProto.osqp_output)
3081 clear_has_solver_specific_output();
3082 auto* temp = reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_);
3083 _impl_.solver_specific_output_.osqp_output_ = nullptr;
3084 return temp;
3085 } else {
3086 return nullptr;
3087 }
3088}
3090 ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE value) {
3091 // We rely on the oneof clear method to free the earlier contents
3092 // of this oneof. We can directly use the pointer we're given to
3093 // set the new value.
3095 if (value) {
3096 set_has_osqp_output();
3097 _impl_.solver_specific_output_.osqp_output_ = reinterpret_cast<::google::protobuf::Message*>(value);
3098 }
3099 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.osqp_output)
3100}
3101inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_osqp_output() {
3104 set_has_osqp_output();
3105 _impl_.solver_specific_output_.osqp_output_ = reinterpret_cast<::google::protobuf::Message*>(
3106 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpOutput>(GetArena()));
3107 }
3108 return reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_);
3109}
3110inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL SolveResultProto::mutable_osqp_output()
3111 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3112 ::operations_research::math_opt::OsqpOutput* _msg = _internal_mutable_osqp_output();
3113 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.osqp_output)
3114 return _msg;
3115}
3116
3117// .operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
3118inline bool SolveResultProto::has_pdlp_output() const {
3120}
3121inline bool SolveResultProto::_internal_has_pdlp_output() const {
3123}
3124inline void SolveResultProto::set_has_pdlp_output() {
3125 _impl_._oneof_case_[0] = kPdlpOutput;
3126}
3128 ::google::protobuf::internal::TSanWrite(&_impl_);
3130 if (GetArena() == nullptr) {
3131 delete _impl_.solver_specific_output_.pdlp_output_;
3132 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3133 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.pdlp_output_);
3134 }
3135 clear_has_solver_specific_output();
3136 }
3137}
3138inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NULLABLE SolveResultProto::release_pdlp_output() {
3139 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.pdlp_output)
3141 clear_has_solver_specific_output();
3142 auto* temp = reinterpret_cast<::operations_research::math_opt::SolveResultProto_PdlpOutput*>(_impl_.solver_specific_output_.pdlp_output_);
3143 if (GetArena() != nullptr) {
3144 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3145 }
3146 _impl_.solver_specific_output_.pdlp_output_ = nullptr;
3147 return temp;
3148 } else {
3149 return nullptr;
3150 }
3151}
3152inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput& SolveResultProto::_internal_pdlp_output() const {
3154}
3155inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput& SolveResultProto::pdlp_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3156 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.pdlp_output)
3157 return _internal_pdlp_output();
3158}
3159inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_pdlp_output() {
3160 // @@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResultProto.pdlp_output)
3162 clear_has_solver_specific_output();
3163 auto* temp = reinterpret_cast<::operations_research::math_opt::SolveResultProto_PdlpOutput*>(_impl_.solver_specific_output_.pdlp_output_);
3164 _impl_.solver_specific_output_.pdlp_output_ = nullptr;
3165 return temp;
3166 } else {
3167 return nullptr;
3168 }
3169}
3172 // We rely on the oneof clear method to free the earlier contents
3173 // of this oneof. We can directly use the pointer we're given to
3174 // set the new value.
3176 if (value) {
3177 set_has_pdlp_output();
3178 _impl_.solver_specific_output_.pdlp_output_ = reinterpret_cast<::google::protobuf::Message*>(value);
3179 }
3180 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.pdlp_output)
3181}
3182inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_pdlp_output() {
3185 set_has_pdlp_output();
3186 _impl_.solver_specific_output_.pdlp_output_ = reinterpret_cast<::google::protobuf::Message*>(
3187 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveResultProto_PdlpOutput>(GetArena()));
3188 }
3189 return reinterpret_cast<::operations_research::math_opt::SolveResultProto_PdlpOutput*>(_impl_.solver_specific_output_.pdlp_output_);
3190}
3191inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL SolveResultProto::mutable_pdlp_output()
3192 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3193 ::operations_research::math_opt::SolveResultProto_PdlpOutput* _msg = _internal_mutable_pdlp_output();
3194 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.pdlp_output)
3195 return _msg;
3196}
3197
3198inline bool SolveResultProto::has_solver_specific_output() const {
3200}
3201inline void SolveResultProto::clear_has_solver_specific_output() {
3202 _impl_._oneof_case_[0] = SOLVER_SPECIFIC_OUTPUT_NOT_SET;
3203}
3205 return SolveResultProto::SolverSpecificOutputCase(_impl_._oneof_case_[0]);
3207#ifdef __GNUC__
3208#pragma GCC diagnostic pop
3209#endif // __GNUC__
3210
3211// @@protoc_insertion_point(namespace_scope)
3212} // namespace math_opt
3213} // namespace operations_research
3214
3215
3216namespace google {
3217namespace protobuf {
3218
3219template <>
3220struct is_proto_enum<::operations_research::math_opt::FeasibilityStatusProto> : std::true_type {};
3221template <>
3222inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::FeasibilityStatusProto>() {
3223 return ::operations_research::math_opt::FeasibilityStatusProto_descriptor();
3224}
3225template <>
3226struct is_proto_enum<::operations_research::math_opt::TerminationReasonProto> : std::true_type {};
3227template <>
3228inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::TerminationReasonProto>() {
3229 return ::operations_research::math_opt::TerminationReasonProto_descriptor();
3230}
3231template <>
3232struct is_proto_enum<::operations_research::math_opt::LimitProto> : std::true_type {};
3233template <>
3234inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LimitProto>() {
3235 return ::operations_research::math_opt::LimitProto_descriptor();
3236}
3238} // namespace protobuf
3239} // namespace google
3240
3241// @@protoc_insertion_point(global_scope)
3242
3243#include "google/protobuf/port_undef.inc"
3244
3245#endif // ortools_2fmath_5fopt_2fresult_2eproto_2epb_2eh
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:497
friend class ::google::protobuf::MessageLite
Definition result.pb.h:639
void CopyFrom(const ObjectiveBoundsProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_primal_bound()
double primal_bound = 2;
Definition result.pb.h:2194
void MergeFrom(const ObjectiveBoundsProto &from)
Definition result.pb.h:543
ObjectiveBoundsProto & operator=(const ObjectiveBoundsProto &from)
Definition result.pb.h:483
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ObjectiveBoundsProto & default_instance()
Definition result.pb.h:515
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition result.pb.h:512
void Swap(ObjectiveBoundsProto *PROTOBUF_NONNULL other)
Definition result.pb.h:521
PROTOBUF_CONSTEXPR ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:509
friend class ::google::protobuf::MessageLite
Definition result.pb.h:434
ProblemStatusProto & operator=(const ProblemStatusProto &from)
Definition result.pb.h:267
void clear_primal_or_dual_infeasible()
bool primal_or_dual_infeasible = 3;
Definition result.pb.h:1825
void set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value)
Definition result.pb.h:1786
::operations_research::math_opt::FeasibilityStatusProto dual_status() const
Definition result.pb.h:1806
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:281
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition result.pb.cc:564
ProblemStatusProto(const ProblemStatusProto &from)
Definition result.pb.h:264
ProblemStatusProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, ProblemStatusProto &&from) noexcept
Definition result.pb.h:372
void CopyFrom(const ProblemStatusProto &from)
Definition result.pb.cc:704
void Swap(ProblemStatusProto *PROTOBUF_NONNULL other)
Definition result.pb.h:305
void clear_primal_status()
.operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
Definition result.pb.h:1777
void set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value)
Definition result.pb.h:1810
PROTOBUF_CONSTEXPR ProblemStatusProto(::google::protobuf::internal::ConstantInitialized)
::operations_research::math_opt::FeasibilityStatusProto primal_status() const
Definition result.pb.h:1782
void clear_dual_status()
.operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
Definition result.pb.h:1801
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static const SolveResultProto_PdlpOutput & default_instance()
Definition result.pb.h:1260
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NONNULL mutable_convergence_information()
Definition result.pb.h:2625
const ::operations_research::pdlp::ConvergenceInformation & convergence_information() const
Definition result.pb.h:2571
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE release_convergence_information()
Definition result.pb.h:2589
SolveResultProto_PdlpOutput *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition result.pb.h:1282
bool has_convergence_information() const
.operations_research.pdlp.ConvergenceInformation convergence_information = 1;
Definition result.pb.h:2561
void unsafe_arena_set_allocated_convergence_information(::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE value)
Definition result.pb.h:2575
void MergeFrom(const SolveResultProto_PdlpOutput &from)
Definition result.pb.h:1288
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void Swap(SolveResultProto_PdlpOutput *PROTOBUF_NONNULL other)
Definition result.pb.h:1266
SolveResultProto_PdlpOutput & operator=(const SolveResultProto_PdlpOutput &from)
Definition result.pb.h:1228
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition result.pb.h:1257
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const SolveResultProto_PdlpOutput &from)
void set_allocated_convergence_information(::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE value)
Definition result.pb.h:2632
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:1254
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE unsafe_arena_release_convergence_information()
Definition result.pb.h:2608
void Swap(SolveResultProto *PROTOBUF_NONNULL other)
Definition result.pb.h:1469
::operations_research::math_opt::SolutionProto *PROTOBUF_NONNULL add_solutions()
Definition result.pb.h:2779
void unsafe_arena_set_allocated_pdlp_output(::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE value)
Definition result.pb.h:3185
void set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NONNULL mutable_pdlp_output()
Definition result.pb.h:3206
::operations_research::GScipOutput *PROTOBUF_NULLABLE unsafe_arena_release_gscip_output()
Definition result.pb.h:3023
::operations_research::math_opt::OsqpOutput *PROTOBUF_NONNULL mutable_osqp_output()
Definition result.pb.h:3125
void set_allocated_solve_stats(::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2971
friend void swap(SolveResultProto &a, SolveResultProto &b)
Definition result.pb.h:1468
SolveResultProto_PdlpOutput PdlpOutput
nested types -------------------------------------------------—
Definition result.pb.h:1552
static const SolveResultProto & default_instance()
Definition result.pb.h:1457
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > *PROTOBUF_NONNULL mutable_dual_rays()
Definition result.pb.h:2860
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto > & solutions() const
Definition result.pb.h:2786
::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE unsafe_arena_release_termination()
Definition result.pb.h:2711
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto > *PROTOBUF_NONNULL mutable_solutions()
Definition result.pb.h:2768
void unsafe_arena_set_allocated_solve_stats(::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2914
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE release_pdlp_output()
Definition result.pb.h:3153
bool has_gscip_output() const
.operations_research.GScipOutput gscip_output = 7;
Definition result.pb.h:2993
void set_allocated_pdlp_output(::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::PrimalRayProto & primal_rays(int index) const
Definition result.pb.h:2820
SolveResultProto & operator=(const SolveResultProto &from)
Definition result.pb.h:1425
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE unsafe_arena_release_solve_stats()
Definition result.pb.h:2947
const ::operations_research::math_opt::OsqpOutput & osqp_output() const
Definition result.pb.h:3089
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL add_primal_rays()
Definition result.pb.h:2825
bool has_osqp_output() const
.operations_research.math_opt.OsqpOutput osqp_output = 8;
Definition result.pb.h:3063
void set_allocated_termination(::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2735
::operations_research::math_opt::SolutionProto *PROTOBUF_NONNULL mutable_solutions(int index)
Definition result.pb.h:2763
const ::operations_research::math_opt::SolutionProto & solutions(int index) const
Definition result.pb.h:2774
::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE release_termination()
Definition result.pb.h:2692
::operations_research::math_opt::DualRayProto *PROTOBUF_NONNULL add_dual_rays()
Definition result.pb.h:2871
bool has_termination() const
.operations_research.math_opt.TerminationProto termination = 2;
Definition result.pb.h:2659
::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE unsafe_arena_release_osqp_output()
Definition result.pb.h:3093
const ::operations_research::math_opt::SolveResultProto_PdlpOutput & pdlp_output() const
Definition result.pb.h:3170
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto > & primal_rays() const
Definition result.pb.h:2832
::operations_research::math_opt::TerminationProto *PROTOBUF_NONNULL mutable_termination()
Definition result.pb.h:2728
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::operations_research::math_opt::DualRayProto & dual_rays(int index) const
Definition result.pb.h:2866
::operations_research::GScipOutput *PROTOBUF_NONNULL mutable_gscip_output()
Definition result.pb.h:3055
SolverSpecificOutputCase solver_specific_output_case() const
Definition result.pb.h:3219
int dual_rays_size() const
repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
Definition result.pb.h:2852
bool has_pdlp_output() const
.operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
Definition result.pb.h:3133
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL mutable_primal_rays(int index)
Definition result.pb.h:2809
const ::operations_research::math_opt::SolveStatsProto & solve_stats() const
Definition result.pb.h:2910
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto > *PROTOBUF_NONNULL mutable_primal_rays()
Definition result.pb.h:2814
::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE release_osqp_output()
Definition result.pb.h:3072
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NONNULL mutable_solve_stats()
Definition result.pb.h:2964
bool has_solve_stats() const
.operations_research.math_opt.SolveStatsProto solve_stats = 6;
Definition result.pb.h:2895
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE release_solve_stats()
Definition result.pb.h:2928
::operations_research::math_opt::DualRayProto *PROTOBUF_NONNULL mutable_dual_rays(int index)
Definition result.pb.h:2855
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > & dual_rays() const
Definition result.pb.h:2878
void unsafe_arena_set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
Definition result.pb.h:3104
void unsafe_arena_set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
Definition result.pb.h:3034
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE unsafe_arena_release_pdlp_output()
Definition result.pb.h:3174
void set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
SolveResultProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition result.pb.h:1485
const ::operations_research::GScipOutput & gscip_output() const
Definition result.pb.h:3019
int primal_rays_size() const
repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
Definition result.pb.h:2806
const ::operations_research::math_opt::TerminationProto & termination() const
Definition result.pb.h:2674
friend class ::google::protobuf::Arena
Definition result.pb.h:1720
void unsafe_arena_set_allocated_termination(::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2678
int solutions_size() const
repeated .operations_research.math_opt.SolutionProto solutions = 3;
Definition result.pb.h:2760
::operations_research::GScipOutput *PROTOBUF_NULLABLE release_gscip_output()
Definition result.pb.h:3002
void clear_node_count()
int64 node_count = 7;
Definition result.pb.h:2165
const ::operations_research::math_opt::ProblemStatusProto & problem_status() const
Definition result.pb.h:2010
static constexpr auto InternalGenerateClassData_()
Definition result.pb.cc:825
void set_allocated_solve_time(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
Definition result.pb.h:1925
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition result.pb.cc:816
void clear_first_order_iterations()
int64 first_order_iterations = 8;
Definition result.pb.h:2141
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE release_problem_status()
Definition result.pb.h:2028
SolveStatsProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition result.pb.h:996
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE unsafe_arena_release_problem_status()
Definition result.pb.h:2047
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition result.pb.cc:970
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
Definition result.pb.cc:853
void CopyFrom(const SolveStatsProto &from)
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NONNULL mutable_problem_status()
Definition result.pb.h:2064
void clear_best_primal_bound()
double best_primal_bound = 2 [deprecated = true];
Definition result.pb.h:1947
void clear_best_dual_bound()
double best_dual_bound = 3 [deprecated = true];
Definition result.pb.h:1971
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:968
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition result.pb.h:965
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_solve_time()
Definition result.pb.h:1918
void MergeFrom(const SolveStatsProto &from)
Definition result.pb.h:1002
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_solve_time()
Definition result.pb.h:1901
::google::protobuf::Duration *PROTOBUF_NULLABLE release_solve_time()
Definition result.pb.h:1882
SolveStatsProto & operator=(const SolveStatsProto &from)
Definition result.pb.h:942
void clear_barrier_iterations()
int64 barrier_iterations = 6;
Definition result.pb.h:2117
bool has_problem_status() const
.operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
Definition result.pb.h:1995
bool has_solve_time() const
.google.protobuf.Duration solve_time = 1;
Definition result.pb.h:1854
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:956
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition result.pb.cc:937
const ::google::protobuf::Duration & solve_time() const
Definition result.pb.h:1864
void clear_simplex_iterations()
int64 simplex_iterations = 5;
Definition result.pb.h:2093
::google::protobuf::Metadata GetMetadata() const
void Swap(SolveStatsProto *PROTOBUF_NONNULL other)
Definition result.pb.h:980
friend void swap(SolveStatsProto &a, SolveStatsProto &b)
Definition result.pb.h:979
void unsafe_arena_set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2014
friend class ::google::protobuf::Arena
Definition result.pb.h:1175
void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2071
void unsafe_arena_set_allocated_solve_time(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
Definition result.pb.h:1868
::std::string *PROTOBUF_NULLABLE release_detail()
Definition result.pb.h:2332
friend class ::google::protobuf::MessageLite
Definition result.pb.h:891
bool has_problem_status() const
.operations_research.math_opt.ProblemStatusProto problem_status = 4;
Definition result.pb.h:2360
const ::operations_research::math_opt::ObjectiveBoundsProto & objective_bounds() const
Definition result.pb.h:2473
void set_limit(::operations_research::math_opt::LimitProto value)
Definition result.pb.h:2280
void set_detail(Arg_ &&arg, Args_... args)
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE unsafe_arena_release_objective_bounds()
Definition result.pb.h:2510
void set_allocated_detail(::std::string *PROTOBUF_NULLABLE value)
Definition result.pb.h:2345
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE unsafe_arena_release_problem_status()
Definition result.pb.h:2412
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NONNULL mutable_objective_bounds()
Definition result.pb.h:2527
void Swap(TerminationProto *PROTOBUF_NONNULL other)
Definition result.pb.h:725
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE release_objective_bounds()
Definition result.pb.h:2491
void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2436
void clear_limit()
.operations_research.math_opt.LimitProto limit = 2;
Definition result.pb.h:2271
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:713
static const TerminationProto & default_instance()
Definition result.pb.h:719
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NONNULL mutable_problem_status()
Definition result.pb.h:2429
void MergeFrom(const TerminationProto &from)
Definition result.pb.h:747
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:701
bool has_objective_bounds() const
.operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
Definition result.pb.h:2458
friend void swap(TerminationProto &a, TerminationProto &b)
Definition result.pb.h:724
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:705
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::std::string *PROTOBUF_NONNULL mutable_detail()
Definition result.pb.h:2312
void unsafe_arena_set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2379
void CopyFrom(const TerminationProto &from)
PROTOBUF_CONSTEXPR TerminationProto(::google::protobuf::internal::ConstantInitialized)
const ::operations_research::math_opt::ProblemStatusProto & problem_status() const
Definition result.pb.h:2375
void unsafe_arena_set_allocated_objective_bounds(::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2477
void clear_reason()
.operations_research.math_opt.TerminationReasonProto reason = 1;
Definition result.pb.h:2247
void set_allocated_objective_bounds(::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2534
::operations_research::math_opt::TerminationReasonProto reason() const
Definition result.pb.h:2252
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition result.pb.h:710
void set_reason(::operations_research::math_opt::TerminationReasonProto value)
Definition result.pb.h:2256
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
TerminationProto & operator=(const TerminationProto &from)
Definition result.pb.h:687
friend class ::google::protobuf::Arena
Definition result.pb.h:892
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE release_problem_status()
Definition result.pb.h:2393
::operations_research::math_opt::LimitProto limit() const
Definition result.pb.h:2276
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LimitProto >()
Definition result.pb.h:3249
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::TerminationReasonProto >()
Definition result.pb.h:3243
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::FeasibilityStatusProto >()
Definition result.pb.h:3237
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TerminationReasonProto_descriptor()
Definition result.pb.cc:407
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FeasibilityStatusProto_descriptor()
Definition result.pb.cc:401
constexpr FeasibilityStatusProto FeasibilityStatusProto_MAX
Definition result.pb.h:125
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveStatsProtoDefaultTypeInternal _SolveStatsProto_default_instance_
Definition result.pb.cc:144
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_
constexpr TerminationReasonProto TerminationReasonProto_MAX
Definition result.pb.h:169
bool FeasibilityStatusProto_Parse(::absl::string_view name, FeasibilityStatusProto *PROTOBUF_NONNULL value)
Definition result.pb.h:144
constexpr LimitProto LimitProto_MIN
Definition result.pb.h:214
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_
Definition result.pb.cc:849
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProto_PdlpOutputDefaultTypeInternal _SolveResultProto_PdlpOutput_default_instance_
Definition result.pb.cc:169
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpOutputDefaultTypeInternal _OsqpOutput_default_instance_
Definition osqp.pb.cc:98
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LimitProto_descriptor()
Definition result.pb.cc:413
bool LimitProto_IsValid(int value)
Definition result.pb.h:218
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProtoDefaultTypeInternal _SolveResultProto_default_instance_
Definition result.pb.cc:200
bool FeasibilityStatusProto_IsValid(int value)
Definition result.pb.h:127
const ::std::string & FeasibilityStatusProto_Name(T value)
Definition result.pb.h:133
bool TerminationReasonProto_Parse(::absl::string_view name, TerminationReasonProto *PROTOBUF_NONNULL value)
Definition result.pb.h:188
bool LimitProto_Parse(::absl::string_view name, LimitProto *PROTOBUF_NONNULL value)
Definition result.pb.h:235
constexpr int FeasibilityStatusProto_ARRAYSIZE
Definition result.pb.h:130
bool TerminationReasonProto_IsValid(int value)
Definition result.pb.h:171
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_
const ::std::string & LimitProto_Name(T value)
Definition result.pb.h:224
PROTOBUF_CONSTINIT const uint32_t LimitProto_internal_data_[]
Definition result.pb.cc:417
constexpr FeasibilityStatusProto FeasibilityStatusProto_MIN
Definition result.pb.h:123
PROTOBUF_CONSTINIT const uint32_t TerminationReasonProto_internal_data_[]
Definition result.pb.cc:411
constexpr int LimitProto_ARRAYSIZE
Definition result.pb.h:221
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TerminationProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProblemStatusProtoDefaultTypeInternal _ProblemStatusProto_default_instance_
Definition result.pb.cc:55
constexpr LimitProto LimitProto_MAX
Definition result.pb.h:216
constexpr TerminationReasonProto TerminationReasonProto_MIN
Definition result.pb.h:167
PROTOBUF_CONSTINIT const uint32_t FeasibilityStatusProto_internal_data_[]
Definition result.pb.cc:405
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveBoundsProtoDefaultTypeInternal _ObjectiveBoundsProto_default_instance_
Definition result.pb.cc:81
const ::std::string & TerminationReasonProto_Name(T value)
Definition result.pb.h:177
constexpr int TerminationReasonProto_ARRAYSIZE
Definition result.pb.h:174
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminationProtoDefaultTypeInternal _TerminationProto_default_instance_
Definition result.pb.cc:112
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_
Definition result.pb.cc:508
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConvergenceInformationDefaultTypeInternal _ConvergenceInformation_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GScipOutputDefaultTypeInternal _GScipOutput_default_instance_
Definition gscip.pb.cc:246
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
Definition result.pb.cc:383
Internal implementation detail – do not use these members.
Definition result.pb.h:55