Google OR-Tools v9.15
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.33.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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
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 explicit ProblemStatusProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
368 ProblemStatusProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ProblemStatusProto& from);
370 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ProblemStatusProto&& from) noexcept
371 : ProblemStatusProto(arena) {
372 *this = ::std::move(from);
373 }
374 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
375 static void* PROTOBUF_NONNULL PlacementNew_(
376 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
377 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
378 static constexpr auto InternalNewImpl_();
379
380 public:
381 static constexpr auto InternalGenerateClassData_();
382
383 ::google::protobuf::Metadata GetMetadata() const;
384 // nested types ----------------------------------------------------
385
386 // accessors -------------------------------------------------------
387 enum : int {
388 kPrimalStatusFieldNumber = 1,
389 kDualStatusFieldNumber = 2,
391 };
392 // .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
393 void clear_primal_status() ;
396
397 private:
398 ::operations_research::math_opt::FeasibilityStatusProto _internal_primal_status() const;
399 void _internal_set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value);
400
401 public:
402 // .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
403 void clear_dual_status() ;
406
407 private:
409 void _internal_set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value);
410
411 public:
412 // bool primal_or_dual_infeasible = 3;
414 bool primal_or_dual_infeasible() const;
415 void set_primal_or_dual_infeasible(bool value);
416
417 private:
418 bool _internal_primal_or_dual_infeasible() const;
419 void _internal_set_primal_or_dual_infeasible(bool value);
420
421 public:
422 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ProblemStatusProto)
423 private:
424 class _Internal;
425 friend class ::google::protobuf::internal::TcParser;
426 static const ::google::protobuf::internal::TcParseTable<2, 3,
427 0, 0,
428 2>
429 _table_;
430
431 friend class ::google::protobuf::MessageLite;
432 friend class ::google::protobuf::Arena;
433 template <typename T>
434 friend class ::google::protobuf::Arena::InternalHelper;
435 using InternalArenaConstructable_ = void;
436 using DestructorSkippable_ = void;
437 struct Impl_ {
438 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
439 inline explicit Impl_(
440 ::google::protobuf::internal::InternalVisibility visibility,
441 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
442 inline explicit Impl_(
443 ::google::protobuf::internal::InternalVisibility visibility,
444 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
445 const ProblemStatusProto& from_msg);
446 ::google::protobuf::internal::HasBits<1> _has_bits_;
447 ::google::protobuf::internal::CachedSize _cached_size_;
448 int primal_status_;
449 int dual_status_;
450 bool primal_or_dual_infeasible_;
451 PROTOBUF_TSAN_DECLARE_MEMBER
452 };
453 union { Impl_ _impl_; };
454 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
457OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_;
458// -------------------------------------------------------------------
459
460class OR_PROTO_DLL ObjectiveBoundsProto final : public ::google::protobuf::Message
461/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ObjectiveBoundsProto) */ {
462 public:
464 ~ObjectiveBoundsProto() PROTOBUF_FINAL;
465
466#if defined(PROTOBUF_CUSTOM_VTABLE)
467 void operator delete(ObjectiveBoundsProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
468 SharedDtor(*msg);
469 ::google::protobuf::internal::SizedDelete(msg, sizeof(ObjectiveBoundsProto));
470 }
471#endif
472
473 template <typename = void>
474 explicit PROTOBUF_CONSTEXPR ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized);
475
476 inline ObjectiveBoundsProto(const ObjectiveBoundsProto& from) : ObjectiveBoundsProto(nullptr, from) {}
478 : ObjectiveBoundsProto(nullptr, ::std::move(from)) {}
480 CopyFrom(from);
481 return *this;
483 inline ObjectiveBoundsProto& operator=(ObjectiveBoundsProto&& from) noexcept {
484 if (this == &from) return *this;
485 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
486 InternalSwap(&from);
487 } else {
488 CopyFrom(from);
489 }
490 return *this;
491 }
492
493 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
494 ABSL_ATTRIBUTE_LIFETIME_BOUND {
495 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
497 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
498 ABSL_ATTRIBUTE_LIFETIME_BOUND {
499 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
501
502 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
503 return GetDescriptor();
504 }
505 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
506 return default_instance().GetMetadata().descriptor;
507 }
508 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
509 return default_instance().GetMetadata().reflection;
510 }
512 return *reinterpret_cast<const ObjectiveBoundsProto*>(
515 static constexpr int kIndexInFileMessages = 2;
516 friend void swap(ObjectiveBoundsProto& a, ObjectiveBoundsProto& b) { a.Swap(&b); }
517 inline void Swap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
518 if (other == this) return;
519 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
520 InternalSwap(other);
521 } else {
522 ::google::protobuf::internal::GenericSwap(this, other);
523 }
524 }
525 void UnsafeArenaSwap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
526 if (other == this) return;
527 ABSL_DCHECK(GetArena() == other->GetArena());
528 InternalSwap(other);
529 }
530
531 // implements Message ----------------------------------------------
532
533 ObjectiveBoundsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
534 return ::google::protobuf::Message::DefaultConstruct<ObjectiveBoundsProto>(arena);
535 }
536 using ::google::protobuf::Message::CopyFrom;
537 void CopyFrom(const ObjectiveBoundsProto& from);
538 using ::google::protobuf::Message::MergeFrom;
539 void MergeFrom(const ObjectiveBoundsProto& from) { ObjectiveBoundsProto::MergeImpl(*this, from); }
540
541 private:
542 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
543 const ::google::protobuf::MessageLite& from_msg);
544
545 public:
546 bool IsInitialized() const {
547 return true;
548 }
549 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
550 #if defined(PROTOBUF_CUSTOM_VTABLE)
551 private:
552 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
553 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
554 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
555 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
556
557 public:
558 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
559 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
560 ::uint8_t* PROTOBUF_NONNULL target,
561 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
562 return _InternalSerialize(*this, target, stream);
563 }
564 #else // PROTOBUF_CUSTOM_VTABLE
565 ::size_t ByteSizeLong() const final;
566 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
567 ::uint8_t* PROTOBUF_NONNULL target,
568 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
569 #endif // PROTOBUF_CUSTOM_VTABLE
570 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
571
572 private:
573 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
574 static void SharedDtor(MessageLite& self);
575 void InternalSwap(ObjectiveBoundsProto* PROTOBUF_NONNULL other);
576 private:
577 template <typename T>
578 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
579 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ObjectiveBoundsProto"; }
580
581 explicit ObjectiveBoundsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
582 ObjectiveBoundsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveBoundsProto& from);
584 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ObjectiveBoundsProto&& from) noexcept
585 : ObjectiveBoundsProto(arena) {
586 *this = ::std::move(from);
587 }
588 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
589 static void* PROTOBUF_NONNULL PlacementNew_(
590 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
591 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
592 static constexpr auto InternalNewImpl_();
593
594 public:
595 static constexpr auto InternalGenerateClassData_();
596
597 ::google::protobuf::Metadata GetMetadata() const;
598 // nested types ----------------------------------------------------
599
600 // accessors -------------------------------------------------------
601 enum : int {
602 kPrimalBoundFieldNumber = 2,
603 kDualBoundFieldNumber = 3,
604 };
605 // double primal_bound = 2;
607 double primal_bound() const;
608 void set_primal_bound(double value);
609
610 private:
611 double _internal_primal_bound() const;
612 void _internal_set_primal_bound(double value);
613
614 public:
615 // double dual_bound = 3;
616 void clear_dual_bound() ;
617 double dual_bound() const;
618 void set_dual_bound(double value);
619
620 private:
621 double _internal_dual_bound() const;
622 void _internal_set_dual_bound(double value);
623
624 public:
625 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ObjectiveBoundsProto)
626 private:
627 class _Internal;
628 friend class ::google::protobuf::internal::TcParser;
629 static const ::google::protobuf::internal::TcParseTable<1, 2,
630 0, 0,
631 2>
632 _table_;
633
634 friend class ::google::protobuf::MessageLite;
635 friend class ::google::protobuf::Arena;
636 template <typename T>
637 friend class ::google::protobuf::Arena::InternalHelper;
638 using InternalArenaConstructable_ = void;
639 using DestructorSkippable_ = void;
640 struct Impl_ {
641 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
642 inline explicit Impl_(
643 ::google::protobuf::internal::InternalVisibility visibility,
644 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
645 inline explicit Impl_(
646 ::google::protobuf::internal::InternalVisibility visibility,
647 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
648 const ObjectiveBoundsProto& from_msg);
649 ::google::protobuf::internal::HasBits<1> _has_bits_;
650 ::google::protobuf::internal::CachedSize _cached_size_;
651 double primal_bound_;
652 double dual_bound_;
653 PROTOBUF_TSAN_DECLARE_MEMBER
654 };
655 union { Impl_ _impl_; };
656 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
657};
659OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_;
660// -------------------------------------------------------------------
661
662class OR_PROTO_DLL TerminationProto final : public ::google::protobuf::Message
663/* @@protoc_insertion_point(class_definition:operations_research.math_opt.TerminationProto) */ {
664 public:
665 inline TerminationProto() : TerminationProto(nullptr) {}
666 ~TerminationProto() PROTOBUF_FINAL;
667
668#if defined(PROTOBUF_CUSTOM_VTABLE)
669 void operator delete(TerminationProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
670 SharedDtor(*msg);
671 ::google::protobuf::internal::SizedDelete(msg, sizeof(TerminationProto));
672 }
673#endif
674
675 template <typename = void>
676 explicit PROTOBUF_CONSTEXPR TerminationProto(::google::protobuf::internal::ConstantInitialized);
677
678 inline TerminationProto(const TerminationProto& from) : TerminationProto(nullptr, from) {}
679 inline TerminationProto(TerminationProto&& from) noexcept
680 : TerminationProto(nullptr, ::std::move(from)) {}
681 inline TerminationProto& operator=(const TerminationProto& from) {
682 CopyFrom(from);
683 return *this;
684 }
685 inline TerminationProto& operator=(TerminationProto&& from) noexcept {
686 if (this == &from) return *this;
687 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
688 InternalSwap(&from);
689 } else {
690 CopyFrom(from);
691 }
692 return *this;
693 }
694
695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
696 ABSL_ATTRIBUTE_LIFETIME_BOUND {
697 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
698 }
699 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
701 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
702 }
704 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
705 return GetDescriptor();
706 }
707 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
708 return default_instance().GetMetadata().descriptor;
709 }
710 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
711 return default_instance().GetMetadata().reflection;
712 }
713 static const TerminationProto& default_instance() {
714 return *reinterpret_cast<const TerminationProto*>(
716 }
717 static constexpr int kIndexInFileMessages = 3;
718 friend void swap(TerminationProto& a, TerminationProto& b) { a.Swap(&b); }
719 inline void Swap(TerminationProto* PROTOBUF_NONNULL other) {
720 if (other == this) return;
721 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
722 InternalSwap(other);
723 } else {
724 ::google::protobuf::internal::GenericSwap(this, other);
725 }
726 }
727 void UnsafeArenaSwap(TerminationProto* PROTOBUF_NONNULL other) {
728 if (other == this) return;
729 ABSL_DCHECK(GetArena() == other->GetArena());
730 InternalSwap(other);
732
733 // implements Message ----------------------------------------------
734
735 TerminationProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
736 return ::google::protobuf::Message::DefaultConstruct<TerminationProto>(arena);
737 }
738 using ::google::protobuf::Message::CopyFrom;
739 void CopyFrom(const TerminationProto& from);
740 using ::google::protobuf::Message::MergeFrom;
741 void MergeFrom(const TerminationProto& from) { TerminationProto::MergeImpl(*this, from); }
742
743 private:
744 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
745 const ::google::protobuf::MessageLite& from_msg);
746
747 public:
748 bool IsInitialized() const {
749 return true;
750 }
751 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
752 #if defined(PROTOBUF_CUSTOM_VTABLE)
753 private:
754 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
755 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
756 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
757 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
758
759 public:
760 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
761 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
762 ::uint8_t* PROTOBUF_NONNULL target,
763 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
764 return _InternalSerialize(*this, target, stream);
765 }
766 #else // PROTOBUF_CUSTOM_VTABLE
767 ::size_t ByteSizeLong() const final;
768 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
769 ::uint8_t* PROTOBUF_NONNULL target,
770 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
771 #endif // PROTOBUF_CUSTOM_VTABLE
772 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
773
774 private:
775 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
776 static void SharedDtor(MessageLite& self);
777 void InternalSwap(TerminationProto* PROTOBUF_NONNULL other);
778 private:
779 template <typename T>
780 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
781 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.TerminationProto"; }
782
783 explicit TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
784 TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const TerminationProto& from);
786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, TerminationProto&& from) noexcept
787 : TerminationProto(arena) {
788 *this = ::std::move(from);
789 }
790 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
791 static void* PROTOBUF_NONNULL PlacementNew_(
792 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
793 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
794 static constexpr auto InternalNewImpl_();
795
796 public:
797 static constexpr auto InternalGenerateClassData_();
798
799 ::google::protobuf::Metadata GetMetadata() const;
800 // nested types ----------------------------------------------------
801
802 // accessors -------------------------------------------------------
803 enum : int {
804 kDetailFieldNumber = 3,
805 kProblemStatusFieldNumber = 4,
806 kObjectiveBoundsFieldNumber = 5,
807 kReasonFieldNumber = 1,
809 };
810 // string detail = 3;
812 const ::std::string& detail() const;
813 template <typename Arg_ = const ::std::string&, typename... Args_>
814 void set_detail(Arg_&& arg, Args_... args);
815 ::std::string* PROTOBUF_NONNULL mutable_detail();
816 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_detail();
817 void set_allocated_detail(::std::string* PROTOBUF_NULLABLE value);
819 private:
820 const ::std::string& _internal_detail() const;
821 PROTOBUF_ALWAYS_INLINE void _internal_set_detail(const ::std::string& value);
822 ::std::string* PROTOBUF_NONNULL _internal_mutable_detail();
823
824 public:
825 // .operations_research.math_opt.ProblemStatusProto problem_status = 4;
826 bool has_problem_status() const;
827 void clear_problem_status() ;
828 const ::operations_research::math_opt::ProblemStatusProto& problem_status() const;
834
835 private:
836 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status() const;
837 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL _internal_mutable_problem_status();
838
839 public:
840 // .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
841 bool has_objective_bounds() const;
843 const ::operations_research::math_opt::ObjectiveBoundsProto& objective_bounds() const;
849
850 private:
851 const ::operations_research::math_opt::ObjectiveBoundsProto& _internal_objective_bounds() const;
852 ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL _internal_mutable_objective_bounds();
853
854 public:
855 // .operations_research.math_opt.TerminationReasonProto reason = 1;
856 void clear_reason() ;
859
860 private:
862 void _internal_set_reason(::operations_research::math_opt::TerminationReasonProto value);
863
864 public:
865 // .operations_research.math_opt.LimitProto limit = 2;
866 void clear_limit() ;
869
870 private:
871 ::operations_research::math_opt::LimitProto _internal_limit() const;
872 void _internal_set_limit(::operations_research::math_opt::LimitProto value);
873
874 public:
875 // @@protoc_insertion_point(class_scope:operations_research.math_opt.TerminationProto)
876 private:
877 class _Internal;
878 friend class ::google::protobuf::internal::TcParser;
879 static const ::google::protobuf::internal::TcParseTable<3, 5,
880 2, 60,
881 2>
882 _table_;
883
884 friend class ::google::protobuf::MessageLite;
885 friend class ::google::protobuf::Arena;
886 template <typename T>
887 friend class ::google::protobuf::Arena::InternalHelper;
888 using InternalArenaConstructable_ = void;
889 using DestructorSkippable_ = void;
890 struct Impl_ {
891 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
892 inline explicit Impl_(
893 ::google::protobuf::internal::InternalVisibility visibility,
894 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
895 inline explicit Impl_(
896 ::google::protobuf::internal::InternalVisibility visibility,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
898 const TerminationProto& from_msg);
899 ::google::protobuf::internal::HasBits<1> _has_bits_;
900 ::google::protobuf::internal::CachedSize _cached_size_;
901 ::google::protobuf::internal::ArenaStringPtr detail_;
902 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE problem_status_;
903 ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NULLABLE objective_bounds_;
904 int reason_;
905 int limit_;
906 PROTOBUF_TSAN_DECLARE_MEMBER
907 };
908 union { Impl_ _impl_; };
909 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
910};
911
912OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull TerminationProto_class_data_;
913// -------------------------------------------------------------------
914
915class OR_PROTO_DLL SolveStatsProto final : public ::google::protobuf::Message
916/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveStatsProto) */ {
917 public:
918 inline SolveStatsProto() : SolveStatsProto(nullptr) {}
919 ~SolveStatsProto() PROTOBUF_FINAL;
921#if defined(PROTOBUF_CUSTOM_VTABLE)
922 void operator delete(SolveStatsProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
923 SharedDtor(*msg);
924 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveStatsProto));
925 }
926#endif
927
928 template <typename = void>
929 explicit PROTOBUF_CONSTEXPR SolveStatsProto(::google::protobuf::internal::ConstantInitialized);
930
931 inline SolveStatsProto(const SolveStatsProto& from) : SolveStatsProto(nullptr, from) {}
932 inline SolveStatsProto(SolveStatsProto&& from) noexcept
933 : SolveStatsProto(nullptr, ::std::move(from)) {}
935 CopyFrom(from);
936 return *this;
938 inline SolveStatsProto& operator=(SolveStatsProto&& from) noexcept {
939 if (this == &from) return *this;
940 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
941 InternalSwap(&from);
942 } else {
943 CopyFrom(from);
944 }
945 return *this;
946 }
947
948 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
949 ABSL_ATTRIBUTE_LIFETIME_BOUND {
950 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
951 }
952 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
953 ABSL_ATTRIBUTE_LIFETIME_BOUND {
954 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
955 }
956
957 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
958 return GetDescriptor();
959 }
960 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
961 return default_instance().GetMetadata().descriptor;
963 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
964 return default_instance().GetMetadata().reflection;
966 static const SolveStatsProto& default_instance() {
967 return *reinterpret_cast<const SolveStatsProto*>(
969 }
970 static constexpr int kIndexInFileMessages = 1;
971 friend void swap(SolveStatsProto& a, SolveStatsProto& b) { a.Swap(&b); }
972 inline void Swap(SolveStatsProto* PROTOBUF_NONNULL other) {
973 if (other == this) return;
974 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
975 InternalSwap(other);
976 } else {
977 ::google::protobuf::internal::GenericSwap(this, other);
978 }
979 }
980 void UnsafeArenaSwap(SolveStatsProto* PROTOBUF_NONNULL other) {
981 if (other == this) return;
982 ABSL_DCHECK(GetArena() == other->GetArena());
983 InternalSwap(other);
984 }
986 // implements Message ----------------------------------------------
987
988 SolveStatsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
989 return ::google::protobuf::Message::DefaultConstruct<SolveStatsProto>(arena);
990 }
991 using ::google::protobuf::Message::CopyFrom;
992 void CopyFrom(const SolveStatsProto& from);
993 using ::google::protobuf::Message::MergeFrom;
994 void MergeFrom(const SolveStatsProto& from) { SolveStatsProto::MergeImpl(*this, from); }
995
996 private:
997 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
998 const ::google::protobuf::MessageLite& from_msg);
1000 public:
1001 bool IsInitialized() const {
1002 return true;
1003 }
1004 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1005 #if defined(PROTOBUF_CUSTOM_VTABLE)
1006 private:
1007 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1008 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1009 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1010 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1011
1012 public:
1013 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1014 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1015 ::uint8_t* PROTOBUF_NONNULL target,
1016 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1017 return _InternalSerialize(*this, target, stream);
1018 }
1019 #else // PROTOBUF_CUSTOM_VTABLE
1020 ::size_t ByteSizeLong() const final;
1021 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1022 ::uint8_t* PROTOBUF_NONNULL target,
1023 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1024 #endif // PROTOBUF_CUSTOM_VTABLE
1025 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1026
1027 private:
1028 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1029 static void SharedDtor(MessageLite& self);
1030 void InternalSwap(SolveStatsProto* PROTOBUF_NONNULL other);
1031 private:
1032 template <typename T>
1033 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1034 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveStatsProto"; }
1035
1036 explicit SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1037 SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveStatsProto& from);
1039 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveStatsProto&& from) noexcept
1040 : SolveStatsProto(arena) {
1041 *this = ::std::move(from);
1042 }
1043 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1044 static void* PROTOBUF_NONNULL PlacementNew_(
1045 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1046 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1047 static constexpr auto InternalNewImpl_();
1048
1049 public:
1050 static constexpr auto InternalGenerateClassData_();
1051
1052 ::google::protobuf::Metadata GetMetadata() const;
1053 // nested types ----------------------------------------------------
1054
1055 // accessors -------------------------------------------------------
1056 enum : int {
1057 kSolveTimeFieldNumber = 1,
1058 kProblemStatusFieldNumber = 4,
1059 kBestPrimalBoundFieldNumber = 2,
1060 kBestDualBoundFieldNumber = 3,
1061 kSimplexIterationsFieldNumber = 5,
1066 // .google.protobuf.Duration solve_time = 1;
1067 bool has_solve_time() const;
1069 const ::google::protobuf::Duration& solve_time() const;
1070 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_solve_time();
1071 ::google::protobuf::Duration* PROTOBUF_NONNULL mutable_solve_time();
1072 void set_allocated_solve_time(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1073 void unsafe_arena_set_allocated_solve_time(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1074 ::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_solve_time();
1075
1076 private:
1077 const ::google::protobuf::Duration& _internal_solve_time() const;
1078 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_solve_time();
1079
1080 public:
1081 // .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
1082 [[deprecated]] bool has_problem_status() const;
1083 [[deprecated]] void clear_problem_status() ;
1084 [[deprecated]] const ::operations_research::math_opt::ProblemStatusProto& problem_status() const;
1085 [[deprecated]] [[nodiscard]] ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE release_problem_status();
1087 [[deprecated]] void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE value);
1090
1091 private:
1092 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status() const;
1093 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL _internal_mutable_problem_status();
1094
1095 public:
1096 // double best_primal_bound = 2 [deprecated = true];
1097 [[deprecated]] void clear_best_primal_bound() ;
1098 [[deprecated]] double best_primal_bound() const;
1099 [[deprecated]] void set_best_primal_bound(double value);
1100
1101 private:
1102 double _internal_best_primal_bound() const;
1103 void _internal_set_best_primal_bound(double value);
1104
1105 public:
1106 // double best_dual_bound = 3 [deprecated = true];
1107 [[deprecated]] void clear_best_dual_bound() ;
1108 [[deprecated]] double best_dual_bound() const;
1109 [[deprecated]] void set_best_dual_bound(double value);
1110
1111 private:
1112 double _internal_best_dual_bound() const;
1113 void _internal_set_best_dual_bound(double value);
1114
1115 public:
1116 // int64 simplex_iterations = 5;
1118 ::int64_t simplex_iterations() const;
1119 void set_simplex_iterations(::int64_t value);
1120
1121 private:
1122 ::int64_t _internal_simplex_iterations() const;
1123 void _internal_set_simplex_iterations(::int64_t value);
1124
1125 public:
1126 // int64 barrier_iterations = 6;
1128 ::int64_t barrier_iterations() const;
1129 void set_barrier_iterations(::int64_t value);
1130
1131 private:
1132 ::int64_t _internal_barrier_iterations() const;
1133 void _internal_set_barrier_iterations(::int64_t value);
1134
1135 public:
1136 // int64 node_count = 7;
1137 void clear_node_count() ;
1138 ::int64_t node_count() const;
1139 void set_node_count(::int64_t value);
1140
1141 private:
1142 ::int64_t _internal_node_count() const;
1143 void _internal_set_node_count(::int64_t value);
1144
1145 public:
1146 // int64 first_order_iterations = 8;
1148 ::int64_t first_order_iterations() const;
1149 void set_first_order_iterations(::int64_t value);
1150
1151 private:
1152 ::int64_t _internal_first_order_iterations() const;
1153 void _internal_set_first_order_iterations(::int64_t value);
1154
1155 public:
1156 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveStatsProto)
1157 private:
1158 class _Internal;
1159 friend class ::google::protobuf::internal::TcParser;
1160 static const ::google::protobuf::internal::TcParseTable<3, 8,
1161 2, 0,
1162 2>
1163 _table_;
1165 friend class ::google::protobuf::MessageLite;
1166 friend class ::google::protobuf::Arena;
1167 template <typename T>
1168 friend class ::google::protobuf::Arena::InternalHelper;
1169 using InternalArenaConstructable_ = void;
1170 using DestructorSkippable_ = void;
1171 struct Impl_ {
1172 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1173 inline explicit Impl_(
1174 ::google::protobuf::internal::InternalVisibility visibility,
1175 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1176 inline explicit Impl_(
1177 ::google::protobuf::internal::InternalVisibility visibility,
1178 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1179 const SolveStatsProto& from_msg);
1180 ::google::protobuf::internal::HasBits<1> _has_bits_;
1181 ::google::protobuf::internal::CachedSize _cached_size_;
1182 ::google::protobuf::Duration* PROTOBUF_NULLABLE solve_time_;
1183 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE problem_status_;
1184 double best_primal_bound_;
1185 double best_dual_bound_;
1186 ::int64_t simplex_iterations_;
1187 ::int64_t barrier_iterations_;
1188 ::int64_t node_count_;
1189 ::int64_t first_order_iterations_;
1190 PROTOBUF_TSAN_DECLARE_MEMBER
1191 };
1192 union { Impl_ _impl_; };
1193 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1194};
1195
1196OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_;
1197// -------------------------------------------------------------------
1199class OR_PROTO_DLL SolveResultProto_PdlpOutput final : public ::google::protobuf::Message
1200/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveResultProto.PdlpOutput) */ {
1201 public:
1203 ~SolveResultProto_PdlpOutput() PROTOBUF_FINAL;
1204
1205#if defined(PROTOBUF_CUSTOM_VTABLE)
1206 void operator delete(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1207 SharedDtor(*msg);
1208 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveResultProto_PdlpOutput));
1209 }
1210#endif
1211
1212 template <typename = void>
1213 explicit PROTOBUF_CONSTEXPR SolveResultProto_PdlpOutput(::google::protobuf::internal::ConstantInitialized);
1214
1216 inline SolveResultProto_PdlpOutput(SolveResultProto_PdlpOutput&& from) noexcept
1217 : SolveResultProto_PdlpOutput(nullptr, ::std::move(from)) {}
1218 inline SolveResultProto_PdlpOutput& operator=(const SolveResultProto_PdlpOutput& from) {
1220 return *this;
1223 if (this == &from) return *this;
1224 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1225 InternalSwap(&from);
1226 } else {
1227 CopyFrom(from);
1229 return *this;
1230 }
1231
1232 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1233 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1234 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1235 }
1236 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1238 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1239 }
1240
1241 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1243 }
1244 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1245 return default_instance().GetMetadata().descriptor;
1246 }
1247 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1248 return default_instance().GetMetadata().reflection;
1249 }
1254 static constexpr int kIndexInFileMessages = 4;
1255 friend void swap(SolveResultProto_PdlpOutput& a, SolveResultProto_PdlpOutput& b) { a.Swap(&b); }
1256 inline void Swap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other) {
1257 if (other == this) return;
1258 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1259 InternalSwap(other);
1260 } else {
1261 ::google::protobuf::internal::GenericSwap(this, other);
1263 }
1264 void UnsafeArenaSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other) {
1265 if (other == this) return;
1266 ABSL_DCHECK(GetArena() == other->GetArena());
1267 InternalSwap(other);
1268 }
1269
1270 // implements Message ----------------------------------------------
1271
1272 SolveResultProto_PdlpOutput* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1273 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto_PdlpOutput>(arena);
1274 }
1275 using ::google::protobuf::Message::CopyFrom;
1276 void CopyFrom(const SolveResultProto_PdlpOutput& from);
1277 using ::google::protobuf::Message::MergeFrom;
1278 void MergeFrom(const SolveResultProto_PdlpOutput& from) { SolveResultProto_PdlpOutput::MergeImpl(*this, from); }
1279
1280 private:
1281 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1282 const ::google::protobuf::MessageLite& from_msg);
1283
1284 public:
1285 bool IsInitialized() const {
1286 return true;
1287 }
1288 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1289 #if defined(PROTOBUF_CUSTOM_VTABLE)
1290 private:
1291 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1292 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1293 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1294 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1295
1296 public:
1297 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1298 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1299 ::uint8_t* PROTOBUF_NONNULL target,
1300 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1301 return _InternalSerialize(*this, target, stream);
1302 }
1303 #else // PROTOBUF_CUSTOM_VTABLE
1304 ::size_t ByteSizeLong() const final;
1305 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1306 ::uint8_t* PROTOBUF_NONNULL target,
1307 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1308 #endif // PROTOBUF_CUSTOM_VTABLE
1309 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1310
1311 private:
1312 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1313 static void SharedDtor(MessageLite& self);
1314 void InternalSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other);
1315 private:
1316 template <typename T>
1317 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1318 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveResultProto.PdlpOutput"; }
1319
1320 explicit SolveResultProto_PdlpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1321 SolveResultProto_PdlpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveResultProto_PdlpOutput& from);
1323 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveResultProto_PdlpOutput&& from) noexcept
1325 *this = ::std::move(from);
1326 }
1327 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1328 static void* PROTOBUF_NONNULL PlacementNew_(
1329 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1330 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1331 static constexpr auto InternalNewImpl_();
1332
1333 public:
1334 static constexpr auto InternalGenerateClassData_();
1335
1336 ::google::protobuf::Metadata GetMetadata() const;
1337 // nested types ----------------------------------------------------
1338
1339 // accessors -------------------------------------------------------
1340 enum : int {
1341 kConvergenceInformationFieldNumber = 1,
1342 };
1343 // .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
1344 bool has_convergence_information() const;
1345 void clear_convergence_information() ;
1346 const ::operations_research::pdlp::ConvergenceInformation& convergence_information() const;
1352
1353 private:
1354 const ::operations_research::pdlp::ConvergenceInformation& _internal_convergence_information() const;
1355 ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL _internal_mutable_convergence_information();
1356
1357 public:
1358 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveResultProto.PdlpOutput)
1359 private:
1360 class _Internal;
1361 friend class ::google::protobuf::internal::TcParser;
1362 static const ::google::protobuf::internal::TcParseTable<0, 1,
1363 1, 0,
1364 2>
1365 _table_;
1366
1367 friend class ::google::protobuf::MessageLite;
1368 friend class ::google::protobuf::Arena;
1369 template <typename T>
1370 friend class ::google::protobuf::Arena::InternalHelper;
1371 using InternalArenaConstructable_ = void;
1372 using DestructorSkippable_ = void;
1373 struct Impl_ {
1374 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1375 inline explicit Impl_(
1376 ::google::protobuf::internal::InternalVisibility visibility,
1377 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1378 inline explicit Impl_(
1379 ::google::protobuf::internal::InternalVisibility visibility,
1380 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1381 const SolveResultProto_PdlpOutput& from_msg);
1382 ::google::protobuf::internal::HasBits<1> _has_bits_;
1383 ::google::protobuf::internal::CachedSize _cached_size_;
1384 ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE convergence_information_;
1385 PROTOBUF_TSAN_DECLARE_MEMBER
1386 };
1387 union { Impl_ _impl_; };
1388 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1389};
1390
1391OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_;
1392// -------------------------------------------------------------------
1394class OR_PROTO_DLL SolveResultProto final : public ::google::protobuf::Message
1395/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SolveResultProto) */ {
1396 public:
1397 inline SolveResultProto() : SolveResultProto(nullptr) {}
1398 ~SolveResultProto() PROTOBUF_FINAL;
1399
1400#if defined(PROTOBUF_CUSTOM_VTABLE)
1401 void operator delete(SolveResultProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1402 SharedDtor(*msg);
1403 ::google::protobuf::internal::SizedDelete(msg, sizeof(SolveResultProto));
1405#endif
1406
1407 template <typename = void>
1408 explicit PROTOBUF_CONSTEXPR SolveResultProto(::google::protobuf::internal::ConstantInitialized);
1409
1410 inline SolveResultProto(const SolveResultProto& from) : SolveResultProto(nullptr, from) {}
1411 inline SolveResultProto(SolveResultProto&& from) noexcept
1412 : SolveResultProto(nullptr, ::std::move(from)) {}
1413 inline SolveResultProto& operator=(const SolveResultProto& from) {
1414 CopyFrom(from);
1415 return *this;
1416 }
1418 if (this == &from) return *this;
1419 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1420 InternalSwap(&from);
1421 } else {
1422 CopyFrom(from);
1423 }
1424 return *this;
1425 }
1426
1427 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1429 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1430 }
1431 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1432 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1433 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1435
1436 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1437 return GetDescriptor();
1439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1440 return default_instance().GetMetadata().descriptor;
1441 }
1442 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1443 return default_instance().GetMetadata().reflection;
1444 }
1445 static const SolveResultProto& default_instance() {
1446 return *reinterpret_cast<const SolveResultProto*>(
1448 }
1454 };
1455 static constexpr int kIndexInFileMessages = 5;
1456 friend void swap(SolveResultProto& a, SolveResultProto& b) { a.Swap(&b); }
1457 inline void Swap(SolveResultProto* PROTOBUF_NONNULL other) {
1458 if (other == this) return;
1459 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1460 InternalSwap(other);
1461 } else {
1462 ::google::protobuf::internal::GenericSwap(this, other);
1465 void UnsafeArenaSwap(SolveResultProto* PROTOBUF_NONNULL other) {
1466 if (other == this) return;
1467 ABSL_DCHECK(GetArena() == other->GetArena());
1468 InternalSwap(other);
1469 }
1470
1471 // implements Message ----------------------------------------------
1473 SolveResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1474 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto>(arena);
1475 }
1476 using ::google::protobuf::Message::CopyFrom;
1477 void CopyFrom(const SolveResultProto& from);
1478 using ::google::protobuf::Message::MergeFrom;
1479 void MergeFrom(const SolveResultProto& from) { SolveResultProto::MergeImpl(*this, from); }
1481 private:
1482 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1483 const ::google::protobuf::MessageLite& from_msg);
1484
1485 public:
1486 bool IsInitialized() const {
1487 return true;
1488 }
1489 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1490 #if defined(PROTOBUF_CUSTOM_VTABLE)
1491 private:
1492 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1493 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1494 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1495 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1496
1497 public:
1498 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1499 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1500 ::uint8_t* PROTOBUF_NONNULL target,
1501 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1502 return _InternalSerialize(*this, target, stream);
1503 }
1504 #else // PROTOBUF_CUSTOM_VTABLE
1505 ::size_t ByteSizeLong() const final;
1506 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1507 ::uint8_t* PROTOBUF_NONNULL target,
1508 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1509 #endif // PROTOBUF_CUSTOM_VTABLE
1510 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1511
1512 private:
1513 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1514 static void SharedDtor(MessageLite& self);
1515 void InternalSwap(SolveResultProto* PROTOBUF_NONNULL other);
1516 private:
1517 template <typename T>
1518 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1519 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SolveResultProto"; }
1520
1521 explicit SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1522 SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SolveResultProto& from);
1524 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SolveResultProto&& from) noexcept
1525 : SolveResultProto(arena) {
1526 *this = ::std::move(from);
1527 }
1528 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1529 static void* PROTOBUF_NONNULL PlacementNew_(
1530 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1531 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1532 static constexpr auto InternalNewImpl_();
1533
1534 public:
1535 static constexpr auto InternalGenerateClassData_();
1536
1537 ::google::protobuf::Metadata GetMetadata() const;
1538 // nested types ----------------------------------------------------
1539 using PdlpOutput = SolveResultProto_PdlpOutput;
1540
1541 // accessors -------------------------------------------------------
1542 enum : int {
1543 kSolutionsFieldNumber = 3,
1544 kPrimalRaysFieldNumber = 4,
1545 kDualRaysFieldNumber = 5,
1552 // repeated .operations_research.math_opt.SolutionProto solutions = 3;
1553 int solutions_size() const;
1554 private:
1555 int _internal_solutions_size() const;
1557 public:
1558 void clear_solutions() ;
1560 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL mutable_solutions();
1561
1562 private:
1563 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& _internal_solutions() const;
1564 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL _internal_mutable_solutions();
1565 public:
1566 const ::operations_research::math_opt::SolutionProto& solutions(int index) const;
1568 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& solutions() const;
1569 // repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
1570 int primal_rays_size() const;
1571 private:
1572 int _internal_primal_rays_size() const;
1573
1574 public:
1575 void clear_primal_rays() ;
1577 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL mutable_primal_rays();
1578
1579 private:
1580 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& _internal_primal_rays() const;
1581 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL _internal_mutable_primal_rays();
1582 public:
1583 const ::operations_research::math_opt::PrimalRayProto& primal_rays(int index) const;
1585 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& primal_rays() const;
1586 // repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
1587 int dual_rays_size() const;
1588 private:
1589 int _internal_dual_rays_size() const;
1590
1591 public:
1592 void clear_dual_rays() ;
1594 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL mutable_dual_rays();
1595
1596 private:
1597 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& _internal_dual_rays() const;
1598 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL _internal_mutable_dual_rays();
1599 public:
1600 const ::operations_research::math_opt::DualRayProto& dual_rays(int index) const;
1602 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& dual_rays() const;
1603 // .operations_research.math_opt.TerminationProto termination = 2;
1604 bool has_termination() const;
1605 void clear_termination() ;
1606 const ::operations_research::math_opt::TerminationProto& termination() const;
1612
1613 private:
1614 const ::operations_research::math_opt::TerminationProto& _internal_termination() const;
1615 ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL _internal_mutable_termination();
1616
1617 public:
1618 // .operations_research.math_opt.SolveStatsProto solve_stats = 6;
1619 bool has_solve_stats() const;
1620 void clear_solve_stats() ;
1621 const ::operations_research::math_opt::SolveStatsProto& solve_stats() const;
1627
1628 private:
1629 const ::operations_research::math_opt::SolveStatsProto& _internal_solve_stats() const;
1630 ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL _internal_mutable_solve_stats();
1631
1632 public:
1633 // .operations_research.GScipOutput gscip_output = 7;
1634 bool has_gscip_output() const;
1635 private:
1636 bool _internal_has_gscip_output() const;
1637
1638 public:
1639 void clear_gscip_output() ;
1640 const ::operations_research::GScipOutput& gscip_output() const;
1641 [[nodiscard]] ::operations_research::GScipOutput* PROTOBUF_NULLABLE release_gscip_output();
1646
1647 private:
1648 const ::operations_research::GScipOutput& _internal_gscip_output() const;
1649 ::operations_research::GScipOutput* PROTOBUF_NONNULL _internal_mutable_gscip_output();
1650
1651 public:
1652 // .operations_research.math_opt.OsqpOutput osqp_output = 8;
1653 bool has_osqp_output() const;
1654 private:
1655 bool _internal_has_osqp_output() const;
1656
1657 public:
1658 void clear_osqp_output() ;
1659 const ::operations_research::math_opt::OsqpOutput& osqp_output() const;
1660 [[nodiscard]] ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE release_osqp_output();
1665
1666 private:
1667 const ::operations_research::math_opt::OsqpOutput& _internal_osqp_output() const;
1668 ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL _internal_mutable_osqp_output();
1669
1670 public:
1671 // .operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
1672 bool has_pdlp_output() const;
1673 private:
1674 bool _internal_has_pdlp_output() const;
1675
1676 public:
1677 void clear_pdlp_output() ;
1678 const ::operations_research::math_opt::SolveResultProto_PdlpOutput& pdlp_output() const;
1684
1685 private:
1686 const ::operations_research::math_opt::SolveResultProto_PdlpOutput& _internal_pdlp_output() const;
1687 ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL _internal_mutable_pdlp_output();
1688
1689 public:
1692 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SolveResultProto)
1693 private:
1694 class _Internal;
1695 void set_has_gscip_output();
1696 void set_has_osqp_output();
1697 void set_has_pdlp_output();
1698 inline bool has_solver_specific_output() const;
1699 inline void clear_has_solver_specific_output();
1700 friend class ::google::protobuf::internal::TcParser;
1701 static const ::google::protobuf::internal::TcParseTable<3, 8,
1702 8, 0,
1703 2>
1704 _table_;
1705
1706 friend class ::google::protobuf::MessageLite;
1707 friend class ::google::protobuf::Arena;
1708 template <typename T>
1709 friend class ::google::protobuf::Arena::InternalHelper;
1710 using InternalArenaConstructable_ = void;
1711 using DestructorSkippable_ = void;
1712 struct Impl_ {
1713 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1714 inline explicit Impl_(
1715 ::google::protobuf::internal::InternalVisibility visibility,
1716 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1717 inline explicit Impl_(
1718 ::google::protobuf::internal::InternalVisibility visibility,
1719 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1720 const SolveResultProto& from_msg);
1721 ::google::protobuf::internal::HasBits<1> _has_bits_;
1722 ::google::protobuf::internal::CachedSize _cached_size_;
1723 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SolutionProto > solutions_;
1724 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::PrimalRayProto > primal_rays_;
1725 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::DualRayProto > dual_rays_;
1726 ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE termination_;
1727 ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE solve_stats_;
1728 union SolverSpecificOutputUnion {
1729 constexpr SolverSpecificOutputUnion() : _constinit_{} {}
1730 ::google::protobuf::internal::ConstantInitialized _constinit_;
1731 ::google::protobuf::Message* PROTOBUF_NULLABLE gscip_output_;
1732 ::google::protobuf::Message* PROTOBUF_NULLABLE osqp_output_;
1733 ::google::protobuf::Message* PROTOBUF_NULLABLE pdlp_output_;
1734 } solver_specific_output_;
1735 ::uint32_t _oneof_case_[1];
1736 PROTOBUF_TSAN_DECLARE_MEMBER
1738 union { Impl_ _impl_; };
1739 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1741
1742OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_;
1743
1744// ===================================================================
1747
1748
1749// ===================================================================
1750
1751
1752#ifdef __GNUC__
1753#pragma GCC diagnostic push
1754#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1755#endif // __GNUC__
1756// -------------------------------------------------------------------
1757
1758// ProblemStatusProto
1759
1760// .operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
1762 ::google::protobuf::internal::TSanWrite(&_impl_);
1763 _impl_.primal_status_ = 0;
1764 ClearHasBit(_impl_._has_bits_[0],
1765 0x00000001U);
1766}
1767inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::primal_status() const {
1768 // @@protoc_insertion_point(field_get:operations_research.math_opt.ProblemStatusProto.primal_status)
1769 return _internal_primal_status();
1770}
1772 _internal_set_primal_status(value);
1773 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1774 // @@protoc_insertion_point(field_set:operations_research.math_opt.ProblemStatusProto.primal_status)
1775}
1776inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_primal_status() const {
1777 ::google::protobuf::internal::TSanRead(&_impl_);
1778 return static_cast<::operations_research::math_opt::FeasibilityStatusProto>(_impl_.primal_status_);
1779}
1780inline void ProblemStatusProto::_internal_set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value) {
1781 ::google::protobuf::internal::TSanWrite(&_impl_);
1782 _impl_.primal_status_ = value;
1783}
1784
1785// .operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
1787 ::google::protobuf::internal::TSanWrite(&_impl_);
1788 _impl_.dual_status_ = 0;
1789 ClearHasBit(_impl_._has_bits_[0],
1790 0x00000002U);
1791}
1792inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::dual_status() const {
1793 // @@protoc_insertion_point(field_get:operations_research.math_opt.ProblemStatusProto.dual_status)
1794 return _internal_dual_status();
1795}
1797 _internal_set_dual_status(value);
1798 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1799 // @@protoc_insertion_point(field_set:operations_research.math_opt.ProblemStatusProto.dual_status)
1800}
1801inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_dual_status() const {
1802 ::google::protobuf::internal::TSanRead(&_impl_);
1803 return static_cast<::operations_research::math_opt::FeasibilityStatusProto>(_impl_.dual_status_);
1804}
1805inline void ProblemStatusProto::_internal_set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value) {
1806 ::google::protobuf::internal::TSanWrite(&_impl_);
1807 _impl_.dual_status_ = value;
1808}
1809
1810// bool primal_or_dual_infeasible = 3;
1812 ::google::protobuf::internal::TSanWrite(&_impl_);
1813 _impl_.primal_or_dual_infeasible_ = false;
1814 ClearHasBit(_impl_._has_bits_[0],
1815 0x00000004U);
1816}
1818 // @@protoc_insertion_point(field_get:operations_research.math_opt.ProblemStatusProto.primal_or_dual_infeasible)
1819 return _internal_primal_or_dual_infeasible();
1820}
1822 _internal_set_primal_or_dual_infeasible(value);
1823 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1824 // @@protoc_insertion_point(field_set:operations_research.math_opt.ProblemStatusProto.primal_or_dual_infeasible)
1825}
1826inline bool ProblemStatusProto::_internal_primal_or_dual_infeasible() const {
1827 ::google::protobuf::internal::TSanRead(&_impl_);
1828 return _impl_.primal_or_dual_infeasible_;
1829}
1830inline void ProblemStatusProto::_internal_set_primal_or_dual_infeasible(bool value) {
1831 ::google::protobuf::internal::TSanWrite(&_impl_);
1832 _impl_.primal_or_dual_infeasible_ = value;
1833}
1834
1835// -------------------------------------------------------------------
1836
1837// SolveStatsProto
1838
1839// .google.protobuf.Duration solve_time = 1;
1840inline bool SolveStatsProto::has_solve_time() const {
1841 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1842 PROTOBUF_ASSUME(!value || _impl_.solve_time_ != nullptr);
1843 return value;
1844}
1845inline const ::google::protobuf::Duration& SolveStatsProto::_internal_solve_time() const {
1846 ::google::protobuf::internal::TSanRead(&_impl_);
1847 const ::google::protobuf::Duration* p = _impl_.solve_time_;
1848 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
1849}
1850inline const ::google::protobuf::Duration& SolveStatsProto::solve_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1851 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.solve_time)
1852 return _internal_solve_time();
1853}
1855 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1856 ::google::protobuf::internal::TSanWrite(&_impl_);
1857 if (GetArena() == nullptr) {
1858 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_time_);
1859 }
1860 _impl_.solve_time_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1861 if (value != nullptr) {
1862 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1863 } else {
1864 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1866 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveStatsProto.solve_time)
1867}
1868inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveStatsProto::release_solve_time() {
1869 ::google::protobuf::internal::TSanWrite(&_impl_);
1870
1871 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1872 ::google::protobuf::Duration* released = _impl_.solve_time_;
1873 _impl_.solve_time_ = nullptr;
1874 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1875 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1876 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1877 if (GetArena() == nullptr) {
1878 delete old;
1880 } else {
1881 if (GetArena() != nullptr) {
1882 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1883 }
1884 }
1885 return released;
1886}
1887inline ::google::protobuf::Duration* PROTOBUF_NULLABLE SolveStatsProto::unsafe_arena_release_solve_time() {
1888 ::google::protobuf::internal::TSanWrite(&_impl_);
1889 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveStatsProto.solve_time)
1890
1891 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1892 ::google::protobuf::Duration* temp = _impl_.solve_time_;
1893 _impl_.solve_time_ = nullptr;
1894 return temp;
1895}
1896inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveStatsProto::_internal_mutable_solve_time() {
1897 ::google::protobuf::internal::TSanWrite(&_impl_);
1898 if (_impl_.solve_time_ == nullptr) {
1899 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1900 _impl_.solve_time_ = reinterpret_cast<::google::protobuf::Duration*>(p);
1901 }
1902 return _impl_.solve_time_;
1903}
1904inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveStatsProto::mutable_solve_time()
1905 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1906 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1907 ::google::protobuf::Duration* _msg = _internal_mutable_solve_time();
1908 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveStatsProto.solve_time)
1909 return _msg;
1910}
1911inline void SolveStatsProto::set_allocated_solve_time(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1912 ::google::protobuf::Arena* message_arena = GetArena();
1913 ::google::protobuf::internal::TSanWrite(&_impl_);
1914 if (message_arena == nullptr) {
1915 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_time_);
1916 }
1917
1918 if (value != nullptr) {
1919 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1920 if (message_arena != submessage_arena) {
1921 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1923 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1924 } else {
1925 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1926 }
1927
1928 _impl_.solve_time_ = reinterpret_cast<::google::protobuf::Duration*>(value);
1929 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveStatsProto.solve_time)
1930}
1931
1932// double best_primal_bound = 2 [deprecated = true];
1934 ::google::protobuf::internal::TSanWrite(&_impl_);
1935 _impl_.best_primal_bound_ = 0;
1936 ClearHasBit(_impl_._has_bits_[0],
1937 0x00000004U);
1938}
1939inline double SolveStatsProto::best_primal_bound() const {
1940 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.best_primal_bound)
1941 return _internal_best_primal_bound();
1942}
1943inline void SolveStatsProto::set_best_primal_bound(double value) {
1944 _internal_set_best_primal_bound(value);
1945 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1946 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.best_primal_bound)
1947}
1948inline double SolveStatsProto::_internal_best_primal_bound() const {
1949 ::google::protobuf::internal::TSanRead(&_impl_);
1950 return _impl_.best_primal_bound_;
1951}
1952inline void SolveStatsProto::_internal_set_best_primal_bound(double value) {
1953 ::google::protobuf::internal::TSanWrite(&_impl_);
1954 _impl_.best_primal_bound_ = value;
1955}
1956
1957// double best_dual_bound = 3 [deprecated = true];
1959 ::google::protobuf::internal::TSanWrite(&_impl_);
1960 _impl_.best_dual_bound_ = 0;
1961 ClearHasBit(_impl_._has_bits_[0],
1962 0x00000008U);
1963}
1964inline double SolveStatsProto::best_dual_bound() const {
1965 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.best_dual_bound)
1966 return _internal_best_dual_bound();
1967}
1968inline void SolveStatsProto::set_best_dual_bound(double value) {
1969 _internal_set_best_dual_bound(value);
1970 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
1971 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.best_dual_bound)
1972}
1973inline double SolveStatsProto::_internal_best_dual_bound() const {
1974 ::google::protobuf::internal::TSanRead(&_impl_);
1975 return _impl_.best_dual_bound_;
1976}
1977inline void SolveStatsProto::_internal_set_best_dual_bound(double value) {
1978 ::google::protobuf::internal::TSanWrite(&_impl_);
1979 _impl_.best_dual_bound_ = value;
1980}
1981
1982// .operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
1983inline bool SolveStatsProto::has_problem_status() const {
1984 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
1985 PROTOBUF_ASSUME(!value || _impl_.problem_status_ != nullptr);
1986 return value;
1987}
1989 ::google::protobuf::internal::TSanWrite(&_impl_);
1990 if (_impl_.problem_status_ != nullptr) _impl_.problem_status_->Clear();
1991 ClearHasBit(_impl_._has_bits_[0],
1992 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 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2012 } else {
2013 ClearHasBit(_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 ClearHasBit(_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 ClearHasBit(_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 SetHasBit(_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 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2073 } else {
2074 ClearHasBit(_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 ClearHasBit(_impl_._has_bits_[0],
2086 0x00000010U);
2087}
2088inline ::int64_t SolveStatsProto::simplex_iterations() const {
2089 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.simplex_iterations)
2090 return _internal_simplex_iterations();
2091}
2092inline void SolveStatsProto::set_simplex_iterations(::int64_t value) {
2093 _internal_set_simplex_iterations(value);
2094 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2095 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.simplex_iterations)
2096}
2097inline ::int64_t SolveStatsProto::_internal_simplex_iterations() const {
2098 ::google::protobuf::internal::TSanRead(&_impl_);
2099 return _impl_.simplex_iterations_;
2100}
2101inline void SolveStatsProto::_internal_set_simplex_iterations(::int64_t value) {
2102 ::google::protobuf::internal::TSanWrite(&_impl_);
2103 _impl_.simplex_iterations_ = value;
2104}
2105
2106// int64 barrier_iterations = 6;
2108 ::google::protobuf::internal::TSanWrite(&_impl_);
2109 _impl_.barrier_iterations_ = ::int64_t{0};
2110 ClearHasBit(_impl_._has_bits_[0],
2111 0x00000020U);
2112}
2113inline ::int64_t SolveStatsProto::barrier_iterations() const {
2114 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.barrier_iterations)
2115 return _internal_barrier_iterations();
2116}
2117inline void SolveStatsProto::set_barrier_iterations(::int64_t value) {
2118 _internal_set_barrier_iterations(value);
2119 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2120 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.barrier_iterations)
2121}
2122inline ::int64_t SolveStatsProto::_internal_barrier_iterations() const {
2123 ::google::protobuf::internal::TSanRead(&_impl_);
2124 return _impl_.barrier_iterations_;
2125}
2126inline void SolveStatsProto::_internal_set_barrier_iterations(::int64_t value) {
2127 ::google::protobuf::internal::TSanWrite(&_impl_);
2128 _impl_.barrier_iterations_ = value;
2129}
2130
2131// int64 first_order_iterations = 8;
2133 ::google::protobuf::internal::TSanWrite(&_impl_);
2134 _impl_.first_order_iterations_ = ::int64_t{0};
2135 ClearHasBit(_impl_._has_bits_[0],
2136 0x00000080U);
2137}
2138inline ::int64_t SolveStatsProto::first_order_iterations() const {
2139 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.first_order_iterations)
2140 return _internal_first_order_iterations();
2141}
2142inline void SolveStatsProto::set_first_order_iterations(::int64_t value) {
2143 _internal_set_first_order_iterations(value);
2144 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
2145 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.first_order_iterations)
2146}
2147inline ::int64_t SolveStatsProto::_internal_first_order_iterations() const {
2148 ::google::protobuf::internal::TSanRead(&_impl_);
2149 return _impl_.first_order_iterations_;
2150}
2151inline void SolveStatsProto::_internal_set_first_order_iterations(::int64_t value) {
2152 ::google::protobuf::internal::TSanWrite(&_impl_);
2153 _impl_.first_order_iterations_ = value;
2154}
2155
2156// int64 node_count = 7;
2158 ::google::protobuf::internal::TSanWrite(&_impl_);
2159 _impl_.node_count_ = ::int64_t{0};
2160 ClearHasBit(_impl_._has_bits_[0],
2161 0x00000040U);
2162}
2163inline ::int64_t SolveStatsProto::node_count() const {
2164 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveStatsProto.node_count)
2165 return _internal_node_count();
2166}
2167inline void SolveStatsProto::set_node_count(::int64_t value) {
2168 _internal_set_node_count(value);
2169 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2170 // @@protoc_insertion_point(field_set:operations_research.math_opt.SolveStatsProto.node_count)
2171}
2172inline ::int64_t SolveStatsProto::_internal_node_count() const {
2173 ::google::protobuf::internal::TSanRead(&_impl_);
2174 return _impl_.node_count_;
2175}
2176inline void SolveStatsProto::_internal_set_node_count(::int64_t value) {
2177 ::google::protobuf::internal::TSanWrite(&_impl_);
2178 _impl_.node_count_ = value;
2179}
2180
2181// -------------------------------------------------------------------
2182
2183// ObjectiveBoundsProto
2184
2185// double primal_bound = 2;
2187 ::google::protobuf::internal::TSanWrite(&_impl_);
2188 _impl_.primal_bound_ = 0;
2189 ClearHasBit(_impl_._has_bits_[0],
2190 0x00000001U);
2191}
2192inline double ObjectiveBoundsProto::primal_bound() const {
2193 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveBoundsProto.primal_bound)
2194 return _internal_primal_bound();
2195}
2196inline void ObjectiveBoundsProto::set_primal_bound(double value) {
2197 _internal_set_primal_bound(value);
2198 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2199 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveBoundsProto.primal_bound)
2200}
2201inline double ObjectiveBoundsProto::_internal_primal_bound() const {
2202 ::google::protobuf::internal::TSanRead(&_impl_);
2203 return _impl_.primal_bound_;
2205inline void ObjectiveBoundsProto::_internal_set_primal_bound(double value) {
2206 ::google::protobuf::internal::TSanWrite(&_impl_);
2207 _impl_.primal_bound_ = value;
2209
2210// double dual_bound = 3;
2212 ::google::protobuf::internal::TSanWrite(&_impl_);
2213 _impl_.dual_bound_ = 0;
2214 ClearHasBit(_impl_._has_bits_[0],
2215 0x00000002U);
2216}
2217inline double ObjectiveBoundsProto::dual_bound() const {
2218 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveBoundsProto.dual_bound)
2219 return _internal_dual_bound();
2220}
2221inline void ObjectiveBoundsProto::set_dual_bound(double value) {
2222 _internal_set_dual_bound(value);
2223 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2224 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveBoundsProto.dual_bound)
2225}
2226inline double ObjectiveBoundsProto::_internal_dual_bound() const {
2227 ::google::protobuf::internal::TSanRead(&_impl_);
2228 return _impl_.dual_bound_;
2230inline void ObjectiveBoundsProto::_internal_set_dual_bound(double value) {
2231 ::google::protobuf::internal::TSanWrite(&_impl_);
2232 _impl_.dual_bound_ = value;
2234
2235// -------------------------------------------------------------------
2236
2237// TerminationProto
2238
2239// .operations_research.math_opt.TerminationReasonProto reason = 1;
2240inline void TerminationProto::clear_reason() {
2241 ::google::protobuf::internal::TSanWrite(&_impl_);
2242 _impl_.reason_ = 0;
2243 ClearHasBit(_impl_._has_bits_[0],
2244 0x00000008U);
2245}
2246inline ::operations_research::math_opt::TerminationReasonProto TerminationProto::reason() const {
2247 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.reason)
2248 return _internal_reason();
2249}
2251 _internal_set_reason(value);
2252 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2253 // @@protoc_insertion_point(field_set:operations_research.math_opt.TerminationProto.reason)
2254}
2255inline ::operations_research::math_opt::TerminationReasonProto TerminationProto::_internal_reason() const {
2256 ::google::protobuf::internal::TSanRead(&_impl_);
2258}
2259inline void TerminationProto::_internal_set_reason(::operations_research::math_opt::TerminationReasonProto value) {
2260 ::google::protobuf::internal::TSanWrite(&_impl_);
2261 _impl_.reason_ = value;
2262}
2264// .operations_research.math_opt.LimitProto limit = 2;
2265inline void TerminationProto::clear_limit() {
2266 ::google::protobuf::internal::TSanWrite(&_impl_);
2267 _impl_.limit_ = 0;
2268 ClearHasBit(_impl_._has_bits_[0],
2269 0x00000010U);
2270}
2271inline ::operations_research::math_opt::LimitProto TerminationProto::limit() const {
2272 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.limit)
2273 return _internal_limit();
2274}
2276 _internal_set_limit(value);
2277 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2278 // @@protoc_insertion_point(field_set:operations_research.math_opt.TerminationProto.limit)
2279}
2280inline ::operations_research::math_opt::LimitProto TerminationProto::_internal_limit() const {
2281 ::google::protobuf::internal::TSanRead(&_impl_);
2282 return static_cast<::operations_research::math_opt::LimitProto>(_impl_.limit_);
2283}
2284inline void TerminationProto::_internal_set_limit(::operations_research::math_opt::LimitProto value) {
2285 ::google::protobuf::internal::TSanWrite(&_impl_);
2286 _impl_.limit_ = value;
2287}
2289// string detail = 3;
2290inline void TerminationProto::clear_detail() {
2291 ::google::protobuf::internal::TSanWrite(&_impl_);
2292 _impl_.detail_.ClearToEmpty();
2293 ClearHasBit(_impl_._has_bits_[0],
2294 0x00000001U);
2295}
2296inline const ::std::string& TerminationProto::detail() const
2297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2298 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.detail)
2299 return _internal_detail();
2300}
2301template <typename Arg_, typename... Args_>
2302PROTOBUF_ALWAYS_INLINE void TerminationProto::set_detail(Arg_&& arg, Args_... args) {
2303 ::google::protobuf::internal::TSanWrite(&_impl_);
2304 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2305 _impl_.detail_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2306 // @@protoc_insertion_point(field_set:operations_research.math_opt.TerminationProto.detail)
2307}
2308inline ::std::string* PROTOBUF_NONNULL TerminationProto::mutable_detail()
2309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2310 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2311 ::std::string* _s = _internal_mutable_detail();
2312 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.TerminationProto.detail)
2313 return _s;
2314}
2315inline const ::std::string& TerminationProto::_internal_detail() const {
2316 ::google::protobuf::internal::TSanRead(&_impl_);
2317 return _impl_.detail_.Get();
2318}
2319inline void TerminationProto::_internal_set_detail(const ::std::string& value) {
2320 ::google::protobuf::internal::TSanWrite(&_impl_);
2321 _impl_.detail_.Set(value, GetArena());
2322}
2323inline ::std::string* PROTOBUF_NONNULL TerminationProto::_internal_mutable_detail() {
2324 ::google::protobuf::internal::TSanWrite(&_impl_);
2325 return _impl_.detail_.Mutable( GetArena());
2326}
2327inline ::std::string* PROTOBUF_NULLABLE TerminationProto::release_detail() {
2328 ::google::protobuf::internal::TSanWrite(&_impl_);
2329 // @@protoc_insertion_point(field_release:operations_research.math_opt.TerminationProto.detail)
2330 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
2331 return nullptr;
2332 }
2333 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2334 auto* released = _impl_.detail_.Release();
2335 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2336 _impl_.detail_.Set("", GetArena());
2337 }
2338 return released;
2339}
2340inline void TerminationProto::set_allocated_detail(::std::string* PROTOBUF_NULLABLE value) {
2341 ::google::protobuf::internal::TSanWrite(&_impl_);
2342 if (value != nullptr) {
2343 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2344 } else {
2345 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2346 }
2347 _impl_.detail_.SetAllocated(value, GetArena());
2348 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.detail_.IsDefault()) {
2349 _impl_.detail_.Set("", GetArena());
2350 }
2351 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.TerminationProto.detail)
2352}
2354// .operations_research.math_opt.ProblemStatusProto problem_status = 4;
2355inline bool TerminationProto::has_problem_status() const {
2356 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2357 PROTOBUF_ASSUME(!value || _impl_.problem_status_ != nullptr);
2358 return value;
2359}
2361 ::google::protobuf::internal::TSanWrite(&_impl_);
2362 if (_impl_.problem_status_ != nullptr) _impl_.problem_status_->Clear();
2363 ClearHasBit(_impl_._has_bits_[0],
2364 0x00000002U);
2365}
2366inline const ::operations_research::math_opt::ProblemStatusProto& TerminationProto::_internal_problem_status() const {
2367 ::google::protobuf::internal::TSanRead(&_impl_);
2368 const ::operations_research::math_opt::ProblemStatusProto* p = _impl_.problem_status_;
2370}
2371inline const ::operations_research::math_opt::ProblemStatusProto& TerminationProto::problem_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2372 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.problem_status)
2373 return _internal_problem_status();
2374}
2376 ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE value) {
2377 ::google::protobuf::internal::TSanWrite(&_impl_);
2378 if (GetArena() == nullptr) {
2379 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.problem_status_);
2380 }
2381 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(value);
2382 if (value != nullptr) {
2383 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2384 } else {
2385 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2386 }
2387 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.TerminationProto.problem_status)
2389inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE TerminationProto::release_problem_status() {
2390 ::google::protobuf::internal::TSanWrite(&_impl_);
2391
2392 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2394 _impl_.problem_status_ = nullptr;
2395 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2396 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2397 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2398 if (GetArena() == nullptr) {
2399 delete old;
2400 }
2401 } else {
2402 if (GetArena() != nullptr) {
2403 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2404 }
2405 }
2406 return released;
2407}
2408inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NULLABLE TerminationProto::unsafe_arena_release_problem_status() {
2409 ::google::protobuf::internal::TSanWrite(&_impl_);
2410 // @@protoc_insertion_point(field_release:operations_research.math_opt.TerminationProto.problem_status)
2411
2412 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2414 _impl_.problem_status_ = nullptr;
2415 return temp;
2416}
2417inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_problem_status() {
2418 ::google::protobuf::internal::TSanWrite(&_impl_);
2419 if (_impl_.problem_status_ == nullptr) {
2420 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ProblemStatusProto>(GetArena());
2421 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(p);
2422 }
2423 return _impl_.problem_status_;
2424}
2425inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL TerminationProto::mutable_problem_status()
2426 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2427 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2428 ::operations_research::math_opt::ProblemStatusProto* _msg = _internal_mutable_problem_status();
2429 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.TerminationProto.problem_status)
2430 return _msg;
2431}
2433 ::google::protobuf::Arena* message_arena = GetArena();
2434 ::google::protobuf::internal::TSanWrite(&_impl_);
2435 if (message_arena == nullptr) {
2436 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.problem_status_);
2437 }
2439 if (value != nullptr) {
2440 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2441 if (message_arena != submessage_arena) {
2442 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2443 }
2444 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2445 } else {
2446 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2447 }
2448
2449 _impl_.problem_status_ = reinterpret_cast<::operations_research::math_opt::ProblemStatusProto*>(value);
2450 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.TerminationProto.problem_status)
2451}
2452
2453// .operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
2454inline bool TerminationProto::has_objective_bounds() const {
2455 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2456 PROTOBUF_ASSUME(!value || _impl_.objective_bounds_ != nullptr);
2457 return value;
2458}
2460 ::google::protobuf::internal::TSanWrite(&_impl_);
2461 if (_impl_.objective_bounds_ != nullptr) _impl_.objective_bounds_->Clear();
2462 ClearHasBit(_impl_._has_bits_[0],
2463 0x00000004U);
2464}
2465inline const ::operations_research::math_opt::ObjectiveBoundsProto& TerminationProto::_internal_objective_bounds() const {
2466 ::google::protobuf::internal::TSanRead(&_impl_);
2467 const ::operations_research::math_opt::ObjectiveBoundsProto* p = _impl_.objective_bounds_;
2469}
2470inline const ::operations_research::math_opt::ObjectiveBoundsProto& TerminationProto::objective_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2471 // @@protoc_insertion_point(field_get:operations_research.math_opt.TerminationProto.objective_bounds)
2472 return _internal_objective_bounds();
2473}
2476 ::google::protobuf::internal::TSanWrite(&_impl_);
2477 if (GetArena() == nullptr) {
2478 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_bounds_);
2479 }
2480 _impl_.objective_bounds_ = reinterpret_cast<::operations_research::math_opt::ObjectiveBoundsProto*>(value);
2481 if (value != nullptr) {
2482 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2483 } else {
2484 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2485 }
2486 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.TerminationProto.objective_bounds)
2488inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NULLABLE TerminationProto::release_objective_bounds() {
2489 ::google::protobuf::internal::TSanWrite(&_impl_);
2490
2491 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2493 _impl_.objective_bounds_ = nullptr;
2494 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2495 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2496 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2497 if (GetArena() == nullptr) {
2498 delete old;
2499 }
2500 } else {
2501 if (GetArena() != nullptr) {
2502 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2503 }
2504 }
2505 return released;
2506}
2507inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NULLABLE TerminationProto::unsafe_arena_release_objective_bounds() {
2508 ::google::protobuf::internal::TSanWrite(&_impl_);
2509 // @@protoc_insertion_point(field_release:operations_research.math_opt.TerminationProto.objective_bounds)
2510
2511 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2513 _impl_.objective_bounds_ = nullptr;
2514 return temp;
2515}
2516inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_objective_bounds() {
2517 ::google::protobuf::internal::TSanWrite(&_impl_);
2518 if (_impl_.objective_bounds_ == nullptr) {
2519 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveBoundsProto>(GetArena());
2520 _impl_.objective_bounds_ = reinterpret_cast<::operations_research::math_opt::ObjectiveBoundsProto*>(p);
2521 }
2522 return _impl_.objective_bounds_;
2523}
2524inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL TerminationProto::mutable_objective_bounds()
2525 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2526 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2527 ::operations_research::math_opt::ObjectiveBoundsProto* _msg = _internal_mutable_objective_bounds();
2528 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.TerminationProto.objective_bounds)
2529 return _msg;
2530}
2532 ::google::protobuf::Arena* message_arena = GetArena();
2533 ::google::protobuf::internal::TSanWrite(&_impl_);
2534 if (message_arena == nullptr) {
2535 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_bounds_);
2536 }
2538 if (value != nullptr) {
2539 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2540 if (message_arena != submessage_arena) {
2541 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2542 }
2543 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2544 } else {
2545 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
2546 }
2547
2548 _impl_.objective_bounds_ = reinterpret_cast<::operations_research::math_opt::ObjectiveBoundsProto*>(value);
2549 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.TerminationProto.objective_bounds)
2550}
2551
2552// -------------------------------------------------------------------
2553
2554// SolveResultProto_PdlpOutput
2555
2556// .operations_research.pdlp.ConvergenceInformation convergence_information = 1;
2558 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2559 PROTOBUF_ASSUME(!value || _impl_.convergence_information_ != nullptr);
2560 return value;
2561}
2562inline const ::operations_research::pdlp::ConvergenceInformation& SolveResultProto_PdlpOutput::_internal_convergence_information() const {
2563 ::google::protobuf::internal::TSanRead(&_impl_);
2564 const ::operations_research::pdlp::ConvergenceInformation* p = _impl_.convergence_information_;
2565 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::pdlp::ConvergenceInformation&>(::operations_research::pdlp::_ConvergenceInformation_default_instance_);
2566}
2567inline const ::operations_research::pdlp::ConvergenceInformation& SolveResultProto_PdlpOutput::convergence_information() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2568 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2569 return _internal_convergence_information();
2570}
2572 ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE value) {
2573 ::google::protobuf::internal::TSanWrite(&_impl_);
2574 if (GetArena() == nullptr) {
2575 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.convergence_information_);
2576 }
2577 _impl_.convergence_information_ = reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*>(value);
2578 if (value != nullptr) {
2579 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2580 } else {
2581 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2582 }
2583 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2584}
2585inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE SolveResultProto_PdlpOutput::release_convergence_information() {
2586 ::google::protobuf::internal::TSanWrite(&_impl_);
2587
2588 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2589 ::operations_research::pdlp::ConvergenceInformation* released = _impl_.convergence_information_;
2590 _impl_.convergence_information_ = nullptr;
2591 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2592 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2593 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2594 if (GetArena() == nullptr) {
2595 delete old;
2596 }
2597 } else {
2598 if (GetArena() != nullptr) {
2599 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2600 }
2601 }
2602 return released;
2603}
2604inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NULLABLE SolveResultProto_PdlpOutput::unsafe_arena_release_convergence_information() {
2605 ::google::protobuf::internal::TSanWrite(&_impl_);
2606 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2607
2608 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2609 ::operations_research::pdlp::ConvergenceInformation* temp = _impl_.convergence_information_;
2610 _impl_.convergence_information_ = nullptr;
2611 return temp;
2612}
2613inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::_internal_mutable_convergence_information() {
2614 ::google::protobuf::internal::TSanWrite(&_impl_);
2615 if (_impl_.convergence_information_ == nullptr) {
2616 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::ConvergenceInformation>(GetArena());
2617 _impl_.convergence_information_ = reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*>(p);
2619 return _impl_.convergence_information_;
2620}
2621inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::mutable_convergence_information()
2622 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2623 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2624 ::operations_research::pdlp::ConvergenceInformation* _msg = _internal_mutable_convergence_information();
2625 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2626 return _msg;
2627}
2629 ::google::protobuf::Arena* message_arena = GetArena();
2630 ::google::protobuf::internal::TSanWrite(&_impl_);
2631 if (message_arena == nullptr) {
2632 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.convergence_information_);
2633 }
2634
2635 if (value != nullptr) {
2636 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2637 if (message_arena != submessage_arena) {
2638 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2639 }
2640 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2641 } else {
2642 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2643 }
2644
2645 _impl_.convergence_information_ = reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*>(value);
2646 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.PdlpOutput.convergence_information)
2647}
2648
2649// -------------------------------------------------------------------
2650
2651// SolveResultProto
2652
2653// .operations_research.math_opt.TerminationProto termination = 2;
2654inline bool SolveResultProto::has_termination() const {
2655 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
2656 PROTOBUF_ASSUME(!value || _impl_.termination_ != nullptr);
2657 return value;
2658}
2660 ::google::protobuf::internal::TSanWrite(&_impl_);
2661 if (_impl_.termination_ != nullptr) _impl_.termination_->Clear();
2662 ClearHasBit(_impl_._has_bits_[0],
2663 0x00000008U);
2664}
2665inline const ::operations_research::math_opt::TerminationProto& SolveResultProto::_internal_termination() const {
2666 ::google::protobuf::internal::TSanRead(&_impl_);
2667 const ::operations_research::math_opt::TerminationProto* p = _impl_.termination_;
2668 return p != nullptr ? *p : reinterpret_cast<const ::operations_research::math_opt::TerminationProto&>(::operations_research::math_opt::_TerminationProto_default_instance_);
2670inline const ::operations_research::math_opt::TerminationProto& SolveResultProto::termination() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2671 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.termination)
2672 return _internal_termination();
2673}
2675 ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE value) {
2676 ::google::protobuf::internal::TSanWrite(&_impl_);
2677 if (GetArena() == nullptr) {
2678 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.termination_);
2679 }
2680 _impl_.termination_ = reinterpret_cast<::operations_research::math_opt::TerminationProto*>(value);
2681 if (value != nullptr) {
2682 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2683 } else {
2684 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2686 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.termination)
2687}
2688inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE SolveResultProto::release_termination() {
2689 ::google::protobuf::internal::TSanWrite(&_impl_);
2690
2691 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2693 _impl_.termination_ = nullptr;
2694 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2695 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2696 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2697 if (GetArena() == nullptr) {
2698 delete old;
2699 }
2700 } else {
2701 if (GetArena() != nullptr) {
2702 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2704 }
2705 return released;
2706}
2707inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_termination() {
2708 ::google::protobuf::internal::TSanWrite(&_impl_);
2709 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.termination)
2710
2711 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2713 _impl_.termination_ = nullptr;
2714 return temp;
2715}
2716inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_termination() {
2717 ::google::protobuf::internal::TSanWrite(&_impl_);
2718 if (_impl_.termination_ == nullptr) {
2719 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::TerminationProto>(GetArena());
2720 _impl_.termination_ = reinterpret_cast<::operations_research::math_opt::TerminationProto*>(p);
2721 }
2722 return _impl_.termination_;
2723}
2724inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL SolveResultProto::mutable_termination()
2725 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2726 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2727 ::operations_research::math_opt::TerminationProto* _msg = _internal_mutable_termination();
2728 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.termination)
2729 return _msg;
2730}
2732 ::google::protobuf::Arena* message_arena = GetArena();
2733 ::google::protobuf::internal::TSanWrite(&_impl_);
2734 if (message_arena == nullptr) {
2735 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.termination_);
2736 }
2737
2738 if (value != nullptr) {
2739 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2740 if (message_arena != submessage_arena) {
2741 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2742 }
2743 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2744 } else {
2745 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
2747
2748 _impl_.termination_ = reinterpret_cast<::operations_research::math_opt::TerminationProto*>(value);
2749 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.termination)
2750}
2751
2752// repeated .operations_research.math_opt.SolutionProto solutions = 3;
2753inline int SolveResultProto::_internal_solutions_size() const {
2754 return _internal_solutions().size();
2755}
2756inline int SolveResultProto::solutions_size() const {
2757 return _internal_solutions_size();
2758}
2759inline ::operations_research::math_opt::SolutionProto* PROTOBUF_NONNULL SolveResultProto::mutable_solutions(int index)
2760 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2761 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.solutions)
2762 return _internal_mutable_solutions()->Mutable(index);
2763}
2764inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL SolveResultProto::mutable_solutions()
2765 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2766 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2767 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResultProto.solutions)
2768 ::google::protobuf::internal::TSanWrite(&_impl_);
2769 return _internal_mutable_solutions();
2770}
2771inline const ::operations_research::math_opt::SolutionProto& SolveResultProto::solutions(int index) const
2772 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2773 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.solutions)
2774 return _internal_solutions().Get(index);
2775}
2776inline ::operations_research::math_opt::SolutionProto* PROTOBUF_NONNULL SolveResultProto::add_solutions()
2777 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2778 ::google::protobuf::internal::TSanWrite(&_impl_);
2780 _internal_mutable_solutions()->InternalAddWithArena(
2781 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2782 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2783 // @@protoc_insertion_point(field_add:operations_research.math_opt.SolveResultProto.solutions)
2784 return _add;
2785}
2786inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& SolveResultProto::solutions() const
2787 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2788 // @@protoc_insertion_point(field_list:operations_research.math_opt.SolveResultProto.solutions)
2789 return _internal_solutions();
2790}
2791inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
2792SolveResultProto::_internal_solutions() const {
2793 ::google::protobuf::internal::TSanRead(&_impl_);
2794 return _impl_.solutions_;
2795}
2796inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL
2797SolveResultProto::_internal_mutable_solutions() {
2798 ::google::protobuf::internal::TSanRead(&_impl_);
2799 return &_impl_.solutions_;
2800}
2802// repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
2803inline int SolveResultProto::_internal_primal_rays_size() const {
2804 return _internal_primal_rays().size();
2805}
2806inline int SolveResultProto::primal_rays_size() const {
2807 return _internal_primal_rays_size();
2808}
2809inline ::operations_research::math_opt::PrimalRayProto* PROTOBUF_NONNULL SolveResultProto::mutable_primal_rays(int index)
2810 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2811 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.primal_rays)
2812 return _internal_mutable_primal_rays()->Mutable(index);
2813}
2814inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL SolveResultProto::mutable_primal_rays()
2815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2816 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2817 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResultProto.primal_rays)
2818 ::google::protobuf::internal::TSanWrite(&_impl_);
2819 return _internal_mutable_primal_rays();
2820}
2821inline const ::operations_research::math_opt::PrimalRayProto& SolveResultProto::primal_rays(int index) const
2822 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2823 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.primal_rays)
2824 return _internal_primal_rays().Get(index);
2825}
2826inline ::operations_research::math_opt::PrimalRayProto* PROTOBUF_NONNULL SolveResultProto::add_primal_rays()
2827 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2828 ::google::protobuf::internal::TSanWrite(&_impl_);
2830 _internal_mutable_primal_rays()->InternalAddWithArena(
2831 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2832 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2833 // @@protoc_insertion_point(field_add:operations_research.math_opt.SolveResultProto.primal_rays)
2834 return _add;
2835}
2836inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& SolveResultProto::primal_rays() const
2837 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2838 // @@protoc_insertion_point(field_list:operations_research.math_opt.SolveResultProto.primal_rays)
2839 return _internal_primal_rays();
2840}
2841inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>&
2842SolveResultProto::_internal_primal_rays() const {
2843 ::google::protobuf::internal::TSanRead(&_impl_);
2844 return _impl_.primal_rays_;
2845}
2846inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL
2847SolveResultProto::_internal_mutable_primal_rays() {
2848 ::google::protobuf::internal::TSanRead(&_impl_);
2849 return &_impl_.primal_rays_;
2850}
2852// repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
2853inline int SolveResultProto::_internal_dual_rays_size() const {
2854 return _internal_dual_rays().size();
2855}
2856inline int SolveResultProto::dual_rays_size() const {
2857 return _internal_dual_rays_size();
2858}
2859inline ::operations_research::math_opt::DualRayProto* PROTOBUF_NONNULL SolveResultProto::mutable_dual_rays(int index)
2860 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2861 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.dual_rays)
2862 return _internal_mutable_dual_rays()->Mutable(index);
2863}
2864inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL SolveResultProto::mutable_dual_rays()
2865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2866 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2867 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SolveResultProto.dual_rays)
2868 ::google::protobuf::internal::TSanWrite(&_impl_);
2869 return _internal_mutable_dual_rays();
2870}
2871inline const ::operations_research::math_opt::DualRayProto& SolveResultProto::dual_rays(int index) const
2872 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2873 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.dual_rays)
2874 return _internal_dual_rays().Get(index);
2875}
2876inline ::operations_research::math_opt::DualRayProto* PROTOBUF_NONNULL SolveResultProto::add_dual_rays()
2877 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2878 ::google::protobuf::internal::TSanWrite(&_impl_);
2880 _internal_mutable_dual_rays()->InternalAddWithArena(
2881 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2882 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2883 // @@protoc_insertion_point(field_add:operations_research.math_opt.SolveResultProto.dual_rays)
2884 return _add;
2885}
2886inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& SolveResultProto::dual_rays() const
2887 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2888 // @@protoc_insertion_point(field_list:operations_research.math_opt.SolveResultProto.dual_rays)
2889 return _internal_dual_rays();
2890}
2891inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
2892SolveResultProto::_internal_dual_rays() const {
2893 ::google::protobuf::internal::TSanRead(&_impl_);
2894 return _impl_.dual_rays_;
2895}
2896inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL
2897SolveResultProto::_internal_mutable_dual_rays() {
2898 ::google::protobuf::internal::TSanRead(&_impl_);
2899 return &_impl_.dual_rays_;
2900}
2902// .operations_research.math_opt.SolveStatsProto solve_stats = 6;
2903inline bool SolveResultProto::has_solve_stats() const {
2904 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2905 PROTOBUF_ASSUME(!value || _impl_.solve_stats_ != nullptr);
2906 return value;
2907}
2909 ::google::protobuf::internal::TSanWrite(&_impl_);
2910 if (_impl_.solve_stats_ != nullptr) _impl_.solve_stats_->Clear();
2911 ClearHasBit(_impl_._has_bits_[0],
2912 0x00000010U);
2913}
2914inline const ::operations_research::math_opt::SolveStatsProto& SolveResultProto::_internal_solve_stats() const {
2915 ::google::protobuf::internal::TSanRead(&_impl_);
2916 const ::operations_research::math_opt::SolveStatsProto* p = _impl_.solve_stats_;
2919inline const ::operations_research::math_opt::SolveStatsProto& SolveResultProto::solve_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2920 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.solve_stats)
2921 return _internal_solve_stats();
2922}
2924 ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE value) {
2925 ::google::protobuf::internal::TSanWrite(&_impl_);
2926 if (GetArena() == nullptr) {
2927 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_stats_);
2928 }
2929 _impl_.solve_stats_ = reinterpret_cast<::operations_research::math_opt::SolveStatsProto*>(value);
2930 if (value != nullptr) {
2931 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2932 } else {
2933 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2935 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.solve_stats)
2936}
2937inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE SolveResultProto::release_solve_stats() {
2938 ::google::protobuf::internal::TSanWrite(&_impl_);
2939
2940 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2942 _impl_.solve_stats_ = nullptr;
2943 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2944 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2945 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2946 if (GetArena() == nullptr) {
2947 delete old;
2948 }
2949 } else {
2950 if (GetArena() != nullptr) {
2951 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2953 }
2954 return released;
2955}
2956inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_solve_stats() {
2957 ::google::protobuf::internal::TSanWrite(&_impl_);
2958 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.solve_stats)
2959
2960 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2962 _impl_.solve_stats_ = nullptr;
2963 return temp;
2964}
2965inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_solve_stats() {
2966 ::google::protobuf::internal::TSanWrite(&_impl_);
2967 if (_impl_.solve_stats_ == nullptr) {
2968 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveStatsProto>(GetArena());
2969 _impl_.solve_stats_ = reinterpret_cast<::operations_research::math_opt::SolveStatsProto*>(p);
2970 }
2971 return _impl_.solve_stats_;
2972}
2973inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL SolveResultProto::mutable_solve_stats()
2974 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2975 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2976 ::operations_research::math_opt::SolveStatsProto* _msg = _internal_mutable_solve_stats();
2977 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.solve_stats)
2978 return _msg;
2979}
2981 ::google::protobuf::Arena* message_arena = GetArena();
2982 ::google::protobuf::internal::TSanWrite(&_impl_);
2983 if (message_arena == nullptr) {
2984 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.solve_stats_);
2985 }
2986
2987 if (value != nullptr) {
2988 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2989 if (message_arena != submessage_arena) {
2990 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2991 }
2992 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2993 } else {
2994 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
2996
2997 _impl_.solve_stats_ = reinterpret_cast<::operations_research::math_opt::SolveStatsProto*>(value);
2998 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SolveResultProto.solve_stats)
2999}
3000
3001// .operations_research.GScipOutput gscip_output = 7;
3002inline bool SolveResultProto::has_gscip_output() const {
3004}
3005inline bool SolveResultProto::_internal_has_gscip_output() const {
3007}
3008inline void SolveResultProto::set_has_gscip_output() {
3009 _impl_._oneof_case_[0] = kGscipOutput;
3010}
3011inline ::operations_research::GScipOutput* PROTOBUF_NULLABLE SolveResultProto::release_gscip_output() {
3012 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.gscip_output)
3014 clear_has_solver_specific_output();
3015 auto* temp = reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_);
3016 if (GetArena() != nullptr) {
3017 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3018 }
3019 _impl_.solver_specific_output_.gscip_output_ = nullptr;
3020 return temp;
3021 } else {
3022 return nullptr;
3023 }
3024}
3025inline const ::operations_research::GScipOutput& SolveResultProto::_internal_gscip_output() const {
3026 return solver_specific_output_case() == kGscipOutput ? static_cast<const ::operations_research::GScipOutput&>(*reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_))
3028}
3029inline const ::operations_research::GScipOutput& SolveResultProto::gscip_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3030 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.gscip_output)
3031 return _internal_gscip_output();
3032}
3033inline ::operations_research::GScipOutput* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_gscip_output() {
3034 // @@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResultProto.gscip_output)
3036 clear_has_solver_specific_output();
3037 auto* temp = reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_);
3038 _impl_.solver_specific_output_.gscip_output_ = nullptr;
3039 return temp;
3040 } else {
3041 return nullptr;
3042 }
3043}
3045 ::operations_research::GScipOutput* PROTOBUF_NULLABLE value) {
3046 // We rely on the oneof clear method to free the earlier contents
3047 // of this oneof. We can directly use the pointer we're given to
3048 // set the new value.
3050 if (value) {
3051 set_has_gscip_output();
3052 _impl_.solver_specific_output_.gscip_output_ = reinterpret_cast<::google::protobuf::Message*>(value);
3053 }
3054 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.gscip_output)
3055}
3056inline ::operations_research::GScipOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_gscip_output() {
3059 set_has_gscip_output();
3060 _impl_.solver_specific_output_.gscip_output_ = reinterpret_cast<::google::protobuf::Message*>(
3061 ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipOutput>(GetArena()));
3062 }
3063 return reinterpret_cast<::operations_research::GScipOutput*>(_impl_.solver_specific_output_.gscip_output_);
3064}
3065inline ::operations_research::GScipOutput* PROTOBUF_NONNULL SolveResultProto::mutable_gscip_output()
3066 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3067 ::operations_research::GScipOutput* _msg = _internal_mutable_gscip_output();
3068 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.gscip_output)
3069 return _msg;
3070}
3071
3072// .operations_research.math_opt.OsqpOutput osqp_output = 8;
3073inline bool SolveResultProto::has_osqp_output() const {
3075}
3076inline bool SolveResultProto::_internal_has_osqp_output() const {
3078}
3079inline void SolveResultProto::set_has_osqp_output() {
3080 _impl_._oneof_case_[0] = kOsqpOutput;
3081}
3082inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE SolveResultProto::release_osqp_output() {
3083 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.osqp_output)
3085 clear_has_solver_specific_output();
3086 auto* temp = reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_);
3087 if (GetArena() != nullptr) {
3088 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3089 }
3090 _impl_.solver_specific_output_.osqp_output_ = nullptr;
3091 return temp;
3092 } else {
3093 return nullptr;
3094 }
3095}
3096inline const ::operations_research::math_opt::OsqpOutput& SolveResultProto::_internal_osqp_output() const {
3097 return solver_specific_output_case() == kOsqpOutput ? static_cast<const ::operations_research::math_opt::OsqpOutput&>(*reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_))
3099}
3100inline const ::operations_research::math_opt::OsqpOutput& SolveResultProto::osqp_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3101 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.osqp_output)
3102 return _internal_osqp_output();
3103}
3104inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_osqp_output() {
3105 // @@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResultProto.osqp_output)
3107 clear_has_solver_specific_output();
3108 auto* temp = reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_);
3109 _impl_.solver_specific_output_.osqp_output_ = nullptr;
3110 return temp;
3111 } else {
3112 return nullptr;
3113 }
3114}
3116 ::operations_research::math_opt::OsqpOutput* PROTOBUF_NULLABLE value) {
3117 // We rely on the oneof clear method to free the earlier contents
3118 // of this oneof. We can directly use the pointer we're given to
3119 // set the new value.
3121 if (value) {
3122 set_has_osqp_output();
3123 _impl_.solver_specific_output_.osqp_output_ = reinterpret_cast<::google::protobuf::Message*>(value);
3124 }
3125 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.osqp_output)
3126}
3127inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_osqp_output() {
3130 set_has_osqp_output();
3131 _impl_.solver_specific_output_.osqp_output_ = reinterpret_cast<::google::protobuf::Message*>(
3132 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpOutput>(GetArena()));
3133 }
3134 return reinterpret_cast<::operations_research::math_opt::OsqpOutput*>(_impl_.solver_specific_output_.osqp_output_);
3135}
3136inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL SolveResultProto::mutable_osqp_output()
3137 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3138 ::operations_research::math_opt::OsqpOutput* _msg = _internal_mutable_osqp_output();
3139 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.osqp_output)
3140 return _msg;
3141}
3142
3143// .operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
3144inline bool SolveResultProto::has_pdlp_output() const {
3146}
3147inline bool SolveResultProto::_internal_has_pdlp_output() const {
3149}
3150inline void SolveResultProto::set_has_pdlp_output() {
3151 _impl_._oneof_case_[0] = kPdlpOutput;
3152}
3154 ::google::protobuf::internal::TSanWrite(&_impl_);
3156 if (GetArena() == nullptr) {
3157 delete _impl_.solver_specific_output_.pdlp_output_;
3158 } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3159 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.solver_specific_output_.pdlp_output_);
3160 }
3161 clear_has_solver_specific_output();
3162 }
3163}
3164inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NULLABLE SolveResultProto::release_pdlp_output() {
3165 // @@protoc_insertion_point(field_release:operations_research.math_opt.SolveResultProto.pdlp_output)
3167 clear_has_solver_specific_output();
3168 auto* temp = reinterpret_cast<::operations_research::math_opt::SolveResultProto_PdlpOutput*>(_impl_.solver_specific_output_.pdlp_output_);
3169 if (GetArena() != nullptr) {
3170 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3171 }
3172 _impl_.solver_specific_output_.pdlp_output_ = nullptr;
3173 return temp;
3174 } else {
3175 return nullptr;
3176 }
3177}
3178inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput& SolveResultProto::_internal_pdlp_output() const {
3181}
3182inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput& SolveResultProto::pdlp_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3183 // @@protoc_insertion_point(field_get:operations_research.math_opt.SolveResultProto.pdlp_output)
3184 return _internal_pdlp_output();
3185}
3186inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NULLABLE SolveResultProto::unsafe_arena_release_pdlp_output() {
3187 // @@protoc_insertion_point(field_unsafe_arena_release:operations_research.math_opt.SolveResultProto.pdlp_output)
3189 clear_has_solver_specific_output();
3190 auto* temp = reinterpret_cast<::operations_research::math_opt::SolveResultProto_PdlpOutput*>(_impl_.solver_specific_output_.pdlp_output_);
3191 _impl_.solver_specific_output_.pdlp_output_ = nullptr;
3192 return temp;
3193 } else {
3194 return nullptr;
3195 }
3196}
3199 // We rely on the oneof clear method to free the earlier contents
3200 // of this oneof. We can directly use the pointer we're given to
3201 // set the new value.
3203 if (value) {
3204 set_has_pdlp_output();
3205 _impl_.solver_specific_output_.pdlp_output_ = reinterpret_cast<::google::protobuf::Message*>(value);
3206 }
3207 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SolveResultProto.pdlp_output)
3208}
3209inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_pdlp_output() {
3212 set_has_pdlp_output();
3213 _impl_.solver_specific_output_.pdlp_output_ = reinterpret_cast<::google::protobuf::Message*>(
3214 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveResultProto_PdlpOutput>(GetArena()));
3215 }
3216 return reinterpret_cast<::operations_research::math_opt::SolveResultProto_PdlpOutput*>(_impl_.solver_specific_output_.pdlp_output_);
3217}
3218inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL SolveResultProto::mutable_pdlp_output()
3219 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3220 ::operations_research::math_opt::SolveResultProto_PdlpOutput* _msg = _internal_mutable_pdlp_output();
3221 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SolveResultProto.pdlp_output)
3222 return _msg;
3223}
3224
3225inline bool SolveResultProto::has_solver_specific_output() const {
3227}
3228inline void SolveResultProto::clear_has_solver_specific_output() {
3229 _impl_._oneof_case_[0] = SOLVER_SPECIFIC_OUTPUT_NOT_SET;
3230}
3232 return SolveResultProto::SolverSpecificOutputCase(_impl_._oneof_case_[0]);
3234#ifdef __GNUC__
3235#pragma GCC diagnostic pop
3236#endif // __GNUC__
3237
3238// @@protoc_insertion_point(namespace_scope)
3239} // namespace math_opt
3240} // namespace operations_research
3241
3242
3243namespace google {
3244namespace protobuf {
3245
3246template <>
3247struct is_proto_enum<::operations_research::math_opt::FeasibilityStatusProto> : std::true_type {};
3248template <>
3249inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::FeasibilityStatusProto>() {
3250 return ::operations_research::math_opt::FeasibilityStatusProto_descriptor();
3251}
3252template <>
3253struct is_proto_enum<::operations_research::math_opt::TerminationReasonProto> : std::true_type {};
3254template <>
3255inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::TerminationReasonProto>() {
3256 return ::operations_research::math_opt::TerminationReasonProto_descriptor();
3257}
3258template <>
3259struct is_proto_enum<::operations_research::math_opt::LimitProto> : std::true_type {};
3260template <>
3261inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LimitProto>() {
3262 return ::operations_research::math_opt::LimitProto_descriptor();
3263}
3265} // namespace protobuf
3266} // namespace google
3267
3268// @@protoc_insertion_point(global_scope)
3269
3270#include "google/protobuf/port_undef.inc"
3271
3272#endif // ortools_2fmath_5fopt_2fresult_2eproto_2epb_2eh
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:496
friend class ::google::protobuf::MessageLite
Definition result.pb.h:637
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 MergeFrom(const ObjectiveBoundsProto &from)
Definition result.pb.h:542
ObjectiveBoundsProto & operator=(const ObjectiveBoundsProto &from)
Definition result.pb.h:482
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ObjectiveBoundsProto & default_instance()
Definition result.pb.h:514
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition result.pb.h:511
void Swap(ObjectiveBoundsProto *PROTOBUF_NONNULL other)
Definition result.pb.h:520
PROTOBUF_CONSTEXPR ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:508
friend class ::google::protobuf::MessageLite
Definition result.pb.h:433
ProblemStatusProto & operator=(const ProblemStatusProto &from)
Definition result.pb.h:267
void set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value)
Definition result.pb.h:1781
::operations_research::math_opt::FeasibilityStatusProto dual_status() const
Definition result.pb.h:1802
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:567
ProblemStatusProto(const ProblemStatusProto &from)
Definition result.pb.h:264
void CopyFrom(const ProblemStatusProto &from)
Definition result.pb.cc:717
void Swap(ProblemStatusProto *PROTOBUF_NONNULL other)
Definition result.pb.h:305
void set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value)
Definition result.pb.h:1806
PROTOBUF_CONSTEXPR ProblemStatusProto(::google::protobuf::internal::ConstantInitialized)
::operations_research::math_opt::FeasibilityStatusProto primal_status() const
Definition result.pb.h:1777
static const SolveResultProto_PdlpOutput & default_instance()
Definition result.pb.h:1256
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NONNULL mutable_convergence_information()
Definition result.pb.h:2635
const ::operations_research::pdlp::ConvergenceInformation & convergence_information() const
Definition result.pb.h:2581
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE release_convergence_information()
Definition result.pb.h:2599
SolveResultProto_PdlpOutput *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition result.pb.h:1278
void unsafe_arena_set_allocated_convergence_information(::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE value)
Definition result.pb.h:2585
void MergeFrom(const SolveResultProto_PdlpOutput &from)
Definition result.pb.h:1284
::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:1262
SolveResultProto_PdlpOutput & operator=(const SolveResultProto_PdlpOutput &from)
Definition result.pb.h:1224
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition result.pb.h:1253
void CopyFrom(const SolveResultProto_PdlpOutput &from)
void set_allocated_convergence_information(::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE value)
Definition result.pb.h:2642
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:1250
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE unsafe_arena_release_convergence_information()
Definition result.pb.h:2618
void Swap(SolveResultProto *PROTOBUF_NONNULL other)
Definition result.pb.h:1464
::operations_research::math_opt::SolutionProto *PROTOBUF_NONNULL add_solutions()
Definition result.pb.h:2791
void unsafe_arena_set_allocated_pdlp_output(::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE value)
Definition result.pb.h:3212
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:3233
::operations_research::GScipOutput *PROTOBUF_NULLABLE unsafe_arena_release_gscip_output()
Definition result.pb.h:3048
::operations_research::math_opt::OsqpOutput *PROTOBUF_NONNULL mutable_osqp_output()
Definition result.pb.h:3151
void set_allocated_solve_stats(::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2995
friend void swap(SolveResultProto &a, SolveResultProto &b)
Definition result.pb.h:1463
static const SolveResultProto & default_instance()
Definition result.pb.h:1452
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > *PROTOBUF_NONNULL mutable_dual_rays()
Definition result.pb.h:2879
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto > & solutions() const
Definition result.pb.h:2801
::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE unsafe_arena_release_termination()
Definition result.pb.h:2722
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto > *PROTOBUF_NONNULL mutable_solutions()
Definition result.pb.h:2779
void unsafe_arena_set_allocated_solve_stats(::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2938
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE release_pdlp_output()
Definition result.pb.h:3179
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:2836
SolveResultProto & operator=(const SolveResultProto &from)
Definition result.pb.h:1420
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE unsafe_arena_release_solve_stats()
Definition result.pb.h:2971
const ::operations_research::math_opt::OsqpOutput & osqp_output() const
Definition result.pb.h:3115
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL add_primal_rays()
Definition result.pb.h:2841
void set_allocated_termination(::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2746
::operations_research::math_opt::SolutionProto *PROTOBUF_NONNULL mutable_solutions(int index)
Definition result.pb.h:2774
const ::operations_research::math_opt::SolutionProto & solutions(int index) const
Definition result.pb.h:2786
::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE release_termination()
Definition result.pb.h:2703
::operations_research::math_opt::DualRayProto *PROTOBUF_NONNULL add_dual_rays()
Definition result.pb.h:2891
::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE unsafe_arena_release_osqp_output()
Definition result.pb.h:3119
const ::operations_research::math_opt::SolveResultProto_PdlpOutput & pdlp_output() const
Definition result.pb.h:3197
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto > & primal_rays() const
Definition result.pb.h:2851
::operations_research::math_opt::TerminationProto *PROTOBUF_NONNULL mutable_termination()
Definition result.pb.h:2739
::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:2886
::operations_research::GScipOutput *PROTOBUF_NONNULL mutable_gscip_output()
Definition result.pb.h:3080
SolverSpecificOutputCase solver_specific_output_case() const
Definition result.pb.h:3246
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL mutable_primal_rays(int index)
Definition result.pb.h:2824
const ::operations_research::math_opt::SolveStatsProto & solve_stats() const
Definition result.pb.h:2934
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto > *PROTOBUF_NONNULL mutable_primal_rays()
Definition result.pb.h:2829
::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE release_osqp_output()
Definition result.pb.h:3097
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NONNULL mutable_solve_stats()
Definition result.pb.h:2988
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE release_solve_stats()
Definition result.pb.h:2952
::operations_research::math_opt::DualRayProto *PROTOBUF_NONNULL mutable_dual_rays(int index)
Definition result.pb.h:2874
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > & dual_rays() const
Definition result.pb.h:2901
void unsafe_arena_set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
Definition result.pb.h:3130
void unsafe_arena_set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
Definition result.pb.h:3059
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE unsafe_arena_release_pdlp_output()
Definition result.pb.h:3201
void set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
SolveResultProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition result.pb.h:1480
const ::operations_research::GScipOutput & gscip_output() const
Definition result.pb.h:3044
const ::operations_research::math_opt::TerminationProto & termination() const
Definition result.pb.h:2685
friend class ::google::protobuf::Arena
Definition result.pb.h:1714
void unsafe_arena_set_allocated_termination(::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2689
::operations_research::GScipOutput *PROTOBUF_NULLABLE release_gscip_output()
Definition result.pb.h:3026
const ::operations_research::math_opt::ProblemStatusProto & problem_status() const
Definition result.pb.h:2010
void set_allocated_solve_time(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
Definition result.pb.h:1922
::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
Definition result.pb.h:993
::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:987
void CopyFrom(const SolveStatsProto &from)
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NONNULL mutable_problem_status()
Definition result.pb.h:2064
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:965
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition result.pb.h:962
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_solve_time()
Definition result.pb.h:1915
void MergeFrom(const SolveStatsProto &from)
Definition result.pb.h:999
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_solve_time()
Definition result.pb.h:1898
::google::protobuf::Duration *PROTOBUF_NULLABLE release_solve_time()
Definition result.pb.h:1879
SolveStatsProto & operator=(const SolveStatsProto &from)
Definition result.pb.h:939
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:953
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition result.pb.cc:954
const ::google::protobuf::Duration & solve_time() const
Definition result.pb.h:1861
void Swap(SolveStatsProto *PROTOBUF_NONNULL other)
Definition result.pb.h:977
friend void swap(SolveStatsProto &a, SolveStatsProto &b)
Definition result.pb.h:976
void unsafe_arena_set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2014
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:1865
::std::string *PROTOBUF_NULLABLE release_detail()
Definition result.pb.h:2340
friend class ::google::protobuf::MessageLite
Definition result.pb.h:888
const ::operations_research::math_opt::ObjectiveBoundsProto & objective_bounds() const
Definition result.pb.h:2483
void set_limit(::operations_research::math_opt::LimitProto value)
Definition result.pb.h:2288
void set_detail(Arg_ &&arg, Args_... args)
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE unsafe_arena_release_objective_bounds()
Definition result.pb.h:2520
void set_allocated_detail(::std::string *PROTOBUF_NULLABLE value)
Definition result.pb.h:2353
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE unsafe_arena_release_problem_status()
Definition result.pb.h:2421
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NONNULL mutable_objective_bounds()
Definition result.pb.h:2537
void Swap(TerminationProto *PROTOBUF_NONNULL other)
Definition result.pb.h:723
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE release_objective_bounds()
Definition result.pb.h:2501
void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2445
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition result.pb.h:711
static const TerminationProto & default_instance()
Definition result.pb.h:717
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NONNULL mutable_problem_status()
Definition result.pb.h:2438
void MergeFrom(const TerminationProto &from)
Definition result.pb.h:745
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:699
friend void swap(TerminationProto &a, TerminationProto &b)
Definition result.pb.h:722
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition result.pb.h:703
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::std::string *PROTOBUF_NONNULL mutable_detail()
Definition result.pb.h:2321
void unsafe_arena_set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2388
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:2384
void unsafe_arena_set_allocated_objective_bounds(::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2487
void set_allocated_objective_bounds(::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE value)
Definition result.pb.h:2544
::operations_research::math_opt::TerminationReasonProto reason() const
Definition result.pb.h:2259
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition result.pb.h:708
void set_reason(::operations_research::math_opt::TerminationReasonProto value)
Definition result.pb.h:2263
::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:685
friend class ::google::protobuf::Arena
Definition result.pb.h:889
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE release_problem_status()
Definition result.pb.h:2402
::operations_research::math_opt::LimitProto limit() const
Definition result.pb.h:2284
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LimitProto >()
Definition result.pb.h:3276
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::TerminationReasonProto >()
Definition result.pb.h:3270
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::FeasibilityStatusProto >()
Definition result.pb.h:3264
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:866
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:511
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConvergenceInformationDefaultTypeInternal _ConvergenceInformation_default_instance_
OR-Tools root namespace.
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