6#ifndef ortools_2fmath_5fopt_2fcallback_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fcallback_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
38#include "google/protobuf/port_def.inc"
40#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fcallback_2eproto OR_PROTO_DLL
99internal::EnumTraitsT<::operations_research::math_opt::CallbackEventProto_internal_data_>
100 internal::EnumTraitsImpl::value<::operations_research::math_opt::CallbackEventProto>;
115 ::std::numeric_limits<::int32_t>::min(),
117 ::std::numeric_limits<::int32_t>::max(),
126 return 0 <= value && value <= 6;
132 static_assert(::std::is_same<T, CallbackEventProto>::value ||
133 ::std::is_integral<T>::value,
134 "Incorrect type passed to CallbackEventProto_Name().");
139 return ::google::protobuf::internal::NameOfDenseEnum<CallbackEventProto_descriptor, 0, 6>(
140 static_cast<int>(value));
153class OR_PROTO_DLL CallbackDataProto_SimplexStats final :
public ::google::protobuf::Message
159#if defined(PROTOBUF_CUSTOM_VTABLE)
166 template <
typename =
void>
177 if (
this == &from)
return *
this;
178 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
186 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
187 ABSL_ATTRIBUTE_LIFETIME_BOUND {
188 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
190 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
191 ABSL_ATTRIBUTE_LIFETIME_BOUND {
192 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
195 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
196 return GetDescriptor();
198 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
199 return default_instance().GetMetadata().descriptor;
201 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
202 return default_instance().GetMetadata().reflection;
208 static constexpr int kIndexInFileMessages = 1;
211 if (other ==
this)
return;
212 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
215 ::google::protobuf::internal::GenericSwap(
this, other);
218 void UnsafeArenaSwap(CallbackDataProto_SimplexStats* PROTOBUF_NONNULL other) {
219 if (other ==
this)
return;
220 ABSL_DCHECK(GetArena() == other->GetArena());
227 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_SimplexStats>(arena);
229 using ::google::protobuf::Message::CopyFrom;
231 using ::google::protobuf::Message::MergeFrom;
235 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
236 const ::google::protobuf::MessageLite& from_msg);
242 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
243 #if defined(PROTOBUF_CUSTOM_VTABLE)
245 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
246 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
247 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
248 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
251 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
252 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
253 ::uint8_t* PROTOBUF_NONNULL target,
254 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
255 return _InternalSerialize(*
this, target, stream);
258 ::size_t ByteSizeLong() const final;
259 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
260 ::uint8_t* PROTOBUF_NONNULL target,
261 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
263 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
266 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
270 template <
typename T>
272 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackDataProto.SimplexStats"; }
280 *
this = ::std::move(from);
282 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
283 static
void* PROTOBUF_NONNULL PlacementNew_(
284 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
285 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
286 static constexpr auto InternalNewImpl_();
289 static constexpr auto InternalGenerateClassData_();
291 ::
google::protobuf::Metadata GetMetadata() const;
296 kIterationCountFieldNumber = 1,
297 kObjectiveValueFieldNumber = 2,
309 ::int64_t _internal_iteration_count()
const;
310 void _internal_set_iteration_count(::int64_t value);
320 double _internal_objective_value()
const;
321 void _internal_set_objective_value(
double value);
331 double _internal_primal_infeasibility()
const;
332 void _internal_set_primal_infeasibility(
double value);
342 double _internal_dual_infeasibility()
const;
343 void _internal_set_dual_infeasibility(
double value);
353 bool _internal_is_pertubated()
const;
354 void _internal_set_is_pertubated(
bool value);
360 friend class ::google::protobuf::internal::TcParser;
361 static const ::google::protobuf::internal::TcParseTable<3, 5,
366 friend class ::google::protobuf::MessageLite;
367 friend class ::google::protobuf::Arena;
368 template <
typename T>
369 friend class ::google::protobuf::Arena::InternalHelper;
370 using InternalArenaConstructable_ = void;
371 using DestructorSkippable_ = void;
373 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
374 inline explicit Impl_(
375 ::google::protobuf::internal::InternalVisibility visibility,
376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
377 inline explicit Impl_(
378 ::google::protobuf::internal::InternalVisibility visibility,
379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
381 ::google::protobuf::internal::HasBits<1> _has_bits_;
382 ::google::protobuf::internal::CachedSize _cached_size_;
383 ::int64_t iteration_count_;
384 double objective_value_;
385 double primal_infeasibility_;
386 double dual_infeasibility_;
388 PROTOBUF_TSAN_DECLARE_MEMBER
390 union { Impl_ _impl_; };
391 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
403#if defined(PROTOBUF_CUSTOM_VTABLE)
410 template <
typename =
void>
421 if (
this == &from)
return *
this;
422 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
430 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
431 ABSL_ATTRIBUTE_LIFETIME_BOUND {
432 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
434 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
435 ABSL_ATTRIBUTE_LIFETIME_BOUND {
436 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
440 return GetDescriptor();
442 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
445 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
452 static constexpr int kIndexInFileMessages = 0;
454 inline void Swap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other) {
455 if (other ==
this)
return;
456 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
459 ::google::protobuf::internal::GenericSwap(
this, other);
462 void UnsafeArenaSwap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other) {
463 if (other ==
this)
return;
464 ABSL_DCHECK(GetArena() == other->GetArena());
471 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_PresolveStats>(arena);
473 using ::google::protobuf::Message::CopyFrom;
475 using ::google::protobuf::Message::MergeFrom;
479 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
480 const ::google::protobuf::MessageLite& from_msg);
486 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
487 #if defined(PROTOBUF_CUSTOM_VTABLE)
489 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
491 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
492 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
496 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
497 ::uint8_t* PROTOBUF_NONNULL target,
498 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
499 return _InternalSerialize(*
this, target, stream);
502 ::size_t ByteSizeLong() const final;
503 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
504 ::uint8_t* PROTOBUF_NONNULL target,
505 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
507 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
510 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
514 template <
typename T>
516 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackDataProto.PresolveStats"; }
524 *
this = ::std::move(from);
526 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
527 static
void* PROTOBUF_NONNULL PlacementNew_(
528 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
529 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
530 static constexpr auto InternalNewImpl_();
533 static constexpr auto InternalGenerateClassData_();
535 ::
google::protobuf::Metadata GetMetadata() const;
540 kRemovedVariablesFieldNumber = 1,
541 kRemovedConstraintsFieldNumber = 2,
542 kBoundChangesFieldNumber = 3,
552 ::int64_t _internal_removed_variables()
const;
553 void _internal_set_removed_variables(::int64_t value);
563 ::int64_t _internal_removed_constraints()
const;
564 void _internal_set_removed_constraints(::int64_t value);
574 ::int64_t _internal_bound_changes()
const;
575 void _internal_set_bound_changes(::int64_t value);
585 ::int64_t _internal_coefficient_changes()
const;
586 void _internal_set_coefficient_changes(::int64_t value);
592 friend class ::google::protobuf::internal::TcParser;
593 static const ::google::protobuf::internal::TcParseTable<2, 4,
598 friend class ::google::protobuf::MessageLite;
599 friend class ::google::protobuf::Arena;
600 template <
typename T>
601 friend class ::google::protobuf::Arena::InternalHelper;
602 using InternalArenaConstructable_ = void;
603 using DestructorSkippable_ = void;
605 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
606 inline explicit Impl_(
607 ::google::protobuf::internal::InternalVisibility visibility,
608 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
609 inline explicit Impl_(
610 ::google::protobuf::internal::InternalVisibility visibility,
611 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
613 ::google::protobuf::internal::HasBits<1> _has_bits_;
614 ::google::protobuf::internal::CachedSize _cached_size_;
615 ::int64_t removed_variables_;
616 ::int64_t removed_constraints_;
617 ::int64_t bound_changes_;
618 ::int64_t coefficient_changes_;
619 PROTOBUF_TSAN_DECLARE_MEMBER
621 union { Impl_ _impl_; };
622 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
634#if defined(PROTOBUF_CUSTOM_VTABLE)
641 template <
typename =
void>
645 inline CallbackDataProto_MipStats(CallbackDataProto_MipStats&& from) noexcept
652 if (
this == &from)
return *
this;
653 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
661 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
662 ABSL_ATTRIBUTE_LIFETIME_BOUND {
663 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
666 ABSL_ATTRIBUTE_LIFETIME_BOUND {
667 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
670 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
673 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
676 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
686 if (other ==
this)
return;
687 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
690 ::google::protobuf::internal::GenericSwap(
this, other);
693 void UnsafeArenaSwap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other) {
694 if (other ==
this)
return;
695 ABSL_DCHECK(GetArena() == other->GetArena());
702 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_MipStats>(arena);
704 using ::google::protobuf::Message::CopyFrom;
706 using ::google::protobuf::Message::MergeFrom;
710 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
711 const ::google::protobuf::MessageLite& from_msg);
717 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
718 #if defined(PROTOBUF_CUSTOM_VTABLE)
720 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
722 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
723 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
727 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
728 ::uint8_t* PROTOBUF_NONNULL target,
729 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
730 return _InternalSerialize(*
this, target, stream);
733 ::size_t ByteSizeLong() const final;
734 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
735 ::uint8_t* PROTOBUF_NONNULL target,
736 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
738 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
741 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
745 template <
typename T>
747 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackDataProto.MipStats"; }
755 *
this = ::std::move(from);
757 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
758 static
void* PROTOBUF_NONNULL PlacementNew_(
759 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
760 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
761 static constexpr auto InternalNewImpl_();
764 static constexpr auto InternalGenerateClassData_();
766 ::
google::protobuf::Metadata GetMetadata() const;
771 kPrimalBoundFieldNumber = 1,
772 kDualBoundFieldNumber = 2,
773 kExploredNodesFieldNumber = 3,
774 kOpenNodesFieldNumber = 4,
786 double _internal_primal_bound()
const;
787 void _internal_set_primal_bound(
double value);
797 double _internal_dual_bound()
const;
798 void _internal_set_dual_bound(
double value);
808 ::int64_t _internal_explored_nodes()
const;
809 void _internal_set_explored_nodes(::int64_t value);
819 ::int64_t _internal_open_nodes()
const;
820 void _internal_set_open_nodes(::int64_t value);
830 ::int64_t _internal_simplex_iterations()
const;
831 void _internal_set_simplex_iterations(::int64_t value);
841 ::int32_t _internal_number_of_solutions_found()
const;
842 void _internal_set_number_of_solutions_found(::int32_t value);
852 ::int32_t _internal_cutting_planes_in_lp()
const;
853 void _internal_set_cutting_planes_in_lp(::int32_t value);
859 friend class ::google::protobuf::internal::TcParser;
860 static const ::google::protobuf::internal::TcParseTable<3, 7,
865 friend class ::google::protobuf::MessageLite;
866 friend class ::google::protobuf::Arena;
867 template <
typename T>
868 friend class ::google::protobuf::Arena::InternalHelper;
869 using InternalArenaConstructable_ = void;
870 using DestructorSkippable_ = void;
872 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
873 inline explicit Impl_(
874 ::google::protobuf::internal::InternalVisibility visibility,
875 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
876 inline explicit Impl_(
877 ::google::protobuf::internal::InternalVisibility visibility,
878 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
880 ::google::protobuf::internal::HasBits<1> _has_bits_;
881 ::google::protobuf::internal::CachedSize _cached_size_;
882 double primal_bound_;
884 ::int64_t explored_nodes_;
885 ::int64_t open_nodes_;
886 ::int64_t simplex_iterations_;
887 ::int32_t number_of_solutions_found_;
888 ::int32_t cutting_planes_in_lp_;
889 PROTOBUF_TSAN_DECLARE_MEMBER
891 union { Impl_ _impl_; };
892 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
904#if defined(PROTOBUF_CUSTOM_VTABLE)
911 template <
typename =
void>
915 inline CallbackDataProto_BarrierStats(CallbackDataProto_BarrierStats&& from) noexcept
916 : CallbackDataProto_BarrierStats(
nullptr, ::std::move(from)) {}
922 if (
this == &from)
return *
this;
923 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
931 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
932 ABSL_ATTRIBUTE_LIFETIME_BOUND {
933 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
935 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
936 ABSL_ATTRIBUTE_LIFETIME_BOUND {
937 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
940 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
943 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
944 return default_instance().GetMetadata().descriptor;
946 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
947 return default_instance().GetMetadata().reflection;
953 static constexpr int kIndexInFileMessages = 2;
956 if (other ==
this)
return;
957 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
960 ::google::protobuf::internal::GenericSwap(
this, other);
963 void UnsafeArenaSwap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other) {
964 if (other ==
this)
return;
965 ABSL_DCHECK(GetArena() == other->GetArena());
972 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_BarrierStats>(arena);
974 using ::google::protobuf::Message::CopyFrom;
976 using ::google::protobuf::Message::MergeFrom;
980 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
981 const ::google::protobuf::MessageLite& from_msg);
987 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
988 #if defined(PROTOBUF_CUSTOM_VTABLE)
990 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
992 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
993 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
997 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
998 ::uint8_t* PROTOBUF_NONNULL target,
999 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1000 return _InternalSerialize(*
this, target, stream);
1003 ::size_t ByteSizeLong() const final;
1004 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1005 ::uint8_t* PROTOBUF_NONNULL target,
1006 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1008 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1011 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1012 static void SharedDtor(MessageLite& self);
1015 template <
typename T>
1017 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackDataProto.BarrierStats"; }
1025 *
this = ::std::move(from);
1027 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
1029 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1030 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1055 double _internal_primal_objective()
const;
1056 void _internal_set_primal_objective(
double value);
1066 double _internal_dual_objective()
const;
1067 void _internal_set_dual_objective(
double value);
1077 double _internal_complementarity()
const;
1078 void _internal_set_complementarity(
double value);
1088 double _internal_primal_infeasibility()
const;
1089 void _internal_set_primal_infeasibility(
double value);
1099 double _internal_dual_infeasibility()
const;
1100 void _internal_set_dual_infeasibility(
double value);
1110 ::int32_t _internal_iteration_count()
const;
1111 void _internal_set_iteration_count(::int32_t value);
1117 friend class ::google::protobuf::internal::TcParser;
1118 static const ::google::protobuf::internal::TcParseTable<3, 6,
1123 friend class ::google::protobuf::MessageLite;
1124 friend class ::google::protobuf::Arena;
1125 template <
typename T>
1126 friend class ::google::protobuf::Arena::InternalHelper;
1127 using InternalArenaConstructable_ = void;
1128 using DestructorSkippable_ = void;
1130 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1131 inline explicit Impl_(
1132 ::google::protobuf::internal::InternalVisibility visibility,
1133 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1134 inline explicit Impl_(
1135 ::google::protobuf::internal::InternalVisibility visibility,
1136 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1138 ::google::protobuf::internal::HasBits<1> _has_bits_;
1139 ::google::protobuf::internal::CachedSize _cached_size_;
1140 double primal_objective_;
1141 double dual_objective_;
1142 double complementarity_;
1143 double primal_infeasibility_;
1144 double dual_infeasibility_;
1145 ::int32_t iteration_count_;
1146 PROTOBUF_TSAN_DECLARE_MEMBER
1148 union { Impl_ _impl_; };
1149 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1161#if defined(PROTOBUF_CUSTOM_VTABLE)
1168 template <
typename =
void>
1172 inline CallbackResultProto_GeneratedLinearConstraint(CallbackResultProto_GeneratedLinearConstraint&& from) noexcept
1173 : CallbackResultProto_GeneratedLinearConstraint(
nullptr, ::std::move(from)) {}
1174 inline CallbackResultProto_GeneratedLinearConstraint& operator=(
const CallbackResultProto_GeneratedLinearConstraint& from) {
1179 if (
this == &from)
return *
this;
1180 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1181 InternalSwap(&from);
1188 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1190 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1192 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1194 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1197 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1200 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1201 return default_instance().GetMetadata().descriptor;
1210 static constexpr int kIndexInFileMessages = 5;
1213 if (other ==
this)
return;
1214 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1215 InternalSwap(other);
1217 ::google::protobuf::internal::GenericSwap(
this, other);
1220 void UnsafeArenaSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other) {
1221 if (other ==
this)
return;
1222 ABSL_DCHECK(GetArena() == other->GetArena());
1223 InternalSwap(other);
1229 return ::google::protobuf::Message::DefaultConstruct<CallbackResultProto_GeneratedLinearConstraint>(arena);
1231 using ::google::protobuf::Message::CopyFrom;
1233 using ::google::protobuf::Message::MergeFrom;
1237 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1238 const ::google::protobuf::MessageLite& from_msg);
1244 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1245 #if defined(PROTOBUF_CUSTOM_VTABLE)
1249 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1250 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1254 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1255 ::uint8_t* PROTOBUF_NONNULL target,
1256 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1257 return _InternalSerialize(*
this, target, stream);
1260 ::size_t ByteSizeLong() const final;
1261 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1262 ::uint8_t* PROTOBUF_NONNULL target,
1263 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1265 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1268 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1269 static void SharedDtor(MessageLite& self);
1270 void InternalSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other);
1272 template <
typename T>
1274 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint"; }
1282 *
this = ::std::move(from);
1284 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1286 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1287 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1314 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_expression()
const;
1324 double _internal_lower_bound()
const;
1325 void _internal_set_lower_bound(
double value);
1334 double _internal_upper_bound()
const;
1335 void _internal_set_upper_bound(
double value);
1344 bool _internal_is_lazy()
const;
1345 void _internal_set_is_lazy(
bool value);
1351 friend class ::google::protobuf::internal::TcParser;
1352 static const ::google::protobuf::internal::TcParseTable<2, 4,
1357 friend class ::google::protobuf::MessageLite;
1358 friend class ::google::protobuf::Arena;
1359 template <
typename T>
1360 friend class ::google::protobuf::Arena::InternalHelper;
1361 using InternalArenaConstructable_ = void;
1362 using DestructorSkippable_ = void;
1364 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1365 inline explicit Impl_(
1366 ::google::protobuf::internal::InternalVisibility visibility,
1367 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1368 inline explicit Impl_(
1369 ::google::protobuf::internal::InternalVisibility visibility,
1370 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1372 ::google::protobuf::internal::HasBits<1> _has_bits_;
1373 ::google::protobuf::internal::CachedSize _cached_size_;
1375 double lower_bound_;
1376 double upper_bound_;
1378 PROTOBUF_TSAN_DECLARE_MEMBER
1380 union { Impl_ _impl_; };
1381 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1393#if defined(PROTOBUF_CUSTOM_VTABLE)
1400 template <
typename =
void>
1404 inline CallbackRegistrationProto(CallbackRegistrationProto&& from) noexcept
1405 : CallbackRegistrationProto(
nullptr, ::std::move(from)) {}
1406 inline CallbackRegistrationProto& operator=(
const CallbackRegistrationProto& from) {
1411 if (
this == &from)
return *
this;
1412 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1413 InternalSwap(&from);
1420 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1421 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1422 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1424 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1425 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1426 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1429 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1430 return GetDescriptor();
1432 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1433 return default_instance().GetMetadata().descriptor;
1435 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1445 if (other ==
this)
return;
1446 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1447 InternalSwap(other);
1449 ::google::protobuf::internal::GenericSwap(
this, other);
1453 if (other ==
this)
return;
1454 ABSL_DCHECK(GetArena() == other->GetArena());
1455 InternalSwap(other);
1461 return ::google::protobuf::Message::DefaultConstruct<CallbackRegistrationProto>(arena);
1463 using ::google::protobuf::Message::CopyFrom;
1465 using ::google::protobuf::Message::MergeFrom;
1469 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1470 const ::google::protobuf::MessageLite& from_msg);
1476 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1477 #if defined(PROTOBUF_CUSTOM_VTABLE)
1479 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1481 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1482 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1486 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1487 ::uint8_t* PROTOBUF_NONNULL target,
1488 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1489 return _InternalSerialize(*
this, target, stream);
1492 ::size_t ByteSizeLong() const final;
1493 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1494 ::uint8_t* PROTOBUF_NONNULL target,
1495 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1497 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1500 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1501 static void SharedDtor(MessageLite& self);
1502 void InternalSwap(CallbackRegistrationProto* PROTOBUF_NONNULL other);
1504 template <
typename T>
1506 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackRegistrationProto"; }
1514 *
this = ::std::move(from);
1516 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1517 static
void* PROTOBUF_NONNULL PlacementNew_(
1518 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1519 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1539 int _internal_request_registration_size()
const;
1551 const ::google::protobuf::RepeatedField<int>& _internal_request_registration()
const;
1552 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_request_registration();
1558 const ::operations_research::math_opt::SparseVectorFilterProto&
mip_solution_filter()
const;
1566 const ::operations_research::math_opt::SparseVectorFilterProto& _internal_mip_solution_filter()
const;
1573 const ::operations_research::math_opt::SparseVectorFilterProto&
mip_node_filter()
const;
1581 const ::operations_research::math_opt::SparseVectorFilterProto& _internal_mip_node_filter()
const;
1591 bool _internal_add_cuts()
const;
1592 void _internal_set_add_cuts(
bool value);
1601 bool _internal_add_lazy_constraints()
const;
1602 void _internal_set_add_lazy_constraints(
bool value);
1608 friend class ::google::protobuf::internal::TcParser;
1609 static const ::google::protobuf::internal::TcParseTable<3, 5,
1614 friend class ::google::protobuf::MessageLite;
1615 friend class ::google::protobuf::Arena;
1616 template <
typename T>
1617 friend class ::google::protobuf::Arena::InternalHelper;
1618 using InternalArenaConstructable_ = void;
1619 using DestructorSkippable_ = void;
1621 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1622 inline explicit Impl_(
1623 ::google::protobuf::internal::InternalVisibility visibility,
1624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1625 inline explicit Impl_(
1626 ::google::protobuf::internal::InternalVisibility visibility,
1627 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1629 ::google::protobuf::internal::HasBits<1> _has_bits_;
1630 ::google::protobuf::internal::CachedSize _cached_size_;
1631 ::google::protobuf::RepeatedField<int> request_registration_;
1632 ::google::protobuf::internal::CachedSize _request_registration_cached_byte_size_;
1636 bool add_lazy_constraints_;
1637 PROTOBUF_TSAN_DECLARE_MEMBER
1639 union { Impl_ _impl_; };
1640 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1652#if defined(PROTOBUF_CUSTOM_VTABLE)
1653 void operator delete(
CallbackDataProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1659 template <
typename =
void>
1660 explicit PROTOBUF_CONSTEXPR
CallbackDataProto(::google::protobuf::internal::ConstantInitialized);
1665 inline CallbackDataProto& operator=(
const CallbackDataProto& from) {
1670 if (
this == &from)
return *
this;
1671 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1672 InternalSwap(&from);
1679 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1680 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1681 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1683 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1684 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1685 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1688 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1694 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1695 return default_instance().GetMetadata().reflection;
1701 static constexpr int kIndexInFileMessages = 4;
1704 if (other ==
this)
return;
1705 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1706 InternalSwap(other);
1708 ::google::protobuf::internal::GenericSwap(
this, other);
1712 if (other ==
this)
return;
1713 ABSL_DCHECK(GetArena() == other->GetArena());
1714 InternalSwap(other);
1720 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto>(arena);
1722 using ::google::protobuf::Message::CopyFrom;
1724 using ::google::protobuf::Message::MergeFrom;
1725 void MergeFrom(
const CallbackDataProto& from) { CallbackDataProto::MergeImpl(*
this, from); }
1728 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1729 const ::google::protobuf::MessageLite& from_msg);
1735 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1736 #if defined(PROTOBUF_CUSTOM_VTABLE)
1738 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1739 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1740 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1741 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1745 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1746 ::uint8_t* PROTOBUF_NONNULL target,
1747 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1748 return _InternalSerialize(*
this, target, stream);
1751 ::size_t ByteSizeLong() const final;
1752 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1753 ::uint8_t* PROTOBUF_NONNULL target,
1754 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1756 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1759 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1760 static void SharedDtor(MessageLite& self);
1761 void InternalSwap(CallbackDataProto* PROTOBUF_NONNULL other);
1763 template <
typename T>
1765 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackDataProto"; }
1771 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
CallbackDataProto&& from) noexcept
1773 *
this = ::std::move(from);
1775 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1776 static
void* PROTOBUF_NONNULL PlacementNew_(
1777 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1812 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_primal_solution_vector()
const;
1819 const ::google::protobuf::Duration&
runtime()
const;
1820 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE
release_runtime();
1827 const ::google::protobuf::Duration& _internal_runtime()
const;
1828 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_runtime();
1834 const ::operations_research::math_opt::CallbackDataProto_PresolveStats&
presolve_stats()
const;
1842 const ::operations_research::math_opt::CallbackDataProto_PresolveStats& _internal_presolve_stats()
const;
1849 const ::operations_research::math_opt::CallbackDataProto_SimplexStats&
simplex_stats()
const;
1857 const ::operations_research::math_opt::CallbackDataProto_SimplexStats& _internal_simplex_stats()
const;
1864 const ::operations_research::math_opt::CallbackDataProto_BarrierStats&
barrier_stats()
const;
1872 const ::operations_research::math_opt::CallbackDataProto_BarrierStats& _internal_barrier_stats()
const;
1879 const ::operations_research::math_opt::CallbackDataProto_MipStats&
mip_stats()
const;
1887 const ::operations_research::math_opt::CallbackDataProto_MipStats& _internal_mip_stats()
const;
1904 friend class ::google::protobuf::internal::TcParser;
1905 static const ::google::protobuf::internal::TcParseTable<3, 7,
1910 friend class ::google::protobuf::MessageLite;
1911 friend class ::google::protobuf::Arena;
1912 template <
typename T>
1913 friend class ::google::protobuf::Arena::InternalHelper;
1914 using InternalArenaConstructable_ = void;
1915 using DestructorSkippable_ = void;
1917 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1918 inline explicit Impl_(
1919 ::google::protobuf::internal::InternalVisibility visibility,
1920 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1921 inline explicit Impl_(
1922 ::google::protobuf::internal::InternalVisibility visibility,
1923 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1925 ::google::protobuf::internal::HasBits<1> _has_bits_;
1926 ::google::protobuf::internal::CachedSize _cached_size_;
1928 ::google::protobuf::Duration* PROTOBUF_NULLABLE runtime_;
1934 PROTOBUF_TSAN_DECLARE_MEMBER
1936 union { Impl_ _impl_; };
1937 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1943class OR_PROTO_DLL CallbackResultProto final :
public ::google::protobuf::Message
1949#if defined(PROTOBUF_CUSTOM_VTABLE)
1950 void operator delete(
CallbackResultProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1956 template <
typename =
void>
1957 explicit PROTOBUF_CONSTEXPR
CallbackResultProto(::google::protobuf::internal::ConstantInitialized);
1962 inline CallbackResultProto& operator=(
const CallbackResultProto& from) {
1967 if (
this == &from)
return *
this;
1968 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1969 InternalSwap(&from);
1976 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1977 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1978 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1980 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1981 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1982 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1985 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1988 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1991 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1992 return default_instance().GetMetadata().reflection;
1998 static constexpr int kIndexInFileMessages = 6;
2001 if (other ==
this)
return;
2002 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2003 InternalSwap(other);
2005 ::google::protobuf::internal::GenericSwap(
this, other);
2009 if (other ==
this)
return;
2010 ABSL_DCHECK(GetArena() == other->GetArena());
2011 InternalSwap(other);
2016 CallbackResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2017 return ::google::protobuf::Message::DefaultConstruct<CallbackResultProto>(arena);
2019 using ::google::protobuf::Message::CopyFrom;
2021 using ::google::protobuf::Message::MergeFrom;
2022 void MergeFrom(
const CallbackResultProto& from) { CallbackResultProto::MergeImpl(*
this, from); }
2025 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2026 const ::google::protobuf::MessageLite& from_msg);
2032 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2033 #if defined(PROTOBUF_CUSTOM_VTABLE)
2035 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2036 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2037 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2038 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2042 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2043 ::uint8_t* PROTOBUF_NONNULL target,
2044 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2045 return _InternalSerialize(*
this, target, stream);
2048 ::size_t ByteSizeLong() const final;
2049 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2050 ::uint8_t* PROTOBUF_NONNULL target,
2051 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2053 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2056 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2057 static void SharedDtor(MessageLite& self);
2058 void InternalSwap(CallbackResultProto* PROTOBUF_NONNULL other);
2060 template <
typename T>
2062 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.CallbackResultProto"; }
2070 *
this = ::std::move(from);
2072 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2073 static
void* PROTOBUF_NONNULL PlacementNew_(
2074 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2075 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2094 int _internal_cuts_size()
const;
2099 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL
mutable_cuts();
2102 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& _internal_cuts()
const;
2103 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL _internal_mutable_cuts();
2105 const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint&
cuts(
int index)
const;
2107 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>&
cuts()
const;
2111 int _internal_suggested_solutions_size()
const;
2116 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL
mutable_suggested_solutions();
2119 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& _internal_suggested_solutions()
const;
2120 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL _internal_mutable_suggested_solutions();
2122 const ::operations_research::math_opt::SparseDoubleVectorProto&
suggested_solutions(
int index)
const;
2124 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>&
suggested_solutions()
const;
2131 bool _internal_terminate()
const;
2132 void _internal_set_terminate(
bool value);
2138 friend class ::google::protobuf::internal::TcParser;
2139 static const ::google::protobuf::internal::TcParseTable<1, 3,
2144 friend class ::google::protobuf::MessageLite;
2145 friend class ::google::protobuf::Arena;
2146 template <
typename T>
2147 friend class ::google::protobuf::Arena::InternalHelper;
2148 using InternalArenaConstructable_ = void;
2149 using DestructorSkippable_ = void;
2151 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2152 inline explicit Impl_(
2153 ::google::protobuf::internal::InternalVisibility visibility,
2154 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2155 inline explicit Impl_(
2156 ::google::protobuf::internal::InternalVisibility visibility,
2157 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2159 ::google::protobuf::internal::HasBits<1> _has_bits_;
2160 ::google::protobuf::internal::CachedSize _cached_size_;
2161 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > cuts_;
2162 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SparseDoubleVectorProto > suggested_solutions_;
2164 PROTOBUF_TSAN_DECLARE_MEMBER
2166 union { Impl_ _impl_; };
2167 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
2181#pragma GCC diagnostic push
2182#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2190 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2194 ::google::protobuf::internal::TSanWrite(&
_impl_);
2195 _impl_.removed_variables_ = ::int64_t{0};
2196 _impl_._has_bits_[0] &= ~0x00000001u;
2200 return _internal_removed_variables();
2203 _internal_set_removed_variables(value);
2204 _impl_._has_bits_[0] |= 0x00000001u;
2207inline ::int64_t CallbackDataProto_PresolveStats::_internal_removed_variables()
const {
2208 ::google::protobuf::internal::TSanRead(&
_impl_);
2209 return _impl_.removed_variables_;
2211inline void CallbackDataProto_PresolveStats::_internal_set_removed_variables(::int64_t value) {
2212 ::google::protobuf::internal::TSanWrite(&
_impl_);
2213 _impl_.removed_variables_ = value;
2218 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2222 ::google::protobuf::internal::TSanWrite(&
_impl_);
2223 _impl_.removed_constraints_ = ::int64_t{0};
2224 _impl_._has_bits_[0] &= ~0x00000002u;
2228 return _internal_removed_constraints();
2231 _internal_set_removed_constraints(value);
2232 _impl_._has_bits_[0] |= 0x00000002u;
2235inline ::int64_t CallbackDataProto_PresolveStats::_internal_removed_constraints()
const {
2236 ::google::protobuf::internal::TSanRead(&
_impl_);
2237 return _impl_.removed_constraints_;
2239inline void CallbackDataProto_PresolveStats::_internal_set_removed_constraints(::int64_t value) {
2240 ::google::protobuf::internal::TSanWrite(&
_impl_);
2241 _impl_.removed_constraints_ = value;
2246 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
2250 ::google::protobuf::internal::TSanWrite(&
_impl_);
2251 _impl_.bound_changes_ = ::int64_t{0};
2252 _impl_._has_bits_[0] &= ~0x00000004u;
2256 return _internal_bound_changes();
2259 _internal_set_bound_changes(value);
2260 _impl_._has_bits_[0] |= 0x00000004u;
2263inline ::int64_t CallbackDataProto_PresolveStats::_internal_bound_changes()
const {
2264 ::google::protobuf::internal::TSanRead(&
_impl_);
2265 return _impl_.bound_changes_;
2267inline void CallbackDataProto_PresolveStats::_internal_set_bound_changes(::int64_t value) {
2268 ::google::protobuf::internal::TSanWrite(&
_impl_);
2269 _impl_.bound_changes_ = value;
2274 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
2278 ::google::protobuf::internal::TSanWrite(&
_impl_);
2279 _impl_.coefficient_changes_ = ::int64_t{0};
2280 _impl_._has_bits_[0] &= ~0x00000008u;
2284 return _internal_coefficient_changes();
2287 _internal_set_coefficient_changes(value);
2288 _impl_._has_bits_[0] |= 0x00000008u;
2291inline ::int64_t CallbackDataProto_PresolveStats::_internal_coefficient_changes()
const {
2292 ::google::protobuf::internal::TSanRead(&
_impl_);
2293 return _impl_.coefficient_changes_;
2295inline void CallbackDataProto_PresolveStats::_internal_set_coefficient_changes(::int64_t value) {
2296 ::google::protobuf::internal::TSanWrite(&
_impl_);
2297 _impl_.coefficient_changes_ = value;
2306 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2310 ::google::protobuf::internal::TSanWrite(&
_impl_);
2311 _impl_.iteration_count_ = ::int64_t{0};
2312 _impl_._has_bits_[0] &= ~0x00000001u;
2316 return _internal_iteration_count();
2319 _internal_set_iteration_count(value);
2320 _impl_._has_bits_[0] |= 0x00000001u;
2323inline ::int64_t CallbackDataProto_SimplexStats::_internal_iteration_count()
const {
2324 ::google::protobuf::internal::TSanRead(&
_impl_);
2325 return _impl_.iteration_count_;
2327inline void CallbackDataProto_SimplexStats::_internal_set_iteration_count(::int64_t value) {
2328 ::google::protobuf::internal::TSanWrite(&
_impl_);
2329 _impl_.iteration_count_ = value;
2334 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2338 ::google::protobuf::internal::TSanWrite(&
_impl_);
2339 _impl_.objective_value_ = 0;
2340 _impl_._has_bits_[0] &= ~0x00000002u;
2344 return _internal_objective_value();
2347 _internal_set_objective_value(value);
2348 _impl_._has_bits_[0] |= 0x00000002u;
2351inline double CallbackDataProto_SimplexStats::_internal_objective_value()
const {
2352 ::google::protobuf::internal::TSanRead(&
_impl_);
2353 return _impl_.objective_value_;
2355inline void CallbackDataProto_SimplexStats::_internal_set_objective_value(
double value) {
2356 ::google::protobuf::internal::TSanWrite(&
_impl_);
2357 _impl_.objective_value_ = value;
2362 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
2366 ::google::protobuf::internal::TSanWrite(&
_impl_);
2367 _impl_.primal_infeasibility_ = 0;
2368 _impl_._has_bits_[0] &= ~0x00000004u;
2372 return _internal_primal_infeasibility();
2375 _internal_set_primal_infeasibility(value);
2376 _impl_._has_bits_[0] |= 0x00000004u;
2379inline double CallbackDataProto_SimplexStats::_internal_primal_infeasibility()
const {
2380 ::google::protobuf::internal::TSanRead(&
_impl_);
2381 return _impl_.primal_infeasibility_;
2383inline void CallbackDataProto_SimplexStats::_internal_set_primal_infeasibility(
double value) {
2384 ::google::protobuf::internal::TSanWrite(&
_impl_);
2385 _impl_.primal_infeasibility_ = value;
2390 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
2394 ::google::protobuf::internal::TSanWrite(&
_impl_);
2395 _impl_.dual_infeasibility_ = 0;
2396 _impl_._has_bits_[0] &= ~0x00000008u;
2400 return _internal_dual_infeasibility();
2403 _internal_set_dual_infeasibility(value);
2404 _impl_._has_bits_[0] |= 0x00000008u;
2407inline double CallbackDataProto_SimplexStats::_internal_dual_infeasibility()
const {
2408 ::google::protobuf::internal::TSanRead(&
_impl_);
2409 return _impl_.dual_infeasibility_;
2411inline void CallbackDataProto_SimplexStats::_internal_set_dual_infeasibility(
double value) {
2412 ::google::protobuf::internal::TSanWrite(&
_impl_);
2413 _impl_.dual_infeasibility_ = value;
2418 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
2422 ::google::protobuf::internal::TSanWrite(&
_impl_);
2423 _impl_.is_pertubated_ =
false;
2424 _impl_._has_bits_[0] &= ~0x00000010u;
2428 return _internal_is_pertubated();
2431 _internal_set_is_pertubated(value);
2432 _impl_._has_bits_[0] |= 0x00000010u;
2435inline bool CallbackDataProto_SimplexStats::_internal_is_pertubated()
const {
2436 ::google::protobuf::internal::TSanRead(&
_impl_);
2437 return _impl_.is_pertubated_;
2439inline void CallbackDataProto_SimplexStats::_internal_set_is_pertubated(
bool value) {
2440 ::google::protobuf::internal::TSanWrite(&
_impl_);
2441 _impl_.is_pertubated_ = value;
2450 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
2454 ::google::protobuf::internal::TSanWrite(&
_impl_);
2455 _impl_.iteration_count_ = 0;
2456 _impl_._has_bits_[0] &= ~0x00000020u;
2460 return _internal_iteration_count();
2463 _internal_set_iteration_count(value);
2464 _impl_._has_bits_[0] |= 0x00000020u;
2467inline ::int32_t CallbackDataProto_BarrierStats::_internal_iteration_count()
const {
2468 ::google::protobuf::internal::TSanRead(&
_impl_);
2469 return _impl_.iteration_count_;
2471inline void CallbackDataProto_BarrierStats::_internal_set_iteration_count(::int32_t value) {
2472 ::google::protobuf::internal::TSanWrite(&
_impl_);
2473 _impl_.iteration_count_ = value;
2478 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2482 ::google::protobuf::internal::TSanWrite(&
_impl_);
2483 _impl_.primal_objective_ = 0;
2484 _impl_._has_bits_[0] &= ~0x00000001u;
2488 return _internal_primal_objective();
2491 _internal_set_primal_objective(value);
2492 _impl_._has_bits_[0] |= 0x00000001u;
2495inline double CallbackDataProto_BarrierStats::_internal_primal_objective()
const {
2496 ::google::protobuf::internal::TSanRead(&
_impl_);
2497 return _impl_.primal_objective_;
2499inline void CallbackDataProto_BarrierStats::_internal_set_primal_objective(
double value) {
2500 ::google::protobuf::internal::TSanWrite(&
_impl_);
2501 _impl_.primal_objective_ = value;
2506 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2510 ::google::protobuf::internal::TSanWrite(&
_impl_);
2511 _impl_.dual_objective_ = 0;
2512 _impl_._has_bits_[0] &= ~0x00000002u;
2516 return _internal_dual_objective();
2519 _internal_set_dual_objective(value);
2520 _impl_._has_bits_[0] |= 0x00000002u;
2523inline double CallbackDataProto_BarrierStats::_internal_dual_objective()
const {
2524 ::google::protobuf::internal::TSanRead(&
_impl_);
2525 return _impl_.dual_objective_;
2527inline void CallbackDataProto_BarrierStats::_internal_set_dual_objective(
double value) {
2528 ::google::protobuf::internal::TSanWrite(&
_impl_);
2529 _impl_.dual_objective_ = value;
2534 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
2538 ::google::protobuf::internal::TSanWrite(&
_impl_);
2539 _impl_.complementarity_ = 0;
2540 _impl_._has_bits_[0] &= ~0x00000004u;
2544 return _internal_complementarity();
2547 _internal_set_complementarity(value);
2548 _impl_._has_bits_[0] |= 0x00000004u;
2551inline double CallbackDataProto_BarrierStats::_internal_complementarity()
const {
2552 ::google::protobuf::internal::TSanRead(&
_impl_);
2553 return _impl_.complementarity_;
2555inline void CallbackDataProto_BarrierStats::_internal_set_complementarity(
double value) {
2556 ::google::protobuf::internal::TSanWrite(&
_impl_);
2557 _impl_.complementarity_ = value;
2562 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
2566 ::google::protobuf::internal::TSanWrite(&
_impl_);
2567 _impl_.primal_infeasibility_ = 0;
2568 _impl_._has_bits_[0] &= ~0x00000008u;
2572 return _internal_primal_infeasibility();
2575 _internal_set_primal_infeasibility(value);
2576 _impl_._has_bits_[0] |= 0x00000008u;
2579inline double CallbackDataProto_BarrierStats::_internal_primal_infeasibility()
const {
2580 ::google::protobuf::internal::TSanRead(&
_impl_);
2581 return _impl_.primal_infeasibility_;
2583inline void CallbackDataProto_BarrierStats::_internal_set_primal_infeasibility(
double value) {
2584 ::google::protobuf::internal::TSanWrite(&
_impl_);
2585 _impl_.primal_infeasibility_ = value;
2590 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
2594 ::google::protobuf::internal::TSanWrite(&
_impl_);
2595 _impl_.dual_infeasibility_ = 0;
2596 _impl_._has_bits_[0] &= ~0x00000010u;
2600 return _internal_dual_infeasibility();
2603 _internal_set_dual_infeasibility(value);
2604 _impl_._has_bits_[0] |= 0x00000010u;
2607inline double CallbackDataProto_BarrierStats::_internal_dual_infeasibility()
const {
2608 ::google::protobuf::internal::TSanRead(&
_impl_);
2609 return _impl_.dual_infeasibility_;
2611inline void CallbackDataProto_BarrierStats::_internal_set_dual_infeasibility(
double value) {
2612 ::google::protobuf::internal::TSanWrite(&
_impl_);
2613 _impl_.dual_infeasibility_ = value;
2622 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2626 ::google::protobuf::internal::TSanWrite(&
_impl_);
2627 _impl_.primal_bound_ = 0;
2628 _impl_._has_bits_[0] &= ~0x00000001u;
2632 return _internal_primal_bound();
2635 _internal_set_primal_bound(value);
2639inline double CallbackDataProto_MipStats::_internal_primal_bound()
const {
2640 ::google::protobuf::internal::TSanRead(&
_impl_);
2641 return _impl_.primal_bound_;
2643inline void CallbackDataProto_MipStats::_internal_set_primal_bound(
double value) {
2644 ::google::protobuf::internal::TSanWrite(&
_impl_);
2650 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2654 ::google::protobuf::internal::TSanWrite(&
_impl_);
2656 _impl_._has_bits_[0] &= ~0x00000002u;
2660 return _internal_dual_bound();
2663 _internal_set_dual_bound(value);
2667inline double CallbackDataProto_MipStats::_internal_dual_bound()
const {
2668 ::google::protobuf::internal::TSanRead(&
_impl_);
2669 return _impl_.dual_bound_;
2671inline void CallbackDataProto_MipStats::_internal_set_dual_bound(
double value) {
2672 ::google::protobuf::internal::TSanWrite(&
_impl_);
2678 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
2682 ::google::protobuf::internal::TSanWrite(&
_impl_);
2683 _impl_.explored_nodes_ = ::int64_t{0};
2684 _impl_._has_bits_[0] &= ~0x00000004u;
2688 return _internal_explored_nodes();
2691 _internal_set_explored_nodes(value);
2695inline ::int64_t CallbackDataProto_MipStats::_internal_explored_nodes()
const {
2696 ::google::protobuf::internal::TSanRead(&
_impl_);
2697 return _impl_.explored_nodes_;
2699inline void CallbackDataProto_MipStats::_internal_set_explored_nodes(::int64_t value) {
2700 ::google::protobuf::internal::TSanWrite(&
_impl_);
2706 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
2710 ::google::protobuf::internal::TSanWrite(&
_impl_);
2711 _impl_.open_nodes_ = ::int64_t{0};
2712 _impl_._has_bits_[0] &= ~0x00000008u;
2716 return _internal_open_nodes();
2719 _internal_set_open_nodes(value);
2723inline ::int64_t CallbackDataProto_MipStats::_internal_open_nodes()
const {
2724 ::google::protobuf::internal::TSanRead(&
_impl_);
2725 return _impl_.open_nodes_;
2727inline void CallbackDataProto_MipStats::_internal_set_open_nodes(::int64_t value) {
2728 ::google::protobuf::internal::TSanWrite(&
_impl_);
2734 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
2738 ::google::protobuf::internal::TSanWrite(&
_impl_);
2739 _impl_.simplex_iterations_ = ::int64_t{0};
2740 _impl_._has_bits_[0] &= ~0x00000010u;
2744 return _internal_simplex_iterations();
2747 _internal_set_simplex_iterations(value);
2751inline ::int64_t CallbackDataProto_MipStats::_internal_simplex_iterations()
const {
2752 ::google::protobuf::internal::TSanRead(&
_impl_);
2753 return _impl_.simplex_iterations_;
2755inline void CallbackDataProto_MipStats::_internal_set_simplex_iterations(::int64_t value) {
2756 ::google::protobuf::internal::TSanWrite(&
_impl_);
2762 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
2766 ::google::protobuf::internal::TSanWrite(&
_impl_);
2767 _impl_.number_of_solutions_found_ = 0;
2768 _impl_._has_bits_[0] &= ~0x00000020u;
2772 return _internal_number_of_solutions_found();
2775 _internal_set_number_of_solutions_found(value);
2779inline ::int32_t CallbackDataProto_MipStats::_internal_number_of_solutions_found()
const {
2780 ::google::protobuf::internal::TSanRead(&
_impl_);
2781 return _impl_.number_of_solutions_found_;
2783inline void CallbackDataProto_MipStats::_internal_set_number_of_solutions_found(::int32_t value) {
2784 ::google::protobuf::internal::TSanWrite(&
_impl_);
2790 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
2794 ::google::protobuf::internal::TSanWrite(&
_impl_);
2795 _impl_.cutting_planes_in_lp_ = 0;
2796 _impl_._has_bits_[0] &= ~0x00000040u;
2800 return _internal_cutting_planes_in_lp();
2803 _internal_set_cutting_planes_in_lp(value);
2807inline ::int32_t CallbackDataProto_MipStats::_internal_cutting_planes_in_lp()
const {
2808 ::google::protobuf::internal::TSanRead(&
_impl_);
2809 return _impl_.cutting_planes_in_lp_;
2811inline void CallbackDataProto_MipStats::_internal_set_cutting_planes_in_lp(::int32_t value) {
2812 ::google::protobuf::internal::TSanWrite(&
_impl_);
2822 ::google::protobuf::internal::TSanWrite(&
_impl_);
2824 _impl_._has_bits_[0] &= ~0x00000040u;
2828 return _internal_event();
2831 _internal_set_event(value);
2832 _impl_._has_bits_[0] |= 0x00000040u;
2835inline ::operations_research::math_opt::CallbackEventProto CallbackDataProto::_internal_event()
const {
2836 ::google::protobuf::internal::TSanRead(&
_impl_);
2840 ::google::protobuf::internal::TSanWrite(&
_impl_);
2846 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
2847 PROTOBUF_ASSUME(!value ||
_impl_.primal_solution_vector_ !=
nullptr);
2850inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackDataProto::_internal_primal_solution_vector()
const {
2851 ::google::protobuf::internal::TSanRead(&
_impl_);
2852 const ::operations_research::math_opt::SparseDoubleVectorProto* p =
_impl_.primal_solution_vector_;
2857 return _internal_primal_solution_vector();
2861 ::google::protobuf::internal::TSanWrite(&
_impl_);
2862 if (GetArena() ==
nullptr) {
2863 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.primal_solution_vector_);
2866 if (value !=
nullptr) {
2867 _impl_._has_bits_[0] |= 0x00000001u;
2869 _impl_._has_bits_[0] &= ~0x00000001u;
2874 ::google::protobuf::internal::TSanWrite(&
_impl_);
2876 _impl_._has_bits_[0] &= ~0x00000001u;
2878 _impl_.primal_solution_vector_ =
nullptr;
2879 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2880 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2881 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2882 if (GetArena() ==
nullptr) {
2886 if (GetArena() !=
nullptr) {
2887 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2893 ::google::protobuf::internal::TSanWrite(&
_impl_);
2896 _impl_._has_bits_[0] &= ~0x00000001u;
2898 _impl_.primal_solution_vector_ =
nullptr;
2901inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_primal_solution_vector() {
2902 ::google::protobuf::internal::TSanWrite(&
_impl_);
2903 if (
_impl_.primal_solution_vector_ ==
nullptr) {
2904 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2907 return _impl_.primal_solution_vector_;
2910 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2911 _impl_._has_bits_[0] |= 0x00000001u;
2917 ::google::protobuf::Arena* message_arena = GetArena();
2918 ::google::protobuf::internal::TSanWrite(&
_impl_);
2919 if (message_arena ==
nullptr) {
2920 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.primal_solution_vector_);
2923 if (value !=
nullptr) {
2924 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2925 if (message_arena != submessage_arena) {
2926 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2928 _impl_._has_bits_[0] |= 0x00000001u;
2930 _impl_._has_bits_[0] &= ~0x00000001u;
2939 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2940 PROTOBUF_ASSUME(!value ||
_impl_.runtime_ !=
nullptr);
2943inline const ::google::protobuf::Duration& CallbackDataProto::_internal_runtime()
const {
2944 ::google::protobuf::internal::TSanRead(&
_impl_);
2945 const ::google::protobuf::Duration* p =
_impl_.runtime_;
2946 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Duration&
>(::google::protobuf::_Duration_default_instance_);
2950 return _internal_runtime();
2953 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
2954 ::google::protobuf::internal::TSanWrite(&
_impl_);
2955 if (GetArena() ==
nullptr) {
2956 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.runtime_);
2958 _impl_.runtime_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
2959 if (value !=
nullptr) {
2960 _impl_._has_bits_[0] |= 0x00000002u;
2962 _impl_._has_bits_[0] &= ~0x00000002u;
2967 ::google::protobuf::internal::TSanWrite(&
_impl_);
2969 _impl_._has_bits_[0] &= ~0x00000002u;
2970 ::google::protobuf::Duration* released =
_impl_.runtime_;
2971 _impl_.runtime_ =
nullptr;
2972 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2973 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2974 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2975 if (GetArena() ==
nullptr) {
2979 if (GetArena() !=
nullptr) {
2980 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2986 ::google::protobuf::internal::TSanWrite(&
_impl_);
2989 _impl_._has_bits_[0] &= ~0x00000002u;
2990 ::google::protobuf::Duration* temp =
_impl_.runtime_;
2991 _impl_.runtime_ =
nullptr;
2994inline ::google::protobuf::Duration* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_runtime() {
2995 ::google::protobuf::internal::TSanWrite(&
_impl_);
2996 if (
_impl_.runtime_ ==
nullptr) {
2997 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
2998 _impl_.runtime_ =
reinterpret_cast<::google::protobuf::Duration*
>(p);
3003 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3004 _impl_._has_bits_[0] |= 0x00000002u;
3005 ::google::protobuf::Duration* _msg = _internal_mutable_runtime();
3010 ::google::protobuf::Arena* message_arena = GetArena();
3011 ::google::protobuf::internal::TSanWrite(&
_impl_);
3012 if (message_arena ==
nullptr) {
3013 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.runtime_);
3016 if (value !=
nullptr) {
3017 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3018 if (message_arena != submessage_arena) {
3019 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3021 _impl_._has_bits_[0] |= 0x00000002u;
3023 _impl_._has_bits_[0] &= ~0x00000002u;
3026 _impl_.runtime_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
3032 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
3033 PROTOBUF_ASSUME(!value ||
_impl_.presolve_stats_ !=
nullptr);
3037 ::google::protobuf::internal::TSanWrite(&
_impl_);
3039 _impl_._has_bits_[0] &= ~0x00000004u;
3041inline const ::operations_research::math_opt::CallbackDataProto_PresolveStats& CallbackDataProto::_internal_presolve_stats()
const {
3042 ::google::protobuf::internal::TSanRead(&
_impl_);
3043 const ::operations_research::math_opt::CallbackDataProto_PresolveStats* p =
_impl_.presolve_stats_;
3048 return _internal_presolve_stats();
3052 ::google::protobuf::internal::TSanWrite(&
_impl_);
3053 if (GetArena() ==
nullptr) {
3054 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.presolve_stats_);
3057 if (value !=
nullptr) {
3058 _impl_._has_bits_[0] |= 0x00000004u;
3060 _impl_._has_bits_[0] &= ~0x00000004u;
3065 ::google::protobuf::internal::TSanWrite(&
_impl_);
3067 _impl_._has_bits_[0] &= ~0x00000004u;
3069 _impl_.presolve_stats_ =
nullptr;
3070 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3071 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3072 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3073 if (GetArena() ==
nullptr) {
3077 if (GetArena() !=
nullptr) {
3078 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3084 ::google::protobuf::internal::TSanWrite(&
_impl_);
3087 _impl_._has_bits_[0] &= ~0x00000004u;
3089 _impl_.presolve_stats_ =
nullptr;
3092inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_presolve_stats() {
3093 ::google::protobuf::internal::TSanWrite(&
_impl_);
3094 if (
_impl_.presolve_stats_ ==
nullptr) {
3095 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_PresolveStats>(GetArena());
3098 return _impl_.presolve_stats_;
3101 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3102 _impl_._has_bits_[0] |= 0x00000004u;
3108 ::google::protobuf::Arena* message_arena = GetArena();
3109 ::google::protobuf::internal::TSanWrite(&
_impl_);
3110 if (message_arena ==
nullptr) {
3111 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.presolve_stats_);
3114 if (value !=
nullptr) {
3115 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3116 if (message_arena != submessage_arena) {
3117 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3119 _impl_._has_bits_[0] |= 0x00000004u;
3121 _impl_._has_bits_[0] &= ~0x00000004u;
3130 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
3131 PROTOBUF_ASSUME(!value ||
_impl_.simplex_stats_ !=
nullptr);
3135 ::google::protobuf::internal::TSanWrite(&
_impl_);
3137 _impl_._has_bits_[0] &= ~0x00000008u;
3139inline const ::operations_research::math_opt::CallbackDataProto_SimplexStats& CallbackDataProto::_internal_simplex_stats()
const {
3140 ::google::protobuf::internal::TSanRead(&
_impl_);
3141 const ::operations_research::math_opt::CallbackDataProto_SimplexStats* p =
_impl_.simplex_stats_;
3146 return _internal_simplex_stats();
3150 ::google::protobuf::internal::TSanWrite(&
_impl_);
3151 if (GetArena() ==
nullptr) {
3152 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.simplex_stats_);
3155 if (value !=
nullptr) {
3156 _impl_._has_bits_[0] |= 0x00000008u;
3158 _impl_._has_bits_[0] &= ~0x00000008u;
3163 ::google::protobuf::internal::TSanWrite(&
_impl_);
3165 _impl_._has_bits_[0] &= ~0x00000008u;
3167 _impl_.simplex_stats_ =
nullptr;
3168 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3169 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3170 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3171 if (GetArena() ==
nullptr) {
3175 if (GetArena() !=
nullptr) {
3176 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3182 ::google::protobuf::internal::TSanWrite(&
_impl_);
3185 _impl_._has_bits_[0] &= ~0x00000008u;
3187 _impl_.simplex_stats_ =
nullptr;
3190inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_simplex_stats() {
3191 ::google::protobuf::internal::TSanWrite(&
_impl_);
3192 if (
_impl_.simplex_stats_ ==
nullptr) {
3193 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_SimplexStats>(GetArena());
3196 return _impl_.simplex_stats_;
3199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3200 _impl_._has_bits_[0] |= 0x00000008u;
3206 ::google::protobuf::Arena* message_arena = GetArena();
3207 ::google::protobuf::internal::TSanWrite(&
_impl_);
3208 if (message_arena ==
nullptr) {
3209 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.simplex_stats_);
3212 if (value !=
nullptr) {
3213 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3214 if (message_arena != submessage_arena) {
3215 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3217 _impl_._has_bits_[0] |= 0x00000008u;
3219 _impl_._has_bits_[0] &= ~0x00000008u;
3228 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
3229 PROTOBUF_ASSUME(!value ||
_impl_.barrier_stats_ !=
nullptr);
3233 ::google::protobuf::internal::TSanWrite(&
_impl_);
3235 _impl_._has_bits_[0] &= ~0x00000010u;
3237inline const ::operations_research::math_opt::CallbackDataProto_BarrierStats& CallbackDataProto::_internal_barrier_stats()
const {
3238 ::google::protobuf::internal::TSanRead(&
_impl_);
3239 const ::operations_research::math_opt::CallbackDataProto_BarrierStats* p =
_impl_.barrier_stats_;
3244 return _internal_barrier_stats();
3248 ::google::protobuf::internal::TSanWrite(&
_impl_);
3249 if (GetArena() ==
nullptr) {
3250 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.barrier_stats_);
3253 if (value !=
nullptr) {
3254 _impl_._has_bits_[0] |= 0x00000010u;
3256 _impl_._has_bits_[0] &= ~0x00000010u;
3261 ::google::protobuf::internal::TSanWrite(&
_impl_);
3263 _impl_._has_bits_[0] &= ~0x00000010u;
3265 _impl_.barrier_stats_ =
nullptr;
3266 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3267 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3268 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3269 if (GetArena() ==
nullptr) {
3273 if (GetArena() !=
nullptr) {
3274 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3280 ::google::protobuf::internal::TSanWrite(&
_impl_);
3283 _impl_._has_bits_[0] &= ~0x00000010u;
3285 _impl_.barrier_stats_ =
nullptr;
3288inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_barrier_stats() {
3289 ::google::protobuf::internal::TSanWrite(&
_impl_);
3290 if (
_impl_.barrier_stats_ ==
nullptr) {
3291 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_BarrierStats>(GetArena());
3294 return _impl_.barrier_stats_;
3297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3298 _impl_._has_bits_[0] |= 0x00000010u;
3304 ::google::protobuf::Arena* message_arena = GetArena();
3305 ::google::protobuf::internal::TSanWrite(&
_impl_);
3306 if (message_arena ==
nullptr) {
3307 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.barrier_stats_);
3310 if (value !=
nullptr) {
3311 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3312 if (message_arena != submessage_arena) {
3313 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3315 _impl_._has_bits_[0] |= 0x00000010u;
3317 _impl_._has_bits_[0] &= ~0x00000010u;
3326 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
3327 PROTOBUF_ASSUME(!value ||
_impl_.mip_stats_ !=
nullptr);
3331 ::google::protobuf::internal::TSanWrite(&
_impl_);
3333 _impl_._has_bits_[0] &= ~0x00000020u;
3335inline const ::operations_research::math_opt::CallbackDataProto_MipStats& CallbackDataProto::_internal_mip_stats()
const {
3336 ::google::protobuf::internal::TSanRead(&
_impl_);
3337 const ::operations_research::math_opt::CallbackDataProto_MipStats* p =
_impl_.mip_stats_;
3340inline const ::operations_research::math_opt::CallbackDataProto_MipStats&
CallbackDataProto::mip_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3342 return _internal_mip_stats();
3346 ::google::protobuf::internal::TSanWrite(&
_impl_);
3347 if (GetArena() ==
nullptr) {
3348 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.mip_stats_);
3351 if (value !=
nullptr) {
3352 _impl_._has_bits_[0] |= 0x00000020u;
3354 _impl_._has_bits_[0] &= ~0x00000020u;
3359 ::google::protobuf::internal::TSanWrite(&
_impl_);
3361 _impl_._has_bits_[0] &= ~0x00000020u;
3363 _impl_.mip_stats_ =
nullptr;
3364 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3365 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3366 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3367 if (GetArena() ==
nullptr) {
3371 if (GetArena() !=
nullptr) {
3372 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3378 ::google::protobuf::internal::TSanWrite(&
_impl_);
3381 _impl_._has_bits_[0] &= ~0x00000020u;
3383 _impl_.mip_stats_ =
nullptr;
3386inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_mip_stats() {
3387 ::google::protobuf::internal::TSanWrite(&
_impl_);
3388 if (
_impl_.mip_stats_ ==
nullptr) {
3389 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_MipStats>(GetArena());
3392 return _impl_.mip_stats_;
3395 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3396 _impl_._has_bits_[0] |= 0x00000020u;
3402 ::google::protobuf::Arena* message_arena = GetArena();
3403 ::google::protobuf::internal::TSanWrite(&
_impl_);
3404 if (message_arena ==
nullptr) {
3405 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.mip_stats_);
3408 if (value !=
nullptr) {
3409 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3410 if (message_arena != submessage_arena) {
3411 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3413 _impl_._has_bits_[0] |= 0x00000020u;
3415 _impl_._has_bits_[0] &= ~0x00000020u;
3428 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
3429 PROTOBUF_ASSUME(!value ||
_impl_.linear_expression_ !=
nullptr);
3432inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto_GeneratedLinearConstraint::_internal_linear_expression()
const {
3433 ::google::protobuf::internal::TSanRead(&
_impl_);
3434 const ::operations_research::math_opt::SparseDoubleVectorProto* p =
_impl_.linear_expression_;
3439 return _internal_linear_expression();
3442 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE value) {
3443 ::google::protobuf::internal::TSanWrite(&
_impl_);
3444 if (GetArena() ==
nullptr) {
3445 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.linear_expression_);
3448 if (value !=
nullptr) {
3449 _impl_._has_bits_[0] |= 0x00000001u;
3451 _impl_._has_bits_[0] &= ~0x00000001u;
3456 ::google::protobuf::internal::TSanWrite(&
_impl_);
3460 _impl_.linear_expression_ =
nullptr;
3461 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3462 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3463 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3464 if (GetArena() ==
nullptr) {
3468 if (GetArena() !=
nullptr) {
3469 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3475 ::google::protobuf::internal::TSanWrite(&
_impl_);
3478 _impl_._has_bits_[0] &= ~0x00000001u;
3480 _impl_.linear_expression_ =
nullptr;
3483inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto_GeneratedLinearConstraint::_internal_mutable_linear_expression() {
3484 ::google::protobuf::internal::TSanWrite(&
_impl_);
3485 if (
_impl_.linear_expression_ ==
nullptr) {
3486 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3489 return _impl_.linear_expression_;
3492 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3493 _impl_._has_bits_[0] |= 0x00000001u;
3499 ::google::protobuf::Arena* message_arena = GetArena();
3500 ::google::protobuf::internal::TSanWrite(&
_impl_);
3501 if (message_arena ==
nullptr) {
3502 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.linear_expression_);
3505 if (value !=
nullptr) {
3506 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3507 if (message_arena != submessage_arena) {
3508 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3510 _impl_._has_bits_[0] |= 0x00000001u;
3512 _impl_._has_bits_[0] &= ~0x00000001u;
3521 ::google::protobuf::internal::TSanWrite(&
_impl_);
3523 _impl_._has_bits_[0] &= ~0x00000002u;
3527 return _internal_lower_bound();
3530 _internal_set_lower_bound(value);
3531 _impl_._has_bits_[0] |= 0x00000002u;
3534inline double CallbackResultProto_GeneratedLinearConstraint::_internal_lower_bound()
const {
3535 ::google::protobuf::internal::TSanRead(&
_impl_);
3536 return _impl_.lower_bound_;
3538inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_lower_bound(
double value) {
3539 ::google::protobuf::internal::TSanWrite(&
_impl_);
3540 _impl_.lower_bound_ = value;
3545 ::google::protobuf::internal::TSanWrite(&
_impl_);
3547 _impl_._has_bits_[0] &= ~0x00000004u;
3551 return _internal_upper_bound();
3554 _internal_set_upper_bound(value);
3555 _impl_._has_bits_[0] |= 0x00000004u;
3558inline double CallbackResultProto_GeneratedLinearConstraint::_internal_upper_bound()
const {
3559 ::google::protobuf::internal::TSanRead(&
_impl_);
3560 return _impl_.upper_bound_;
3562inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_upper_bound(
double value) {
3563 ::google::protobuf::internal::TSanWrite(&
_impl_);
3564 _impl_.upper_bound_ = value;
3569 ::google::protobuf::internal::TSanWrite(&
_impl_);
3571 _impl_._has_bits_[0] &= ~0x00000008u;
3575 return _internal_is_lazy();
3578 _internal_set_is_lazy(value);
3579 _impl_._has_bits_[0] |= 0x00000008u;
3582inline bool CallbackResultProto_GeneratedLinearConstraint::_internal_is_lazy()
const {
3583 ::google::protobuf::internal::TSanRead(&
_impl_);
3586inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_is_lazy(
bool value) {
3587 ::google::protobuf::internal::TSanWrite(&
_impl_);
3597 ::google::protobuf::internal::TSanWrite(&
_impl_);
3598 _impl_.terminate_ =
false;
3599 _impl_._has_bits_[0] &= ~0x00000001u;
3603 return _internal_terminate();
3606 _internal_set_terminate(value);
3607 _impl_._has_bits_[0] |= 0x00000001u;
3610inline bool CallbackResultProto::_internal_terminate()
const {
3611 ::google::protobuf::internal::TSanRead(&
_impl_);
3612 return _impl_.terminate_;
3614inline void CallbackResultProto::_internal_set_terminate(
bool value) {
3615 ::google::protobuf::internal::TSanWrite(&
_impl_);
3616 _impl_.terminate_ = value;
3620inline int CallbackResultProto::_internal_cuts_size()
const {
3621 return _internal_cuts().size();
3624 return _internal_cuts_size();
3627 ::google::protobuf::internal::TSanWrite(&
_impl_);
3631 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3633 return _internal_mutable_cuts()->Mutable(index);
3635inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL
CallbackResultProto::mutable_cuts()
3636 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3638 ::google::protobuf::internal::TSanWrite(&
_impl_);
3639 return _internal_mutable_cuts();
3642 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3644 return _internal_cuts().Get(index);
3647 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3648 ::google::protobuf::internal::TSanWrite(&
_impl_);
3653inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>&
CallbackResultProto::cuts() const
3654 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3656 return _internal_cuts();
3658inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>&
3659CallbackResultProto::_internal_cuts()
const {
3660 ::google::protobuf::internal::TSanRead(&
_impl_);
3663inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL
3664CallbackResultProto::_internal_mutable_cuts() {
3665 ::google::protobuf::internal::TSanRead(&
_impl_);
3670inline int CallbackResultProto::_internal_suggested_solutions_size()
const {
3671 return _internal_suggested_solutions().size();
3674 return _internal_suggested_solutions_size();
3677 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3679 return _internal_mutable_suggested_solutions()->Mutable(index);
3682 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3684 ::google::protobuf::internal::TSanWrite(&
_impl_);
3685 return _internal_mutable_suggested_solutions();
3688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3690 return _internal_suggested_solutions().Get(index);
3693 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3694 ::google::protobuf::internal::TSanWrite(&
_impl_);
3700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3702 return _internal_suggested_solutions();
3704inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>&
3705CallbackResultProto::_internal_suggested_solutions()
const {
3706 ::google::protobuf::internal::TSanRead(&
_impl_);
3707 return _impl_.suggested_solutions_;
3709inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL
3710CallbackResultProto::_internal_mutable_suggested_solutions() {
3711 ::google::protobuf::internal::TSanRead(&
_impl_);
3712 return &
_impl_.suggested_solutions_;
3720inline int CallbackRegistrationProto::_internal_request_registration_size()
const {
3721 return _internal_request_registration().size();
3724 return _internal_request_registration_size();
3727 ::google::protobuf::internal::TSanWrite(&
_impl_);
3728 _impl_.request_registration_.Clear();
3735 _internal_mutable_request_registration()->Set(index, value);
3739 ::google::protobuf::internal::TSanWrite(&
_impl_);
3740 _internal_mutable_request_registration()->Add(value);
3744 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3746 return _internal_request_registration();
3749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3751 ::google::protobuf::internal::TSanWrite(&
_impl_);
3752 return _internal_mutable_request_registration();
3754inline const ::google::protobuf::RepeatedField<int>& CallbackRegistrationProto::_internal_request_registration()
3756 ::google::protobuf::internal::TSanRead(&
_impl_);
3759inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
3760CallbackRegistrationProto::_internal_mutable_request_registration() {
3761 ::google::protobuf::internal::TSanRead(&
_impl_);
3767 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
3768 PROTOBUF_ASSUME(!value ||
_impl_.mip_solution_filter_ !=
nullptr);
3771inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::_internal_mip_solution_filter()
const {
3772 ::google::protobuf::internal::TSanRead(&
_impl_);
3773 const ::operations_research::math_opt::SparseVectorFilterProto* p =
_impl_.mip_solution_filter_;
3778 return _internal_mip_solution_filter();
3782 ::google::protobuf::internal::TSanWrite(&
_impl_);
3783 if (GetArena() ==
nullptr) {
3784 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.mip_solution_filter_);
3787 if (value !=
nullptr) {
3788 _impl_._has_bits_[0] |= 0x00000001u;
3790 _impl_._has_bits_[0] &= ~0x00000001u;
3795 ::google::protobuf::internal::TSanWrite(&
_impl_);
3797 _impl_._has_bits_[0] &= ~0x00000001u;
3800 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3801 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3802 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3803 if (GetArena() ==
nullptr) {
3807 if (GetArena() !=
nullptr) {
3808 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3814 ::google::protobuf::internal::TSanWrite(&
_impl_);
3817 _impl_._has_bits_[0] &= ~0x00000001u;
3819 _impl_.mip_solution_filter_ =
nullptr;
3822inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::_internal_mutable_mip_solution_filter() {
3823 ::google::protobuf::internal::TSanWrite(&
_impl_);
3824 if (
_impl_.mip_solution_filter_ ==
nullptr) {
3825 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseVectorFilterProto>(GetArena());
3828 return _impl_.mip_solution_filter_;
3831 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3838 ::google::protobuf::Arena* message_arena = GetArena();
3839 ::google::protobuf::internal::TSanWrite(&
_impl_);
3840 if (message_arena ==
nullptr) {
3841 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.mip_solution_filter_);
3844 if (value !=
nullptr) {
3845 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3846 if (message_arena != submessage_arena) {
3847 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3851 _impl_._has_bits_[0] &= ~0x00000001u;
3860 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
3861 PROTOBUF_ASSUME(!value ||
_impl_.mip_node_filter_ !=
nullptr);
3864inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::_internal_mip_node_filter()
const {
3865 ::google::protobuf::internal::TSanRead(&
_impl_);
3866 const ::operations_research::math_opt::SparseVectorFilterProto* p =
_impl_.mip_node_filter_;
3871 return _internal_mip_node_filter();
3874 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE value) {
3875 ::google::protobuf::internal::TSanWrite(&
_impl_);
3876 if (GetArena() ==
nullptr) {
3877 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.mip_node_filter_);
3880 if (value !=
nullptr) {
3881 _impl_._has_bits_[0] |= 0x00000002u;
3883 _impl_._has_bits_[0] &= ~0x00000002u;
3888 ::google::protobuf::internal::TSanWrite(&
_impl_);
3890 _impl_._has_bits_[0] &= ~0x00000002u;
3893 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3894 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3895 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3896 if (GetArena() ==
nullptr) {
3900 if (GetArena() !=
nullptr) {
3901 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3907 ::google::protobuf::internal::TSanWrite(&
_impl_);
3910 _impl_._has_bits_[0] &= ~0x00000002u;
3912 _impl_.mip_node_filter_ =
nullptr;
3915inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::_internal_mutable_mip_node_filter() {
3916 ::google::protobuf::internal::TSanWrite(&
_impl_);
3917 if (
_impl_.mip_node_filter_ ==
nullptr) {
3918 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseVectorFilterProto>(GetArena());
3921 return _impl_.mip_node_filter_;
3924 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3931 ::google::protobuf::Arena* message_arena = GetArena();
3932 ::google::protobuf::internal::TSanWrite(&
_impl_);
3933 if (message_arena ==
nullptr) {
3934 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.mip_node_filter_);
3937 if (value !=
nullptr) {
3938 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3939 if (message_arena != submessage_arena) {
3940 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3944 _impl_._has_bits_[0] &= ~0x00000002u;
3953 ::google::protobuf::internal::TSanWrite(&
_impl_);
3954 _impl_.add_cuts_ =
false;
3955 _impl_._has_bits_[0] &= ~0x00000004u;
3959 return _internal_add_cuts();
3962 _internal_set_add_cuts(value);
3963 _impl_._has_bits_[0] |= 0x00000004u;
3966inline bool CallbackRegistrationProto::_internal_add_cuts()
const {
3967 ::google::protobuf::internal::TSanRead(&
_impl_);
3970inline void CallbackRegistrationProto::_internal_set_add_cuts(
bool value) {
3971 ::google::protobuf::internal::TSanWrite(&
_impl_);
3972 _impl_.add_cuts_ = value;
3977 ::google::protobuf::internal::TSanWrite(&
_impl_);
3978 _impl_.add_lazy_constraints_ =
false;
3979 _impl_._has_bits_[0] &= ~0x00000008u;
3983 return _internal_add_lazy_constraints();
3986 _internal_set_add_lazy_constraints(value);
3987 _impl_._has_bits_[0] |= 0x00000008u;
3990inline bool CallbackRegistrationProto::_internal_add_lazy_constraints()
const {
3991 ::google::protobuf::internal::TSanRead(&
_impl_);
3992 return _impl_.add_lazy_constraints_;
3994inline void CallbackRegistrationProto::_internal_set_add_lazy_constraints(
bool value) {
3995 ::google::protobuf::internal::TSanWrite(&
_impl_);
3996 _impl_.add_lazy_constraints_ = value;
4000#pragma GCC diagnostic pop
4015 return ::operations_research::math_opt::CallbackEventProto_descriptor();
4023#include "google/protobuf/port_undef.inc"
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
void clear_iteration_count()
bool has_primal_objective() const
optional double primal_objective = 2;
@ kIterationCountFieldNumber
@ kDualInfeasibilityFieldNumber
@ kPrimalInfeasibilityFieldNumber
@ kComplementarityFieldNumber
@ kDualObjectiveFieldNumber
@ kPrimalObjectiveFieldNumber
void set_dual_objective(double value)
CallbackDataProto_BarrierStats & operator=(const CallbackDataProto_BarrierStats &from)
void clear_dual_objective()
void Swap(CallbackDataProto_BarrierStats *PROTOBUF_NONNULL other)
bool has_dual_infeasibility() const
optional double dual_infeasibility = 6;
void clear_complementarity()
double primal_infeasibility() const
::int32_t iteration_count() const
double dual_infeasibility() const
friend void swap(CallbackDataProto_BarrierStats &a, CallbackDataProto_BarrierStats &b)
::size_t ByteSizeLong() const final
void MergeFrom(const CallbackDataProto_BarrierStats &from)
bool has_primal_infeasibility() const
optional double primal_infeasibility = 5;
void set_primal_objective(double value)
bool IsInitialized() const
double dual_objective() const
void clear_primal_objective()
void clear_primal_infeasibility()
bool has_iteration_count() const
optional int32 iteration_count = 1;
void set_primal_infeasibility(double value)
void CopyFrom(const CallbackDataProto_BarrierStats &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void clear_dual_infeasibility()
CallbackDataProto_BarrierStats()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
bool has_dual_objective() const
optional double dual_objective = 3;
CallbackDataProto_BarrierStats *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr auto InternalGenerateClassData_()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
double primal_objective() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_complementarity(double value)
void set_iteration_count(::int32_t value)
void set_dual_infeasibility(double value)
double complementarity() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::Arena
bool has_complementarity() const
optional double complementarity = 4;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
void clear_explored_nodes()
friend void swap(CallbackDataProto_MipStats &a, CallbackDataProto_MipStats &b)
void clear_simplex_iterations()
void CopyFrom(const CallbackDataProto_MipStats &from)
::int64_t simplex_iterations() const
void set_simplex_iterations(::int64_t value)
void set_cutting_planes_in_lp(::int32_t value)
double primal_bound() const
bool has_open_nodes() const
optional int64 open_nodes = 4;
void set_dual_bound(double value)
void Swap(CallbackDataProto_MipStats *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
@ kNumberOfSolutionsFoundFieldNumber
@ kSimplexIterationsFieldNumber
@ kCuttingPlanesInLpFieldNumber
double dual_bound() const
bool has_dual_bound() const
optional double dual_bound = 2;
bool has_explored_nodes() const
optional int64 explored_nodes = 3;
::int32_t cutting_planes_in_lp() const
bool has_cutting_planes_in_lp() const
optional int32 cutting_planes_in_lp = 7;
void MergeFrom(const CallbackDataProto_MipStats &from)
CallbackDataProto_MipStats & operator=(const CallbackDataProto_MipStats &from)
CallbackDataProto_MipStats()
::int64_t explored_nodes() const
::int32_t number_of_solutions_found() const
::int64_t open_nodes() const
bool has_number_of_solutions_found() const
optional int32 number_of_solutions_found = 6;
void clear_number_of_solutions_found()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_number_of_solutions_found(::int32_t value)
void clear_cutting_planes_in_lp()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static constexpr int kIndexInFileMessages
bool has_simplex_iterations() const
optional int64 simplex_iterations = 5;
static const CallbackDataProto_MipStats & default_instance()
bool IsInitialized() const
PROTOBUF_CONSTEXPR CallbackDataProto_MipStats(::google::protobuf::internal::ConstantInitialized)
void set_explored_nodes(::int64_t value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void set_primal_bound(double value)
bool has_primal_bound() const
optional double primal_bound = 1;
void set_open_nodes(::int64_t value)
::size_t ByteSizeLong() const final
void clear_primal_bound()
friend class ::google::protobuf::MessageLite
void clear_coefficient_changes()
void clear_removed_constraints()
void set_coefficient_changes(::int64_t value)
PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStats(::google::protobuf::internal::ConstantInitialized)
void set_removed_variables(::int64_t value)
::int64_t bound_changes() const
CallbackDataProto_PresolveStats()
bool has_removed_constraints() const
optional int64 removed_constraints = 2;
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
bool IsInitialized() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void clear_bound_changes()
bool has_removed_variables() const
optional int64 removed_variables = 1;
bool has_bound_changes() const
optional int64 bound_changes = 3;
@ kCoefficientChangesFieldNumber
void MergeFrom(const CallbackDataProto_PresolveStats &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_bound_changes(::int64_t value)
void Swap(CallbackDataProto_PresolveStats *PROTOBUF_NONNULL other)
::int64_t coefficient_changes() const
bool has_coefficient_changes() const
optional int64 coefficient_changes = 4;
CallbackDataProto_PresolveStats & operator=(const CallbackDataProto_PresolveStats &from)
void CopyFrom(const CallbackDataProto_PresolveStats &from)
::int64_t removed_constraints() const
void clear_removed_variables()
::int64_t removed_variables() const
void set_removed_constraints(::int64_t value)
::size_t ByteSizeLong() const final
static const CallbackDataProto_PresolveStats & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
bool has_primal_infeasibility() const
optional double primal_infeasibility = 3;
friend class ::google::protobuf::MessageLite
bool has_iteration_count() const
optional int64 iteration_count = 1;
void clear_is_pertubated()
double dual_infeasibility() const
CallbackDataProto_SimplexStats & operator=(const CallbackDataProto_SimplexStats &from)
void CopyFrom(const CallbackDataProto_SimplexStats &from)
void clear_objective_value()
double primal_infeasibility() const
bool has_objective_value() const
optional double objective_value = 2;
CallbackDataProto_SimplexStats(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, CallbackDataProto_SimplexStats &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_iteration_count()
bool is_pertubated() const
void set_dual_infeasibility(double value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void clear_dual_infeasibility()
CallbackDataProto_SimplexStats()
@ kPrimalInfeasibilityFieldNumber
@ kIsPertubatedFieldNumber
@ kDualInfeasibilityFieldNumber
void set_iteration_count(::int64_t value)
void set_objective_value(double value)
::int64_t iteration_count() const
bool IsInitialized() const
CallbackDataProto_SimplexStats(const CallbackDataProto_SimplexStats &from)
void set_is_pertubated(bool value)
void set_primal_infeasibility(double value)
PROTOBUF_CONSTEXPR CallbackDataProto_SimplexStats(::google::protobuf::internal::ConstantInitialized)
void clear_primal_infeasibility()
double objective_value() const
bool has_is_pertubated() const
optional bool is_pertubated = 5;
void Swap(CallbackDataProto_SimplexStats *PROTOBUF_NONNULL other)
bool has_dual_infeasibility() const
optional double dual_infeasibility = 4;
void set_event(::operations_research::math_opt::CallbackEventProto value)
::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE release_mip_stats()
static constexpr auto InternalGenerateClassData_()
::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE unsafe_arena_release_simplex_stats()
const ::operations_research::math_opt::CallbackDataProto_SimplexStats & simplex_stats() const
void set_allocated_simplex_stats(::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE value)
bool has_mip_stats() const
.operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
void unsafe_arena_set_allocated_mip_stats(::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE value)
bool has_presolve_stats() const
.operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
void clear_presolve_stats()
::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NONNULL mutable_barrier_stats()
::size_t ByteSizeLong() const final
::operations_research::math_opt::CallbackEventProto event() const
::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE release_simplex_stats()
@ kPrimalSolutionVectorFieldNumber
@ kPresolveStatsFieldNumber
@ kBarrierStatsFieldNumber
@ kSimplexStatsFieldNumber
::google::protobuf::Duration *PROTOBUF_NULLABLE release_runtime()
bool has_runtime() const
.google.protobuf.Duration runtime = 3;
bool has_primal_solution_vector() const
.operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE release_barrier_stats()
::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NONNULL mutable_mip_stats()
void clear_primal_solution_vector()
const ::operations_research::math_opt::CallbackDataProto_MipStats & mip_stats() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_primal_solution_vector()
void unsafe_arena_set_allocated_presolve_stats(::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE value)
static constexpr auto InternalNewImpl_()
friend void swap(CallbackDataProto &a, CallbackDataProto &b)
::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE unsafe_arena_release_mip_stats()
::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE release_presolve_stats()
bool has_simplex_stats() const
.operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
const ::operations_research::math_opt::CallbackDataProto_PresolveStats & presolve_stats() const
::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NONNULL mutable_presolve_stats()
const ::google::protobuf::Duration & runtime() const
void unsafe_arena_set_allocated_primal_solution_vector(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
CallbackDataProto_SimplexStats SimplexStats
::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NONNULL mutable_simplex_stats()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::operations_research::math_opt::SparseDoubleVectorProto & primal_solution_vector() const
void clear_event()
.operations_research.math_opt.CallbackEventProto event = 1;
void clear_simplex_stats()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_runtime()
void set_allocated_mip_stats(::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE value)
void set_allocated_primal_solution_vector(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void set_allocated_runtime(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_runtime(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void set_allocated_barrier_stats(::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_primal_solution_vector()
void set_allocated_presolve_stats(::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE value)
::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE unsafe_arena_release_presolve_stats()
static const CallbackDataProto & default_instance()
CallbackDataProto_BarrierStats BarrierStats
void UnsafeArenaSwap(CallbackDataProto *PROTOBUF_NONNULL other)
CallbackDataProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
bool has_barrier_stats() const
.operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
void unsafe_arena_set_allocated_barrier_stats(::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
const ::operations_research::math_opt::CallbackDataProto_BarrierStats & barrier_stats() const
CallbackDataProto_MipStats MipStats
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_primal_solution_vector()
bool IsInitialized() const
void clear_barrier_stats()
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_runtime()
::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE unsafe_arena_release_barrier_stats()
void unsafe_arena_set_allocated_simplex_stats(::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE value)
CallbackDataProto_PresolveStats PresolveStats
nested types -------------------------------------------------—
friend class ::google::protobuf::Arena
void Swap(CallbackDataProto *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NONNULL mutable_mip_node_filter()
::size_t ByteSizeLong() const final
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE release_mip_node_filter()
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NONNULL mutable_mip_solution_filter()
void set_add_lazy_constraints(bool value)
const ::operations_research::math_opt::SparseVectorFilterProto & mip_solution_filter() const
bool has_mip_node_filter() const
.operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
static constexpr auto InternalNewImpl_()
void unsafe_arena_set_allocated_mip_node_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE unsafe_arena_release_mip_node_filter()
::google::protobuf::RepeatedField< int > *PROTOBUF_NONNULL mutable_request_registration()
CallbackRegistrationProto & operator=(const CallbackRegistrationProto &from)
void clear_request_registration()
void unsafe_arena_set_allocated_mip_solution_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
@ kMipNodeFilterFieldNumber
@ kRequestRegistrationFieldNumber
@ kMipSolutionFilterFieldNumber
@ kAddLazyConstraintsFieldNumber
CallbackRegistrationProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void clear_mip_node_filter()
void add_request_registration(::operations_research::math_opt::CallbackEventProto value)
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE release_mip_solution_filter()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_add_lazy_constraints()
bool add_lazy_constraints = 5;
friend void swap(CallbackRegistrationProto &a, CallbackRegistrationProto &b)
void clear_mip_solution_filter()
void clear_add_cuts()
bool add_cuts = 4;
bool IsInitialized() const
static const CallbackRegistrationProto & default_instance()
bool add_lazy_constraints() const
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
void set_allocated_mip_solution_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::CallbackEventProto request_registration(int index) const
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE unsafe_arena_release_mip_solution_filter()
CallbackRegistrationProto()
const ::operations_research::math_opt::SparseVectorFilterProto & mip_node_filter() const
const ::google::protobuf::RepeatedField< int > & request_registration() const
void set_allocated_mip_node_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
static constexpr int kIndexInFileMessages
void set_request_registration(int index, ::operations_research::math_opt::CallbackEventProto value)
void set_add_cuts(bool value)
int request_registration_size() const
repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
friend class ::google::protobuf::Arena
void Swap(CallbackRegistrationProto *PROTOBUF_NONNULL other)
bool has_mip_solution_filter() const
.operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
void set_allocated_linear_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
double lower_bound() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
double upper_bound() const
::google::protobuf::Metadata GetMetadata() const
void unsafe_arena_set_allocated_linear_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
static constexpr auto InternalGenerateClassData_()
bool has_linear_expression() const
.operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
void clear_lower_bound()
double lower_bound = 2;
void set_is_lazy(bool value)
CallbackResultProto_GeneratedLinearConstraint & operator=(const CallbackResultProto_GeneratedLinearConstraint &from)
::size_t ByteSizeLong() const final
void CopyFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
void clear_linear_expression()
void set_upper_bound(double value)
void Swap(CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL other)
@ kLinearExpressionFieldNumber
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_expression()
static const CallbackResultProto_GeneratedLinearConstraint & default_instance()
bool IsInitialized() const
void MergeFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void clear_upper_bound()
double upper_bound = 3;
void set_lower_bound(double value)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr auto InternalNewImpl_()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_expression()
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_expression() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_expression()
void clear_is_lazy()
bool is_lazy = 4;
CallbackResultProto_GeneratedLinearConstraint()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
friend class ::google::protobuf::Arena
static const CallbackResultProto & default_instance()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > & cuts() const
bool IsInitialized() const
const ::operations_research::math_opt::SparseDoubleVectorProto & suggested_solutions(int index) const
void UnsafeArenaSwap(CallbackResultProto *PROTOBUF_NONNULL other)
void CopyFrom(const CallbackResultProto &from)
const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint & cuts(int index) const
int cuts_size() const
repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
int suggested_solutions_size() const
repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
static constexpr auto InternalNewImpl_()
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > *PROTOBUF_NONNULL mutable_cuts()
::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL mutable_cuts(int index)
CallbackResultProto_GeneratedLinearConstraint GeneratedLinearConstraint
nested types -------------------------------------------------—
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL add_suggested_solutions()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_suggested_solutions(int index)
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto > *PROTOBUF_NONNULL mutable_suggested_solutions()
void set_terminate(bool value)
void Swap(CallbackResultProto *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
CallbackResultProto & operator=(const CallbackResultProto &from)
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL add_cuts()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
void clear_terminate()
bool terminate = 1;
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto > & suggested_solutions() const
void clear_suggested_solutions()
@ kSuggestedSolutionsFieldNumber
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::CallbackEventProto >()
An object oriented wrapper for quadratic constraints in ModelStorage.
PROTOBUF_CONSTINIT const uint32_t CallbackEventProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProtoDefaultTypeInternal _CallbackResultProto_default_instance_
const ::std::string & CallbackEventProto_Name(T value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackRegistrationProtoDefaultTypeInternal _CallbackRegistrationProto_default_instance_
@ CALLBACK_EVENT_PRESOLVE
@ CALLBACK_EVENT_UNSPECIFIED
@ CallbackEventProto_INT_MAX_SENTINEL_DO_NOT_USE_
@ CALLBACK_EVENT_MIP_NODE
@ CALLBACK_EVENT_MIP_SOLUTION
@ CallbackEventProto_INT_MIN_SENTINEL_DO_NOT_USE_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleVectorProtoDefaultTypeInternal _SparseDoubleVectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_SimplexStatsDefaultTypeInternal _CallbackDataProto_SimplexStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProtoDefaultTypeInternal _CallbackDataProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseVectorFilterProtoDefaultTypeInternal _SparseVectorFilterProto_default_instance_
bool CallbackEventProto_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_PresolveStatsDefaultTypeInternal _CallbackDataProto_PresolveStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_MipStatsDefaultTypeInternal _CallbackDataProto_MipStats_default_instance_
bool CallbackEventProto_Parse(::absl::string_view name, CallbackEventProto *PROTOBUF_NONNULL value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_BarrierStatsDefaultTypeInternal _CallbackDataProto_BarrierStats_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CallbackEventProto_descriptor()
constexpr CallbackEventProto CallbackEventProto_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_
constexpr int CallbackEventProto_ARRAYSIZE
constexpr CallbackEventProto CallbackEventProto_MAX
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal _CallbackResultProto_GeneratedLinearConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_
In SWIG mode, we don't want anything besides these top-level includes.