10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
30inline constexpr CallbackDataProto_SimplexStats::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
33 iteration_count_{::int64_t{0}},
35 primal_infeasibility_{0},
36 dual_infeasibility_{0},
37 is_pertubated_{
false} {}
41#if defined(PROTOBUF_CUSTOM_VTABLE)
44 : ::google::protobuf::Message(),
46 _impl_(::_pbi::ConstantInitialized()) {
56PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
59inline constexpr CallbackDataProto_PresolveStats::Impl_::Impl_(
60 ::_pbi::ConstantInitialized) noexcept
62 removed_variables_{::int64_t{0}},
63 removed_constraints_{::int64_t{0}},
64 bound_changes_{::int64_t{0}},
65 coefficient_changes_{::int64_t{0}} {}
69#if defined(PROTOBUF_CUSTOM_VTABLE)
72 : ::google::protobuf::Message(),
74 _impl_(::_pbi::ConstantInitialized()) {
84PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
87inline constexpr CallbackDataProto_MipStats::Impl_::Impl_(
88 ::_pbi::ConstantInitialized) noexcept
92 explored_nodes_{::int64_t{0}},
93 open_nodes_{::int64_t{0}},
94 simplex_iterations_{::int64_t{0}},
95 number_of_solutions_found_{0},
96 cutting_planes_in_lp_{0} {}
100#if defined(PROTOBUF_CUSTOM_VTABLE)
103 : ::google::protobuf::Message(),
105 _impl_(::_pbi::ConstantInitialized()) {
115PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
118inline constexpr CallbackDataProto_BarrierStats::Impl_::Impl_(
119 ::_pbi::ConstantInitialized) noexcept
121 primal_objective_{0},
124 primal_infeasibility_{0},
125 dual_infeasibility_{0},
126 iteration_count_{0} {}
130#if defined(PROTOBUF_CUSTOM_VTABLE)
133 : ::google::protobuf::Message(),
135 _impl_(::_pbi::ConstantInitialized()) {
145PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
148inline constexpr CallbackResultProto_GeneratedLinearConstraint::Impl_::Impl_(
149 ::_pbi::ConstantInitialized) noexcept
151 linear_expression_{
nullptr},
158#if defined(PROTOBUF_CUSTOM_VTABLE)
161 : ::google::protobuf::Message(),
163 _impl_(::_pbi::ConstantInitialized()) {
173PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
176inline constexpr CallbackRegistrationProto::Impl_::Impl_(
177 ::_pbi::ConstantInitialized) noexcept
179 request_registration_{},
180 _request_registration_cached_byte_size_{0},
181 mip_solution_filter_{
nullptr},
182 mip_node_filter_{
nullptr},
184 add_lazy_constraints_{
false} {}
188#if defined(PROTOBUF_CUSTOM_VTABLE)
191 : ::google::protobuf::Message(),
193 _impl_(::_pbi::ConstantInitialized()) {
203PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
206inline constexpr CallbackDataProto::Impl_::Impl_(
207 ::_pbi::ConstantInitialized) noexcept
209 primal_solution_vector_{
nullptr},
211 presolve_stats_{
nullptr},
212 simplex_stats_{
nullptr},
213 barrier_stats_{
nullptr},
219#if defined(PROTOBUF_CUSTOM_VTABLE)
222 : ::google::protobuf::Message(),
224 _impl_(::_pbi::ConstantInitialized()) {
234PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
237inline constexpr CallbackResultProto::Impl_::Impl_(
238 ::_pbi::ConstantInitialized) noexcept
242 suggested_solutions_{} {}
246#if defined(PROTOBUF_CUSTOM_VTABLE)
249 : ::google::protobuf::Message(),
251 _impl_(::_pbi::ConstantInitialized()) {
261PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
265static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
267static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
380static const ::_pbi::MigrationSchema
403 "\n\037ortools/math_opt/callback.proto\022\034opera"
404 "tions_research.math_opt\032\036google/protobuf"
405 "/duration.proto\032(ortools/math_opt/sparse"
406 "_containers.proto\"\346\r\n\021CallbackDataProto\022"
407 "\?\n\005event\030\001 \001(\01620.operations_research.mat"
408 "h_opt.CallbackEventProto\022U\n\026primal_solut"
409 "ion_vector\030\002 \001(\01325.operations_research.m"
410 "ath_opt.SparseDoubleVectorProto\022*\n\007runti"
411 "me\030\003 \001(\0132\031.google.protobuf.Duration\022U\n\016p"
412 "resolve_stats\030\004 \001(\0132=.operations_researc"
413 "h.math_opt.CallbackDataProto.PresolveSta"
414 "ts\022S\n\rsimplex_stats\030\005 \001(\0132<.operations_r"
415 "esearch.math_opt.CallbackDataProto.Simpl"
416 "exStats\022S\n\rbarrier_stats\030\006 \001(\0132<.operati"
417 "ons_research.math_opt.CallbackDataProto."
418 "BarrierStats\022K\n\tmip_stats\030\007 \001(\01328.operat"
419 "ions_research.math_opt.CallbackDataProto"
420 ".MipStats\032\347\001\n\rPresolveStats\022\036\n\021removed_v"
421 "ariables\030\001 \001(\003H\000\210\001\001\022 \n\023removed_constrain"
422 "ts\030\002 \001(\003H\001\210\001\001\022\032\n\rbound_changes\030\003 \001(\003H\002\210\001"
423 "\001\022 \n\023coefficient_changes\030\004 \001(\003H\003\210\001\001B\024\n\022_"
424 "removed_variablesB\026\n\024_removed_constraint"
425 "sB\020\n\016_bound_changesB\026\n\024_coefficient_chan"
426 "ges\032\224\002\n\014SimplexStats\022\034\n\017iteration_count\030"
427 "\001 \001(\003H\000\210\001\001\022\034\n\017objective_value\030\002 \001(\001H\001\210\001\001"
428 "\022!\n\024primal_infeasibility\030\003 \001(\001H\002\210\001\001\022\037\n\022d"
429 "ual_infeasibility\030\004 \001(\001H\003\210\001\001\022\032\n\ris_pertu"
430 "bated\030\005 \001(\010H\004\210\001\001B\022\n\020_iteration_countB\022\n\020"
431 "_objective_valueB\027\n\025_primal_infeasibilit"
432 "yB\025\n\023_dual_infeasibilityB\020\n\016_is_pertubat"
433 "ed\032\312\002\n\014BarrierStats\022\034\n\017iteration_count\030\001"
434 " \001(\005H\000\210\001\001\022\035\n\020primal_objective\030\002 \001(\001H\001\210\001\001"
435 "\022\033\n\016dual_objective\030\003 \001(\001H\002\210\001\001\022\034\n\017complem"
436 "entarity\030\004 \001(\001H\003\210\001\001\022!\n\024primal_infeasibil"
437 "ity\030\005 \001(\001H\004\210\001\001\022\037\n\022dual_infeasibility\030\006 \001"
438 "(\001H\005\210\001\001B\022\n\020_iteration_countB\023\n\021_primal_o"
439 "bjectiveB\021\n\017_dual_objectiveB\022\n\020_compleme"
440 "ntarityB\027\n\025_primal_infeasibilityB\025\n\023_dua"
441 "l_infeasibility\032\360\002\n\010MipStats\022\031\n\014primal_b"
442 "ound\030\001 \001(\001H\000\210\001\001\022\027\n\ndual_bound\030\002 \001(\001H\001\210\001\001"
443 "\022\033\n\016explored_nodes\030\003 \001(\003H\002\210\001\001\022\027\n\nopen_no"
444 "des\030\004 \001(\003H\003\210\001\001\022\037\n\022simplex_iterations\030\005 \001"
445 "(\003H\004\210\001\001\022&\n\031number_of_solutions_found\030\006 \001"
446 "(\005H\005\210\001\001\022!\n\024cutting_planes_in_lp\030\007 \001(\005H\006\210"
447 "\001\001B\017\n\r_primal_boundB\r\n\013_dual_boundB\021\n\017_e"
448 "xplored_nodesB\r\n\013_open_nodesB\025\n\023_simplex"
449 "_iterationsB\034\n\032_number_of_solutions_foun"
450 "dB\027\n\025_cutting_planes_in_lp\"\202\003\n\023CallbackR"
451 "esultProto\022\021\n\tterminate\030\001 \001(\010\022Y\n\004cuts\030\004 "
452 "\003(\0132K.operations_research.math_opt.Callb"
453 "ackResultProto.GeneratedLinearConstraint"
454 "\022R\n\023suggested_solutions\030\005 \003(\01325.operatio"
455 "ns_research.math_opt.SparseDoubleVectorP"
456 "roto\032\250\001\n\031GeneratedLinearConstraint\022P\n\021li"
457 "near_expression\030\001 \001(\01325.operations_resea"
458 "rch.math_opt.SparseDoubleVectorProto\022\023\n\013"
459 "lower_bound\030\002 \001(\001\022\023\n\013upper_bound\030\003 \001(\001\022\017"
460 "\n\007is_lazy\030\004 \001(\010\"\277\002\n\031CallbackRegistration"
461 "Proto\022N\n\024request_registration\030\001 \003(\01620.op"
462 "erations_research.math_opt.CallbackEvent"
463 "Proto\022R\n\023mip_solution_filter\030\002 \001(\01325.ope"
464 "rations_research.math_opt.SparseVectorFi"
465 "lterProto\022N\n\017mip_node_filter\030\003 \001(\01325.ope"
466 "rations_research.math_opt.SparseVectorFi"
467 "lterProto\022\020\n\010add_cuts\030\004 \001(\010\022\034\n\024add_lazy_"
468 "constraints\030\005 \001(\010*\337\001\n\022CallbackEventProto"
469 "\022\036\n\032CALLBACK_EVENT_UNSPECIFIED\020\000\022\033\n\027CALL"
470 "BACK_EVENT_PRESOLVE\020\001\022\032\n\026CALLBACK_EVENT_"
471 "SIMPLEX\020\002\022\026\n\022CALLBACK_EVENT_MIP\020\003\022\037\n\033CAL"
472 "LBACK_EVENT_MIP_SOLUTION\020\004\022\033\n\027CALLBACK_E"
473 "VENT_MIP_NODE\020\005\022\032\n\026CALLBACK_EVENT_BARRIE"
474 "R\020\006B\036\n\032com.google.ortools.mathoptP\001b\006pro"
477static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
479 &::descriptor_table_google_2fprotobuf_2fduration_2eproto,
487 descriptor_table_protodef_ortools_2fmath_5fopt_2fcallback_2eproto,
488 "ortools/math_opt/callback.proto",
509class CallbackDataProto_PresolveStats::_Internal {
512 decltype(::std::declval<CallbackDataProto_PresolveStats>()._impl_._has_bits_);
518#if defined(PROTOBUF_CUSTOM_VTABLE)
521 : ::google::protobuf::Message(arena) {
528#if defined(PROTOBUF_CUSTOM_VTABLE)
531 : ::google::protobuf::Message(arena),
534 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
535 from._internal_metadata_);
537PROTOBUF_NDEBUG_INLINE CallbackDataProto_PresolveStats::Impl_::Impl_(
538 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
539 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
540 : _cached_size_{0} {}
542inline void CallbackDataProto_PresolveStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
543 new (&
_impl_) Impl_(internal_visibility(), arena);
544 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
545 offsetof(Impl_, removed_variables_),
547 offsetof(Impl_, coefficient_changes_) -
548 offsetof(Impl_, removed_variables_) +
549 sizeof(Impl_::coefficient_changes_));
555inline void CallbackDataProto_PresolveStats::SharedDtor(
MessageLite& self) {
557 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
558 this_.CheckHasBitConsistency();
560 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
561 ABSL_DCHECK(this_.GetArena() ==
nullptr);
565inline void* PROTOBUF_NONNULL CallbackDataProto_PresolveStats::PlacementNew_(
566 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
567 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
570constexpr auto CallbackDataProto_PresolveStats::InternalNewImpl_() {
575 return ::google::protobuf::internal::ClassDataFull{
576 ::google::protobuf::internal::ClassData{
581 &CallbackDataProto_PresolveStats::MergeImpl,
582 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_PresolveStats>(),
583#if defined(PROTOBUF_CUSTOM_VTABLE)
584 &CallbackDataProto_PresolveStats::SharedDtor,
591 &CallbackDataProto_PresolveStats::kDescriptorMethods,
597PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
601PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
602CallbackDataProto_PresolveStats::GetClassData()
const {
607PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
608const ::_pbi::TcParseTable<2, 4, 0, 0, 2>
609CallbackDataProto_PresolveStats::_table_ = {
614 offsetof(
decltype(_table_), field_lookup_table),
616 offsetof(
decltype(_table_), field_entries),
619 offsetof(
decltype(_table_), field_names),
622 ::_pbi::TcParser::GenericFallback,
623 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
624 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_PresolveStats>(),
661 ::google::protobuf::internal::TSanWrite(&
_impl_);
662 ::uint32_t cached_has_bits = 0;
664 (void) cached_has_bits;
666 cached_has_bits =
_impl_._has_bits_[0];
667 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
668 ::memset(&
_impl_.removed_variables_, 0,
static_cast<::
size_t>(
669 reinterpret_cast<char*
>(&
_impl_.coefficient_changes_) -
670 reinterpret_cast<char*
>(&
_impl_.removed_variables_)) +
sizeof(
_impl_.coefficient_changes_));
672 _impl_._has_bits_.Clear();
673 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
676#if defined(PROTOBUF_CUSTOM_VTABLE)
678 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
679 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
683 ::uint8_t* PROTOBUF_NONNULL target,
684 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
687 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
688 this_.CheckHasBitConsistency();
691 ::uint32_t cached_has_bits = 0;
692 (void)cached_has_bits;
694 cached_has_bits = this_.
_impl_._has_bits_[0];
696 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
698 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
699 stream, this_._internal_removed_variables(), target);
703 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
705 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
706 stream, this_._internal_removed_constraints(), target);
710 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
712 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
713 stream, this_._internal_bound_changes(), target);
717 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
719 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
720 stream, this_._internal_coefficient_changes(), target);
723 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
725 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
726 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
732#if defined(PROTOBUF_CUSTOM_VTABLE)
740 ::size_t total_size = 0;
742 ::uint32_t cached_has_bits = 0;
744 (void)cached_has_bits;
746 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
747 cached_has_bits = this_.
_impl_._has_bits_[0];
748 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
750 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
751 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
752 this_._internal_removed_variables());
755 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
756 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
757 this_._internal_removed_constraints());
760 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
761 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
762 this_._internal_bound_changes());
765 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
766 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
767 this_._internal_coefficient_changes());
770 return this_.MaybeComputeUnknownFieldsSize(total_size,
771 &this_.
_impl_._cached_size_);
774void CallbackDataProto_PresolveStats::MergeImpl(::google::protobuf::MessageLite& to_msg,
775 const ::google::protobuf::MessageLite& from_msg) {
779 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
780 from.CheckHasBitConsistency();
783 ABSL_DCHECK_NE(&from, _this);
784 ::uint32_t cached_has_bits = 0;
785 (void)cached_has_bits;
787 cached_has_bits = from.
_impl_._has_bits_[0];
788 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
789 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
790 _this->_impl_.removed_variables_ = from.
_impl_.removed_variables_;
792 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
793 _this->_impl_.removed_constraints_ = from.
_impl_.removed_constraints_;
795 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
796 _this->_impl_.bound_changes_ = from.
_impl_.bound_changes_;
798 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
799 _this->_impl_.coefficient_changes_ = from.
_impl_.coefficient_changes_;
802 _this->_impl_._has_bits_[0] |= cached_has_bits;
803 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
804 from._internal_metadata_);
809 if (&from ==
this)
return;
817 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
818 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
819 ::google::protobuf::internal::memswap<
823 reinterpret_cast<char*
>(&
_impl_.removed_variables_),
824 reinterpret_cast<char*
>(&other->_impl_.removed_variables_));
828 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
835 decltype(::std::declval<CallbackDataProto_SimplexStats>()._impl_._has_bits_);
841#if defined(PROTOBUF_CUSTOM_VTABLE)
844 : ::google::protobuf::Message(arena) {
851#if defined(PROTOBUF_CUSTOM_VTABLE)
854 : ::google::protobuf::Message(arena),
857 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
858 from._internal_metadata_);
860PROTOBUF_NDEBUG_INLINE CallbackDataProto_SimplexStats::Impl_::Impl_(
861 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
862 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
863 : _cached_size_{0} {}
865inline void CallbackDataProto_SimplexStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
866 new (&
_impl_) Impl_(internal_visibility(), arena);
867 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
868 offsetof(Impl_, iteration_count_),
870 offsetof(Impl_, is_pertubated_) -
871 offsetof(Impl_, iteration_count_) +
872 sizeof(Impl_::is_pertubated_));
878inline void CallbackDataProto_SimplexStats::SharedDtor(
MessageLite& self) {
880 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
881 this_.CheckHasBitConsistency();
883 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
884 ABSL_DCHECK(this_.GetArena() ==
nullptr);
888inline void* PROTOBUF_NONNULL CallbackDataProto_SimplexStats::PlacementNew_(
889 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
890 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
893constexpr auto CallbackDataProto_SimplexStats::InternalNewImpl_() {
898 return ::google::protobuf::internal::ClassDataFull{
899 ::google::protobuf::internal::ClassData{
904 &CallbackDataProto_SimplexStats::MergeImpl,
905 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_SimplexStats>(),
906#if defined(PROTOBUF_CUSTOM_VTABLE)
907 &CallbackDataProto_SimplexStats::SharedDtor,
914 &CallbackDataProto_SimplexStats::kDescriptorMethods,
920PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
924PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
925CallbackDataProto_SimplexStats::GetClassData()
const {
930PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
931const ::_pbi::TcParseTable<3, 5, 0, 0, 2>
932CallbackDataProto_SimplexStats::_table_ = {
937 offsetof(
decltype(_table_), field_lookup_table),
939 offsetof(
decltype(_table_), field_entries),
942 offsetof(
decltype(_table_), field_names),
945 ::_pbi::TcParser::GenericFallback,
946 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
947 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_SimplexStats>(),
950 {::_pbi::TcParser::MiniParse, {}},
956 {::_pbi::TcParser::FastF64S1,
960 {::_pbi::TcParser::FastF64S1,
964 {::_pbi::TcParser::FastF64S1,
971 {::_pbi::TcParser::MiniParse, {}},
972 {::_pbi::TcParser::MiniParse, {}},
993 ::google::protobuf::internal::TSanWrite(&
_impl_);
994 ::uint32_t cached_has_bits = 0;
996 (void) cached_has_bits;
998 cached_has_bits =
_impl_._has_bits_[0];
999 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1000 ::memset(&
_impl_.iteration_count_, 0,
static_cast<::
size_t>(
1001 reinterpret_cast<char*
>(&
_impl_.is_pertubated_) -
1002 reinterpret_cast<char*
>(&
_impl_.iteration_count_)) +
sizeof(
_impl_.is_pertubated_));
1004 _impl_._has_bits_.Clear();
1005 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1008#if defined(PROTOBUF_CUSTOM_VTABLE)
1010 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1011 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1015 ::uint8_t* PROTOBUF_NONNULL target,
1016 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1019 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1020 this_.CheckHasBitConsistency();
1023 ::uint32_t cached_has_bits = 0;
1024 (void)cached_has_bits;
1026 cached_has_bits = this_.
_impl_._has_bits_[0];
1028 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1030 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
1031 stream, this_._internal_iteration_count(), target);
1035 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1036 target = stream->EnsureSpace(target);
1037 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1038 2, this_._internal_objective_value(), target);
1042 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1043 target = stream->EnsureSpace(target);
1044 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1045 3, this_._internal_primal_infeasibility(), target);
1049 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1050 target = stream->EnsureSpace(target);
1051 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1052 4, this_._internal_dual_infeasibility(), target);
1056 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1057 target = stream->EnsureSpace(target);
1058 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1059 5, this_._internal_is_pertubated(), target);
1062 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1064 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1065 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1071#if defined(PROTOBUF_CUSTOM_VTABLE)
1079 ::size_t total_size = 0;
1081 ::uint32_t cached_has_bits = 0;
1083 (void)cached_has_bits;
1085 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1086 cached_has_bits = this_.
_impl_._has_bits_[0];
1087 total_size += ::absl::popcount(0x0000000eU & cached_has_bits) * 9;
1088 total_size +=
static_cast<bool>(0x00000010U & cached_has_bits) * 2;
1091 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1092 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1093 this_._internal_iteration_count());
1096 return this_.MaybeComputeUnknownFieldsSize(total_size,
1097 &this_.
_impl_._cached_size_);
1100void CallbackDataProto_SimplexStats::MergeImpl(::google::protobuf::MessageLite& to_msg,
1101 const ::google::protobuf::MessageLite& from_msg) {
1105 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1106 from.CheckHasBitConsistency();
1109 ABSL_DCHECK_NE(&from, _this);
1110 ::uint32_t cached_has_bits = 0;
1111 (void)cached_has_bits;
1113 cached_has_bits = from.
_impl_._has_bits_[0];
1114 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1115 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1116 _this->_impl_.iteration_count_ = from.
_impl_.iteration_count_;
1118 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1119 _this->_impl_.objective_value_ = from.
_impl_.objective_value_;
1121 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1122 _this->_impl_.primal_infeasibility_ = from.
_impl_.primal_infeasibility_;
1124 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1125 _this->_impl_.dual_infeasibility_ = from.
_impl_.dual_infeasibility_;
1127 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1128 _this->_impl_.is_pertubated_ = from.
_impl_.is_pertubated_;
1131 _this->_impl_._has_bits_[0] |= cached_has_bits;
1132 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1133 from._internal_metadata_);
1138 if (&from ==
this)
return;
1146 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1147 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1148 ::google::protobuf::internal::memswap<
1152 reinterpret_cast<char*
>(&
_impl_.iteration_count_),
1153 reinterpret_cast<char*
>(&other->_impl_.iteration_count_));
1157 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1164 decltype(::std::declval<CallbackDataProto_BarrierStats>()._impl_._has_bits_);
1170#if defined(PROTOBUF_CUSTOM_VTABLE)
1173 : ::google::protobuf::Message(arena) {
1180#if defined(PROTOBUF_CUSTOM_VTABLE)
1183 : ::google::protobuf::Message(arena),
1186 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1187 from._internal_metadata_);
1189PROTOBUF_NDEBUG_INLINE CallbackDataProto_BarrierStats::Impl_::Impl_(
1190 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1191 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1192 : _cached_size_{0} {}
1194inline void CallbackDataProto_BarrierStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1195 new (&
_impl_) Impl_(internal_visibility(), arena);
1196 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1197 offsetof(Impl_, primal_objective_),
1199 offsetof(Impl_, iteration_count_) -
1200 offsetof(Impl_, primal_objective_) +
1201 sizeof(Impl_::iteration_count_));
1207inline void CallbackDataProto_BarrierStats::SharedDtor(
MessageLite& self) {
1209 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1210 this_.CheckHasBitConsistency();
1212 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1213 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1217inline void* PROTOBUF_NONNULL CallbackDataProto_BarrierStats::PlacementNew_(
1218 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1219 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1220 return ::new (mem) CallbackDataProto_BarrierStats(arena);
1222constexpr auto CallbackDataProto_BarrierStats::InternalNewImpl_() {
1223 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(CallbackDataProto_BarrierStats),
1224 alignof(CallbackDataProto_BarrierStats));
1227 return ::google::protobuf::internal::ClassDataFull{
1228 ::google::protobuf::internal::ClassData{
1233 &CallbackDataProto_BarrierStats::MergeImpl,
1234 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_BarrierStats>(),
1235#if defined(PROTOBUF_CUSTOM_VTABLE)
1236 &CallbackDataProto_BarrierStats::SharedDtor,
1243 &CallbackDataProto_BarrierStats::kDescriptorMethods,
1249PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1253PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1254CallbackDataProto_BarrierStats::GetClassData()
const {
1259PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1260const ::_pbi::TcParseTable<3, 6, 0, 0, 2>
1261CallbackDataProto_BarrierStats::_table_ = {
1263 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_._has_bits_),
1266 offsetof(
decltype(_table_), field_lookup_table),
1268 offsetof(
decltype(_table_), field_entries),
1271 offsetof(
decltype(_table_), field_names),
1274 ::_pbi::TcParser::GenericFallback,
1275 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1276 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_BarrierStats>(),
1279 {::_pbi::TcParser::MiniParse, {}},
1281 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto_BarrierStats,
_impl_.iteration_count_), 5>(),
1283 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.iteration_count_)}},
1285 {::_pbi::TcParser::FastF64S1,
1287 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.primal_objective_)}},
1289 {::_pbi::TcParser::FastF64S1,
1291 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.dual_objective_)}},
1293 {::_pbi::TcParser::FastF64S1,
1295 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.complementarity_)}},
1297 {::_pbi::TcParser::FastF64S1,
1299 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.primal_infeasibility_)}},
1301 {::_pbi::TcParser::FastF64S1,
1303 PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.dual_infeasibility_)}},
1304 {::_pbi::TcParser::MiniParse, {}},
1309 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.iteration_count_),
_Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1311 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.primal_objective_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1313 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.dual_objective_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1315 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.complementarity_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1317 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.primal_infeasibility_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1319 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_BarrierStats,
_impl_.dual_infeasibility_),
_Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1327 ::google::protobuf::internal::TSanWrite(&
_impl_);
1328 ::uint32_t cached_has_bits = 0;
1330 (void) cached_has_bits;
1332 cached_has_bits =
_impl_._has_bits_[0];
1333 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1334 ::memset(&
_impl_.primal_objective_, 0,
static_cast<::
size_t>(
1335 reinterpret_cast<char*
>(&
_impl_.iteration_count_) -
1336 reinterpret_cast<char*
>(&
_impl_.primal_objective_)) +
sizeof(
_impl_.iteration_count_));
1338 _impl_._has_bits_.Clear();
1339 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1342#if defined(PROTOBUF_CUSTOM_VTABLE)
1344 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1345 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1346 const CallbackDataProto_BarrierStats& this_ =
static_cast<const CallbackDataProto_BarrierStats&
>(
base);
1349 ::uint8_t* PROTOBUF_NONNULL target,
1350 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1353 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1354 this_.CheckHasBitConsistency();
1357 ::uint32_t cached_has_bits = 0;
1358 (void)cached_has_bits;
1360 cached_has_bits = this_.
_impl_._has_bits_[0];
1362 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1364 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
1365 stream, this_._internal_iteration_count(), target);
1369 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1370 target = stream->EnsureSpace(target);
1371 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1372 2, this_._internal_primal_objective(), target);
1376 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1377 target = stream->EnsureSpace(target);
1378 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1379 3, this_._internal_dual_objective(), target);
1383 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1384 target = stream->EnsureSpace(target);
1385 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1386 4, this_._internal_complementarity(), target);
1390 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1391 target = stream->EnsureSpace(target);
1392 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1393 5, this_._internal_primal_infeasibility(), target);
1397 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1398 target = stream->EnsureSpace(target);
1399 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1400 6, this_._internal_dual_infeasibility(), target);
1403 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1405 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1406 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1412#if defined(PROTOBUF_CUSTOM_VTABLE)
1414 const CallbackDataProto_BarrierStats& this_ =
static_cast<const CallbackDataProto_BarrierStats&
>(base);
1417 const CallbackDataProto_BarrierStats& this_ = *
this;
1420 ::size_t total_size = 0;
1422 ::uint32_t cached_has_bits = 0;
1424 (void)cached_has_bits;
1426 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1427 cached_has_bits = this_._impl_._has_bits_[0];
1428 total_size += ::absl::popcount(0x0000001fU & cached_has_bits) * 9;
1431 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1432 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1433 this_._internal_iteration_count());
1436 return this_.MaybeComputeUnknownFieldsSize(total_size,
1437 &this_._impl_._cached_size_);
1440void CallbackDataProto_BarrierStats::MergeImpl(::google::protobuf::MessageLite& to_msg,
1441 const ::google::protobuf::MessageLite& from_msg) {
1443 static_cast<CallbackDataProto_BarrierStats*
>(&to_msg);
1444 auto& from =
static_cast<const CallbackDataProto_BarrierStats&
>(from_msg);
1445 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1446 from.CheckHasBitConsistency();
1449 ABSL_DCHECK_NE(&from, _this);
1450 ::uint32_t cached_has_bits = 0;
1451 (void)cached_has_bits;
1453 cached_has_bits = from.
_impl_._has_bits_[0];
1454 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
1455 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1456 _this->_impl_.primal_objective_ = from.
_impl_.primal_objective_;
1458 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1459 _this->_impl_.dual_objective_ = from.
_impl_.dual_objective_;
1461 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1462 _this->_impl_.complementarity_ = from.
_impl_.complementarity_;
1464 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1465 _this->_impl_.primal_infeasibility_ = from.
_impl_.primal_infeasibility_;
1467 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1468 _this->_impl_.dual_infeasibility_ = from.
_impl_.dual_infeasibility_;
1470 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1471 _this->_impl_.iteration_count_ = from.
_impl_.iteration_count_;
1474 _this->_impl_._has_bits_[0] |= cached_has_bits;
1475 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1476 from._internal_metadata_);
1481 if (&from ==
this)
return;
1489 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1490 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1491 ::google::protobuf::internal::memswap<
1495 reinterpret_cast<char*
>(&
_impl_.primal_objective_),
1496 reinterpret_cast<char*
>(&other->_impl_.primal_objective_));
1500 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1507 decltype(::std::declval<CallbackDataProto_MipStats>()._impl_._has_bits_);
1513#if defined(PROTOBUF_CUSTOM_VTABLE)
1516 : ::google::protobuf::Message(arena) {
1523#if defined(PROTOBUF_CUSTOM_VTABLE)
1526 : ::google::protobuf::Message(arena),
1529 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1530 from._internal_metadata_);
1532PROTOBUF_NDEBUG_INLINE CallbackDataProto_MipStats::Impl_::Impl_(
1533 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1534 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1535 : _cached_size_{0} {}
1537inline void CallbackDataProto_MipStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1538 new (&
_impl_) Impl_(internal_visibility(), arena);
1539 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1540 offsetof(Impl_, primal_bound_),
1542 offsetof(Impl_, cutting_planes_in_lp_) -
1543 offsetof(Impl_, primal_bound_) +
1544 sizeof(Impl_::cutting_planes_in_lp_));
1550inline void CallbackDataProto_MipStats::SharedDtor(
MessageLite& self) {
1552 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1553 this_.CheckHasBitConsistency();
1555 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1556 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1560inline void* PROTOBUF_NONNULL CallbackDataProto_MipStats::PlacementNew_(
1561 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1562 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1565constexpr auto CallbackDataProto_MipStats::InternalNewImpl_() {
1566 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(CallbackDataProto_MipStats),
1567 alignof(CallbackDataProto_MipStats));
1570 return ::google::protobuf::internal::ClassDataFull{
1571 ::google::protobuf::internal::ClassData{
1576 &CallbackDataProto_MipStats::MergeImpl,
1577 ::google::protobuf::Message::GetNewImpl<CallbackDataProto_MipStats>(),
1578#if defined(PROTOBUF_CUSTOM_VTABLE)
1579 &CallbackDataProto_MipStats::SharedDtor,
1586 &CallbackDataProto_MipStats::kDescriptorMethods,
1592PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1596PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1597CallbackDataProto_MipStats::GetClassData()
const {
1602PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1603const ::_pbi::TcParseTable<3, 7, 0, 0, 2>
1604CallbackDataProto_MipStats::_table_ = {
1606 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_._has_bits_),
1609 offsetof(
decltype(_table_), field_lookup_table),
1611 offsetof(
decltype(_table_), field_entries),
1614 offsetof(
decltype(_table_), field_names),
1617 ::_pbi::TcParser::GenericFallback,
1618 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1619 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_MipStats>(),
1622 {::_pbi::TcParser::MiniParse, {}},
1624 {::_pbi::TcParser::FastF64S1,
1626 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.primal_bound_)}},
1628 {::_pbi::TcParser::FastF64S1,
1630 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.dual_bound_)}},
1632 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_MipStats,
_impl_.explored_nodes_), 2>(),
1634 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.explored_nodes_)}},
1636 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_MipStats,
_impl_.open_nodes_), 3>(),
1638 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.open_nodes_)}},
1640 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CallbackDataProto_MipStats,
_impl_.simplex_iterations_), 4>(),
1642 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.simplex_iterations_)}},
1644 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto_MipStats,
_impl_.number_of_solutions_found_), 5>(),
1646 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.number_of_solutions_found_)}},
1648 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CallbackDataProto_MipStats,
_impl_.cutting_planes_in_lp_), 6>(),
1650 PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.cutting_planes_in_lp_)}},
1655 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.primal_bound_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1659 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.explored_nodes_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1663 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.simplex_iterations_),
_Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1665 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.number_of_solutions_found_),
_Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1667 {PROTOBUF_FIELD_OFFSET(CallbackDataProto_MipStats,
_impl_.cutting_planes_in_lp_),
_Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1675 ::google::protobuf::internal::TSanWrite(&
_impl_);
1676 ::uint32_t cached_has_bits = 0;
1678 (void) cached_has_bits;
1680 cached_has_bits =
_impl_._has_bits_[0];
1681 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
1682 ::memset(&
_impl_.primal_bound_, 0,
static_cast<::
size_t>(
1683 reinterpret_cast<char*
>(&
_impl_.cutting_planes_in_lp_) -
1684 reinterpret_cast<char*
>(&
_impl_.primal_bound_)) +
sizeof(
_impl_.cutting_planes_in_lp_));
1686 _impl_._has_bits_.Clear();
1687 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1690#if defined(PROTOBUF_CUSTOM_VTABLE)
1692 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1693 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1694 const CallbackDataProto_MipStats& this_ =
static_cast<const CallbackDataProto_MipStats&
>(
base);
1697 ::uint8_t* PROTOBUF_NONNULL target,
1698 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1699 const CallbackDataProto_MipStats& this_ = *
this;
1701 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1702 this_.CheckHasBitConsistency();
1705 ::uint32_t cached_has_bits = 0;
1706 (void)cached_has_bits;
1708 cached_has_bits = this_._impl_._has_bits_[0];
1710 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1711 target = stream->EnsureSpace(target);
1712 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1713 1, this_._internal_primal_bound(), target);
1717 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1718 target = stream->EnsureSpace(target);
1719 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1720 2, this_._internal_dual_bound(), target);
1724 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1726 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
1727 stream, this_._internal_explored_nodes(), target);
1731 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1733 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
1734 stream, this_._internal_open_nodes(), target);
1738 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1740 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1741 stream, this_._internal_simplex_iterations(), target);
1745 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1747 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
1748 stream, this_._internal_number_of_solutions_found(), target);
1752 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1754 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<7>(
1755 stream, this_._internal_cutting_planes_in_lp(), target);
1758 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1760 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1761 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1767#if defined(PROTOBUF_CUSTOM_VTABLE)
1769 const CallbackDataProto_MipStats& this_ =
static_cast<const CallbackDataProto_MipStats&
>(base);
1772 const CallbackDataProto_MipStats& this_ = *
this;
1775 ::size_t total_size = 0;
1777 ::uint32_t cached_has_bits = 0;
1779 (void)cached_has_bits;
1781 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1782 cached_has_bits = this_._impl_._has_bits_[0];
1783 total_size += ::absl::popcount(0x00000003U & cached_has_bits) * 9;
1784 if (BatchCheckHasBit(cached_has_bits, 0x0000007cU)) {
1786 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1787 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1788 this_._internal_explored_nodes());
1791 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1792 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1793 this_._internal_open_nodes());
1796 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1797 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1798 this_._internal_simplex_iterations());
1801 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1802 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1803 this_._internal_number_of_solutions_found());
1806 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1807 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1808 this_._internal_cutting_planes_in_lp());
1811 return this_.MaybeComputeUnknownFieldsSize(total_size,
1812 &this_._impl_._cached_size_);
1815void CallbackDataProto_MipStats::MergeImpl(::google::protobuf::MessageLite& to_msg,
1816 const ::google::protobuf::MessageLite& from_msg) {
1818 static_cast<CallbackDataProto_MipStats*
>(&to_msg);
1819 auto& from =
static_cast<const CallbackDataProto_MipStats&
>(from_msg);
1820 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1821 from.CheckHasBitConsistency();
1824 ABSL_DCHECK_NE(&from, _this);
1825 ::uint32_t cached_has_bits = 0;
1826 (void)cached_has_bits;
1828 cached_has_bits = from.
_impl_._has_bits_[0];
1829 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
1830 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1831 _this->_impl_.primal_bound_ = from.
_impl_.primal_bound_;
1833 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1834 _this->_impl_.dual_bound_ = from.
_impl_.dual_bound_;
1836 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1837 _this->_impl_.explored_nodes_ = from.
_impl_.explored_nodes_;
1839 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1840 _this->_impl_.open_nodes_ = from.
_impl_.open_nodes_;
1842 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1843 _this->_impl_.simplex_iterations_ = from.
_impl_.simplex_iterations_;
1845 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1846 _this->_impl_.number_of_solutions_found_ = from.
_impl_.number_of_solutions_found_;
1848 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1849 _this->_impl_.cutting_planes_in_lp_ = from.
_impl_.cutting_planes_in_lp_;
1852 _this->_impl_._has_bits_[0] |= cached_has_bits;
1853 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1854 from._internal_metadata_);
1859 if (&from ==
this)
return;
1867 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1868 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1869 ::google::protobuf::internal::memswap<
1873 reinterpret_cast<char*
>(&
_impl_.primal_bound_),
1874 reinterpret_cast<char*
>(&other->_impl_.primal_bound_));
1878 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1885 decltype(::std::declval<CallbackDataProto>()._impl_._has_bits_);
1886 static constexpr ::int32_t kHasBitsOffset =
1891 ::google::protobuf::internal::TSanWrite(&
_impl_);
1892 if (
_impl_.primal_solution_vector_ !=
nullptr)
_impl_.primal_solution_vector_->Clear();
1893 ClearHasBit(
_impl_._has_bits_[0],
1897 ::google::protobuf::internal::TSanWrite(&
_impl_);
1898 if (
_impl_.runtime_ !=
nullptr)
_impl_.runtime_->Clear();
1899 ClearHasBit(
_impl_._has_bits_[0],
1903#if defined(PROTOBUF_CUSTOM_VTABLE)
1906 : ::google::protobuf::Message(arena) {
1911PROTOBUF_NDEBUG_INLINE CallbackDataProto::Impl_::Impl_(
1912 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1913 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1914 [[maybe_unused]] const ::operations_research::math_opt::CallbackDataProto& from_msg)
1915 : _has_bits_{from._has_bits_},
1919 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1920 const CallbackDataProto& from)
1921#if defined(PROTOBUF_CUSTOM_VTABLE)
1924 : ::google::protobuf::Message(arena) {
1926 CallbackDataProto*
const _this =
this;
1928 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1929 from._internal_metadata_);
1930 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1931 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1932 _impl_.primal_solution_vector_ = (CheckHasBit(cached_has_bits, 0x00000001U))
1933 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primal_solution_vector_)
1935 _impl_.runtime_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1936 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.runtime_)
1938 _impl_.presolve_stats_ = (CheckHasBit(cached_has_bits, 0x00000004U))
1939 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.presolve_stats_)
1941 _impl_.simplex_stats_ = (CheckHasBit(cached_has_bits, 0x00000008U))
1942 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.simplex_stats_)
1944 _impl_.barrier_stats_ = (CheckHasBit(cached_has_bits, 0x00000010U))
1945 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.barrier_stats_)
1947 _impl_.mip_stats_ = (CheckHasBit(cached_has_bits, 0x00000020U))
1948 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_stats_)
1950 _impl_.event_ = from._impl_.event_;
1954PROTOBUF_NDEBUG_INLINE CallbackDataProto::Impl_::Impl_(
1955 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1956 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1957 : _cached_size_{0} {}
1959inline void CallbackDataProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1960 new (&
_impl_) Impl_(internal_visibility(), arena);
1961 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1962 offsetof(Impl_, primal_solution_vector_),
1964 offsetof(Impl_, event_) -
1965 offsetof(Impl_, primal_solution_vector_) +
1966 sizeof(Impl_::event_));
1972inline void CallbackDataProto::SharedDtor(MessageLite& self) {
1974 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1975 this_.CheckHasBitConsistency();
1977 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1978 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1979 delete this_.
_impl_.primal_solution_vector_;
1980 delete this_.
_impl_.runtime_;
1981 delete this_.
_impl_.presolve_stats_;
1982 delete this_.
_impl_.simplex_stats_;
1983 delete this_.
_impl_.barrier_stats_;
1984 delete this_.
_impl_.mip_stats_;
1988inline void* PROTOBUF_NONNULL CallbackDataProto::PlacementNew_(
1989 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1990 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1993constexpr auto CallbackDataProto::InternalNewImpl_() {
1994 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
CallbackDataProto),
1998 return ::google::protobuf::internal::ClassDataFull{
1999 ::google::protobuf::internal::ClassData{
2004 &CallbackDataProto::MergeImpl,
2005 ::google::protobuf::Message::GetNewImpl<CallbackDataProto>(),
2006#if defined(PROTOBUF_CUSTOM_VTABLE)
2007 &CallbackDataProto::SharedDtor,
2014 &CallbackDataProto::kDescriptorMethods,
2020PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2024PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2025CallbackDataProto::GetClassData()
const {
2030PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2031const ::_pbi::TcParseTable<3, 7, 6, 0, 2>
2032CallbackDataProto::_table_ = {
2034 PROTOBUF_FIELD_OFFSET(CallbackDataProto, _impl_._has_bits_),
2037 offsetof(
decltype(_table_), field_lookup_table),
2039 offsetof(
decltype(_table_), field_entries),
2042 offsetof(
decltype(_table_), aux_entries),
2045 ::_pbi::TcParser::GenericFallback,
2046 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2047 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto>(),
2050 {::_pbi::TcParser::MiniParse, {}},
2052 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
CallbackDataProto, _impl_.event_), 6>(),
2056 {::_pbi::TcParser::FastMtS1,
2060 {::_pbi::TcParser::FastMtS1,
2064 {::_pbi::TcParser::FastMtS1,
2068 {::_pbi::TcParser::FastMtS1,
2072 {::_pbi::TcParser::FastMtS1,
2076 {::_pbi::TcParser::FastMtS1,
2083 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.event_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2085 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.primal_solution_vector_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2087 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.runtime_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2089 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.presolve_stats_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2091 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.simplex_stats_), _Internal::kHasBitsOffset + 3, 3, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2093 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.barrier_stats_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2095 {PROTOBUF_FIELD_OFFSET(
CallbackDataProto, _impl_.mip_stats_), _Internal::kHasBitsOffset + 5, 5, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2098 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2099 {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
2100 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_PresolveStats>()},
2101 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_SimplexStats>()},
2102 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_BarrierStats>()},
2103 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackDataProto_MipStats>()},
2110 ::google::protobuf::internal::TSanWrite(&
_impl_);
2111 ::uint32_t cached_has_bits = 0;
2113 (void) cached_has_bits;
2115 cached_has_bits =
_impl_._has_bits_[0];
2116 if (BatchCheckHasBit(cached_has_bits, 0x0000003fU)) {
2117 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2118 ABSL_DCHECK(
_impl_.primal_solution_vector_ !=
nullptr);
2119 _impl_.primal_solution_vector_->Clear();
2121 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2122 ABSL_DCHECK(
_impl_.runtime_ !=
nullptr);
2123 _impl_.runtime_->Clear();
2125 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2126 ABSL_DCHECK(
_impl_.presolve_stats_ !=
nullptr);
2127 _impl_.presolve_stats_->Clear();
2129 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2130 ABSL_DCHECK(
_impl_.simplex_stats_ !=
nullptr);
2131 _impl_.simplex_stats_->Clear();
2133 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2134 ABSL_DCHECK(
_impl_.barrier_stats_ !=
nullptr);
2135 _impl_.barrier_stats_->Clear();
2137 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2138 ABSL_DCHECK(
_impl_.mip_stats_ !=
nullptr);
2139 _impl_.mip_stats_->Clear();
2143 _impl_._has_bits_.Clear();
2144 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2147#if defined(PROTOBUF_CUSTOM_VTABLE)
2149 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2150 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2154 ::uint8_t* PROTOBUF_NONNULL target,
2155 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2158 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2159 this_.CheckHasBitConsistency();
2162 ::uint32_t cached_has_bits = 0;
2163 (void)cached_has_bits;
2165 cached_has_bits = this_.
_impl_._has_bits_[0];
2167 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2168 if (this_._internal_event() != 0) {
2169 target = stream->EnsureSpace(target);
2170 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2171 1, this_._internal_event(), target);
2176 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2177 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2178 2, *this_._impl_.primal_solution_vector_, this_._impl_.primal_solution_vector_->GetCachedSize(), target,
2183 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2184 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2185 3, *this_._impl_.runtime_, this_._impl_.runtime_->GetCachedSize(), target,
2190 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2191 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2192 4, *this_._impl_.presolve_stats_, this_._impl_.presolve_stats_->GetCachedSize(), target,
2197 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2198 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2199 5, *this_._impl_.simplex_stats_, this_._impl_.simplex_stats_->GetCachedSize(), target,
2204 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2205 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2206 6, *this_._impl_.barrier_stats_, this_._impl_.barrier_stats_->GetCachedSize(), target,
2211 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2212 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2213 7, *this_._impl_.mip_stats_, this_._impl_.mip_stats_->GetCachedSize(), target,
2217 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2219 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2220 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2226#if defined(PROTOBUF_CUSTOM_VTABLE)
2234 ::size_t total_size = 0;
2236 ::uint32_t cached_has_bits = 0;
2238 (void)cached_has_bits;
2240 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2241 cached_has_bits = this_._impl_._has_bits_[0];
2242 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
2244 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2246 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primal_solution_vector_);
2249 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2251 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.runtime_);
2254 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2256 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.presolve_stats_);
2259 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2261 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.simplex_stats_);
2264 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2266 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.barrier_stats_);
2269 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2271 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mip_stats_);
2274 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2275 if (this_._internal_event() != 0) {
2277 ::_pbi::WireFormatLite::EnumSize(this_._internal_event());
2281 return this_.MaybeComputeUnknownFieldsSize(total_size,
2282 &this_._impl_._cached_size_);
2285void CallbackDataProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2286 const ::google::protobuf::MessageLite& from_msg) {
2290 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2291 from.CheckHasBitConsistency();
2295 ABSL_DCHECK_NE(&from, _this);
2296 ::uint32_t cached_has_bits = 0;
2297 (void)cached_has_bits;
2299 cached_has_bits = from._impl_._has_bits_[0];
2300 if (BatchCheckHasBit(cached_has_bits, 0x0000007fU)) {
2301 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2302 ABSL_DCHECK(from._impl_.primal_solution_vector_ !=
nullptr);
2303 if (_this->_impl_.primal_solution_vector_ ==
nullptr) {
2304 _this->_impl_.primal_solution_vector_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primal_solution_vector_);
2306 _this->_impl_.primal_solution_vector_->MergeFrom(*from._impl_.primal_solution_vector_);
2309 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2310 ABSL_DCHECK(from._impl_.runtime_ !=
nullptr);
2311 if (_this->_impl_.runtime_ ==
nullptr) {
2312 _this->_impl_.runtime_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.runtime_);
2314 _this->_impl_.runtime_->MergeFrom(*from._impl_.runtime_);
2317 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2318 ABSL_DCHECK(from._impl_.presolve_stats_ !=
nullptr);
2319 if (_this->_impl_.presolve_stats_ ==
nullptr) {
2320 _this->_impl_.presolve_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.presolve_stats_);
2322 _this->_impl_.presolve_stats_->MergeFrom(*from._impl_.presolve_stats_);
2325 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2326 ABSL_DCHECK(from._impl_.simplex_stats_ !=
nullptr);
2327 if (_this->_impl_.simplex_stats_ ==
nullptr) {
2328 _this->_impl_.simplex_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.simplex_stats_);
2330 _this->_impl_.simplex_stats_->MergeFrom(*from._impl_.simplex_stats_);
2333 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2334 ABSL_DCHECK(from._impl_.barrier_stats_ !=
nullptr);
2335 if (_this->_impl_.barrier_stats_ ==
nullptr) {
2336 _this->_impl_.barrier_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.barrier_stats_);
2338 _this->_impl_.barrier_stats_->MergeFrom(*from._impl_.barrier_stats_);
2341 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
2342 ABSL_DCHECK(from._impl_.mip_stats_ !=
nullptr);
2343 if (_this->_impl_.mip_stats_ ==
nullptr) {
2344 _this->_impl_.mip_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_stats_);
2346 _this->_impl_.mip_stats_->MergeFrom(*from._impl_.mip_stats_);
2349 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
2350 if (from._internal_event() != 0) {
2351 _this->_impl_.event_ = from._impl_.event_;
2355 _this->_impl_._has_bits_[0] |= cached_has_bits;
2356 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2357 from._internal_metadata_);
2362 if (&from ==
this)
return;
2368void CallbackDataProto::InternalSwap(
CallbackDataProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2370 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2371 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2372 ::google::protobuf::internal::memswap<
2376 reinterpret_cast<char*
>(&
_impl_.primal_solution_vector_),
2377 reinterpret_cast<char*
>(&other->_impl_.primal_solution_vector_));
2381 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2388 decltype(::std::declval<CallbackResultProto_GeneratedLinearConstraint>()._impl_._has_bits_);
2389 static constexpr ::int32_t kHasBitsOffset =
2394 ::google::protobuf::internal::TSanWrite(&
_impl_);
2395 if (
_impl_.linear_expression_ !=
nullptr)
_impl_.linear_expression_->Clear();
2396 ClearHasBit(
_impl_._has_bits_[0],
2400#if defined(PROTOBUF_CUSTOM_VTABLE)
2403 : ::google::protobuf::Message(arena) {
2408PROTOBUF_NDEBUG_INLINE CallbackResultProto_GeneratedLinearConstraint::Impl_::Impl_(
2409 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2410 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2411 [[maybe_unused]] const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint& from_msg)
2412 : _has_bits_{from._has_bits_},
2416 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2418#if defined(PROTOBUF_CUSTOM_VTABLE)
2421 : ::google::protobuf::Message(arena) {
2425 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2426 from._internal_metadata_);
2427 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2428 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
2429 _impl_.linear_expression_ = (CheckHasBit(cached_has_bits, 0x00000001U))
2430 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_expression_)
2432 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
2433 offsetof(Impl_, lower_bound_),
2434 reinterpret_cast<const char*
>(&from._impl_) +
2435 offsetof(Impl_, lower_bound_),
2436 offsetof(Impl_, is_lazy_) -
2437 offsetof(Impl_, lower_bound_) +
2438 sizeof(Impl_::is_lazy_));
2442PROTOBUF_NDEBUG_INLINE CallbackResultProto_GeneratedLinearConstraint::Impl_::Impl_(
2443 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2444 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2445 : _cached_size_{0} {}
2447inline void CallbackResultProto_GeneratedLinearConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2448 new (&
_impl_) Impl_(internal_visibility(), arena);
2449 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2450 offsetof(Impl_, linear_expression_),
2452 offsetof(Impl_, is_lazy_) -
2453 offsetof(Impl_, linear_expression_) +
2454 sizeof(Impl_::is_lazy_));
2460inline void CallbackResultProto_GeneratedLinearConstraint::SharedDtor(
MessageLite& self) {
2462 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2463 this_.CheckHasBitConsistency();
2465 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2466 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2467 delete this_.
_impl_.linear_expression_;
2471inline void* PROTOBUF_NONNULL CallbackResultProto_GeneratedLinearConstraint::PlacementNew_(
2472 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2473 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2474 return ::new (mem) CallbackResultProto_GeneratedLinearConstraint(arena);
2476constexpr auto CallbackResultProto_GeneratedLinearConstraint::InternalNewImpl_() {
2477 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(CallbackResultProto_GeneratedLinearConstraint),
2478 alignof(CallbackResultProto_GeneratedLinearConstraint));
2481 return ::google::protobuf::internal::ClassDataFull{
2482 ::google::protobuf::internal::ClassData{
2487 &CallbackResultProto_GeneratedLinearConstraint::MergeImpl,
2488 ::google::protobuf::Message::GetNewImpl<CallbackResultProto_GeneratedLinearConstraint>(),
2489#if defined(PROTOBUF_CUSTOM_VTABLE)
2490 &CallbackResultProto_GeneratedLinearConstraint::SharedDtor,
2497 &CallbackResultProto_GeneratedLinearConstraint::kDescriptorMethods,
2503PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2507PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2508CallbackResultProto_GeneratedLinearConstraint::GetClassData()
const {
2513PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2514const ::_pbi::TcParseTable<2, 4, 1, 0, 2>
2515CallbackResultProto_GeneratedLinearConstraint::_table_ = {
2517 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_._has_bits_),
2520 offsetof(
decltype(_table_), field_lookup_table),
2522 offsetof(
decltype(_table_), field_entries),
2525 offsetof(
decltype(_table_), aux_entries),
2528 ::_pbi::TcParser::GenericFallback,
2529 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2530 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>(),
2534 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackResultProto_GeneratedLinearConstraint,
_impl_.is_lazy_), 3>(),
2536 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.is_lazy_)}},
2538 {::_pbi::TcParser::FastMtS1,
2540 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.linear_expression_)}},
2542 {::_pbi::TcParser::FastF64S1,
2544 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.lower_bound_)}},
2546 {::_pbi::TcParser::FastF64S1,
2548 PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.upper_bound_)}},
2553 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.linear_expression_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2555 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.lower_bound_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2557 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.upper_bound_),
_Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2559 {PROTOBUF_FIELD_OFFSET(CallbackResultProto_GeneratedLinearConstraint,
_impl_.is_lazy_),
_Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2562 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2569 ::google::protobuf::internal::TSanWrite(&
_impl_);
2570 ::uint32_t cached_has_bits = 0;
2572 (void) cached_has_bits;
2574 cached_has_bits =
_impl_._has_bits_[0];
2575 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2576 ABSL_DCHECK(
_impl_.linear_expression_ !=
nullptr);
2577 _impl_.linear_expression_->Clear();
2579 if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
2580 ::memset(&
_impl_.lower_bound_, 0,
static_cast<::
size_t>(
2581 reinterpret_cast<char*
>(&
_impl_.is_lazy_) -
2582 reinterpret_cast<char*
>(&
_impl_.lower_bound_)) +
sizeof(
_impl_.is_lazy_));
2584 _impl_._has_bits_.Clear();
2585 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2588#if defined(PROTOBUF_CUSTOM_VTABLE)
2590 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2591 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2592 const CallbackResultProto_GeneratedLinearConstraint& this_ =
static_cast<const CallbackResultProto_GeneratedLinearConstraint&
>(base);
2595 ::uint8_t* PROTOBUF_NONNULL target,
2596 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2597 const CallbackResultProto_GeneratedLinearConstraint& this_ = *
this;
2599 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2600 this_.CheckHasBitConsistency();
2603 ::uint32_t cached_has_bits = 0;
2604 (void)cached_has_bits;
2606 cached_has_bits = this_.
_impl_._has_bits_[0];
2608 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2609 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2610 1, *this_._impl_.linear_expression_, this_._impl_.linear_expression_->GetCachedSize(), target,
2615 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2616 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
2617 target = stream->EnsureSpace(target);
2618 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2619 2, this_._internal_lower_bound(), target);
2624 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2625 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
2626 target = stream->EnsureSpace(target);
2627 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2628 3, this_._internal_upper_bound(), target);
2633 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2634 if (this_._internal_is_lazy() != 0) {
2635 target = stream->EnsureSpace(target);
2636 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2637 4, this_._internal_is_lazy(), target);
2641 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2643 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2644 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2650#if defined(PROTOBUF_CUSTOM_VTABLE)
2652 const CallbackResultProto_GeneratedLinearConstraint& this_ =
static_cast<const CallbackResultProto_GeneratedLinearConstraint&
>(base);
2655 const CallbackResultProto_GeneratedLinearConstraint& this_ = *
this;
2658 ::size_t total_size = 0;
2660 ::uint32_t cached_has_bits = 0;
2662 (void)cached_has_bits;
2664 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2665 cached_has_bits = this_._impl_._has_bits_[0];
2666 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
2668 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2670 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.linear_expression_);
2673 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2674 if (::absl::bit_cast<::uint64_t>(this_._internal_lower_bound()) != 0) {
2679 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2680 if (::absl::bit_cast<::uint64_t>(this_._internal_upper_bound()) != 0) {
2685 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2686 if (this_._internal_is_lazy() != 0) {
2691 return this_.MaybeComputeUnknownFieldsSize(total_size,
2692 &this_._impl_._cached_size_);
2695void CallbackResultProto_GeneratedLinearConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg,
2696 const ::google::protobuf::MessageLite& from_msg) {
2698 static_cast<CallbackResultProto_GeneratedLinearConstraint*
>(&to_msg);
2699 auto& from =
static_cast<const CallbackResultProto_GeneratedLinearConstraint&
>(from_msg);
2700 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2701 from.CheckHasBitConsistency();
2705 ABSL_DCHECK_NE(&from, _this);
2706 ::uint32_t cached_has_bits = 0;
2707 (void)cached_has_bits;
2709 cached_has_bits = from._impl_._has_bits_[0];
2710 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
2711 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2712 ABSL_DCHECK(from._impl_.linear_expression_ !=
nullptr);
2713 if (_this->_impl_.linear_expression_ ==
nullptr) {
2714 _this->_impl_.linear_expression_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.linear_expression_);
2716 _this->_impl_.linear_expression_->MergeFrom(*from._impl_.linear_expression_);
2719 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2720 if (::absl::bit_cast<::uint64_t>(from._internal_lower_bound()) != 0) {
2721 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
2724 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2725 if (::absl::bit_cast<::uint64_t>(from._internal_upper_bound()) != 0) {
2726 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
2729 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2730 if (from._internal_is_lazy() != 0) {
2731 _this->_impl_.is_lazy_ = from._impl_.is_lazy_;
2735 _this->_impl_._has_bits_[0] |= cached_has_bits;
2736 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2737 from._internal_metadata_);
2742 if (&from ==
this)
return;
2750 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2751 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2752 ::google::protobuf::internal::memswap<
2756 reinterpret_cast<char*
>(&
_impl_.linear_expression_),
2757 reinterpret_cast<char*
>(&other->_impl_.linear_expression_));
2761 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2765class CallbackResultProto::_Internal {
2768 decltype(::std::declval<CallbackResultProto>()._impl_._has_bits_);
2769 static constexpr ::int32_t kHasBitsOffset =
2774 ::google::protobuf::internal::TSanWrite(&
_impl_);
2775 _impl_.suggested_solutions_.Clear();
2780#if defined(PROTOBUF_CUSTOM_VTABLE)
2783 : ::google::protobuf::Message(arena) {
2788PROTOBUF_NDEBUG_INLINE CallbackResultProto::Impl_::Impl_(
2789 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2790 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2791 [[maybe_unused]] const ::operations_research::math_opt::CallbackResultProto& from_msg)
2792 : _has_bits_{from._has_bits_},
2794 cuts_{visibility, arena, from.cuts_},
2795 suggested_solutions_{visibility, arena, from.suggested_solutions_} {}
2798 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2800#if defined(PROTOBUF_CUSTOM_VTABLE)
2803 : ::google::protobuf::Message(arena) {
2807 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2808 from._internal_metadata_);
2809 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2810 _impl_.terminate_ = from._impl_.terminate_;
2814PROTOBUF_NDEBUG_INLINE CallbackResultProto::Impl_::Impl_(
2815 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2816 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2818 cuts_{visibility, arena},
2819 suggested_solutions_{visibility, arena} {}
2821inline void CallbackResultProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2822 new (&
_impl_) Impl_(internal_visibility(), arena);
2829inline void CallbackResultProto::SharedDtor(
MessageLite& self) {
2831 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2832 this_.CheckHasBitConsistency();
2834 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2835 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2839inline void* PROTOBUF_NONNULL CallbackResultProto::PlacementNew_(
2840 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2841 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2842 return ::new (mem) CallbackResultProto(arena);
2844constexpr auto CallbackResultProto::InternalNewImpl_() {
2845 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2846 PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_.cuts_) +
2848 InternalGetArenaOffset(
2849 ::
google::protobuf::Message::internal_visibility()),
2850 PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_.suggested_solutions_) +
2851 decltype(CallbackResultProto::
_impl_.suggested_solutions_)::
2852 InternalGetArenaOffset(
2853 ::
google::protobuf::Message::internal_visibility()),
2855 if (arena_bits.has_value()) {
2856 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2857 sizeof(CallbackResultProto), alignof(CallbackResultProto), *arena_bits);
2859 return ::google::protobuf::internal::MessageCreator(&CallbackResultProto::PlacementNew_,
2860 sizeof(CallbackResultProto),
2861 alignof(CallbackResultProto));
2865 return ::google::protobuf::internal::ClassDataFull{
2866 ::google::protobuf::internal::ClassData{
2871 &CallbackResultProto::MergeImpl,
2872 ::google::protobuf::Message::GetNewImpl<CallbackResultProto>(),
2873#if defined(PROTOBUF_CUSTOM_VTABLE)
2874 &CallbackResultProto::SharedDtor,
2881 &CallbackResultProto::kDescriptorMethods,
2887PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2891PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2892CallbackResultProto::GetClassData()
const {
2897PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2898const ::_pbi::TcParseTable<1, 3, 2, 0, 2>
2899CallbackResultProto::_table_ = {
2901 PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_._has_bits_),
2904 offsetof(
decltype(_table_), field_lookup_table),
2906 offsetof(
decltype(_table_), field_entries),
2909 offsetof(
decltype(_table_), aux_entries),
2912 ::_pbi::TcParser::GenericFallback,
2913 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2914 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackResultProto>(),
2918 {::_pbi::TcParser::FastMtR1,
2920 PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_.cuts_)}},
2922 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackResultProto,
_impl_.terminate_), 1>(),
2924 PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_.terminate_)}},
2931 {PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_.cuts_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2933 {PROTOBUF_FIELD_OFFSET(CallbackResultProto,
_impl_.suggested_solutions_),
_Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2936 {::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>()},
2937 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
2944 ::google::protobuf::internal::TSanWrite(&
_impl_);
2945 ::uint32_t cached_has_bits = 0;
2947 (void) cached_has_bits;
2950 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2953 if (BatchCheckHasBit(cached_has_bits, 0x00000006U)) {
2954 _impl_.terminate_ =
false;
2955 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2956 _impl_.suggested_solutions_.Clear();
2959 _impl_._has_bits_.Clear();
2960 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2963#if defined(PROTOBUF_CUSTOM_VTABLE)
2965 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2966 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2967 const CallbackResultProto& this_ =
static_cast<const CallbackResultProto&
>(base);
2970 ::uint8_t* PROTOBUF_NONNULL target,
2971 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2972 const CallbackResultProto& this_ = *
this;
2974 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2975 this_.CheckHasBitConsistency();
2978 ::uint32_t cached_has_bits = 0;
2979 (void)cached_has_bits;
2981 cached_has_bits = this_.
_impl_._has_bits_[0];
2983 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2984 if (this_._internal_terminate() != 0) {
2985 target = stream->EnsureSpace(target);
2986 target = ::_pbi::WireFormatLite::WriteBoolToArray(
2987 1, this_._internal_terminate(), target);
2992 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2993 for (
unsigned i = 0, n =
static_cast<unsigned>(
2994 this_._internal_cuts_size());
2996 const auto& repfield = this_._internal_cuts().Get(i);
2998 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2999 4, repfield, repfield.GetCachedSize(),
3005 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3006 for (
unsigned i = 0, n =
static_cast<unsigned>(
3007 this_._internal_suggested_solutions_size());
3009 const auto& repfield = this_._internal_suggested_solutions().Get(i);
3011 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3012 5, repfield, repfield.GetCachedSize(),
3017 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3019 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3020 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3026#if defined(PROTOBUF_CUSTOM_VTABLE)
3028 const CallbackResultProto& this_ =
static_cast<const CallbackResultProto&
>(base);
3031 const CallbackResultProto& this_ = *
this;
3034 ::size_t total_size = 0;
3036 ::uint32_t cached_has_bits = 0;
3038 (void)cached_has_bits;
3040 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3041 cached_has_bits = this_._impl_._has_bits_[0];
3042 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3044 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3045 total_size += 1UL * this_._internal_cuts_size();
3046 for (
const auto& msg : this_._internal_cuts()) {
3047 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3051 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3052 if (this_._internal_terminate() != 0) {
3057 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3058 total_size += 1UL * this_._internal_suggested_solutions_size();
3059 for (
const auto& msg : this_._internal_suggested_solutions()) {
3060 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3064 return this_.MaybeComputeUnknownFieldsSize(total_size,
3065 &this_._impl_._cached_size_);
3068void CallbackResultProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3069 const ::google::protobuf::MessageLite& from_msg) {
3071 static_cast<CallbackResultProto*
>(&to_msg);
3072 auto& from =
static_cast<const CallbackResultProto&
>(from_msg);
3073 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3074 from.CheckHasBitConsistency();
3078 ABSL_DCHECK_NE(&from, _this);
3079 ::uint32_t cached_has_bits = 0;
3080 (void)cached_has_bits;
3082 cached_has_bits = from._impl_._has_bits_[0];
3083 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3084 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3085 _this->_internal_mutable_cuts()->InternalMergeFromWithArena(
3086 ::google::protobuf::MessageLite::internal_visibility(), arena,
3087 from._internal_cuts());
3089 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3090 if (from._internal_terminate() != 0) {
3091 _this->_impl_.terminate_ = from._impl_.terminate_;
3094 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
3095 _this->_internal_mutable_suggested_solutions()->InternalMergeFromWithArena(
3096 ::google::protobuf::MessageLite::internal_visibility(), arena,
3097 from._internal_suggested_solutions());
3100 _this->_impl_._has_bits_[0] |= cached_has_bits;
3101 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3102 from._internal_metadata_);
3107 if (&from ==
this)
return;
3113void CallbackResultProto::InternalSwap(
CallbackResultProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3115 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3116 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3117 _impl_.cuts_.InternalSwap(&other->_impl_.cuts_);
3118 swap(
_impl_.terminate_, other->_impl_.terminate_);
3119 _impl_.suggested_solutions_.InternalSwap(&other->_impl_.suggested_solutions_);
3123 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3127class CallbackRegistrationProto::_Internal {
3130 decltype(::std::declval<CallbackRegistrationProto>()._impl_._has_bits_);
3131 static constexpr ::int32_t kHasBitsOffset =
3136 ::google::protobuf::internal::TSanWrite(&
_impl_);
3137 if (
_impl_.mip_solution_filter_ !=
nullptr)
_impl_.mip_solution_filter_->Clear();
3138 ClearHasBit(
_impl_._has_bits_[0],
3142 ::google::protobuf::internal::TSanWrite(&
_impl_);
3144 ClearHasBit(
_impl_._has_bits_[0],
3148#if defined(PROTOBUF_CUSTOM_VTABLE)
3151 : ::google::protobuf::Message(arena) {
3156PROTOBUF_NDEBUG_INLINE CallbackRegistrationProto::Impl_::Impl_(
3157 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3158 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3159 [[maybe_unused]] const ::operations_research::math_opt::CallbackRegistrationProto& from_msg)
3160 : _has_bits_{from._has_bits_},
3162 request_registration_{visibility, arena, from.request_registration_},
3163 _request_registration_cached_byte_size_{0} {}
3166 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3168#if defined(PROTOBUF_CUSTOM_VTABLE)
3171 : ::google::protobuf::Message(arena) {
3175 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3176 from._internal_metadata_);
3177 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3178 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3179 _impl_.mip_solution_filter_ = (CheckHasBit(cached_has_bits, 0x00000002U))
3180 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_solution_filter_)
3182 _impl_.mip_node_filter_ = (CheckHasBit(cached_has_bits, 0x00000004U))
3183 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_node_filter_)
3185 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
3186 offsetof(Impl_, add_cuts_),
3187 reinterpret_cast<const char*
>(&from._impl_) +
3188 offsetof(Impl_, add_cuts_),
3189 offsetof(Impl_, add_lazy_constraints_) -
3190 offsetof(Impl_, add_cuts_) +
3191 sizeof(Impl_::add_lazy_constraints_));
3195PROTOBUF_NDEBUG_INLINE CallbackRegistrationProto::Impl_::Impl_(
3196 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
3197 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3199 request_registration_{visibility, arena},
3200 _request_registration_cached_byte_size_{0} {}
3202inline void CallbackRegistrationProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3203 new (&
_impl_) Impl_(internal_visibility(), arena);
3204 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
3205 offsetof(Impl_, mip_solution_filter_),
3207 offsetof(Impl_, add_lazy_constraints_) -
3208 offsetof(Impl_, mip_solution_filter_) +
3209 sizeof(Impl_::add_lazy_constraints_));
3215inline void CallbackRegistrationProto::SharedDtor(
MessageLite& self) {
3217 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3218 this_.CheckHasBitConsistency();
3220 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3221 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3222 delete this_.
_impl_.mip_solution_filter_;
3223 delete this_.
_impl_.mip_node_filter_;
3227inline void* PROTOBUF_NONNULL CallbackRegistrationProto::PlacementNew_(
3228 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3229 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3230 return ::new (mem) CallbackRegistrationProto(arena);
3232constexpr auto CallbackRegistrationProto::InternalNewImpl_() {
3233 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3234 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.request_registration_) +
3236 InternalGetArenaOffset(
3237 ::
google::protobuf::Message::internal_visibility()),
3239 if (arena_bits.has_value()) {
3240 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3241 sizeof(CallbackRegistrationProto), alignof(CallbackRegistrationProto), *arena_bits);
3243 return ::google::protobuf::internal::MessageCreator(&CallbackRegistrationProto::PlacementNew_,
3244 sizeof(CallbackRegistrationProto),
3245 alignof(CallbackRegistrationProto));
3249 return ::google::protobuf::internal::ClassDataFull{
3250 ::google::protobuf::internal::ClassData{
3255 &CallbackRegistrationProto::MergeImpl,
3256 ::google::protobuf::Message::GetNewImpl<CallbackRegistrationProto>(),
3257#if defined(PROTOBUF_CUSTOM_VTABLE)
3258 &CallbackRegistrationProto::SharedDtor,
3265 &CallbackRegistrationProto::kDescriptorMethods,
3271PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3275PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3276CallbackRegistrationProto::GetClassData()
const {
3281PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3282const ::_pbi::TcParseTable<3, 5, 2, 0, 2>
3283CallbackRegistrationProto::_table_ = {
3285 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_._has_bits_),
3288 offsetof(
decltype(_table_), field_lookup_table),
3290 offsetof(
decltype(_table_), field_entries),
3293 offsetof(
decltype(_table_), aux_entries),
3296 ::_pbi::TcParser::GenericFallback,
3297 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3298 ::_pbi::TcParser::GetTable<::operations_research::math_opt::CallbackRegistrationProto>(),
3301 {::_pbi::TcParser::MiniParse, {}},
3303 {::_pbi::TcParser::FastV32P1,
3305 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.request_registration_)}},
3307 {::_pbi::TcParser::FastMtS1,
3309 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.mip_solution_filter_)}},
3311 {::_pbi::TcParser::FastMtS1,
3313 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.mip_node_filter_)}},
3315 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackRegistrationProto,
_impl_.add_cuts_), 3>(),
3317 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.add_cuts_)}},
3319 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(CallbackRegistrationProto,
_impl_.add_lazy_constraints_), 4>(),
3321 PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.add_lazy_constraints_)}},
3322 {::_pbi::TcParser::MiniParse, {}},
3323 {::_pbi::TcParser::MiniParse, {}},
3328 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.request_registration_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)},
3330 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.mip_solution_filter_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3332 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.mip_node_filter_),
_Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3336 {PROTOBUF_FIELD_OFFSET(CallbackRegistrationProto,
_impl_.add_lazy_constraints_),
_Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kBool)},
3339 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
3340 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
3347 ::google::protobuf::internal::TSanWrite(&
_impl_);
3348 ::uint32_t cached_has_bits = 0;
3350 (void) cached_has_bits;
3352 cached_has_bits =
_impl_._has_bits_[0];
3353 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
3354 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3355 _impl_.request_registration_.Clear();
3357 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3358 ABSL_DCHECK(
_impl_.mip_solution_filter_ !=
nullptr);
3359 _impl_.mip_solution_filter_->Clear();
3361 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3362 ABSL_DCHECK(
_impl_.mip_node_filter_ !=
nullptr);
3363 _impl_.mip_node_filter_->Clear();
3366 ::memset(&
_impl_.add_cuts_, 0,
static_cast<::
size_t>(
3367 reinterpret_cast<char*
>(&
_impl_.add_lazy_constraints_) -
3368 reinterpret_cast<char*
>(&
_impl_.add_cuts_)) +
sizeof(
_impl_.add_lazy_constraints_));
3369 _impl_._has_bits_.Clear();
3370 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3373#if defined(PROTOBUF_CUSTOM_VTABLE)
3375 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3376 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3377 const CallbackRegistrationProto& this_ =
static_cast<const CallbackRegistrationProto&
>(
base);
3380 ::uint8_t* PROTOBUF_NONNULL target,
3381 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3382 const CallbackRegistrationProto& this_ = *
this;
3384 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3385 this_.CheckHasBitConsistency();
3388 ::uint32_t cached_has_bits = 0;
3389 (void)cached_has_bits;
3391 cached_has_bits = this_.
_impl_._has_bits_[0];
3393 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3395 ::size_t byte_size = this_._impl_._request_registration_cached_byte_size_.Get();
3396 if (byte_size > 0) {
3397 target = stream->WriteEnumPacked(
3398 1, this_._internal_request_registration(), byte_size, target);
3404 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3405 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3406 2, *this_._impl_.mip_solution_filter_, this_._impl_.mip_solution_filter_->GetCachedSize(), target,
3411 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3412 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3413 3, *this_._impl_.mip_node_filter_, this_._impl_.mip_node_filter_->GetCachedSize(), target,
3418 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3419 if (this_._internal_add_cuts() != 0) {
3420 target = stream->EnsureSpace(target);
3421 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3422 4, this_._internal_add_cuts(), target);
3427 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3428 if (this_._internal_add_lazy_constraints() != 0) {
3429 target = stream->EnsureSpace(target);
3430 target = ::_pbi::WireFormatLite::WriteBoolToArray(
3431 5, this_._internal_add_lazy_constraints(), target);
3435 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3437 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3438 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3444#if defined(PROTOBUF_CUSTOM_VTABLE)
3446 const CallbackRegistrationProto& this_ =
static_cast<const CallbackRegistrationProto&
>(base);
3449 const CallbackRegistrationProto& this_ = *
this;
3452 ::size_t total_size = 0;
3454 ::uint32_t cached_has_bits = 0;
3456 (void)cached_has_bits;
3458 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3459 cached_has_bits = this_._impl_._has_bits_[0];
3460 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
3462 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3463 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize(
3464 this_._internal_request_registration(), 1, this_._impl_._request_registration_cached_byte_size_);
3467 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3469 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mip_solution_filter_);
3472 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3474 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mip_node_filter_);
3477 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3478 if (this_._internal_add_cuts() != 0) {
3483 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3484 if (this_._internal_add_lazy_constraints() != 0) {
3489 return this_.MaybeComputeUnknownFieldsSize(total_size,
3490 &this_._impl_._cached_size_);
3493void CallbackRegistrationProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
3494 const ::google::protobuf::MessageLite& from_msg) {
3496 static_cast<CallbackRegistrationProto*
>(&to_msg);
3497 auto& from =
static_cast<const CallbackRegistrationProto&
>(from_msg);
3498 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
3499 from.CheckHasBitConsistency();
3503 ABSL_DCHECK_NE(&from, _this);
3504 ::uint32_t cached_has_bits = 0;
3505 (void)cached_has_bits;
3507 cached_has_bits = from._impl_._has_bits_[0];
3508 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
3509 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
3510 _this->_internal_mutable_request_registration()->MergeFrom(from._internal_request_registration());
3512 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
3513 ABSL_DCHECK(from._impl_.mip_solution_filter_ !=
nullptr);
3514 if (_this->_impl_.mip_solution_filter_ ==
nullptr) {
3515 _this->_impl_.mip_solution_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_solution_filter_);
3517 _this->_impl_.mip_solution_filter_->MergeFrom(*from._impl_.mip_solution_filter_);
3520 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
3521 ABSL_DCHECK(from._impl_.mip_node_filter_ !=
nullptr);
3522 if (_this->_impl_.mip_node_filter_ ==
nullptr) {
3523 _this->_impl_.mip_node_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.mip_node_filter_);
3525 _this->_impl_.mip_node_filter_->MergeFrom(*from._impl_.mip_node_filter_);
3528 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
3529 if (from._internal_add_cuts() != 0) {
3530 _this->_impl_.add_cuts_ = from._impl_.add_cuts_;
3533 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
3534 if (from._internal_add_lazy_constraints() != 0) {
3535 _this->_impl_.add_lazy_constraints_ = from._impl_.add_lazy_constraints_;
3539 _this->_impl_._has_bits_[0] |= cached_has_bits;
3540 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3541 from._internal_metadata_);
3546 if (&from ==
this)
return;
3554 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3555 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3556 _impl_.request_registration_.InternalSwap(&other->_impl_.request_registration_);
3557 ::google::protobuf::internal::memswap<
3561 reinterpret_cast<char*
>(&
_impl_.mip_solution_filter_),
3562 reinterpret_cast<char*
>(&other->_impl_.mip_solution_filter_));
3566 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3576PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3579 ::std::false_type{});
3580#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto_once
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fcallback_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fmath_5fopt_2fcallback_2eproto[1]
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto_deps[2]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
static constexpr ::int32_t kHasBitsOffset
static constexpr ::int32_t kHasBitsOffset
~CallbackDataProto_BarrierStats() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
void CopyFrom(const CallbackDataProto_BarrierStats &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
CallbackDataProto_BarrierStats()
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void CopyFrom(const CallbackDataProto_MipStats &from)
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
CallbackDataProto_MipStats()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
~CallbackDataProto_MipStats() PROTOBUF_FINAL
decltype(::std::declval< CallbackDataProto_PresolveStats >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
friend void swap(CallbackDataProto_PresolveStats &a, CallbackDataProto_PresolveStats &b)
~CallbackDataProto_PresolveStats() PROTOBUF_FINAL
CallbackDataProto_PresolveStats()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
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
void CopyFrom(const CallbackDataProto_PresolveStats &from)
::size_t ByteSizeLong() const final
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< CallbackDataProto_SimplexStats >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
void MergeFrom(const CallbackDataProto_SimplexStats &from)
void CopyFrom(const CallbackDataProto_SimplexStats &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
CallbackDataProto_SimplexStats()
friend void swap(CallbackDataProto_SimplexStats &a, CallbackDataProto_SimplexStats &b)
static constexpr auto InternalGenerateClassData_()
~CallbackDataProto_SimplexStats() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
~CallbackDataProto() PROTOBUF_FINAL
void clear_primal_solution_vector()
friend void swap(CallbackDataProto &a, CallbackDataProto &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const CallbackDataProto &from)
void CopyFrom(const CallbackDataProto &from)
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
friend class ::google::protobuf::MessageLite
void MergeFrom(const CallbackRegistrationProto &from)
~CallbackRegistrationProto() PROTOBUF_FINAL
void clear_mip_node_filter()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_mip_solution_filter()
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
CallbackRegistrationProto()
void CopyFrom(const CallbackRegistrationProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
static constexpr auto InternalGenerateClassData_()
~CallbackResultProto_GeneratedLinearConstraint() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
void CopyFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
void clear_linear_expression()
void MergeFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
CallbackResultProto_GeneratedLinearConstraint()
friend class ::google::protobuf::MessageLite
void CopyFrom(const CallbackResultProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~CallbackResultProto() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_suggested_solutions()
void MergeFrom(const CallbackResultProto &from)
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
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_
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_
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 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_
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()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_
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_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto
PROTOBUF_CONSTEXPR CallbackDataProtoDefaultTypeInternal()
~CallbackDataProtoDefaultTypeInternal()
CallbackDataProto _instance
~CallbackDataProto_BarrierStatsDefaultTypeInternal()
CallbackDataProto_BarrierStats _instance
PROTOBUF_CONSTEXPR CallbackDataProto_BarrierStatsDefaultTypeInternal()
PROTOBUF_CONSTEXPR CallbackDataProto_MipStatsDefaultTypeInternal()
CallbackDataProto_MipStats _instance
~CallbackDataProto_MipStatsDefaultTypeInternal()
~CallbackDataProto_PresolveStatsDefaultTypeInternal()
PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStatsDefaultTypeInternal()
CallbackDataProto_PresolveStats _instance
PROTOBUF_CONSTEXPR CallbackDataProto_SimplexStatsDefaultTypeInternal()
CallbackDataProto_SimplexStats _instance
~CallbackDataProto_SimplexStatsDefaultTypeInternal()
CallbackRegistrationProto _instance
~CallbackRegistrationProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CallbackRegistrationProtoDefaultTypeInternal()
CallbackResultProto _instance
~CallbackResultProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CallbackResultProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal()
~CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal()
CallbackResultProto_GeneratedLinearConstraint _instance