6#ifndef ortools_2fmath_5fopt_2fresult_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fresult_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
41#include "google/protobuf/port_def.inc"
43#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fresult_2eproto OR_PROTO_DLL
98internal::EnumTraitsT<::operations_research::math_opt::FeasibilityStatusProto_internal_data_>
99 internal::EnumTraitsImpl::value<::operations_research::math_opt::FeasibilityStatusProto>;
101internal::EnumTraitsT<::operations_research::math_opt::LimitProto_internal_data_>
102 internal::EnumTraitsImpl::value<::operations_research::math_opt::LimitProto>;
104internal::EnumTraitsT<::operations_research::math_opt::TerminationReasonProto_internal_data_>
105 internal::EnumTraitsImpl::value<::operations_research::math_opt::TerminationReasonProto>;
117 ::std::numeric_limits<::int32_t>::min(),
119 ::std::numeric_limits<::int32_t>::max(),
128 return 0 <= value && value <= 3;
134 static_assert(::std::is_same<T, FeasibilityStatusProto>::value ||
135 ::std::is_integral<T>::value,
136 "Incorrect type passed to FeasibilityStatusProto_Name().");
141 return ::google::protobuf::internal::NameOfDenseEnum<FeasibilityStatusProto_descriptor, 0, 3>(
142 static_cast<int>(value));
161 ::std::numeric_limits<::int32_t>::min(),
163 ::std::numeric_limits<::int32_t>::max(),
172 return 0 <= value && value <= 9;
178 static_assert(::std::is_same<T, TerminationReasonProto>::value ||
179 ::std::is_integral<T>::value,
180 "Incorrect type passed to TerminationReasonProto_Name().");
185 return ::google::protobuf::internal::NameOfDenseEnum<TerminationReasonProto_descriptor, 0, 9>(
186 static_cast<int>(value));
208 ::std::numeric_limits<::int32_t>::min(),
210 ::std::numeric_limits<::int32_t>::max(),
219 return 0 <= value && value <= 12;
225 static_assert(::std::is_same<T, LimitProto>::value ||
226 ::std::is_integral<T>::value,
227 "Incorrect type passed to LimitProto_Name().");
232 return ::google::protobuf::internal::NameOfDenseEnum<LimitProto_descriptor, 0, 12>(
233 static_cast<int>(value));
236 ::absl::string_view name,
LimitProto* PROTOBUF_NONNULL value) {
246class OR_PROTO_DLL ProblemStatusProto final :
public ::google::protobuf::Message
252#if defined(PROTOBUF_CUSTOM_VTABLE)
253 void operator delete(
ProblemStatusProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
259 template <
typename =
void>
260 explicit PROTOBUF_CONSTEXPR
ProblemStatusProto(::google::protobuf::internal::ConstantInitialized);
270 if (
this == &from)
return *
this;
271 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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);
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>();
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;
301 static constexpr int kIndexInFileMessages = 0;
304 if (other ==
this)
return;
305 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
308 ::google::protobuf::internal::GenericSwap(
this, other);
311 void UnsafeArenaSwap(ProblemStatusProto* PROTOBUF_NONNULL other) {
312 if (other ==
this)
return;
313 ABSL_DCHECK(GetArena() == other->GetArena());
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;
324 using ::google::protobuf::Message::MergeFrom;
325 void MergeFrom(
const ProblemStatusProto& from) { ProblemStatusProto::MergeImpl(*
this, from); }
328 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
329 const ::google::protobuf::MessageLite& from_msg);
335 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
336 #if defined(PROTOBUF_CUSTOM_VTABLE)
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);
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);
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;
356 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
359 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
363 template <
typename T>
365 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ProblemStatusProto"; }
371 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ProblemStatusProto&& from) noexcept
373 *
this = ::std::move(from);
375 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
376 static
void* PROTOBUF_NONNULL PlacementNew_(
377 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
378 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
379 static constexpr auto InternalNewImpl_();
382 static constexpr auto InternalGenerateClassData_();
384 ::
google::protobuf::Metadata GetMetadata() const;
389 kPrimalStatusFieldNumber = 1,
390 kDualStatusFieldNumber = 2,
419 bool _internal_primal_or_dual_infeasible()
const;
420 void _internal_set_primal_or_dual_infeasible(
bool value);
426 friend class ::google::protobuf::internal::TcParser;
427 static const ::google::protobuf::internal::TcParseTable<2, 3,
432 friend class ::google::protobuf::MessageLite;
433 friend class ::google::protobuf::Arena;
434 template <
typename T>
435 friend class ::google::protobuf::Arena::InternalHelper;
436 using InternalArenaConstructable_ = void;
437 using DestructorSkippable_ = void;
439 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
440 inline explicit Impl_(
441 ::google::protobuf::internal::InternalVisibility visibility,
442 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
443 inline explicit Impl_(
444 ::google::protobuf::internal::InternalVisibility visibility,
445 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
447 ::google::protobuf::internal::HasBits<1> _has_bits_;
448 ::google::protobuf::internal::CachedSize _cached_size_;
451 bool primal_or_dual_infeasible_;
452 PROTOBUF_TSAN_DECLARE_MEMBER
454 union { Impl_ _impl_; };
455 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
467#if defined(PROTOBUF_CUSTOM_VTABLE)
474 template <
typename =
void>
475 explicit PROTOBUF_CONSTEXPR
ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized);
485 if (
this == &from)
return *
this;
486 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
494 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
495 ABSL_ATTRIBUTE_LIFETIME_BOUND {
496 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
498 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
499 ABSL_ATTRIBUTE_LIFETIME_BOUND {
500 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
503 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
504 return GetDescriptor();
506 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
509 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
516 static constexpr int kIndexInFileMessages = 2;
518 inline void Swap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
519 if (other ==
this)
return;
520 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
523 ::google::protobuf::internal::GenericSwap(
this, other);
526 void UnsafeArenaSwap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
527 if (other ==
this)
return;
528 ABSL_DCHECK(GetArena() == other->GetArena());
534 ObjectiveBoundsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
535 return ::google::protobuf::Message::DefaultConstruct<ObjectiveBoundsProto>(arena);
537 using ::google::protobuf::Message::CopyFrom;
539 using ::google::protobuf::Message::MergeFrom;
543 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
544 const ::google::protobuf::MessageLite& from_msg);
550 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
551 #if defined(PROTOBUF_CUSTOM_VTABLE)
553 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
555 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
556 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
560 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
561 ::uint8_t* PROTOBUF_NONNULL target,
562 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
563 return _InternalSerialize(*
this, target, stream);
566 ::size_t ByteSizeLong() const final;
567 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
568 ::uint8_t* PROTOBUF_NONNULL target,
569 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
571 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
574 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
578 template <
typename T>
580 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ObjectiveBoundsProto"; }
588 *
this = ::std::move(from);
590 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
591 static
void* PROTOBUF_NONNULL PlacementNew_(
592 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
593 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
594 static constexpr auto InternalNewImpl_();
597 static constexpr auto InternalGenerateClassData_();
599 ::
google::protobuf::Metadata GetMetadata() const;
604 kPrimalBoundFieldNumber = 2,
605 kDualBoundFieldNumber = 3,
613 double _internal_primal_bound()
const;
614 void _internal_set_primal_bound(
double value);
623 double _internal_dual_bound()
const;
624 void _internal_set_dual_bound(
double value);
630 friend class ::google::protobuf::internal::TcParser;
631 static const ::google::protobuf::internal::TcParseTable<1, 2,
636 friend class ::google::protobuf::MessageLite;
637 friend class ::google::protobuf::Arena;
638 template <
typename T>
639 friend class ::google::protobuf::Arena::InternalHelper;
640 using InternalArenaConstructable_ = void;
641 using DestructorSkippable_ = void;
643 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
644 inline explicit Impl_(
645 ::google::protobuf::internal::InternalVisibility visibility,
646 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
647 inline explicit Impl_(
648 ::google::protobuf::internal::InternalVisibility visibility,
649 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
651 ::google::protobuf::internal::HasBits<1> _has_bits_;
652 ::google::protobuf::internal::CachedSize _cached_size_;
653 double primal_bound_;
655 PROTOBUF_TSAN_DECLARE_MEMBER
657 union { Impl_ _impl_; };
658 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
664class OR_PROTO_DLL
TerminationProto final :
public ::google::protobuf::Message
670#if defined(PROTOBUF_CUSTOM_VTABLE)
677 template <
typename =
void>
678 explicit PROTOBUF_CONSTEXPR
TerminationProto(::google::protobuf::internal::ConstantInitialized);
681 inline TerminationProto(TerminationProto&& from) noexcept
688 if (
this == &from)
return *
this;
689 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
697 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
698 ABSL_ATTRIBUTE_LIFETIME_BOUND {
699 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
702 ABSL_ATTRIBUTE_LIFETIME_BOUND {
703 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
706 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
709 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
712 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
722 if (other ==
this)
return;
723 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
726 ::google::protobuf::internal::GenericSwap(
this, other);
729 void UnsafeArenaSwap(TerminationProto* PROTOBUF_NONNULL other) {
730 if (other ==
this)
return;
731 ABSL_DCHECK(GetArena() == other->GetArena());
737 TerminationProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
738 return ::google::protobuf::Message::DefaultConstruct<TerminationProto>(arena);
740 using ::google::protobuf::Message::CopyFrom;
742 using ::google::protobuf::Message::MergeFrom;
746 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
747 const ::google::protobuf::MessageLite& from_msg);
753 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
754 #if defined(PROTOBUF_CUSTOM_VTABLE)
756 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
758 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
759 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
763 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
764 ::uint8_t* PROTOBUF_NONNULL target,
765 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
766 return _InternalSerialize(*
this, target, stream);
769 ::size_t ByteSizeLong() const final;
770 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
771 ::uint8_t* PROTOBUF_NONNULL target,
772 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
774 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
777 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
781 template <
typename T>
783 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.TerminationProto"; }
786 explicit TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
789 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
TerminationProto&& from) noexcept
791 *
this = ::std::move(from);
793 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
794 static
void* PROTOBUF_NONNULL PlacementNew_(
795 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
796 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
797 static constexpr auto InternalNewImpl_();
800 static constexpr auto InternalGenerateClassData_();
802 ::
google::protobuf::Metadata GetMetadata() const;
807 kDetailFieldNumber = 3,
808 kProblemStatusFieldNumber = 4,
809 kObjectiveBoundsFieldNumber = 5,
810 kReasonFieldNumber = 1,
816 template <
typename Arg_ = const ::std::string&,
typename... Args_>
823 const ::std::string& _internal_detail()
const;
824 PROTOBUF_ALWAYS_INLINE
void _internal_set_detail(const ::std::string& value);
825 ::std::string* PROTOBUF_NONNULL _internal_mutable_detail();
831 const ::operations_research::math_opt::ProblemStatusProto&
problem_status()
const;
839 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status()
const;
846 const ::operations_research::math_opt::ObjectiveBoundsProto&
objective_bounds()
const;
854 const ::operations_research::math_opt::ObjectiveBoundsProto& _internal_objective_bounds()
const;
881 friend class ::google::protobuf::internal::TcParser;
882 static const ::google::protobuf::internal::TcParseTable<3, 5,
887 friend class ::google::protobuf::MessageLite;
888 friend class ::google::protobuf::Arena;
889 template <
typename T>
890 friend class ::google::protobuf::Arena::InternalHelper;
891 using InternalArenaConstructable_ = void;
892 using DestructorSkippable_ = void;
894 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
895 inline explicit Impl_(
896 ::google::protobuf::internal::InternalVisibility visibility,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
898 inline explicit Impl_(
899 ::google::protobuf::internal::InternalVisibility visibility,
900 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
902 ::google::protobuf::internal::HasBits<1> _has_bits_;
903 ::google::protobuf::internal::CachedSize _cached_size_;
904 ::google::protobuf::internal::ArenaStringPtr detail_;
909 PROTOBUF_TSAN_DECLARE_MEMBER
911 union { Impl_ _impl_; };
912 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
918class OR_PROTO_DLL
SolveStatsProto final :
public ::google::protobuf::Message
924#if defined(PROTOBUF_CUSTOM_VTABLE)
925 void operator delete(
SolveStatsProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
927 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
SolveStatsProto));
931 template <
typename =
void>
932 explicit PROTOBUF_CONSTEXPR
SolveStatsProto(::google::protobuf::internal::ConstantInitialized);
935 inline SolveStatsProto(SolveStatsProto&& from) noexcept
936 : SolveStatsProto(
nullptr, ::std::move(from)) {}
942 if (
this == &from)
return *
this;
943 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
951 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
953 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
955 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
957 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
960 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
963 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
964 return default_instance().GetMetadata().descriptor;
966 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
967 return default_instance().GetMetadata().reflection;
973 static constexpr int kIndexInFileMessages = 1;
976 if (other ==
this)
return;
977 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
980 ::google::protobuf::internal::GenericSwap(
this, other);
983 void UnsafeArenaSwap(SolveStatsProto* PROTOBUF_NONNULL other) {
984 if (other ==
this)
return;
985 ABSL_DCHECK(GetArena() == other->GetArena());
991 SolveStatsProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
992 return ::google::protobuf::Message::DefaultConstruct<SolveStatsProto>(arena);
994 using ::google::protobuf::Message::CopyFrom;
996 using ::google::protobuf::Message::MergeFrom;
1000 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1001 const ::google::protobuf::MessageLite& from_msg);
1007 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1008 #if defined(PROTOBUF_CUSTOM_VTABLE)
1010 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1012 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1013 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1017 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1018 ::uint8_t* PROTOBUF_NONNULL target,
1019 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1020 return _InternalSerialize(*
this, target, stream);
1023 ::size_t ByteSizeLong() const final;
1024 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1025 ::uint8_t* PROTOBUF_NONNULL target,
1026 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1028 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1031 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1032 static void SharedDtor(MessageLite& self);
1035 template <
typename T>
1037 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveStatsProto"; }
1040 explicit SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1043 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SolveStatsProto&& from) noexcept
1045 *
this = ::std::move(from);
1047 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
1049 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1050 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1081 const ::google::protobuf::Duration& _internal_solve_time()
const;
1082 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_solve_time();
1088 [[deprecated]] const ::operations_research::math_opt::ProblemStatusProto&
problem_status()
const;
1096 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status()
const;
1106 double _internal_best_primal_bound()
const;
1107 void _internal_set_best_primal_bound(
double value);
1116 double _internal_best_dual_bound()
const;
1117 void _internal_set_best_dual_bound(
double value);
1126 ::int64_t _internal_simplex_iterations()
const;
1127 void _internal_set_simplex_iterations(::int64_t value);
1136 ::int64_t _internal_barrier_iterations()
const;
1137 void _internal_set_barrier_iterations(::int64_t value);
1146 ::int64_t _internal_node_count()
const;
1147 void _internal_set_node_count(::int64_t value);
1156 ::int64_t _internal_first_order_iterations()
const;
1157 void _internal_set_first_order_iterations(::int64_t value);
1163 friend class ::google::protobuf::internal::TcParser;
1164 static const ::google::protobuf::internal::TcParseTable<3, 8,
1169 friend class ::google::protobuf::MessageLite;
1170 friend class ::google::protobuf::Arena;
1171 template <
typename T>
1172 friend class ::google::protobuf::Arena::InternalHelper;
1173 using InternalArenaConstructable_ = void;
1174 using DestructorSkippable_ = void;
1176 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1177 inline explicit Impl_(
1178 ::google::protobuf::internal::InternalVisibility visibility,
1179 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1180 inline explicit Impl_(
1181 ::google::protobuf::internal::InternalVisibility visibility,
1182 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1184 ::google::protobuf::internal::HasBits<1> _has_bits_;
1185 ::google::protobuf::internal::CachedSize _cached_size_;
1186 ::google::protobuf::Duration* PROTOBUF_NULLABLE solve_time_;
1188 double best_primal_bound_;
1189 double best_dual_bound_;
1190 ::int64_t simplex_iterations_;
1191 ::int64_t barrier_iterations_;
1192 ::int64_t node_count_;
1193 ::int64_t first_order_iterations_;
1194 PROTOBUF_TSAN_DECLARE_MEMBER
1196 union { Impl_ _impl_; };
1197 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1209#if defined(PROTOBUF_CUSTOM_VTABLE)
1216 template <
typename =
void>
1220 inline SolveResultProto_PdlpOutput(SolveResultProto_PdlpOutput&& from) noexcept
1221 : SolveResultProto_PdlpOutput(
nullptr, ::std::move(from)) {}
1222 inline SolveResultProto_PdlpOutput& operator=(
const SolveResultProto_PdlpOutput& from) {
1227 if (
this == &from)
return *
this;
1228 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1229 InternalSwap(&from);
1236 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1238 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1240 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1241 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1242 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1245 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1248 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1249 return default_instance().GetMetadata().descriptor;
1258 static constexpr int kIndexInFileMessages = 4;
1261 if (other ==
this)
return;
1262 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1263 InternalSwap(other);
1265 ::google::protobuf::internal::GenericSwap(
this, other);
1268 void UnsafeArenaSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other) {
1269 if (other ==
this)
return;
1270 ABSL_DCHECK(GetArena() == other->GetArena());
1271 InternalSwap(other);
1277 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto_PdlpOutput>(arena);
1279 using ::google::protobuf::Message::CopyFrom;
1281 using ::google::protobuf::Message::MergeFrom;
1285 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1286 const ::google::protobuf::MessageLite& from_msg);
1292 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1293 #if defined(PROTOBUF_CUSTOM_VTABLE)
1297 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1298 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1302 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1303 ::uint8_t* PROTOBUF_NONNULL target,
1304 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1305 return _InternalSerialize(*
this, target, stream);
1308 ::size_t ByteSizeLong() const final;
1309 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1310 ::uint8_t* PROTOBUF_NONNULL target,
1311 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1313 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1316 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1317 static void SharedDtor(MessageLite& self);
1318 void InternalSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other);
1320 template <
typename T>
1322 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveResultProto.PdlpOutput"; }
1330 *
this = ::std::move(from);
1332 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1334 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1335 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1349 bool has_convergence_information()
const;
1350 void clear_convergence_information() ;
1351 const ::operations_research::pdlp::ConvergenceInformation& convergence_information()
const;
1359 const ::operations_research::pdlp::ConvergenceInformation& _internal_convergence_information()
const;
1366 friend class ::google::protobuf::internal::TcParser;
1367 static const ::google::protobuf::internal::TcParseTable<0, 1,
1372 friend class ::google::protobuf::MessageLite;
1373 friend class ::google::protobuf::Arena;
1374 template <
typename T>
1375 friend class ::google::protobuf::Arena::InternalHelper;
1376 using InternalArenaConstructable_ = void;
1377 using DestructorSkippable_ = void;
1379 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1380 inline explicit Impl_(
1381 ::google::protobuf::internal::InternalVisibility visibility,
1382 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1383 inline explicit Impl_(
1384 ::google::protobuf::internal::InternalVisibility visibility,
1385 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1387 ::google::protobuf::internal::HasBits<1> _has_bits_;
1388 ::google::protobuf::internal::CachedSize _cached_size_;
1390 PROTOBUF_TSAN_DECLARE_MEMBER
1392 union { Impl_ _impl_; };
1393 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1405#if defined(PROTOBUF_CUSTOM_VTABLE)
1412 template <
typename =
void>
1413 explicit PROTOBUF_CONSTEXPR
SolveResultProto(::google::protobuf::internal::ConstantInitialized);
1416 inline SolveResultProto(SolveResultProto&& from) noexcept
1417 : SolveResultProto(
nullptr, ::std::move(from)) {}
1418 inline SolveResultProto& operator=(
const SolveResultProto& from) {
1423 if (
this == &from)
return *
this;
1424 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1425 InternalSwap(&from);
1432 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1433 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1434 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1436 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1437 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1438 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1441 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1442 return GetDescriptor();
1444 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1445 return default_instance().GetMetadata().descriptor;
1447 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1460 static constexpr int kIndexInFileMessages = 5;
1463 if (other ==
this)
return;
1464 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1465 InternalSwap(other);
1467 ::google::protobuf::internal::GenericSwap(
this, other);
1471 if (other ==
this)
return;
1472 ABSL_DCHECK(GetArena() == other->GetArena());
1473 InternalSwap(other);
1478 SolveResultProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1479 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto>(arena);
1481 using ::google::protobuf::Message::CopyFrom;
1483 using ::google::protobuf::Message::MergeFrom;
1484 void MergeFrom(
const SolveResultProto& from) { SolveResultProto::MergeImpl(*
this, from); }
1487 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1488 const ::google::protobuf::MessageLite& from_msg);
1494 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1495 #if defined(PROTOBUF_CUSTOM_VTABLE)
1497 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1499 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1500 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1504 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1505 ::uint8_t* PROTOBUF_NONNULL target,
1506 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1507 return _InternalSerialize(*
this, target, stream);
1510 ::size_t ByteSizeLong() const final;
1511 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1512 ::uint8_t* PROTOBUF_NONNULL target,
1513 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1515 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1518 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1519 static void SharedDtor(MessageLite& self);
1520 void InternalSwap(SolveResultProto* PROTOBUF_NONNULL other);
1522 template <
typename T>
1524 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveResultProto"; }
1527 explicit SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1530 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SolveResultProto&& from) noexcept
1532 *
this = ::std::move(from);
1534 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1535 static
void* PROTOBUF_NONNULL PlacementNew_(
1536 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1537 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1561 int _internal_solutions_size()
const;
1566 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL
mutable_solutions();
1569 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& _internal_solutions()
const;
1570 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL _internal_mutable_solutions();
1572 const ::operations_research::math_opt::SolutionProto&
solutions(
int index)
const;
1574 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
solutions()
const;
1578 int _internal_primal_rays_size()
const;
1583 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL
mutable_primal_rays();
1586 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& _internal_primal_rays()
const;
1587 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL _internal_mutable_primal_rays();
1589 const ::operations_research::math_opt::PrimalRayProto&
primal_rays(
int index)
const;
1591 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>&
primal_rays()
const;
1595 int _internal_dual_rays_size()
const;
1600 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL
mutable_dual_rays();
1603 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& _internal_dual_rays()
const;
1604 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL _internal_mutable_dual_rays();
1606 const ::operations_research::math_opt::DualRayProto&
dual_rays(
int index)
const;
1608 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
dual_rays()
const;
1612 const ::operations_research::math_opt::TerminationProto&
termination()
const;
1620 const ::operations_research::math_opt::TerminationProto& _internal_termination()
const;
1627 const ::operations_research::math_opt::SolveStatsProto&
solve_stats()
const;
1635 const ::operations_research::math_opt::SolveStatsProto& _internal_solve_stats()
const;
1642 bool _internal_has_gscip_output()
const;
1646 const ::operations_research::GScipOutput&
gscip_output()
const;
1654 const ::operations_research::GScipOutput& _internal_gscip_output()
const;
1661 bool _internal_has_osqp_output()
const;
1665 const ::operations_research::math_opt::OsqpOutput&
osqp_output()
const;
1673 const ::operations_research::math_opt::OsqpOutput& _internal_osqp_output()
const;
1680 bool _internal_has_pdlp_output()
const;
1684 const ::operations_research::math_opt::SolveResultProto_PdlpOutput&
pdlp_output()
const;
1692 const ::operations_research::math_opt::SolveResultProto_PdlpOutput& _internal_pdlp_output()
const;
1701 void set_has_gscip_output();
1702 void set_has_osqp_output();
1703 void set_has_pdlp_output();
1704 inline bool has_solver_specific_output()
const;
1705 inline void clear_has_solver_specific_output();
1706 friend class ::google::protobuf::internal::TcParser;
1707 static const ::google::protobuf::internal::TcParseTable<3, 8,
1712 friend class ::google::protobuf::MessageLite;
1713 friend class ::google::protobuf::Arena;
1714 template <
typename T>
1715 friend class ::google::protobuf::Arena::InternalHelper;
1716 using InternalArenaConstructable_ = void;
1717 using DestructorSkippable_ = void;
1719 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1720 inline explicit Impl_(
1721 ::google::protobuf::internal::InternalVisibility visibility,
1722 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1723 inline explicit Impl_(
1724 ::google::protobuf::internal::InternalVisibility visibility,
1725 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1727 ::google::protobuf::internal::HasBits<1> _has_bits_;
1728 ::google::protobuf::internal::CachedSize _cached_size_;
1729 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SolutionProto > solutions_;
1730 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::PrimalRayProto > primal_rays_;
1731 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::DualRayProto > dual_rays_;
1734 union SolverSpecificOutputUnion {
1735 constexpr SolverSpecificOutputUnion() : _constinit_{} {}
1736 ::google::protobuf::internal::ConstantInitialized _constinit_;
1737 ::google::protobuf::Message* PROTOBUF_NULLABLE gscip_output_;
1738 ::google::protobuf::Message* PROTOBUF_NULLABLE osqp_output_;
1739 ::google::protobuf::Message* PROTOBUF_NULLABLE pdlp_output_;
1740 } solver_specific_output_;
1741 ::uint32_t _oneof_case_[1];
1742 PROTOBUF_TSAN_DECLARE_MEMBER
1745 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1759#pragma GCC diagnostic push
1760#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1768 ::google::protobuf::internal::TSanWrite(&
_impl_);
1769 _impl_.primal_status_ = 0;
1770 _impl_._has_bits_[0] &= ~0x00000001u;
1774 return _internal_primal_status();
1777 _internal_set_primal_status(value);
1778 _impl_._has_bits_[0] |= 0x00000001u;
1781inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_primal_status()
const {
1782 ::google::protobuf::internal::TSanRead(&
_impl_);
1786 ::google::protobuf::internal::TSanWrite(&
_impl_);
1787 _impl_.primal_status_ = value;
1792 ::google::protobuf::internal::TSanWrite(&
_impl_);
1794 _impl_._has_bits_[0] &= ~0x00000002u;
1798 return _internal_dual_status();
1801 _internal_set_dual_status(value);
1802 _impl_._has_bits_[0] |= 0x00000002u;
1805inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_dual_status()
const {
1806 ::google::protobuf::internal::TSanRead(&
_impl_);
1810 ::google::protobuf::internal::TSanWrite(&
_impl_);
1811 _impl_.dual_status_ = value;
1816 ::google::protobuf::internal::TSanWrite(&
_impl_);
1817 _impl_.primal_or_dual_infeasible_ =
false;
1818 _impl_._has_bits_[0] &= ~0x00000004u;
1822 return _internal_primal_or_dual_infeasible();
1825 _internal_set_primal_or_dual_infeasible(value);
1826 _impl_._has_bits_[0] |= 0x00000004u;
1829inline bool ProblemStatusProto::_internal_primal_or_dual_infeasible()
const {
1830 ::google::protobuf::internal::TSanRead(&
_impl_);
1831 return _impl_.primal_or_dual_infeasible_;
1833inline void ProblemStatusProto::_internal_set_primal_or_dual_infeasible(
bool value) {
1834 ::google::protobuf::internal::TSanWrite(&
_impl_);
1835 _impl_.primal_or_dual_infeasible_ = value;
1844 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
1845 PROTOBUF_ASSUME(!value ||
_impl_.solve_time_ !=
nullptr);
1848inline const ::google::protobuf::Duration& SolveStatsProto::_internal_solve_time()
const {
1849 ::google::protobuf::internal::TSanRead(&
_impl_);
1850 const ::google::protobuf::Duration* p =
_impl_.solve_time_;
1851 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Duration&
>(::google::protobuf::_Duration_default_instance_);
1855 return _internal_solve_time();
1858 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1859 ::google::protobuf::internal::TSanWrite(&
_impl_);
1860 if (GetArena() ==
nullptr) {
1861 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_time_);
1863 _impl_.solve_time_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
1864 if (value !=
nullptr) {
1865 _impl_._has_bits_[0] |= 0x00000001u;
1867 _impl_._has_bits_[0] &= ~0x00000001u;
1872 ::google::protobuf::internal::TSanWrite(&
_impl_);
1874 _impl_._has_bits_[0] &= ~0x00000001u;
1875 ::google::protobuf::Duration* released =
_impl_.solve_time_;
1876 _impl_.solve_time_ =
nullptr;
1877 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1878 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
1879 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1880 if (GetArena() ==
nullptr) {
1884 if (GetArena() !=
nullptr) {
1885 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1891 ::google::protobuf::internal::TSanWrite(&
_impl_);
1894 _impl_._has_bits_[0] &= ~0x00000001u;
1895 ::google::protobuf::Duration* temp =
_impl_.solve_time_;
1896 _impl_.solve_time_ =
nullptr;
1899inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveStatsProto::_internal_mutable_solve_time() {
1900 ::google::protobuf::internal::TSanWrite(&
_impl_);
1902 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1903 _impl_.solve_time_ =
reinterpret_cast<::google::protobuf::Duration*
>(p);
1905 return _impl_.solve_time_;
1908 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1909 _impl_._has_bits_[0] |= 0x00000001u;
1910 ::google::protobuf::Duration* _msg = _internal_mutable_solve_time();
1915 ::google::protobuf::Arena* message_arena = GetArena();
1916 ::google::protobuf::internal::TSanWrite(&
_impl_);
1917 if (message_arena ==
nullptr) {
1918 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_time_);
1921 if (value !=
nullptr) {
1922 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
1923 if (message_arena != submessage_arena) {
1924 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1926 _impl_._has_bits_[0] |= 0x00000001u;
1928 _impl_._has_bits_[0] &= ~0x00000001u;
1931 _impl_.solve_time_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
1937 ::google::protobuf::internal::TSanWrite(&
_impl_);
1938 _impl_.best_primal_bound_ = 0;
1939 _impl_._has_bits_[0] &= ~0x00000004u;
1943 return _internal_best_primal_bound();
1946 _internal_set_best_primal_bound(value);
1950inline double SolveStatsProto::_internal_best_primal_bound()
const {
1951 ::google::protobuf::internal::TSanRead(&
_impl_);
1954inline void SolveStatsProto::_internal_set_best_primal_bound(
double value) {
1955 ::google::protobuf::internal::TSanWrite(&
_impl_);
1961 ::google::protobuf::internal::TSanWrite(&
_impl_);
1962 _impl_.best_dual_bound_ = 0;
1963 _impl_._has_bits_[0] &= ~0x00000008u;
1967 return _internal_best_dual_bound();
1970 _internal_set_best_dual_bound(value);
1974inline double SolveStatsProto::_internal_best_dual_bound()
const {
1975 ::google::protobuf::internal::TSanRead(&
_impl_);
1978inline void SolveStatsProto::_internal_set_best_dual_bound(
double value) {
1979 ::google::protobuf::internal::TSanWrite(&
_impl_);
1985 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
1986 PROTOBUF_ASSUME(!value ||
_impl_.problem_status_ !=
nullptr);
1990 ::google::protobuf::internal::TSanWrite(&
_impl_);
1992 _impl_._has_bits_[0] &= ~0x00000002u;
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_;
2001 return _internal_problem_status();
2005 ::google::protobuf::internal::TSanWrite(&
_impl_);
2006 if (GetArena() ==
nullptr) {
2007 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.problem_status_);
2010 if (value !=
nullptr) {
2011 _impl_._has_bits_[0] |= 0x00000002u;
2013 _impl_._has_bits_[0] &= ~0x00000002u;
2018 ::google::protobuf::internal::TSanWrite(&
_impl_);
2020 _impl_._has_bits_[0] &= ~0x00000002u;
2022 _impl_.problem_status_ =
nullptr;
2023 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2024 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2025 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2026 if (GetArena() ==
nullptr) {
2030 if (GetArena() !=
nullptr) {
2031 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2037 ::google::protobuf::internal::TSanWrite(&
_impl_);
2040 _impl_._has_bits_[0] &= ~0x00000002u;
2041 ::operations_research::math_opt::ProblemStatusProto* temp =
_impl_.problem_status_;
2042 _impl_.problem_status_ =
nullptr;
2045inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL SolveStatsProto::_internal_mutable_problem_status() {
2046 ::google::protobuf::internal::TSanWrite(&
_impl_);
2048 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ProblemStatusProto>(GetArena());
2051 return _impl_.problem_status_;
2054 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2055 _impl_._has_bits_[0] |= 0x00000002u;
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_);
2067 if (value !=
nullptr) {
2068 ::google::protobuf::Arena* submessage_arena = value->GetArena();
2069 if (message_arena != submessage_arena) {
2070 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2072 _impl_._has_bits_[0] |= 0x00000002u;
2074 _impl_._has_bits_[0] &= ~0x00000002u;
2083 ::google::protobuf::internal::TSanWrite(&
_impl_);
2084 _impl_.simplex_iterations_ = ::int64_t{0};
2085 _impl_._has_bits_[0] &= ~0x00000010u;
2089 return _internal_simplex_iterations();
2092 _internal_set_simplex_iterations(value);
2096inline ::int64_t SolveStatsProto::_internal_simplex_iterations()
const {
2097 ::google::protobuf::internal::TSanRead(&
_impl_);
2100inline void SolveStatsProto::_internal_set_simplex_iterations(::int64_t value) {
2101 ::google::protobuf::internal::TSanWrite(&
_impl_);
2107 ::google::protobuf::internal::TSanWrite(&
_impl_);
2108 _impl_.barrier_iterations_ = ::int64_t{0};
2109 _impl_._has_bits_[0] &= ~0x00000020u;
2113 return _internal_barrier_iterations();
2116 _internal_set_barrier_iterations(value);
2120inline ::int64_t SolveStatsProto::_internal_barrier_iterations()
const {
2121 ::google::protobuf::internal::TSanRead(&
_impl_);
2124inline void SolveStatsProto::_internal_set_barrier_iterations(::int64_t value) {
2125 ::google::protobuf::internal::TSanWrite(&
_impl_);
2131 ::google::protobuf::internal::TSanWrite(&
_impl_);
2132 _impl_.first_order_iterations_ = ::int64_t{0};
2133 _impl_._has_bits_[0] &= ~0x00000080u;
2137 return _internal_first_order_iterations();
2140 _internal_set_first_order_iterations(value);
2144inline ::int64_t SolveStatsProto::_internal_first_order_iterations()
const {
2145 ::google::protobuf::internal::TSanRead(&
_impl_);
2148inline void SolveStatsProto::_internal_set_first_order_iterations(::int64_t value) {
2149 ::google::protobuf::internal::TSanWrite(&
_impl_);
2155 ::google::protobuf::internal::TSanWrite(&
_impl_);
2156 _impl_.node_count_ = ::int64_t{0};
2157 _impl_._has_bits_[0] &= ~0x00000040u;
2161 return _internal_node_count();
2164 _internal_set_node_count(value);
2168inline ::int64_t SolveStatsProto::_internal_node_count()
const {
2169 ::google::protobuf::internal::TSanRead(&
_impl_);
2172inline void SolveStatsProto::_internal_set_node_count(::int64_t value) {
2173 ::google::protobuf::internal::TSanWrite(&
_impl_);
2183 ::google::protobuf::internal::TSanWrite(&
_impl_);
2184 _impl_.primal_bound_ = 0;
2185 _impl_._has_bits_[0] &= ~0x00000001u;
2189 return _internal_primal_bound();
2192 _internal_set_primal_bound(value);
2193 _impl_._has_bits_[0] |= 0x00000001u;
2196inline double ObjectiveBoundsProto::_internal_primal_bound()
const {
2197 ::google::protobuf::internal::TSanRead(&
_impl_);
2198 return _impl_.primal_bound_;
2200inline void ObjectiveBoundsProto::_internal_set_primal_bound(
double value) {
2201 ::google::protobuf::internal::TSanWrite(&
_impl_);
2202 _impl_.primal_bound_ = value;
2207 ::google::protobuf::internal::TSanWrite(&
_impl_);
2209 _impl_._has_bits_[0] &= ~0x00000002u;
2213 return _internal_dual_bound();
2216 _internal_set_dual_bound(value);
2217 _impl_._has_bits_[0] |= 0x00000002u;
2220inline double ObjectiveBoundsProto::_internal_dual_bound()
const {
2221 ::google::protobuf::internal::TSanRead(&
_impl_);
2222 return _impl_.dual_bound_;
2224inline void ObjectiveBoundsProto::_internal_set_dual_bound(
double value) {
2225 ::google::protobuf::internal::TSanWrite(&
_impl_);
2226 _impl_.dual_bound_ = value;
2235 ::google::protobuf::internal::TSanWrite(&
_impl_);
2237 _impl_._has_bits_[0] &= ~0x00000008u;
2241 return _internal_reason();
2244 _internal_set_reason(value);
2245 _impl_._has_bits_[0] |= 0x00000008u;
2248inline ::operations_research::math_opt::TerminationReasonProto TerminationProto::_internal_reason()
const {
2249 ::google::protobuf::internal::TSanRead(&
_impl_);
2253 ::google::protobuf::internal::TSanWrite(&
_impl_);
2259 ::google::protobuf::internal::TSanWrite(&
_impl_);
2261 _impl_._has_bits_[0] &= ~0x00000010u;
2265 return _internal_limit();
2268 _internal_set_limit(value);
2269 _impl_._has_bits_[0] |= 0x00000010u;
2272inline ::operations_research::math_opt::LimitProto TerminationProto::_internal_limit()
const {
2273 ::google::protobuf::internal::TSanRead(&
_impl_);
2277 ::google::protobuf::internal::TSanWrite(&
_impl_);
2283 ::google::protobuf::internal::TSanWrite(&
_impl_);
2284 _impl_.detail_.ClearToEmpty();
2285 _impl_._has_bits_[0] &= ~0x00000001u;
2288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2290 return _internal_detail();
2292template <
typename Arg_,
typename... Args_>
2294 ::google::protobuf::internal::TSanWrite(&
_impl_);
2296 _impl_.detail_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2300 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2301 ::std::string* _s = _internal_mutable_detail();
2305inline const ::std::string& TerminationProto::_internal_detail()
const {
2306 ::google::protobuf::internal::TSanRead(&
_impl_);
2307 return _impl_.detail_.Get();
2309inline void TerminationProto::_internal_set_detail(const ::std::string& value) {
2310 ::google::protobuf::internal::TSanWrite(&
_impl_);
2311 _impl_._has_bits_[0] |= 0x00000001u;
2314inline ::std::string* PROTOBUF_NONNULL TerminationProto::_internal_mutable_detail() {
2315 ::google::protobuf::internal::TSanWrite(&
_impl_);
2316 _impl_._has_bits_[0] |= 0x00000001u;
2317 return _impl_.detail_.Mutable( GetArena());
2320 ::google::protobuf::internal::TSanWrite(&
_impl_);
2322 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
2325 _impl_._has_bits_[0] &= ~0x00000001u;
2326 auto* released =
_impl_.detail_.Release();
2327 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2328 _impl_.detail_.Set(
"", GetArena());
2333 ::google::protobuf::internal::TSanWrite(&
_impl_);
2334 if (value !=
nullptr) {
2335 _impl_._has_bits_[0] |= 0x00000001u;
2337 _impl_._has_bits_[0] &= ~0x00000001u;
2339 _impl_.detail_.SetAllocated(value, GetArena());
2340 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.detail_.IsDefault()) {
2341 _impl_.detail_.Set(
"", GetArena());
2348 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2349 PROTOBUF_ASSUME(!value ||
_impl_.problem_status_ !=
nullptr);
2353 ::google::protobuf::internal::TSanWrite(&
_impl_);
2355 _impl_._has_bits_[0] &= ~0x00000002u;
2357inline const ::operations_research::math_opt::ProblemStatusProto& TerminationProto::_internal_problem_status()
const {
2358 ::google::protobuf::internal::TSanRead(&
_impl_);
2359 const ::operations_research::math_opt::ProblemStatusProto* p =
_impl_.problem_status_;
2364 return _internal_problem_status();
2368 ::google::protobuf::internal::TSanWrite(&
_impl_);
2369 if (GetArena() ==
nullptr) {
2370 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.problem_status_);
2373 if (value !=
nullptr) {
2374 _impl_._has_bits_[0] |= 0x00000002u;
2376 _impl_._has_bits_[0] &= ~0x00000002u;
2381 ::google::protobuf::internal::TSanWrite(&
_impl_);
2383 _impl_._has_bits_[0] &= ~0x00000002u;
2385 _impl_.problem_status_ =
nullptr;
2386 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2387 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2388 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2389 if (GetArena() ==
nullptr) {
2393 if (GetArena() !=
nullptr) {
2394 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2400 ::google::protobuf::internal::TSanWrite(&
_impl_);
2403 _impl_._has_bits_[0] &= ~0x00000002u;
2405 _impl_.problem_status_ =
nullptr;
2408inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_problem_status() {
2409 ::google::protobuf::internal::TSanWrite(&
_impl_);
2410 if (
_impl_.problem_status_ ==
nullptr) {
2411 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ProblemStatusProto>(GetArena());
2414 return _impl_.problem_status_;
2417 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2418 _impl_._has_bits_[0] |= 0x00000002u;
2424 ::google::protobuf::Arena* message_arena = GetArena();
2425 ::google::protobuf::internal::TSanWrite(&
_impl_);
2426 if (message_arena ==
nullptr) {
2427 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.problem_status_);
2430 if (value !=
nullptr) {
2432 if (message_arena != submessage_arena) {
2433 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2435 _impl_._has_bits_[0] |= 0x00000002u;
2437 _impl_._has_bits_[0] &= ~0x00000002u;
2446 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
2447 PROTOBUF_ASSUME(!value ||
_impl_.objective_bounds_ !=
nullptr);
2451 ::google::protobuf::internal::TSanWrite(&
_impl_);
2452 if (
_impl_.objective_bounds_ !=
nullptr)
_impl_.objective_bounds_->Clear();
2453 _impl_._has_bits_[0] &= ~0x00000004u;
2455inline const ::operations_research::math_opt::ObjectiveBoundsProto& TerminationProto::_internal_objective_bounds()
const {
2456 ::google::protobuf::internal::TSanRead(&
_impl_);
2457 const ::operations_research::math_opt::ObjectiveBoundsProto* p =
_impl_.objective_bounds_;
2462 return _internal_objective_bounds();
2466 ::google::protobuf::internal::TSanWrite(&
_impl_);
2467 if (GetArena() ==
nullptr) {
2468 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.objective_bounds_);
2471 if (value !=
nullptr) {
2472 _impl_._has_bits_[0] |= 0x00000004u;
2474 _impl_._has_bits_[0] &= ~0x00000004u;
2479 ::google::protobuf::internal::TSanWrite(&
_impl_);
2481 _impl_._has_bits_[0] &= ~0x00000004u;
2483 _impl_.objective_bounds_ =
nullptr;
2484 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2485 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2486 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2487 if (GetArena() ==
nullptr) {
2491 if (GetArena() !=
nullptr) {
2492 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2498 ::google::protobuf::internal::TSanWrite(&
_impl_);
2501 _impl_._has_bits_[0] &= ~0x00000004u;
2503 _impl_.objective_bounds_ =
nullptr;
2506inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_objective_bounds() {
2507 ::google::protobuf::internal::TSanWrite(&
_impl_);
2508 if (
_impl_.objective_bounds_ ==
nullptr) {
2509 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveBoundsProto>(GetArena());
2512 return _impl_.objective_bounds_;
2515 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2516 _impl_._has_bits_[0] |= 0x00000004u;
2522 ::google::protobuf::Arena* message_arena = GetArena();
2523 ::google::protobuf::internal::TSanWrite(&
_impl_);
2524 if (message_arena ==
nullptr) {
2525 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.objective_bounds_);
2528 if (value !=
nullptr) {
2530 if (message_arena != submessage_arena) {
2531 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2533 _impl_._has_bits_[0] |= 0x00000004u;
2535 _impl_._has_bits_[0] &= ~0x00000004u;
2548 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2549 PROTOBUF_ASSUME(!value ||
_impl_.convergence_information_ !=
nullptr);
2552inline const ::operations_research::pdlp::ConvergenceInformation& SolveResultProto_PdlpOutput::_internal_convergence_information()
const {
2553 ::google::protobuf::internal::TSanRead(&
_impl_);
2554 const ::operations_research::pdlp::ConvergenceInformation* p =
_impl_.convergence_information_;
2559 return _internal_convergence_information();
2563 ::google::protobuf::internal::TSanWrite(&
_impl_);
2564 if (GetArena() ==
nullptr) {
2565 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.convergence_information_);
2568 if (value !=
nullptr) {
2569 _impl_._has_bits_[0] |= 0x00000001u;
2576 ::google::protobuf::internal::TSanWrite(&
_impl_);
2578 _impl_._has_bits_[0] &= ~0x00000001u;
2580 _impl_.convergence_information_ =
nullptr;
2581 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2582 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2583 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2584 if (GetArena() ==
nullptr) {
2588 if (GetArena() !=
nullptr) {
2589 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2595 ::google::protobuf::internal::TSanWrite(&
_impl_);
2598 _impl_._has_bits_[0] &= ~0x00000001u;
2600 _impl_.convergence_information_ =
nullptr;
2603inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::_internal_mutable_convergence_information() {
2604 ::google::protobuf::internal::TSanWrite(&
_impl_);
2605 if (
_impl_.convergence_information_ ==
nullptr) {
2606 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::ConvergenceInformation>(GetArena());
2607 _impl_.convergence_information_ =
reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*
>(p);
2609 return _impl_.convergence_information_;
2612 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2613 _impl_._has_bits_[0] |= 0x00000001u;
2619 ::google::protobuf::Arena* message_arena = GetArena();
2620 ::google::protobuf::internal::TSanWrite(&
_impl_);
2621 if (message_arena ==
nullptr) {
2622 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.convergence_information_);
2625 if (value !=
nullptr) {
2627 if (message_arena != submessage_arena) {
2628 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2630 _impl_._has_bits_[0] |= 0x00000001u;
2645 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2646 PROTOBUF_ASSUME(!value ||
_impl_.termination_ !=
nullptr);
2650 ::google::protobuf::internal::TSanWrite(&
_impl_);
2652 _impl_._has_bits_[0] &= ~0x00000001u;
2654inline const ::operations_research::math_opt::TerminationProto& SolveResultProto::_internal_termination()
const {
2655 ::google::protobuf::internal::TSanRead(&
_impl_);
2656 const ::operations_research::math_opt::TerminationProto* p =
_impl_.termination_;
2661 return _internal_termination();
2665 ::google::protobuf::internal::TSanWrite(&
_impl_);
2666 if (GetArena() ==
nullptr) {
2667 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.termination_);
2670 if (value !=
nullptr) {
2671 _impl_._has_bits_[0] |= 0x00000001u;
2673 _impl_._has_bits_[0] &= ~0x00000001u;
2678 ::google::protobuf::internal::TSanWrite(&
_impl_);
2680 _impl_._has_bits_[0] &= ~0x00000001u;
2682 _impl_.termination_ =
nullptr;
2683 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2684 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2685 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2686 if (GetArena() ==
nullptr) {
2690 if (GetArena() !=
nullptr) {
2691 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2697 ::google::protobuf::internal::TSanWrite(&
_impl_);
2700 _impl_._has_bits_[0] &= ~0x00000001u;
2702 _impl_.termination_ =
nullptr;
2705inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_termination() {
2706 ::google::protobuf::internal::TSanWrite(&
_impl_);
2707 if (
_impl_.termination_ ==
nullptr) {
2708 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::TerminationProto>(GetArena());
2709 _impl_.termination_ =
reinterpret_cast<::operations_research::math_opt::TerminationProto*
>(p);
2714 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2715 _impl_._has_bits_[0] |= 0x00000001u;
2721 ::google::protobuf::Arena* message_arena = GetArena();
2722 ::google::protobuf::internal::TSanWrite(&
_impl_);
2723 if (message_arena ==
nullptr) {
2724 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.termination_);
2727 if (value !=
nullptr) {
2729 if (message_arena != submessage_arena) {
2730 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2732 _impl_._has_bits_[0] |= 0x00000001u;
2734 _impl_._has_bits_[0] &= ~0x00000001u;
2742inline int SolveResultProto::_internal_solutions_size()
const {
2743 return _internal_solutions().size();
2746 return _internal_solutions_size();
2749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2751 return _internal_mutable_solutions()->Mutable(index);
2754 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2756 ::google::protobuf::internal::TSanWrite(&
_impl_);
2757 return _internal_mutable_solutions();
2760 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2762 return _internal_solutions().Get(index);
2765 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2766 ::google::protobuf::internal::TSanWrite(&
_impl_);
2771inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
SolveResultProto::solutions() const
2772 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2774 return _internal_solutions();
2776inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
2777SolveResultProto::_internal_solutions()
const {
2778 ::google::protobuf::internal::TSanRead(&
_impl_);
2781inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL
2782SolveResultProto::_internal_mutable_solutions() {
2783 ::google::protobuf::internal::TSanRead(&
_impl_);
2784 return &
_impl_.solutions_;
2788inline int SolveResultProto::_internal_primal_rays_size()
const {
2789 return _internal_primal_rays().size();
2792 return _internal_primal_rays_size();
2795 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2797 return _internal_mutable_primal_rays()->Mutable(index);
2800 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2802 ::google::protobuf::internal::TSanWrite(&
_impl_);
2803 return _internal_mutable_primal_rays();
2806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2808 return _internal_primal_rays().Get(index);
2811 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2812 ::google::protobuf::internal::TSanWrite(&
_impl_);
2818 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2820 return _internal_primal_rays();
2822inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>&
2823SolveResultProto::_internal_primal_rays()
const {
2824 ::google::protobuf::internal::TSanRead(&
_impl_);
2827inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL
2828SolveResultProto::_internal_mutable_primal_rays() {
2829 ::google::protobuf::internal::TSanRead(&
_impl_);
2830 return &
_impl_.primal_rays_;
2834inline int SolveResultProto::_internal_dual_rays_size()
const {
2835 return _internal_dual_rays().size();
2838 return _internal_dual_rays_size();
2841 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2843 return _internal_mutable_dual_rays()->Mutable(index);
2846 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2848 ::google::protobuf::internal::TSanWrite(&
_impl_);
2849 return _internal_mutable_dual_rays();
2852 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2854 return _internal_dual_rays().Get(index);
2857 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2858 ::google::protobuf::internal::TSanWrite(&
_impl_);
2863inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
SolveResultProto::dual_rays() const
2864 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2866 return _internal_dual_rays();
2868inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
2869SolveResultProto::_internal_dual_rays()
const {
2870 ::google::protobuf::internal::TSanRead(&
_impl_);
2873inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL
2874SolveResultProto::_internal_mutable_dual_rays() {
2875 ::google::protobuf::internal::TSanRead(&
_impl_);
2876 return &
_impl_.dual_rays_;
2881 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2882 PROTOBUF_ASSUME(!value ||
_impl_.solve_stats_ !=
nullptr);
2886 ::google::protobuf::internal::TSanWrite(&
_impl_);
2888 _impl_._has_bits_[0] &= ~0x00000002u;
2890inline const ::operations_research::math_opt::SolveStatsProto& SolveResultProto::_internal_solve_stats()
const {
2891 ::google::protobuf::internal::TSanRead(&
_impl_);
2892 const ::operations_research::math_opt::SolveStatsProto* p =
_impl_.solve_stats_;
2897 return _internal_solve_stats();
2901 ::google::protobuf::internal::TSanWrite(&
_impl_);
2902 if (GetArena() ==
nullptr) {
2903 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_stats_);
2906 if (value !=
nullptr) {
2907 _impl_._has_bits_[0] |= 0x00000002u;
2909 _impl_._has_bits_[0] &= ~0x00000002u;
2914 ::google::protobuf::internal::TSanWrite(&
_impl_);
2916 _impl_._has_bits_[0] &= ~0x00000002u;
2918 _impl_.solve_stats_ =
nullptr;
2919 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2920 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2921 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2922 if (GetArena() ==
nullptr) {
2926 if (GetArena() !=
nullptr) {
2927 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2933 ::google::protobuf::internal::TSanWrite(&
_impl_);
2936 _impl_._has_bits_[0] &= ~0x00000002u;
2938 _impl_.solve_stats_ =
nullptr;
2941inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_solve_stats() {
2942 ::google::protobuf::internal::TSanWrite(&
_impl_);
2943 if (
_impl_.solve_stats_ ==
nullptr) {
2944 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveStatsProto>(GetArena());
2945 _impl_.solve_stats_ =
reinterpret_cast<::operations_research::math_opt::SolveStatsProto*
>(p);
2950 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2951 _impl_._has_bits_[0] |= 0x00000002u;
2957 ::google::protobuf::Arena* message_arena = GetArena();
2958 ::google::protobuf::internal::TSanWrite(&
_impl_);
2959 if (message_arena ==
nullptr) {
2960 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_stats_);
2963 if (value !=
nullptr) {
2965 if (message_arena != submessage_arena) {
2966 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2968 _impl_._has_bits_[0] |= 0x00000002u;
2970 _impl_._has_bits_[0] &= ~0x00000002u;
2981inline bool SolveResultProto::_internal_has_gscip_output()
const {
2984inline void SolveResultProto::set_has_gscip_output() {
2990 clear_has_solver_specific_output();
2991 auto* temp =
reinterpret_cast<::operations_research::GScipOutput*
>(
_impl_.solver_specific_output_.gscip_output_);
2992 if (GetArena() !=
nullptr) {
2993 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3001inline const ::operations_research::GScipOutput& SolveResultProto::_internal_gscip_output()
const {
3006 return _internal_gscip_output();
3011 clear_has_solver_specific_output();
3026 set_has_gscip_output();
3027 _impl_.solver_specific_output_.gscip_output_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3031inline ::operations_research::GScipOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_gscip_output() {
3034 set_has_gscip_output();
3035 _impl_.solver_specific_output_.gscip_output_ =
reinterpret_cast<::google::protobuf::Message*
>(
3036 ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipOutput>(GetArena()));
3041 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3051inline bool SolveResultProto::_internal_has_osqp_output()
const {
3054inline void SolveResultProto::set_has_osqp_output() {
3060 clear_has_solver_specific_output();
3062 if (GetArena() !=
nullptr) {
3063 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3071inline const ::operations_research::math_opt::OsqpOutput& SolveResultProto::_internal_osqp_output()
const {
3076 return _internal_osqp_output();
3081 clear_has_solver_specific_output();
3096 set_has_osqp_output();
3097 _impl_.solver_specific_output_.osqp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3101inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_osqp_output() {
3104 set_has_osqp_output();
3105 _impl_.solver_specific_output_.osqp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(
3106 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpOutput>(GetArena()));
3111 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3121inline bool SolveResultProto::_internal_has_pdlp_output()
const {
3124inline void SolveResultProto::set_has_pdlp_output() {
3128 ::google::protobuf::internal::TSanWrite(&
_impl_);
3130 if (GetArena() ==
nullptr) {
3132 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3133 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.pdlp_output_);
3135 clear_has_solver_specific_output();
3141 clear_has_solver_specific_output();
3143 if (GetArena() !=
nullptr) {
3144 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3152inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput& SolveResultProto::_internal_pdlp_output()
const {
3155inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput&
SolveResultProto::pdlp_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3157 return _internal_pdlp_output();
3162 clear_has_solver_specific_output();
3177 set_has_pdlp_output();
3178 _impl_.solver_specific_output_.pdlp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3182inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_pdlp_output() {
3185 set_has_pdlp_output();
3186 _impl_.solver_specific_output_.pdlp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(
3187 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveResultProto_PdlpOutput>(GetArena()));
3192 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3198inline bool SolveResultProto::has_solver_specific_output()
const {
3201inline void SolveResultProto::clear_has_solver_specific_output() {
3208#pragma GCC diagnostic pop
3223 return ::operations_research::math_opt::FeasibilityStatusProto_descriptor();
3229 return ::operations_research::math_opt::TerminationReasonProto_descriptor();
3235 return ::operations_research::math_opt::LimitProto_descriptor();
3243#include "google/protobuf/port_undef.inc"
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
void CopyFrom(const ObjectiveBoundsProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_primal_bound()
double primal_bound = 2;
bool IsInitialized() const
void MergeFrom(const ObjectiveBoundsProto &from)
ObjectiveBoundsProto & operator=(const ObjectiveBoundsProto &from)
void set_dual_bound(double value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static const ObjectiveBoundsProto & default_instance()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void clear_dual_bound()
double dual_bound = 3;
double dual_bound() const
void Swap(ObjectiveBoundsProto *PROTOBUF_NONNULL other)
PROTOBUF_CONSTEXPR ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized)
void set_primal_bound(double value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
double primal_bound() const
friend class ::google::protobuf::MessageLite
ProblemStatusProto & operator=(const ProblemStatusProto &from)
void clear_primal_or_dual_infeasible()
bool primal_or_dual_infeasible = 3;
void set_primal_status(::operations_research::math_opt::FeasibilityStatusProto value)
::operations_research::math_opt::FeasibilityStatusProto dual_status() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
ProblemStatusProto(const ProblemStatusProto &from)
void set_primal_or_dual_infeasible(bool value)
bool IsInitialized() const
ProblemStatusProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, ProblemStatusProto &&from) noexcept
void CopyFrom(const ProblemStatusProto &from)
bool primal_or_dual_infeasible() const
void Swap(ProblemStatusProto *PROTOBUF_NONNULL other)
@ kPrimalOrDualInfeasibleFieldNumber
void clear_primal_status()
.operations_research.math_opt.FeasibilityStatusProto primal_status = 1;
void set_dual_status(::operations_research::math_opt::FeasibilityStatusProto value)
PROTOBUF_CONSTEXPR ProblemStatusProto(::google::protobuf::internal::ConstantInitialized)
::operations_research::math_opt::FeasibilityStatusProto primal_status() const
void clear_dual_status()
.operations_research.math_opt.FeasibilityStatusProto dual_status = 2;
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static const SolveResultProto_PdlpOutput & default_instance()
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NONNULL mutable_convergence_information()
const ::operations_research::pdlp::ConvergenceInformation & convergence_information() const
bool IsInitialized() const
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE release_convergence_information()
SolveResultProto_PdlpOutput *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
bool has_convergence_information() const
.operations_research.pdlp.ConvergenceInformation convergence_information = 1;
void unsafe_arena_set_allocated_convergence_information(::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE value)
void MergeFrom(const SolveResultProto_PdlpOutput &from)
::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)
SolveResultProto_PdlpOutput()
SolveResultProto_PdlpOutput & operator=(const SolveResultProto_PdlpOutput &from)
static constexpr auto InternalGenerateClassData_()
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const SolveResultProto_PdlpOutput &from)
void set_allocated_convergence_information(::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE unsafe_arena_release_convergence_information()
friend class ::google::protobuf::Arena
@ kConvergenceInformationFieldNumber
void Swap(SolveResultProto *PROTOBUF_NONNULL other)
::operations_research::math_opt::SolutionProto *PROTOBUF_NONNULL add_solutions()
void unsafe_arena_set_allocated_pdlp_output(::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE value)
bool IsInitialized() const
void set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
@ kGscipOutputFieldNumber
@ kTerminationFieldNumber
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NONNULL mutable_pdlp_output()
::operations_research::GScipOutput *PROTOBUF_NULLABLE unsafe_arena_release_gscip_output()
::operations_research::math_opt::OsqpOutput *PROTOBUF_NONNULL mutable_osqp_output()
void set_allocated_solve_stats(::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE value)
friend void swap(SolveResultProto &a, SolveResultProto &b)
SolveResultProto_PdlpOutput PdlpOutput
nested types -------------------------------------------------—
static const SolveResultProto & default_instance()
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > *PROTOBUF_NONNULL mutable_dual_rays()
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto > & solutions() const
::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE unsafe_arena_release_termination()
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto > *PROTOBUF_NONNULL mutable_solutions()
void unsafe_arena_set_allocated_solve_stats(::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE release_pdlp_output()
bool has_gscip_output() const
.operations_research.GScipOutput gscip_output = 7;
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
SolveResultProto & operator=(const SolveResultProto &from)
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE unsafe_arena_release_solve_stats()
const ::operations_research::math_opt::OsqpOutput & osqp_output() const
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL add_primal_rays()
bool has_osqp_output() const
.operations_research.math_opt.OsqpOutput osqp_output = 8;
void set_allocated_termination(::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SolutionProto *PROTOBUF_NONNULL mutable_solutions(int index)
const ::operations_research::math_opt::SolutionProto & solutions(int index) const
::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE release_termination()
::operations_research::math_opt::DualRayProto *PROTOBUF_NONNULL add_dual_rays()
bool has_termination() const
.operations_research.math_opt.TerminationProto termination = 2;
::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE unsafe_arena_release_osqp_output()
const ::operations_research::math_opt::SolveResultProto_PdlpOutput & pdlp_output() const
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto > & primal_rays() const
::operations_research::math_opt::TerminationProto *PROTOBUF_NONNULL mutable_termination()
::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
::operations_research::GScipOutput *PROTOBUF_NONNULL mutable_gscip_output()
SolverSpecificOutputCase solver_specific_output_case() const
int dual_rays_size() const
repeated .operations_research.math_opt.DualRayProto dual_rays = 5;
bool has_pdlp_output() const
.operations_research.math_opt.SolveResultProto.PdlpOutput pdlp_output = 9;
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL mutable_primal_rays(int index)
void clear_gscip_output()
static constexpr auto InternalNewImpl_()
const ::operations_research::math_opt::SolveStatsProto & solve_stats() const
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto > *PROTOBUF_NONNULL mutable_primal_rays()
::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE release_osqp_output()
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NONNULL mutable_solve_stats()
bool has_solve_stats() const
.operations_research.math_opt.SolveStatsProto solve_stats = 6;
::operations_research::math_opt::SolveStatsProto *PROTOBUF_NULLABLE release_solve_stats()
::operations_research::math_opt::DualRayProto *PROTOBUF_NONNULL mutable_dual_rays(int index)
::size_t ByteSizeLong() const final
void clear_solver_specific_output()
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > & dual_rays() const
void unsafe_arena_set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE unsafe_arena_release_pdlp_output()
void set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
SolveResultProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::operations_research::GScipOutput & gscip_output() const
int primal_rays_size() const
repeated .operations_research.math_opt.PrimalRayProto primal_rays = 4;
const ::operations_research::math_opt::TerminationProto & termination() const
friend class ::google::protobuf::Arena
void unsafe_arena_set_allocated_termination(::operations_research::math_opt::TerminationProto *PROTOBUF_NULLABLE value)
int solutions_size() const
repeated .operations_research.math_opt.SolutionProto solutions = 3;
::operations_research::GScipOutput *PROTOBUF_NULLABLE release_gscip_output()
@ SOLVER_SPECIFIC_OUTPUT_NOT_SET
static constexpr auto InternalGenerateClassData_()
void clear_node_count()
int64 node_count = 7;
bool IsInitialized() const
const ::operations_research::math_opt::ProblemStatusProto & problem_status() const
static constexpr auto InternalNewImpl_()
double best_primal_bound() const
static constexpr auto InternalGenerateClassData_()
void set_allocated_solve_time(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void clear_first_order_iterations()
int64 first_order_iterations = 8;
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE release_problem_status()
SolveStatsProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::int64_t node_count() const
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE unsafe_arena_release_problem_status()
void set_simplex_iterations(::int64_t value)
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void set_best_dual_bound(double value)
void CopyFrom(const SolveStatsProto &from)
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NONNULL mutable_problem_status()
void clear_best_primal_bound()
double best_primal_bound = 2 [deprecated = true];
void clear_best_dual_bound()
double best_dual_bound = 3 [deprecated = true];
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_solve_time()
void MergeFrom(const SolveStatsProto &from)
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_solve_time()
double best_dual_bound() const
void set_node_count(::int64_t value)
::google::protobuf::Duration *PROTOBUF_NULLABLE release_solve_time()
SolveStatsProto & operator=(const SolveStatsProto &from)
@ kBestPrimalBoundFieldNumber
@ kBestDualBoundFieldNumber
@ kBarrierIterationsFieldNumber
@ kProblemStatusFieldNumber
@ kFirstOrderIterationsFieldNumber
@ kSimplexIterationsFieldNumber
void clear_barrier_iterations()
int64 barrier_iterations = 6;
bool has_problem_status() const
.operations_research.math_opt.ProblemStatusProto problem_status = 4 [deprecated = true];
void set_first_order_iterations(::int64_t value)
void set_barrier_iterations(::int64_t value)
bool has_solve_time() const
.google.protobuf.Duration solve_time = 1;
::int64_t barrier_iterations() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_problem_status()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::int64_t first_order_iterations() const
void set_best_primal_bound(double value)
const ::google::protobuf::Duration & solve_time() const
::int64_t simplex_iterations() const
void clear_simplex_iterations()
int64 simplex_iterations = 5;
::google::protobuf::Metadata GetMetadata() const
void Swap(SolveStatsProto *PROTOBUF_NONNULL other)
friend void swap(SolveStatsProto &a, SolveStatsProto &b)
void unsafe_arena_set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
friend class ::google::protobuf::Arena
void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_solve_time(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
bool IsInitialized() const
::std::string *PROTOBUF_NULLABLE release_detail()
friend class ::google::protobuf::MessageLite
bool has_problem_status() const
.operations_research.math_opt.ProblemStatusProto problem_status = 4;
const ::operations_research::math_opt::ObjectiveBoundsProto & objective_bounds() const
void set_limit(::operations_research::math_opt::LimitProto value)
void set_detail(Arg_ &&arg, Args_... args)
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE unsafe_arena_release_objective_bounds()
void set_allocated_detail(::std::string *PROTOBUF_NULLABLE value)
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE unsafe_arena_release_problem_status()
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NONNULL mutable_objective_bounds()
void clear_detail()
string detail = 3;
void Swap(TerminationProto *PROTOBUF_NONNULL other)
::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE release_objective_bounds()
void set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
void clear_limit()
.operations_research.math_opt.LimitProto limit = 2;
static constexpr int kIndexInFileMessages
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const TerminationProto & default_instance()
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NONNULL mutable_problem_status()
void clear_problem_status()
void MergeFrom(const TerminationProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_objective_bounds()
bool has_objective_bounds() const
.operations_research.math_opt.ObjectiveBoundsProto objective_bounds = 5;
friend void swap(TerminationProto &a, TerminationProto &b)
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::std::string *PROTOBUF_NONNULL mutable_detail()
void unsafe_arena_set_allocated_problem_status(::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE value)
void CopyFrom(const TerminationProto &from)
PROTOBUF_CONSTEXPR TerminationProto(::google::protobuf::internal::ConstantInitialized)
const ::operations_research::math_opt::ProblemStatusProto & problem_status() const
void unsafe_arena_set_allocated_objective_bounds(::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE value)
void clear_reason()
.operations_research.math_opt.TerminationReasonProto reason = 1;
void set_allocated_objective_bounds(::operations_research::math_opt::ObjectiveBoundsProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::TerminationReasonProto reason() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::std::string & detail() const
void set_reason(::operations_research::math_opt::TerminationReasonProto value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
TerminationProto & operator=(const TerminationProto &from)
friend class ::google::protobuf::Arena
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE release_problem_status()
::operations_research::math_opt::LimitProto limit() const
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LimitProto >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::TerminationReasonProto >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::FeasibilityStatusProto >()
An object oriented wrapper for quadratic constraints in ModelStorage.
@ TERMINATION_REASON_OPTIMAL
@ TERMINATION_REASON_OTHER_ERROR
@ TERMINATION_REASON_INFEASIBLE_OR_UNBOUNDED
@ TERMINATION_REASON_NO_SOLUTION_FOUND
@ TERMINATION_REASON_FEASIBLE
@ TerminationReasonProto_INT_MAX_SENTINEL_DO_NOT_USE_
@ TERMINATION_REASON_NUMERICAL_ERROR
@ TERMINATION_REASON_UNSPECIFIED
@ TERMINATION_REASON_INFEASIBLE
@ TERMINATION_REASON_IMPRECISE
@ TERMINATION_REASON_UNBOUNDED
@ TerminationReasonProto_INT_MIN_SENTINEL_DO_NOT_USE_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TerminationReasonProto_descriptor()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FeasibilityStatusProto_descriptor()
constexpr FeasibilityStatusProto FeasibilityStatusProto_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveStatsProtoDefaultTypeInternal _SolveStatsProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_
constexpr TerminationReasonProto TerminationReasonProto_MAX
bool FeasibilityStatusProto_Parse(::absl::string_view name, FeasibilityStatusProto *PROTOBUF_NONNULL value)
constexpr LimitProto LimitProto_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProto_PdlpOutputDefaultTypeInternal _SolveResultProto_PdlpOutput_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpOutputDefaultTypeInternal _OsqpOutput_default_instance_
@ FEASIBILITY_STATUS_UNSPECIFIED
@ FEASIBILITY_STATUS_FEASIBLE
@ FEASIBILITY_STATUS_UNDETERMINED
@ FeasibilityStatusProto_INT_MAX_SENTINEL_DO_NOT_USE_
@ FeasibilityStatusProto_INT_MIN_SENTINEL_DO_NOT_USE_
@ FEASIBILITY_STATUS_INFEASIBLE
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LimitProto_descriptor()
bool LimitProto_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProtoDefaultTypeInternal _SolveResultProto_default_instance_
bool FeasibilityStatusProto_IsValid(int value)
const ::std::string & FeasibilityStatusProto_Name(T value)
bool TerminationReasonProto_Parse(::absl::string_view name, TerminationReasonProto *PROTOBUF_NONNULL value)
bool LimitProto_Parse(::absl::string_view name, LimitProto *PROTOBUF_NONNULL value)
constexpr int FeasibilityStatusProto_ARRAYSIZE
bool TerminationReasonProto_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_
const ::std::string & LimitProto_Name(T value)
PROTOBUF_CONSTINIT const uint32_t LimitProto_internal_data_[]
@ LimitProto_INT_MIN_SENTINEL_DO_NOT_USE_
@ LimitProto_INT_MAX_SENTINEL_DO_NOT_USE_
constexpr FeasibilityStatusProto FeasibilityStatusProto_MIN
PROTOBUF_CONSTINIT const uint32_t TerminationReasonProto_internal_data_[]
constexpr int LimitProto_ARRAYSIZE
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_
constexpr LimitProto LimitProto_MAX
constexpr TerminationReasonProto TerminationReasonProto_MIN
PROTOBUF_CONSTINIT const uint32_t FeasibilityStatusProto_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveBoundsProtoDefaultTypeInternal _ObjectiveBoundsProto_default_instance_
const ::std::string & TerminationReasonProto_Name(T value)
constexpr int TerminationReasonProto_ARRAYSIZE
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_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConvergenceInformationDefaultTypeInternal _ConvergenceInformation_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GScipOutputDefaultTypeInternal _GScipOutput_default_instance_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
::google::protobuf::Message *PROTOBUF_NULLABLE gscip_output_
::google::protobuf::Message *PROTOBUF_NULLABLE pdlp_output_
::google::protobuf::Message *PROTOBUF_NULLABLE osqp_output_