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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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"; }
370 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ProblemStatusProto&& from) noexcept
372 *
this = ::std::move(from);
374 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
375 static
void* PROTOBUF_NONNULL PlacementNew_(
376 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
377 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
378 static constexpr auto InternalNewImpl_();
381 static constexpr auto InternalGenerateClassData_();
383 ::
google::protobuf::Metadata GetMetadata() const;
388 kPrimalStatusFieldNumber = 1,
389 kDualStatusFieldNumber = 2,
418 bool _internal_primal_or_dual_infeasible()
const;
419 void _internal_set_primal_or_dual_infeasible(
bool value);
425 friend class ::google::protobuf::internal::TcParser;
426 static const ::google::protobuf::internal::TcParseTable<2, 3,
431 friend class ::google::protobuf::MessageLite;
432 friend class ::google::protobuf::Arena;
433 template <
typename T>
434 friend class ::google::protobuf::Arena::InternalHelper;
435 using InternalArenaConstructable_ = void;
436 using DestructorSkippable_ = void;
438 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
439 inline explicit Impl_(
440 ::google::protobuf::internal::InternalVisibility visibility,
441 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
442 inline explicit Impl_(
443 ::google::protobuf::internal::InternalVisibility visibility,
444 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
446 ::google::protobuf::internal::HasBits<1> _has_bits_;
447 ::google::protobuf::internal::CachedSize _cached_size_;
450 bool primal_or_dual_infeasible_;
451 PROTOBUF_TSAN_DECLARE_MEMBER
453 union { Impl_ _impl_; };
454 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
466#if defined(PROTOBUF_CUSTOM_VTABLE)
473 template <
typename =
void>
474 explicit PROTOBUF_CONSTEXPR
ObjectiveBoundsProto(::google::protobuf::internal::ConstantInitialized);
484 if (
this == &from)
return *
this;
485 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
493 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
494 ABSL_ATTRIBUTE_LIFETIME_BOUND {
495 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
497 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
498 ABSL_ATTRIBUTE_LIFETIME_BOUND {
499 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
502 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
503 return GetDescriptor();
505 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
508 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
515 static constexpr int kIndexInFileMessages = 2;
517 inline void Swap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
518 if (other ==
this)
return;
519 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
522 ::google::protobuf::internal::GenericSwap(
this, other);
525 void UnsafeArenaSwap(ObjectiveBoundsProto* PROTOBUF_NONNULL other) {
526 if (other ==
this)
return;
527 ABSL_DCHECK(GetArena() == other->GetArena());
533 ObjectiveBoundsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
534 return ::google::protobuf::Message::DefaultConstruct<ObjectiveBoundsProto>(arena);
536 using ::google::protobuf::Message::CopyFrom;
538 using ::google::protobuf::Message::MergeFrom;
542 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
543 const ::google::protobuf::MessageLite& from_msg);
549 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
550 #if defined(PROTOBUF_CUSTOM_VTABLE)
552 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
554 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
555 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
559 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
560 ::uint8_t* PROTOBUF_NONNULL target,
561 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
562 return _InternalSerialize(*
this, target, stream);
565 ::size_t ByteSizeLong() const final;
566 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
567 ::uint8_t* PROTOBUF_NONNULL target,
568 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
570 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
573 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
577 template <
typename T>
579 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ObjectiveBoundsProto"; }
586 *
this = ::std::move(from);
588 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
589 static
void* PROTOBUF_NONNULL PlacementNew_(
590 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
591 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
592 static constexpr auto InternalNewImpl_();
595 static constexpr auto InternalGenerateClassData_();
597 ::
google::protobuf::Metadata GetMetadata() const;
602 kPrimalBoundFieldNumber = 2,
603 kDualBoundFieldNumber = 3,
611 double _internal_primal_bound()
const;
612 void _internal_set_primal_bound(
double value);
621 double _internal_dual_bound()
const;
622 void _internal_set_dual_bound(
double value);
628 friend class ::google::protobuf::internal::TcParser;
629 static const ::google::protobuf::internal::TcParseTable<1, 2,
634 friend class ::google::protobuf::MessageLite;
635 friend class ::google::protobuf::Arena;
636 template <
typename T>
637 friend class ::google::protobuf::Arena::InternalHelper;
638 using InternalArenaConstructable_ = void;
639 using DestructorSkippable_ = void;
641 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
642 inline explicit Impl_(
643 ::google::protobuf::internal::InternalVisibility visibility,
644 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
645 inline explicit Impl_(
646 ::google::protobuf::internal::InternalVisibility visibility,
647 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
649 ::google::protobuf::internal::HasBits<1> _has_bits_;
650 ::google::protobuf::internal::CachedSize _cached_size_;
651 double primal_bound_;
653 PROTOBUF_TSAN_DECLARE_MEMBER
655 union { Impl_ _impl_; };
656 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
662class OR_PROTO_DLL
TerminationProto final :
public ::google::protobuf::Message
668#if defined(PROTOBUF_CUSTOM_VTABLE)
675 template <
typename =
void>
676 explicit PROTOBUF_CONSTEXPR
TerminationProto(::google::protobuf::internal::ConstantInitialized);
679 inline TerminationProto(TerminationProto&& from) noexcept
686 if (
this == &from)
return *
this;
687 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
696 ABSL_ATTRIBUTE_LIFETIME_BOUND {
697 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
701 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
704 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
707 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
710 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
720 if (other ==
this)
return;
721 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
724 ::google::protobuf::internal::GenericSwap(
this, other);
727 void UnsafeArenaSwap(TerminationProto* PROTOBUF_NONNULL other) {
728 if (other ==
this)
return;
729 ABSL_DCHECK(GetArena() == other->GetArena());
735 TerminationProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
736 return ::google::protobuf::Message::DefaultConstruct<TerminationProto>(arena);
738 using ::google::protobuf::Message::CopyFrom;
740 using ::google::protobuf::Message::MergeFrom;
744 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
745 const ::google::protobuf::MessageLite& from_msg);
751 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
752 #if defined(PROTOBUF_CUSTOM_VTABLE)
754 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
756 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
757 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
761 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
762 ::uint8_t* PROTOBUF_NONNULL target,
763 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
764 return _InternalSerialize(*
this, target, stream);
767 ::size_t ByteSizeLong() const final;
768 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
769 ::uint8_t* PROTOBUF_NONNULL target,
770 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
772 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
775 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
779 template <
typename T>
781 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.TerminationProto"; }
783 explicit TerminationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
TerminationProto&& from) noexcept
788 *
this = ::std::move(from);
790 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
791 static
void* PROTOBUF_NONNULL PlacementNew_(
792 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
793 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
794 static constexpr auto InternalNewImpl_();
797 static constexpr auto InternalGenerateClassData_();
799 ::
google::protobuf::Metadata GetMetadata() const;
804 kDetailFieldNumber = 3,
805 kProblemStatusFieldNumber = 4,
806 kObjectiveBoundsFieldNumber = 5,
807 kReasonFieldNumber = 1,
813 template <
typename Arg_ = const ::std::string&,
typename... Args_>
820 const ::std::string& _internal_detail()
const;
821 PROTOBUF_ALWAYS_INLINE
void _internal_set_detail(const ::std::string& value);
822 ::std::string* PROTOBUF_NONNULL _internal_mutable_detail();
828 const ::operations_research::math_opt::ProblemStatusProto&
problem_status()
const;
836 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status()
const;
843 const ::operations_research::math_opt::ObjectiveBoundsProto&
objective_bounds()
const;
851 const ::operations_research::math_opt::ObjectiveBoundsProto& _internal_objective_bounds()
const;
878 friend class ::google::protobuf::internal::TcParser;
879 static const ::google::protobuf::internal::TcParseTable<3, 5,
884 friend class ::google::protobuf::MessageLite;
885 friend class ::google::protobuf::Arena;
886 template <
typename T>
887 friend class ::google::protobuf::Arena::InternalHelper;
888 using InternalArenaConstructable_ = void;
889 using DestructorSkippable_ = void;
891 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
892 inline explicit Impl_(
893 ::google::protobuf::internal::InternalVisibility visibility,
894 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
895 inline explicit Impl_(
896 ::google::protobuf::internal::InternalVisibility visibility,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
899 ::google::protobuf::internal::HasBits<1> _has_bits_;
900 ::google::protobuf::internal::CachedSize _cached_size_;
901 ::google::protobuf::internal::ArenaStringPtr detail_;
906 PROTOBUF_TSAN_DECLARE_MEMBER
908 union { Impl_ _impl_; };
909 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
915class OR_PROTO_DLL
SolveStatsProto final :
public ::google::protobuf::Message
921#if defined(PROTOBUF_CUSTOM_VTABLE)
922 void operator delete(
SolveStatsProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
924 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
SolveStatsProto));
928 template <
typename =
void>
929 explicit PROTOBUF_CONSTEXPR
SolveStatsProto(::google::protobuf::internal::ConstantInitialized);
932 inline SolveStatsProto(SolveStatsProto&& from) noexcept
933 : SolveStatsProto(
nullptr, ::std::move(from)) {}
939 if (
this == &from)
return *
this;
940 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
948 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
949 ABSL_ATTRIBUTE_LIFETIME_BOUND {
950 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
952 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
953 ABSL_ATTRIBUTE_LIFETIME_BOUND {
954 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
957 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
960 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
961 return default_instance().GetMetadata().descriptor;
963 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
964 return default_instance().GetMetadata().reflection;
970 static constexpr int kIndexInFileMessages = 1;
973 if (other ==
this)
return;
974 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
977 ::google::protobuf::internal::GenericSwap(
this, other);
980 void UnsafeArenaSwap(SolveStatsProto* PROTOBUF_NONNULL other) {
981 if (other ==
this)
return;
982 ABSL_DCHECK(GetArena() == other->GetArena());
988 SolveStatsProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
989 return ::google::protobuf::Message::DefaultConstruct<SolveStatsProto>(arena);
991 using ::google::protobuf::Message::CopyFrom;
993 using ::google::protobuf::Message::MergeFrom;
997 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
998 const ::google::protobuf::MessageLite& from_msg);
1004 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1005 #if defined(PROTOBUF_CUSTOM_VTABLE)
1007 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1009 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1010 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1014 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1015 ::uint8_t* PROTOBUF_NONNULL target,
1016 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1017 return _InternalSerialize(*
this, target, stream);
1020 ::size_t ByteSizeLong() const final;
1021 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1022 ::uint8_t* PROTOBUF_NONNULL target,
1023 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1025 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1028 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1029 static void SharedDtor(MessageLite& self);
1032 template <
typename T>
1034 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveStatsProto"; }
1036 explicit SolveStatsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1039 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SolveStatsProto&& from) noexcept
1041 *
this = ::std::move(from);
1043 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1044 static
void* PROTOBUF_NONNULL PlacementNew_(
1045 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1046 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1047 static constexpr auto InternalNewImpl_();
1050 static constexpr auto InternalGenerateClassData_();
1052 ::
google::protobuf::Metadata GetMetadata() const;
1057 kSolveTimeFieldNumber = 1,
1058 kProblemStatusFieldNumber = 4,
1059 kBestPrimalBoundFieldNumber = 2,
1060 kBestDualBoundFieldNumber = 3,
1061 kSimplexIterationsFieldNumber = 5,
1077 const ::google::protobuf::Duration& _internal_solve_time()
const;
1078 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_solve_time();
1084 [[deprecated]] const ::operations_research::math_opt::ProblemStatusProto&
problem_status()
const;
1092 const ::operations_research::math_opt::ProblemStatusProto& _internal_problem_status()
const;
1102 double _internal_best_primal_bound()
const;
1103 void _internal_set_best_primal_bound(
double value);
1112 double _internal_best_dual_bound()
const;
1113 void _internal_set_best_dual_bound(
double value);
1122 ::int64_t _internal_simplex_iterations()
const;
1123 void _internal_set_simplex_iterations(::int64_t value);
1132 ::int64_t _internal_barrier_iterations()
const;
1133 void _internal_set_barrier_iterations(::int64_t value);
1142 ::int64_t _internal_node_count()
const;
1143 void _internal_set_node_count(::int64_t value);
1152 ::int64_t _internal_first_order_iterations()
const;
1153 void _internal_set_first_order_iterations(::int64_t value);
1159 friend class ::google::protobuf::internal::TcParser;
1160 static const ::google::protobuf::internal::TcParseTable<3, 8,
1165 friend class ::google::protobuf::MessageLite;
1166 friend class ::google::protobuf::Arena;
1167 template <
typename T>
1168 friend class ::google::protobuf::Arena::InternalHelper;
1169 using InternalArenaConstructable_ = void;
1170 using DestructorSkippable_ = void;
1172 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1173 inline explicit Impl_(
1174 ::google::protobuf::internal::InternalVisibility visibility,
1175 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1176 inline explicit Impl_(
1177 ::google::protobuf::internal::InternalVisibility visibility,
1178 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1180 ::google::protobuf::internal::HasBits<1> _has_bits_;
1181 ::google::protobuf::internal::CachedSize _cached_size_;
1182 ::google::protobuf::Duration* PROTOBUF_NULLABLE solve_time_;
1184 double best_primal_bound_;
1185 double best_dual_bound_;
1186 ::int64_t simplex_iterations_;
1187 ::int64_t barrier_iterations_;
1188 ::int64_t node_count_;
1189 ::int64_t first_order_iterations_;
1190 PROTOBUF_TSAN_DECLARE_MEMBER
1192 union { Impl_ _impl_; };
1193 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1205#if defined(PROTOBUF_CUSTOM_VTABLE)
1212 template <
typename =
void>
1216 inline SolveResultProto_PdlpOutput(SolveResultProto_PdlpOutput&& from) noexcept
1217 : SolveResultProto_PdlpOutput(
nullptr, ::std::move(from)) {}
1218 inline SolveResultProto_PdlpOutput& operator=(
const SolveResultProto_PdlpOutput& from) {
1223 if (
this == &from)
return *
this;
1224 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1225 InternalSwap(&from);
1232 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1233 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1234 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1236 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1238 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1241 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1244 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1245 return default_instance().GetMetadata().descriptor;
1254 static constexpr int kIndexInFileMessages = 4;
1257 if (other ==
this)
return;
1258 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1259 InternalSwap(other);
1261 ::google::protobuf::internal::GenericSwap(
this, other);
1264 void UnsafeArenaSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other) {
1265 if (other ==
this)
return;
1266 ABSL_DCHECK(GetArena() == other->GetArena());
1267 InternalSwap(other);
1273 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto_PdlpOutput>(arena);
1275 using ::google::protobuf::Message::CopyFrom;
1277 using ::google::protobuf::Message::MergeFrom;
1281 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1282 const ::google::protobuf::MessageLite& from_msg);
1288 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1289 #if defined(PROTOBUF_CUSTOM_VTABLE)
1293 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1294 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1298 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1299 ::uint8_t* PROTOBUF_NONNULL target,
1300 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1301 return _InternalSerialize(*
this, target, stream);
1304 ::size_t ByteSizeLong() const final;
1305 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1306 ::uint8_t* PROTOBUF_NONNULL target,
1307 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1309 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1312 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1313 static void SharedDtor(MessageLite& self);
1314 void InternalSwap(SolveResultProto_PdlpOutput* PROTOBUF_NONNULL other);
1316 template <
typename T>
1318 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveResultProto.PdlpOutput"; }
1325 *
this = ::std::move(from);
1327 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1328 static
void* PROTOBUF_NONNULL PlacementNew_(
1329 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1330 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1331 static constexpr auto InternalNewImpl_();
1334 static constexpr auto InternalGenerateClassData_();
1336 ::
google::protobuf::Metadata GetMetadata() const;
1341 kConvergenceInformationFieldNumber = 1,
1344 bool has_convergence_information()
const;
1345 void clear_convergence_information() ;
1346 const ::operations_research::pdlp::ConvergenceInformation& convergence_information()
const;
1354 const ::operations_research::pdlp::ConvergenceInformation& _internal_convergence_information()
const;
1361 friend class ::google::protobuf::internal::TcParser;
1362 static const ::google::protobuf::internal::TcParseTable<0, 1,
1367 friend class ::google::protobuf::MessageLite;
1368 friend class ::google::protobuf::Arena;
1369 template <
typename T>
1370 friend class ::google::protobuf::Arena::InternalHelper;
1371 using InternalArenaConstructable_ = void;
1372 using DestructorSkippable_ = void;
1374 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1375 inline explicit Impl_(
1376 ::google::protobuf::internal::InternalVisibility visibility,
1377 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1378 inline explicit Impl_(
1379 ::google::protobuf::internal::InternalVisibility visibility,
1380 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1382 ::google::protobuf::internal::HasBits<1> _has_bits_;
1383 ::google::protobuf::internal::CachedSize _cached_size_;
1385 PROTOBUF_TSAN_DECLARE_MEMBER
1387 union { Impl_ _impl_; };
1388 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1400#if defined(PROTOBUF_CUSTOM_VTABLE)
1407 template <
typename =
void>
1408 explicit PROTOBUF_CONSTEXPR
SolveResultProto(::google::protobuf::internal::ConstantInitialized);
1411 inline SolveResultProto(SolveResultProto&& from) noexcept
1412 : SolveResultProto(
nullptr, ::std::move(from)) {}
1413 inline SolveResultProto& operator=(
const SolveResultProto& from) {
1418 if (
this == &from)
return *
this;
1419 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1420 InternalSwap(&from);
1427 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1429 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1431 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1432 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1433 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1436 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1437 return GetDescriptor();
1439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1440 return default_instance().GetMetadata().descriptor;
1442 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1455 static constexpr int kIndexInFileMessages = 5;
1458 if (other ==
this)
return;
1459 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1460 InternalSwap(other);
1462 ::google::protobuf::internal::GenericSwap(
this, other);
1466 if (other ==
this)
return;
1467 ABSL_DCHECK(GetArena() == other->GetArena());
1468 InternalSwap(other);
1473 SolveResultProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1474 return ::google::protobuf::Message::DefaultConstruct<SolveResultProto>(arena);
1476 using ::google::protobuf::Message::CopyFrom;
1478 using ::google::protobuf::Message::MergeFrom;
1479 void MergeFrom(
const SolveResultProto& from) { SolveResultProto::MergeImpl(*
this, from); }
1482 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1483 const ::google::protobuf::MessageLite& from_msg);
1489 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1490 #if defined(PROTOBUF_CUSTOM_VTABLE)
1492 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1494 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1495 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1499 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1500 ::uint8_t* PROTOBUF_NONNULL target,
1501 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1502 return _InternalSerialize(*
this, target, stream);
1505 ::size_t ByteSizeLong() const final;
1506 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1507 ::uint8_t* PROTOBUF_NONNULL target,
1508 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1510 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1513 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1514 static void SharedDtor(MessageLite& self);
1515 void InternalSwap(SolveResultProto* PROTOBUF_NONNULL other);
1517 template <
typename T>
1519 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveResultProto"; }
1521 explicit SolveResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1524 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SolveResultProto&& from) noexcept
1526 *
this = ::std::move(from);
1528 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1529 static
void* PROTOBUF_NONNULL PlacementNew_(
1530 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1531 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1532 static constexpr auto InternalNewImpl_();
1535 static constexpr auto InternalGenerateClassData_();
1537 ::
google::protobuf::Metadata GetMetadata() const;
1539 using PdlpOutput = SolveResultProto_PdlpOutput;
1543 kSolutionsFieldNumber = 3,
1544 kPrimalRaysFieldNumber = 4,
1545 kDualRaysFieldNumber = 5,
1555 int _internal_solutions_size()
const;
1560 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL
mutable_solutions();
1563 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>& _internal_solutions()
const;
1564 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL _internal_mutable_solutions();
1566 const ::operations_research::math_opt::SolutionProto&
solutions(
int index)
const;
1568 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
solutions()
const;
1572 int _internal_primal_rays_size()
const;
1577 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL
mutable_primal_rays();
1580 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>& _internal_primal_rays()
const;
1581 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL _internal_mutable_primal_rays();
1583 const ::operations_research::math_opt::PrimalRayProto&
primal_rays(
int index)
const;
1585 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>&
primal_rays()
const;
1589 int _internal_dual_rays_size()
const;
1594 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL
mutable_dual_rays();
1597 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>& _internal_dual_rays()
const;
1598 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL _internal_mutable_dual_rays();
1600 const ::operations_research::math_opt::DualRayProto&
dual_rays(
int index)
const;
1602 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
dual_rays()
const;
1606 const ::operations_research::math_opt::TerminationProto&
termination()
const;
1614 const ::operations_research::math_opt::TerminationProto& _internal_termination()
const;
1621 const ::operations_research::math_opt::SolveStatsProto&
solve_stats()
const;
1629 const ::operations_research::math_opt::SolveStatsProto& _internal_solve_stats()
const;
1636 bool _internal_has_gscip_output()
const;
1640 const ::operations_research::GScipOutput&
gscip_output()
const;
1648 const ::operations_research::GScipOutput& _internal_gscip_output()
const;
1655 bool _internal_has_osqp_output()
const;
1659 const ::operations_research::math_opt::OsqpOutput&
osqp_output()
const;
1667 const ::operations_research::math_opt::OsqpOutput& _internal_osqp_output()
const;
1674 bool _internal_has_pdlp_output()
const;
1678 const ::operations_research::math_opt::SolveResultProto_PdlpOutput&
pdlp_output()
const;
1686 const ::operations_research::math_opt::SolveResultProto_PdlpOutput& _internal_pdlp_output()
const;
1695 void set_has_gscip_output();
1696 void set_has_osqp_output();
1697 void set_has_pdlp_output();
1698 inline bool has_solver_specific_output()
const;
1699 inline void clear_has_solver_specific_output();
1700 friend class ::google::protobuf::internal::TcParser;
1701 static const ::google::protobuf::internal::TcParseTable<3, 8,
1706 friend class ::google::protobuf::MessageLite;
1707 friend class ::google::protobuf::Arena;
1708 template <
typename T>
1709 friend class ::google::protobuf::Arena::InternalHelper;
1710 using InternalArenaConstructable_ = void;
1711 using DestructorSkippable_ = void;
1713 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1714 inline explicit Impl_(
1715 ::google::protobuf::internal::InternalVisibility visibility,
1716 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1717 inline explicit Impl_(
1718 ::google::protobuf::internal::InternalVisibility visibility,
1719 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1721 ::google::protobuf::internal::HasBits<1> _has_bits_;
1722 ::google::protobuf::internal::CachedSize _cached_size_;
1723 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SolutionProto > solutions_;
1724 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::PrimalRayProto > primal_rays_;
1725 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::DualRayProto > dual_rays_;
1728 union SolverSpecificOutputUnion {
1729 constexpr SolverSpecificOutputUnion() : _constinit_{} {}
1730 ::google::protobuf::internal::ConstantInitialized _constinit_;
1731 ::google::protobuf::Message* PROTOBUF_NULLABLE gscip_output_;
1732 ::google::protobuf::Message* PROTOBUF_NULLABLE osqp_output_;
1733 ::google::protobuf::Message* PROTOBUF_NULLABLE pdlp_output_;
1734 } solver_specific_output_;
1735 ::uint32_t _oneof_case_[1];
1736 PROTOBUF_TSAN_DECLARE_MEMBER
1739 friend struct ::TableStruct_ortools_2fmath_5fopt_2fresult_2eproto;
1753#pragma GCC diagnostic push
1754#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1762 ::google::protobuf::internal::TSanWrite(&
_impl_);
1763 _impl_.primal_status_ = 0;
1764 ClearHasBit(
_impl_._has_bits_[0],
1769 return _internal_primal_status();
1772 _internal_set_primal_status(value);
1773 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1776inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_primal_status()
const {
1777 ::google::protobuf::internal::TSanRead(&
_impl_);
1781 ::google::protobuf::internal::TSanWrite(&
_impl_);
1782 _impl_.primal_status_ = value;
1787 ::google::protobuf::internal::TSanWrite(&
_impl_);
1789 ClearHasBit(
_impl_._has_bits_[0],
1794 return _internal_dual_status();
1797 _internal_set_dual_status(value);
1798 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
1801inline ::operations_research::math_opt::FeasibilityStatusProto ProblemStatusProto::_internal_dual_status()
const {
1802 ::google::protobuf::internal::TSanRead(&
_impl_);
1806 ::google::protobuf::internal::TSanWrite(&
_impl_);
1807 _impl_.dual_status_ = value;
1812 ::google::protobuf::internal::TSanWrite(&
_impl_);
1813 _impl_.primal_or_dual_infeasible_ =
false;
1814 ClearHasBit(
_impl_._has_bits_[0],
1819 return _internal_primal_or_dual_infeasible();
1822 _internal_set_primal_or_dual_infeasible(value);
1823 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
1826inline bool ProblemStatusProto::_internal_primal_or_dual_infeasible()
const {
1827 ::google::protobuf::internal::TSanRead(&
_impl_);
1828 return _impl_.primal_or_dual_infeasible_;
1830inline void ProblemStatusProto::_internal_set_primal_or_dual_infeasible(
bool value) {
1831 ::google::protobuf::internal::TSanWrite(&
_impl_);
1832 _impl_.primal_or_dual_infeasible_ = value;
1841 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
1842 PROTOBUF_ASSUME(!value ||
_impl_.solve_time_ !=
nullptr);
1845inline const ::google::protobuf::Duration& SolveStatsProto::_internal_solve_time()
const {
1846 ::google::protobuf::internal::TSanRead(&
_impl_);
1847 const ::google::protobuf::Duration* p =
_impl_.solve_time_;
1848 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Duration&
>(::google::protobuf::_Duration_default_instance_);
1852 return _internal_solve_time();
1855 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1856 ::google::protobuf::internal::TSanWrite(&
_impl_);
1857 if (GetArena() ==
nullptr) {
1858 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_time_);
1860 _impl_.solve_time_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
1861 if (value !=
nullptr) {
1862 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1864 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
1869 ::google::protobuf::internal::TSanWrite(&
_impl_);
1871 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
1872 ::google::protobuf::Duration* released =
_impl_.solve_time_;
1873 _impl_.solve_time_ =
nullptr;
1874 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1875 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
1876 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1877 if (GetArena() ==
nullptr) {
1881 if (GetArena() !=
nullptr) {
1882 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1888 ::google::protobuf::internal::TSanWrite(&
_impl_);
1891 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
1892 ::google::protobuf::Duration* temp =
_impl_.solve_time_;
1893 _impl_.solve_time_ =
nullptr;
1896inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveStatsProto::_internal_mutable_solve_time() {
1897 ::google::protobuf::internal::TSanWrite(&
_impl_);
1899 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1900 _impl_.solve_time_ =
reinterpret_cast<::google::protobuf::Duration*
>(p);
1902 return _impl_.solve_time_;
1905 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1906 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1907 ::google::protobuf::Duration* _msg = _internal_mutable_solve_time();
1912 ::google::protobuf::Arena* message_arena = GetArena();
1913 ::google::protobuf::internal::TSanWrite(&
_impl_);
1914 if (message_arena ==
nullptr) {
1915 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_time_);
1918 if (value !=
nullptr) {
1919 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
1920 if (message_arena != submessage_arena) {
1921 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1923 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
1925 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
1928 _impl_.solve_time_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
1934 ::google::protobuf::internal::TSanWrite(&
_impl_);
1935 _impl_.best_primal_bound_ = 0;
1936 ClearHasBit(
_impl_._has_bits_[0],
1941 return _internal_best_primal_bound();
1944 _internal_set_best_primal_bound(value);
1945 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
1948inline double SolveStatsProto::_internal_best_primal_bound()
const {
1949 ::google::protobuf::internal::TSanRead(&
_impl_);
1952inline void SolveStatsProto::_internal_set_best_primal_bound(
double value) {
1953 ::google::protobuf::internal::TSanWrite(&
_impl_);
1959 ::google::protobuf::internal::TSanWrite(&
_impl_);
1960 _impl_.best_dual_bound_ = 0;
1961 ClearHasBit(
_impl_._has_bits_[0],
1966 return _internal_best_dual_bound();
1969 _internal_set_best_dual_bound(value);
1970 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
1973inline double SolveStatsProto::_internal_best_dual_bound()
const {
1974 ::google::protobuf::internal::TSanRead(&
_impl_);
1977inline void SolveStatsProto::_internal_set_best_dual_bound(
double value) {
1978 ::google::protobuf::internal::TSanWrite(&
_impl_);
1984 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
1985 PROTOBUF_ASSUME(!value ||
_impl_.problem_status_ !=
nullptr);
1989 ::google::protobuf::internal::TSanWrite(&
_impl_);
1991 ClearHasBit(
_impl_._has_bits_[0],
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 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2013 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2018 ::google::protobuf::internal::TSanWrite(&
_impl_);
2020 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2022 _impl_.problem_status_ =
nullptr;
2023 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2024 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2025 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2026 if (GetArena() ==
nullptr) {
2030 if (GetArena() !=
nullptr) {
2031 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2037 ::google::protobuf::internal::TSanWrite(&
_impl_);
2040 ClearHasBit(
_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 SetHasBit(
_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 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2074 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2083 ::google::protobuf::internal::TSanWrite(&
_impl_);
2084 _impl_.simplex_iterations_ = ::int64_t{0};
2085 ClearHasBit(
_impl_._has_bits_[0],
2090 return _internal_simplex_iterations();
2093 _internal_set_simplex_iterations(value);
2094 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2097inline ::int64_t SolveStatsProto::_internal_simplex_iterations()
const {
2098 ::google::protobuf::internal::TSanRead(&
_impl_);
2101inline void SolveStatsProto::_internal_set_simplex_iterations(::int64_t value) {
2102 ::google::protobuf::internal::TSanWrite(&
_impl_);
2108 ::google::protobuf::internal::TSanWrite(&
_impl_);
2109 _impl_.barrier_iterations_ = ::int64_t{0};
2110 ClearHasBit(
_impl_._has_bits_[0],
2115 return _internal_barrier_iterations();
2118 _internal_set_barrier_iterations(value);
2119 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
2122inline ::int64_t SolveStatsProto::_internal_barrier_iterations()
const {
2123 ::google::protobuf::internal::TSanRead(&
_impl_);
2126inline void SolveStatsProto::_internal_set_barrier_iterations(::int64_t value) {
2127 ::google::protobuf::internal::TSanWrite(&
_impl_);
2133 ::google::protobuf::internal::TSanWrite(&
_impl_);
2134 _impl_.first_order_iterations_ = ::int64_t{0};
2135 ClearHasBit(
_impl_._has_bits_[0],
2140 return _internal_first_order_iterations();
2143 _internal_set_first_order_iterations(value);
2144 SetHasBit(
_impl_._has_bits_[0], 0x00000080U);
2147inline ::int64_t SolveStatsProto::_internal_first_order_iterations()
const {
2148 ::google::protobuf::internal::TSanRead(&
_impl_);
2151inline void SolveStatsProto::_internal_set_first_order_iterations(::int64_t value) {
2152 ::google::protobuf::internal::TSanWrite(&
_impl_);
2158 ::google::protobuf::internal::TSanWrite(&
_impl_);
2159 _impl_.node_count_ = ::int64_t{0};
2160 ClearHasBit(
_impl_._has_bits_[0],
2165 return _internal_node_count();
2168 _internal_set_node_count(value);
2169 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
2172inline ::int64_t SolveStatsProto::_internal_node_count()
const {
2173 ::google::protobuf::internal::TSanRead(&
_impl_);
2176inline void SolveStatsProto::_internal_set_node_count(::int64_t value) {
2177 ::google::protobuf::internal::TSanWrite(&
_impl_);
2187 ::google::protobuf::internal::TSanWrite(&
_impl_);
2188 _impl_.primal_bound_ = 0;
2189 ClearHasBit(
_impl_._has_bits_[0],
2194 return _internal_primal_bound();
2197 _internal_set_primal_bound(value);
2198 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2201inline double ObjectiveBoundsProto::_internal_primal_bound()
const {
2202 ::google::protobuf::internal::TSanRead(&
_impl_);
2203 return _impl_.primal_bound_;
2205inline void ObjectiveBoundsProto::_internal_set_primal_bound(
double value) {
2206 ::google::protobuf::internal::TSanWrite(&
_impl_);
2207 _impl_.primal_bound_ = value;
2212 ::google::protobuf::internal::TSanWrite(&
_impl_);
2214 ClearHasBit(
_impl_._has_bits_[0],
2219 return _internal_dual_bound();
2222 _internal_set_dual_bound(value);
2223 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2226inline double ObjectiveBoundsProto::_internal_dual_bound()
const {
2227 ::google::protobuf::internal::TSanRead(&
_impl_);
2228 return _impl_.dual_bound_;
2230inline void ObjectiveBoundsProto::_internal_set_dual_bound(
double value) {
2231 ::google::protobuf::internal::TSanWrite(&
_impl_);
2232 _impl_.dual_bound_ = value;
2241 ::google::protobuf::internal::TSanWrite(&
_impl_);
2243 ClearHasBit(
_impl_._has_bits_[0],
2248 return _internal_reason();
2251 _internal_set_reason(value);
2252 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2255inline ::operations_research::math_opt::TerminationReasonProto TerminationProto::_internal_reason()
const {
2256 ::google::protobuf::internal::TSanRead(&
_impl_);
2260 ::google::protobuf::internal::TSanWrite(&
_impl_);
2266 ::google::protobuf::internal::TSanWrite(&
_impl_);
2268 ClearHasBit(
_impl_._has_bits_[0],
2273 return _internal_limit();
2276 _internal_set_limit(value);
2277 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2280inline ::operations_research::math_opt::LimitProto TerminationProto::_internal_limit()
const {
2281 ::google::protobuf::internal::TSanRead(&
_impl_);
2285 ::google::protobuf::internal::TSanWrite(&
_impl_);
2291 ::google::protobuf::internal::TSanWrite(&
_impl_);
2292 _impl_.detail_.ClearToEmpty();
2293 ClearHasBit(
_impl_._has_bits_[0],
2297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2299 return _internal_detail();
2301template <
typename Arg_,
typename... Args_>
2303 ::google::protobuf::internal::TSanWrite(&
_impl_);
2304 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2305 _impl_.detail_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
2309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2310 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2311 ::std::string* _s = _internal_mutable_detail();
2315inline const ::std::string& TerminationProto::_internal_detail()
const {
2316 ::google::protobuf::internal::TSanRead(&
_impl_);
2317 return _impl_.detail_.Get();
2319inline void TerminationProto::_internal_set_detail(const ::std::string& value) {
2320 ::google::protobuf::internal::TSanWrite(&
_impl_);
2323inline ::std::string* PROTOBUF_NONNULL TerminationProto::_internal_mutable_detail() {
2324 ::google::protobuf::internal::TSanWrite(&
_impl_);
2325 return _impl_.detail_.Mutable( GetArena());
2328 ::google::protobuf::internal::TSanWrite(&
_impl_);
2330 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
2333 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2334 auto* released =
_impl_.detail_.Release();
2335 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2336 _impl_.detail_.Set(
"", GetArena());
2341 ::google::protobuf::internal::TSanWrite(&
_impl_);
2342 if (value !=
nullptr) {
2343 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2345 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2347 _impl_.detail_.SetAllocated(value, GetArena());
2348 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.detail_.IsDefault()) {
2349 _impl_.detail_.Set(
"", GetArena());
2356 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
2357 PROTOBUF_ASSUME(!value ||
_impl_.problem_status_ !=
nullptr);
2361 ::google::protobuf::internal::TSanWrite(&
_impl_);
2363 ClearHasBit(
_impl_._has_bits_[0],
2366inline const ::operations_research::math_opt::ProblemStatusProto& TerminationProto::_internal_problem_status()
const {
2367 ::google::protobuf::internal::TSanRead(&
_impl_);
2368 const ::operations_research::math_opt::ProblemStatusProto* p =
_impl_.problem_status_;
2373 return _internal_problem_status();
2377 ::google::protobuf::internal::TSanWrite(&
_impl_);
2378 if (GetArena() ==
nullptr) {
2379 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.problem_status_);
2382 if (value !=
nullptr) {
2383 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2385 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2390 ::google::protobuf::internal::TSanWrite(&
_impl_);
2392 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2394 _impl_.problem_status_ =
nullptr;
2395 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2396 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2397 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2398 if (GetArena() ==
nullptr) {
2402 if (GetArena() !=
nullptr) {
2403 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2409 ::google::protobuf::internal::TSanWrite(&
_impl_);
2412 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2414 _impl_.problem_status_ =
nullptr;
2417inline ::operations_research::math_opt::ProblemStatusProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_problem_status() {
2418 ::google::protobuf::internal::TSanWrite(&
_impl_);
2419 if (
_impl_.problem_status_ ==
nullptr) {
2420 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ProblemStatusProto>(GetArena());
2423 return _impl_.problem_status_;
2426 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2427 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2433 ::google::protobuf::Arena* message_arena = GetArena();
2434 ::google::protobuf::internal::TSanWrite(&
_impl_);
2435 if (message_arena ==
nullptr) {
2436 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.problem_status_);
2439 if (value !=
nullptr) {
2441 if (message_arena != submessage_arena) {
2442 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2444 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2446 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2455 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
2456 PROTOBUF_ASSUME(!value ||
_impl_.objective_bounds_ !=
nullptr);
2460 ::google::protobuf::internal::TSanWrite(&
_impl_);
2461 if (
_impl_.objective_bounds_ !=
nullptr)
_impl_.objective_bounds_->Clear();
2462 ClearHasBit(
_impl_._has_bits_[0],
2465inline const ::operations_research::math_opt::ObjectiveBoundsProto& TerminationProto::_internal_objective_bounds()
const {
2466 ::google::protobuf::internal::TSanRead(&
_impl_);
2467 const ::operations_research::math_opt::ObjectiveBoundsProto* p =
_impl_.objective_bounds_;
2472 return _internal_objective_bounds();
2476 ::google::protobuf::internal::TSanWrite(&
_impl_);
2477 if (GetArena() ==
nullptr) {
2478 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.objective_bounds_);
2481 if (value !=
nullptr) {
2482 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2484 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2489 ::google::protobuf::internal::TSanWrite(&
_impl_);
2491 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2493 _impl_.objective_bounds_ =
nullptr;
2494 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2495 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2496 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2497 if (GetArena() ==
nullptr) {
2501 if (GetArena() !=
nullptr) {
2502 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2508 ::google::protobuf::internal::TSanWrite(&
_impl_);
2511 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2513 _impl_.objective_bounds_ =
nullptr;
2516inline ::operations_research::math_opt::ObjectiveBoundsProto* PROTOBUF_NONNULL TerminationProto::_internal_mutable_objective_bounds() {
2517 ::google::protobuf::internal::TSanWrite(&
_impl_);
2518 if (
_impl_.objective_bounds_ ==
nullptr) {
2519 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveBoundsProto>(GetArena());
2522 return _impl_.objective_bounds_;
2525 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2526 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2532 ::google::protobuf::Arena* message_arena = GetArena();
2533 ::google::protobuf::internal::TSanWrite(&
_impl_);
2534 if (message_arena ==
nullptr) {
2535 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.objective_bounds_);
2538 if (value !=
nullptr) {
2540 if (message_arena != submessage_arena) {
2541 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2543 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
2545 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
2558 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
2559 PROTOBUF_ASSUME(!value ||
_impl_.convergence_information_ !=
nullptr);
2562inline const ::operations_research::pdlp::ConvergenceInformation& SolveResultProto_PdlpOutput::_internal_convergence_information()
const {
2563 ::google::protobuf::internal::TSanRead(&
_impl_);
2564 const ::operations_research::pdlp::ConvergenceInformation* p =
_impl_.convergence_information_;
2569 return _internal_convergence_information();
2573 ::google::protobuf::internal::TSanWrite(&
_impl_);
2574 if (GetArena() ==
nullptr) {
2575 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.convergence_information_);
2578 if (value !=
nullptr) {
2579 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2581 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2586 ::google::protobuf::internal::TSanWrite(&
_impl_);
2588 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2590 _impl_.convergence_information_ =
nullptr;
2591 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2592 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2593 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2594 if (GetArena() ==
nullptr) {
2598 if (GetArena() !=
nullptr) {
2599 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2605 ::google::protobuf::internal::TSanWrite(&
_impl_);
2608 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2610 _impl_.convergence_information_ =
nullptr;
2613inline ::operations_research::pdlp::ConvergenceInformation* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::_internal_mutable_convergence_information() {
2614 ::google::protobuf::internal::TSanWrite(&
_impl_);
2615 if (
_impl_.convergence_information_ ==
nullptr) {
2616 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::ConvergenceInformation>(GetArena());
2617 _impl_.convergence_information_ =
reinterpret_cast<::operations_research::pdlp::ConvergenceInformation*
>(p);
2619 return _impl_.convergence_information_;
2622 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2623 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2629 ::google::protobuf::Arena* message_arena = GetArena();
2630 ::google::protobuf::internal::TSanWrite(&
_impl_);
2631 if (message_arena ==
nullptr) {
2632 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.convergence_information_);
2635 if (value !=
nullptr) {
2637 if (message_arena != submessage_arena) {
2638 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2640 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
2642 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
2655 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000008U);
2656 PROTOBUF_ASSUME(!value ||
_impl_.termination_ !=
nullptr);
2660 ::google::protobuf::internal::TSanWrite(&
_impl_);
2662 ClearHasBit(
_impl_._has_bits_[0],
2665inline const ::operations_research::math_opt::TerminationProto& SolveResultProto::_internal_termination()
const {
2666 ::google::protobuf::internal::TSanRead(&
_impl_);
2667 const ::operations_research::math_opt::TerminationProto* p =
_impl_.termination_;
2672 return _internal_termination();
2676 ::google::protobuf::internal::TSanWrite(&
_impl_);
2677 if (GetArena() ==
nullptr) {
2678 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.termination_);
2681 if (value !=
nullptr) {
2682 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2684 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2689 ::google::protobuf::internal::TSanWrite(&
_impl_);
2691 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2693 _impl_.termination_ =
nullptr;
2694 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2695 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2696 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2697 if (GetArena() ==
nullptr) {
2701 if (GetArena() !=
nullptr) {
2702 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2708 ::google::protobuf::internal::TSanWrite(&
_impl_);
2711 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2713 _impl_.termination_ =
nullptr;
2716inline ::operations_research::math_opt::TerminationProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_termination() {
2717 ::google::protobuf::internal::TSanWrite(&
_impl_);
2718 if (
_impl_.termination_ ==
nullptr) {
2719 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::TerminationProto>(GetArena());
2720 _impl_.termination_ =
reinterpret_cast<::operations_research::math_opt::TerminationProto*
>(p);
2725 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2726 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2732 ::google::protobuf::Arena* message_arena = GetArena();
2733 ::google::protobuf::internal::TSanWrite(&
_impl_);
2734 if (message_arena ==
nullptr) {
2735 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.termination_);
2738 if (value !=
nullptr) {
2740 if (message_arena != submessage_arena) {
2741 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2743 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
2745 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
2753inline int SolveResultProto::_internal_solutions_size()
const {
2754 return _internal_solutions().size();
2757 return _internal_solutions_size();
2760 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2762 return _internal_mutable_solutions()->Mutable(index);
2765 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2766 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2768 ::google::protobuf::internal::TSanWrite(&
_impl_);
2769 return _internal_mutable_solutions();
2772 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2774 return _internal_solutions().Get(index);
2777 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2778 ::google::protobuf::internal::TSanWrite(&
_impl_);
2780 _internal_mutable_solutions()->InternalAddWithArena(
2781 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2782 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2787 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2789 return _internal_solutions();
2791inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>&
2792SolveResultProto::_internal_solutions()
const {
2793 ::google::protobuf::internal::TSanRead(&
_impl_);
2794 return _impl_.solutions_;
2796inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SolutionProto>* PROTOBUF_NONNULL
2797SolveResultProto::_internal_mutable_solutions() {
2798 ::google::protobuf::internal::TSanRead(&
_impl_);
2799 return &
_impl_.solutions_;
2803inline int SolveResultProto::_internal_primal_rays_size()
const {
2804 return _internal_primal_rays().size();
2807 return _internal_primal_rays_size();
2810 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2812 return _internal_mutable_primal_rays()->Mutable(index);
2815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2816 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2818 ::google::protobuf::internal::TSanWrite(&
_impl_);
2819 return _internal_mutable_primal_rays();
2822 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2824 return _internal_primal_rays().Get(index);
2827 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2828 ::google::protobuf::internal::TSanWrite(&
_impl_);
2830 _internal_mutable_primal_rays()->InternalAddWithArena(
2831 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2832 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2837 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2839 return _internal_primal_rays();
2841inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>&
2842SolveResultProto::_internal_primal_rays()
const {
2843 ::google::protobuf::internal::TSanRead(&
_impl_);
2844 return _impl_.primal_rays_;
2846inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::PrimalRayProto>* PROTOBUF_NONNULL
2847SolveResultProto::_internal_mutable_primal_rays() {
2848 ::google::protobuf::internal::TSanRead(&
_impl_);
2849 return &
_impl_.primal_rays_;
2853inline int SolveResultProto::_internal_dual_rays_size()
const {
2854 return _internal_dual_rays().size();
2857 return _internal_dual_rays_size();
2860 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2862 return _internal_mutable_dual_rays()->Mutable(index);
2865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2866 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2868 ::google::protobuf::internal::TSanWrite(&
_impl_);
2869 return _internal_mutable_dual_rays();
2872 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2874 return _internal_dual_rays().Get(index);
2877 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2878 ::google::protobuf::internal::TSanWrite(&
_impl_);
2880 _internal_mutable_dual_rays()->InternalAddWithArena(
2881 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2882 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2887 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2889 return _internal_dual_rays();
2891inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>&
2892SolveResultProto::_internal_dual_rays()
const {
2893 ::google::protobuf::internal::TSanRead(&
_impl_);
2894 return _impl_.dual_rays_;
2896inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto>* PROTOBUF_NONNULL
2897SolveResultProto::_internal_mutable_dual_rays() {
2898 ::google::protobuf::internal::TSanRead(&
_impl_);
2899 return &
_impl_.dual_rays_;
2904 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000010U);
2905 PROTOBUF_ASSUME(!value ||
_impl_.solve_stats_ !=
nullptr);
2909 ::google::protobuf::internal::TSanWrite(&
_impl_);
2911 ClearHasBit(
_impl_._has_bits_[0],
2914inline const ::operations_research::math_opt::SolveStatsProto& SolveResultProto::_internal_solve_stats()
const {
2915 ::google::protobuf::internal::TSanRead(&
_impl_);
2916 const ::operations_research::math_opt::SolveStatsProto* p =
_impl_.solve_stats_;
2921 return _internal_solve_stats();
2925 ::google::protobuf::internal::TSanWrite(&
_impl_);
2926 if (GetArena() ==
nullptr) {
2927 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_stats_);
2930 if (value !=
nullptr) {
2931 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2933 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
2938 ::google::protobuf::internal::TSanWrite(&
_impl_);
2940 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
2942 _impl_.solve_stats_ =
nullptr;
2943 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2944 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2945 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2946 if (GetArena() ==
nullptr) {
2950 if (GetArena() !=
nullptr) {
2951 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2957 ::google::protobuf::internal::TSanWrite(&
_impl_);
2960 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
2962 _impl_.solve_stats_ =
nullptr;
2965inline ::operations_research::math_opt::SolveStatsProto* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_solve_stats() {
2966 ::google::protobuf::internal::TSanWrite(&
_impl_);
2967 if (
_impl_.solve_stats_ ==
nullptr) {
2968 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveStatsProto>(GetArena());
2969 _impl_.solve_stats_ =
reinterpret_cast<::operations_research::math_opt::SolveStatsProto*
>(p);
2974 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2975 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2981 ::google::protobuf::Arena* message_arena = GetArena();
2982 ::google::protobuf::internal::TSanWrite(&
_impl_);
2983 if (message_arena ==
nullptr) {
2984 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_stats_);
2987 if (value !=
nullptr) {
2989 if (message_arena != submessage_arena) {
2990 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2992 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
2994 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
3005inline bool SolveResultProto::_internal_has_gscip_output()
const {
3008inline void SolveResultProto::set_has_gscip_output() {
3014 clear_has_solver_specific_output();
3015 auto* temp =
reinterpret_cast<::operations_research::GScipOutput*
>(
_impl_.solver_specific_output_.gscip_output_);
3016 if (GetArena() !=
nullptr) {
3017 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3025inline const ::operations_research::GScipOutput& SolveResultProto::_internal_gscip_output()
const {
3031 return _internal_gscip_output();
3036 clear_has_solver_specific_output();
3051 set_has_gscip_output();
3052 _impl_.solver_specific_output_.gscip_output_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3056inline ::operations_research::GScipOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_gscip_output() {
3059 set_has_gscip_output();
3060 _impl_.solver_specific_output_.gscip_output_ =
reinterpret_cast<::google::protobuf::Message*
>(
3061 ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipOutput>(GetArena()));
3066 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3076inline bool SolveResultProto::_internal_has_osqp_output()
const {
3079inline void SolveResultProto::set_has_osqp_output() {
3085 clear_has_solver_specific_output();
3087 if (GetArena() !=
nullptr) {
3088 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3096inline const ::operations_research::math_opt::OsqpOutput& SolveResultProto::_internal_osqp_output()
const {
3102 return _internal_osqp_output();
3107 clear_has_solver_specific_output();
3122 set_has_osqp_output();
3123 _impl_.solver_specific_output_.osqp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3127inline ::operations_research::math_opt::OsqpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_osqp_output() {
3130 set_has_osqp_output();
3131 _impl_.solver_specific_output_.osqp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(
3132 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpOutput>(GetArena()));
3137 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3147inline bool SolveResultProto::_internal_has_pdlp_output()
const {
3150inline void SolveResultProto::set_has_pdlp_output() {
3154 ::google::protobuf::internal::TSanWrite(&
_impl_);
3156 if (GetArena() ==
nullptr) {
3158 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
3159 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.pdlp_output_);
3161 clear_has_solver_specific_output();
3167 clear_has_solver_specific_output();
3169 if (GetArena() !=
nullptr) {
3170 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
3178inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput& SolveResultProto::_internal_pdlp_output()
const {
3182inline const ::operations_research::math_opt::SolveResultProto_PdlpOutput&
SolveResultProto::pdlp_output() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3184 return _internal_pdlp_output();
3189 clear_has_solver_specific_output();
3204 set_has_pdlp_output();
3205 _impl_.solver_specific_output_.pdlp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
3209inline ::operations_research::math_opt::SolveResultProto_PdlpOutput* PROTOBUF_NONNULL SolveResultProto::_internal_mutable_pdlp_output() {
3212 set_has_pdlp_output();
3213 _impl_.solver_specific_output_.pdlp_output_ =
reinterpret_cast<::google::protobuf::Message*
>(
3214 ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SolveResultProto_PdlpOutput>(GetArena()));
3219 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3225inline bool SolveResultProto::has_solver_specific_output()
const {
3228inline void SolveResultProto::clear_has_solver_specific_output() {
3235#pragma GCC diagnostic pop
3250 return ::operations_research::math_opt::FeasibilityStatusProto_descriptor();
3256 return ::operations_research::math_opt::TerminationReasonProto_descriptor();
3262 return ::operations_research::math_opt::LimitProto_descriptor();
3270#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()
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()
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()
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
void CopyFrom(const ProblemStatusProto &from)
bool primal_or_dual_infeasible() const
void Swap(ProblemStatusProto *PROTOBUF_NONNULL other)
@ kPrimalOrDualInfeasibleFieldNumber
void clear_primal_status()
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
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
::operations_research::pdlp::ConvergenceInformation *PROTOBUF_NULLABLE release_convergence_information()
SolveResultProto_PdlpOutput *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
bool has_convergence_information() const
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 const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
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
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)
static const SolveResultProto & default_instance()
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::DualRayProto > *PROTOBUF_NONNULL mutable_dual_rays()
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
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
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::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
bool has_pdlp_output() const
::operations_research::math_opt::PrimalRayProto *PROTOBUF_NONNULL mutable_primal_rays(int index)
void clear_gscip_output()
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 *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
const ::operations_research::GScipOutput & gscip_output() const
int primal_rays_size() const
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
::operations_research::GScipOutput *PROTOBUF_NULLABLE release_gscip_output()
@ SOLVER_SPECIFIC_OUTPUT_NOT_SET
bool IsInitialized() const
const ::operations_research::math_opt::ProblemStatusProto & problem_status() const
double best_primal_bound() const
void set_allocated_solve_time(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void clear_first_order_iterations()
::operations_research::math_opt::ProblemStatusProto *PROTOBUF_NULLABLE release_problem_status()
SolveStatsProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::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
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()
void clear_best_dual_bound()
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)
@ kBarrierIterationsFieldNumber
@ kFirstOrderIterationsFieldNumber
void clear_barrier_iterations()
bool has_problem_status() const
void set_first_order_iterations(::int64_t value)
void set_barrier_iterations(::int64_t value)
bool has_solve_time() const
::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()
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)
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
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 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)
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
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 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 >()
@ 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_
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_