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 ProblemStatusProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
35 primal_or_dual_infeasible_{
false} {}
39#if defined(PROTOBUF_CUSTOM_VTABLE)
42 : ::google::protobuf::Message(),
44 _impl_(::_pbi::ConstantInitialized()) {
54PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
57inline constexpr ObjectiveBoundsProto::Impl_::Impl_(
58 ::_pbi::ConstantInitialized) noexcept
65#if defined(PROTOBUF_CUSTOM_VTABLE)
68 : ::google::protobuf::Message(),
70 _impl_(::_pbi::ConstantInitialized()) {
80PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
83inline constexpr TerminationProto::Impl_::Impl_(
84 ::_pbi::ConstantInitialized) noexcept
87 &::google::protobuf::internal::fixed_address_empty_string,
88 ::_pbi::ConstantInitialized()),
89 problem_status_{
nullptr},
90 objective_bounds_{
nullptr},
96#if defined(PROTOBUF_CUSTOM_VTABLE)
99 : ::google::protobuf::Message(),
101 _impl_(::_pbi::ConstantInitialized()) {
111PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
114inline constexpr SolveStatsProto::Impl_::Impl_(
115 ::_pbi::ConstantInitialized) noexcept
117 solve_time_{
nullptr},
118 problem_status_{
nullptr},
119 best_primal_bound_{0},
121 simplex_iterations_{::int64_t{0}},
122 barrier_iterations_{::int64_t{0}},
123 node_count_{::int64_t{0}},
124 first_order_iterations_{::int64_t{0}} {}
128#if defined(PROTOBUF_CUSTOM_VTABLE)
131 : ::google::protobuf::Message(),
133 _impl_(::_pbi::ConstantInitialized()) {
143PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
146inline constexpr SolveResultProto_PdlpOutput::Impl_::Impl_(
147 ::_pbi::ConstantInitialized) noexcept
149 convergence_information_{
nullptr} {}
153#if defined(PROTOBUF_CUSTOM_VTABLE)
156 : ::google::protobuf::Message(),
158 _impl_(::_pbi::ConstantInitialized()) {
168PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
171inline constexpr SolveResultProto::Impl_::Impl_(
172 ::_pbi::ConstantInitialized) noexcept
177 termination_{
nullptr},
178 solve_stats_{
nullptr},
179 solver_specific_output_{},
184#if defined(PROTOBUF_CUSTOM_VTABLE)
187 : ::google::protobuf::Message(),
189 _impl_(::_pbi::ConstantInitialized()) {
199PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
203static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
205static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
286static const ::_pbi::MigrationSchema
305 "\n\035ortools/math_opt/result.proto\022\034operati"
306 "ons_research.math_opt\032\036google/protobuf/d"
307 "uration.proto\032\034ortools/pdlp/solve_log.pr"
308 "oto\032\037ortools/math_opt/solution.proto\032*or"
309 "tools/math_opt/solvers/gscip/gscip.proto"
310 "\032#ortools/math_opt/solvers/osqp.proto\"\317\001"
311 "\n\022ProblemStatusProto\022K\n\rprimal_status\030\001 "
312 "\001(\01624.operations_research.math_opt.Feasi"
313 "bilityStatusProto\022I\n\013dual_status\030\002 \001(\01624"
314 ".operations_research.math_opt.Feasibilit"
315 "yStatusProto\022!\n\031primal_or_dual_infeasibl"
316 "e\030\003 \001(\010\"\266\002\n\017SolveStatsProto\022-\n\nsolve_tim"
317 "e\030\001 \001(\0132\031.google.protobuf.Duration\022\035\n\021be"
318 "st_primal_bound\030\002 \001(\001B\002\030\001\022\033\n\017best_dual_b"
319 "ound\030\003 \001(\001B\002\030\001\022L\n\016problem_status\030\004 \001(\01320"
320 ".operations_research.math_opt.ProblemSta"
321 "tusProtoB\002\030\001\022\032\n\022simplex_iterations\030\005 \001(\003"
322 "\022\032\n\022barrier_iterations\030\006 \001(\003\022\036\n\026first_or"
323 "der_iterations\030\010 \001(\003\022\022\n\nnode_count\030\007 \001(\003"
324 "\"@\n\024ObjectiveBoundsProto\022\024\n\014primal_bound"
325 "\030\002 \001(\001\022\022\n\ndual_bound\030\003 \001(\001\"\271\002\n\020Terminati"
326 "onProto\022D\n\006reason\030\001 \001(\01624.operations_res"
327 "earch.math_opt.TerminationReasonProto\0227\n"
328 "\005limit\030\002 \001(\0162(.operations_research.math_"
329 "opt.LimitProto\022\016\n\006detail\030\003 \001(\t\022H\n\016proble"
330 "m_status\030\004 \001(\01320.operations_research.mat"
331 "h_opt.ProblemStatusProto\022L\n\020objective_bo"
332 "unds\030\005 \001(\01322.operations_research.math_op"
333 "t.ObjectiveBoundsProto\"\253\005\n\020SolveResultPr"
334 "oto\022C\n\013termination\030\002 \001(\0132..operations_re"
335 "search.math_opt.TerminationProto\022>\n\tsolu"
336 "tions\030\003 \003(\0132+.operations_research.math_o"
337 "pt.SolutionProto\022A\n\013primal_rays\030\004 \003(\0132,."
338 "operations_research.math_opt.PrimalRayPr"
339 "oto\022=\n\tdual_rays\030\005 \003(\0132*.operations_rese"
340 "arch.math_opt.DualRayProto\022B\n\013solve_stat"
341 "s\030\006 \001(\0132-.operations_research.math_opt.S"
342 "olveStatsProto\0228\n\014gscip_output\030\007 \001(\0132 .o"
343 "perations_research.GScipOutputH\000\022\?\n\013osqp"
344 "_output\030\010 \001(\0132(.operations_research.math"
345 "_opt.OsqpOutputH\000\022P\n\013pdlp_output\030\t \001(\01329"
346 ".operations_research.math_opt.SolveResul"
347 "tProto.PdlpOutputH\000\032_\n\nPdlpOutput\022Q\n\027con"
348 "vergence_information\030\001 \001(\01320.operations_"
349 "research.pdlp.ConvergenceInformationB\030\n\026"
350 "solver_specific_outputJ\004\010\001\020\002*\245\001\n\026Feasibi"
351 "lityStatusProto\022\"\n\036FEASIBILITY_STATUS_UN"
352 "SPECIFIED\020\000\022#\n\037FEASIBILITY_STATUS_UNDETE"
353 "RMINED\020\001\022\037\n\033FEASIBILITY_STATUS_FEASIBLE\020"
354 "\002\022!\n\035FEASIBILITY_STATUS_INFEASIBLE\020\003*\212\003\n"
355 "\026TerminationReasonProto\022\"\n\036TERMINATION_R"
356 "EASON_UNSPECIFIED\020\000\022\036\n\032TERMINATION_REASO"
357 "N_OPTIMAL\020\001\022!\n\035TERMINATION_REASON_INFEAS"
358 "IBLE\020\002\022 \n\034TERMINATION_REASON_UNBOUNDED\020\003"
359 "\022.\n*TERMINATION_REASON_INFEASIBLE_OR_UNB"
360 "OUNDED\020\004\022 \n\034TERMINATION_REASON_IMPRECISE"
361 "\020\005\022\037\n\033TERMINATION_REASON_FEASIBLE\020\t\022(\n$T"
362 "ERMINATION_REASON_NO_SOLUTION_FOUND\020\006\022&\n"
363 "\"TERMINATION_REASON_NUMERICAL_ERROR\020\007\022\"\n"
364 "\036TERMINATION_REASON_OTHER_ERROR\020\010*\216\002\n\nLi"
365 "mitProto\022\025\n\021LIMIT_UNSPECIFIED\020\000\022\026\n\022LIMIT"
366 "_UNDETERMINED\020\001\022\023\n\017LIMIT_ITERATION\020\002\022\016\n\n"
367 "LIMIT_TIME\020\003\022\016\n\nLIMIT_NODE\020\004\022\022\n\016LIMIT_SO"
368 "LUTION\020\005\022\020\n\014LIMIT_MEMORY\020\006\022\020\n\014LIMIT_CUTO"
369 "FF\020\014\022\023\n\017LIMIT_OBJECTIVE\020\007\022\016\n\nLIMIT_NORM\020"
370 "\010\022\025\n\021LIMIT_INTERRUPTED\020\t\022\027\n\023LIMIT_SLOW_P"
371 "ROGRESS\020\n\022\017\n\013LIMIT_OTHER\020\013B\036\n\032com.google"
372 ".ortools.mathoptP\001b\006proto3"
374static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
376 &::descriptor_table_google_2fprotobuf_2fduration_2eproto,
387 descriptor_table_protodef_ortools_2fmath_5fopt_2fresult_2eproto,
388 "ortools/math_opt/result.proto",
421class ProblemStatusProto::_Internal {
424 decltype(::std::declval<ProblemStatusProto>()._impl_._has_bits_);
430#if defined(PROTOBUF_CUSTOM_VTABLE)
433 : ::google::protobuf::Message(arena) {
440#if defined(PROTOBUF_CUSTOM_VTABLE)
443 : ::google::protobuf::Message(arena),
446 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
447 from._internal_metadata_);
449PROTOBUF_NDEBUG_INLINE ProblemStatusProto::Impl_::Impl_(
450 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
451 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
452 : _cached_size_{0} {}
454inline void ProblemStatusProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
455 new (&
_impl_) Impl_(internal_visibility(), arena);
456 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
457 offsetof(Impl_, primal_status_),
459 offsetof(Impl_, primal_or_dual_infeasible_) -
460 offsetof(Impl_, primal_status_) +
461 sizeof(Impl_::primal_or_dual_infeasible_));
467inline void ProblemStatusProto::SharedDtor(
MessageLite& self) {
469 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
470 this_.CheckHasBitConsistency();
472 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
473 ABSL_DCHECK(this_.GetArena() ==
nullptr);
477inline void* PROTOBUF_NONNULL ProblemStatusProto::PlacementNew_(
478 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
479 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
482constexpr auto ProblemStatusProto::InternalNewImpl_() {
483 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
ProblemStatusProto),
487 return ::google::protobuf::internal::ClassDataFull{
488 ::google::protobuf::internal::ClassData{
493 &ProblemStatusProto::MergeImpl,
494 ::google::protobuf::Message::GetNewImpl<ProblemStatusProto>(),
495#if defined(PROTOBUF_CUSTOM_VTABLE)
496 &ProblemStatusProto::SharedDtor,
503 &ProblemStatusProto::kDescriptorMethods,
509PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
513PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
514ProblemStatusProto::GetClassData()
const {
519PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
520const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
521ProblemStatusProto::_table_ = {
526 offsetof(
decltype(_table_), field_lookup_table),
528 offsetof(
decltype(_table_), field_entries),
531 offsetof(
decltype(_table_), field_names),
534 ::_pbi::TcParser::GenericFallback,
535 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
536 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ProblemStatusProto>(),
539 {::_pbi::TcParser::MiniParse, {}},
549 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
ProblemStatusProto,
_impl_.primal_or_dual_infeasible_), 2>(),
568 ::google::protobuf::internal::TSanWrite(&
_impl_);
569 ::uint32_t cached_has_bits = 0;
571 (void) cached_has_bits;
573 cached_has_bits =
_impl_._has_bits_[0];
574 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
575 ::memset(&
_impl_.primal_status_, 0,
static_cast<::
size_t>(
576 reinterpret_cast<char*
>(&
_impl_.primal_or_dual_infeasible_) -
577 reinterpret_cast<char*
>(&
_impl_.primal_status_)) +
sizeof(
_impl_.primal_or_dual_infeasible_));
579 _impl_._has_bits_.Clear();
580 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
583#if defined(PROTOBUF_CUSTOM_VTABLE)
585 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
586 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
590 ::uint8_t* PROTOBUF_NONNULL target,
591 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
594 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
595 this_.CheckHasBitConsistency();
598 ::uint32_t cached_has_bits = 0;
599 (void)cached_has_bits;
601 cached_has_bits = this_.
_impl_._has_bits_[0];
603 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
604 if (this_._internal_primal_status() != 0) {
605 target = stream->EnsureSpace(target);
606 target = ::_pbi::WireFormatLite::WriteEnumToArray(
607 1, this_._internal_primal_status(), target);
612 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
613 if (this_._internal_dual_status() != 0) {
614 target = stream->EnsureSpace(target);
615 target = ::_pbi::WireFormatLite::WriteEnumToArray(
616 2, this_._internal_dual_status(), target);
621 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
622 if (this_._internal_primal_or_dual_infeasible() != 0) {
623 target = stream->EnsureSpace(target);
624 target = ::_pbi::WireFormatLite::WriteBoolToArray(
625 3, this_._internal_primal_or_dual_infeasible(), target);
629 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
631 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
632 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
638#if defined(PROTOBUF_CUSTOM_VTABLE)
646 ::size_t total_size = 0;
648 ::uint32_t cached_has_bits = 0;
650 (void)cached_has_bits;
652 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
653 cached_has_bits = this_.
_impl_._has_bits_[0];
654 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
656 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
657 if (this_._internal_primal_status() != 0) {
659 ::_pbi::WireFormatLite::EnumSize(this_._internal_primal_status());
663 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
664 if (this_._internal_dual_status() != 0) {
666 ::_pbi::WireFormatLite::EnumSize(this_._internal_dual_status());
670 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
671 if (this_._internal_primal_or_dual_infeasible() != 0) {
676 return this_.MaybeComputeUnknownFieldsSize(total_size,
677 &this_.
_impl_._cached_size_);
680void ProblemStatusProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
681 const ::google::protobuf::MessageLite& from_msg) {
685 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
686 from.CheckHasBitConsistency();
689 ABSL_DCHECK_NE(&from, _this);
690 ::uint32_t cached_has_bits = 0;
691 (void)cached_has_bits;
693 cached_has_bits = from.
_impl_._has_bits_[0];
694 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
695 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
696 if (from._internal_primal_status() != 0) {
697 _this->_impl_.primal_status_ = from.
_impl_.primal_status_;
700 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
701 if (from._internal_dual_status() != 0) {
702 _this->_impl_.dual_status_ = from.
_impl_.dual_status_;
705 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
706 if (from._internal_primal_or_dual_infeasible() != 0) {
707 _this->_impl_.primal_or_dual_infeasible_ = from.
_impl_.primal_or_dual_infeasible_;
711 _this->_impl_._has_bits_[0] |= cached_has_bits;
712 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
713 from._internal_metadata_);
718 if (&from ==
this)
return;
724void ProblemStatusProto::InternalSwap(
ProblemStatusProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
726 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
727 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
728 ::google::protobuf::internal::memswap<
732 reinterpret_cast<char*
>(&
_impl_.primal_status_),
733 reinterpret_cast<char*
>(&other->_impl_.primal_status_));
737 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
744 decltype(::std::declval<SolveStatsProto>()._impl_._has_bits_);
750 ::google::protobuf::internal::TSanWrite(&
_impl_);
752 ClearHasBit(
_impl_._has_bits_[0],
756#if defined(PROTOBUF_CUSTOM_VTABLE)
759 : ::google::protobuf::Message(arena) {
764PROTOBUF_NDEBUG_INLINE SolveStatsProto::Impl_::Impl_(
765 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
766 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
767 [[maybe_unused]] const ::operations_research::math_opt::SolveStatsProto& from_msg)
768 : _has_bits_{from._has_bits_},
772 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
773 const SolveStatsProto& from)
774#if defined(PROTOBUF_CUSTOM_VTABLE)
777 : ::google::protobuf::Message(arena) {
779 SolveStatsProto*
const _this =
this;
781 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
782 from._internal_metadata_);
783 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
784 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
785 _impl_.solve_time_ = (CheckHasBit(cached_has_bits, 0x00000001U))
786 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_time_)
788 _impl_.problem_status_ = (CheckHasBit(cached_has_bits, 0x00000002U))
789 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_)
791 ::memcpy(
reinterpret_cast<char*
>(&_impl_) +
792 offsetof(Impl_, best_primal_bound_),
793 reinterpret_cast<const char*
>(&from._impl_) +
794 offsetof(Impl_, best_primal_bound_),
795 offsetof(Impl_, first_order_iterations_) -
796 offsetof(Impl_, best_primal_bound_) +
797 sizeof(Impl_::first_order_iterations_));
801PROTOBUF_NDEBUG_INLINE SolveStatsProto::Impl_::Impl_(
802 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
803 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
804 : _cached_size_{0} {}
806inline void SolveStatsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
807 new (&
_impl_) Impl_(internal_visibility(), arena);
808 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
809 offsetof(Impl_, solve_time_),
811 offsetof(Impl_, first_order_iterations_) -
812 offsetof(Impl_, solve_time_) +
813 sizeof(Impl_::first_order_iterations_));
819inline void SolveStatsProto::SharedDtor(MessageLite& self) {
821 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
822 this_.CheckHasBitConsistency();
824 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
825 ABSL_DCHECK(this_.GetArena() ==
nullptr);
826 delete this_.
_impl_.solve_time_;
827 delete this_.
_impl_.problem_status_;
831inline void* PROTOBUF_NONNULL SolveStatsProto::PlacementNew_(
832 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
833 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
836constexpr auto SolveStatsProto::InternalNewImpl_() {
837 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
SolveStatsProto),
841 return ::google::protobuf::internal::ClassDataFull{
842 ::google::protobuf::internal::ClassData{
847 &SolveStatsProto::MergeImpl,
848 ::google::protobuf::Message::GetNewImpl<SolveStatsProto>(),
849#if defined(PROTOBUF_CUSTOM_VTABLE)
850 &SolveStatsProto::SharedDtor,
857 &SolveStatsProto::kDescriptorMethods,
863PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
867PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
868SolveStatsProto::GetClassData()
const {
873PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
874const ::_pbi::TcParseTable<3, 8, 2, 0, 2>
875SolveStatsProto::_table_ = {
877 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_._has_bits_),
880 offsetof(
decltype(_table_), field_lookup_table),
882 offsetof(
decltype(_table_), field_entries),
885 offsetof(
decltype(_table_), aux_entries),
888 ::_pbi::TcParser::GenericFallback,
889 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
890 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveStatsProto>(),
894 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SolveStatsProto, _impl_.first_order_iterations_), 7>(),
896 PROTOBUF_FIELD_OFFSET(SolveStatsProto, _impl_.first_order_iterations_)}},
898 {::_pbi::TcParser::FastMtS1,
902 {::_pbi::TcParser::FastF64S1,
906 {::_pbi::TcParser::FastF64S1,
910 {::_pbi::TcParser::FastMtS1,
914 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
SolveStatsProto, _impl_.simplex_iterations_), 4>(),
918 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
SolveStatsProto, _impl_.barrier_iterations_), 5>(),
922 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
SolveStatsProto, _impl_.node_count_), 6>(),
929 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.solve_time_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
931 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.best_primal_bound_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
933 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.best_dual_bound_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
935 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.problem_status_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
937 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.simplex_iterations_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
939 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.barrier_iterations_), _Internal::kHasBitsOffset + 5, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
941 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.node_count_), _Internal::kHasBitsOffset + 6, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
943 {PROTOBUF_FIELD_OFFSET(
SolveStatsProto, _impl_.first_order_iterations_), _Internal::kHasBitsOffset + 7, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
946 {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
947 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ProblemStatusProto>()},
954 ::google::protobuf::internal::TSanWrite(&
_impl_);
955 ::uint32_t cached_has_bits = 0;
957 (void) cached_has_bits;
959 cached_has_bits =
_impl_._has_bits_[0];
960 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
961 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
962 ABSL_DCHECK(
_impl_.solve_time_ !=
nullptr);
963 _impl_.solve_time_->Clear();
965 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
966 ABSL_DCHECK(
_impl_.problem_status_ !=
nullptr);
970 if (BatchCheckHasBit(cached_has_bits, 0x000000fcU)) {
971 ::memset(&
_impl_.best_primal_bound_, 0,
static_cast<::
size_t>(
972 reinterpret_cast<char*
>(&
_impl_.first_order_iterations_) -
973 reinterpret_cast<char*
>(&
_impl_.best_primal_bound_)) +
sizeof(
_impl_.first_order_iterations_));
975 _impl_._has_bits_.Clear();
976 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
979#if defined(PROTOBUF_CUSTOM_VTABLE)
981 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
982 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
986 ::uint8_t* PROTOBUF_NONNULL target,
987 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
990 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
991 this_.CheckHasBitConsistency();
994 ::uint32_t cached_has_bits = 0;
995 (void)cached_has_bits;
997 cached_has_bits = this_.
_impl_._has_bits_[0];
999 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1000 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1001 1, *this_.
_impl_.solve_time_, this_.
_impl_.solve_time_->GetCachedSize(), target,
1006 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1007 if (::absl::bit_cast<::uint64_t>(this_._internal_best_primal_bound()) != 0) {
1008 target = stream->EnsureSpace(target);
1009 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1010 2, this_._internal_best_primal_bound(), target);
1015 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1016 if (::absl::bit_cast<::uint64_t>(this_._internal_best_dual_bound()) != 0) {
1017 target = stream->EnsureSpace(target);
1018 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1019 3, this_._internal_best_dual_bound(), target);
1024 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1025 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1031 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1032 if (this_._internal_simplex_iterations() != 0) {
1034 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1035 stream, this_._internal_simplex_iterations(), target);
1040 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1041 if (this_._internal_barrier_iterations() != 0) {
1043 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
1044 stream, this_._internal_barrier_iterations(), target);
1049 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1050 if (this_._internal_node_count() != 0) {
1052 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
1053 stream, this_._internal_node_count(), target);
1058 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1059 if (this_._internal_first_order_iterations() != 0) {
1061 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
1062 stream, this_._internal_first_order_iterations(), target);
1066 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1068 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1069 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1075#if defined(PROTOBUF_CUSTOM_VTABLE)
1083 ::size_t total_size = 0;
1085 ::uint32_t cached_has_bits = 0;
1087 (void)cached_has_bits;
1089 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1090 cached_has_bits = this_.
_impl_._has_bits_[0];
1091 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1093 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1095 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.solve_time_);
1098 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1100 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_.
_impl_.problem_status_);
1103 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1104 if (::absl::bit_cast<::uint64_t>(this_._internal_best_primal_bound()) != 0) {
1109 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1110 if (::absl::bit_cast<::uint64_t>(this_._internal_best_dual_bound()) != 0) {
1115 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1116 if (this_._internal_simplex_iterations() != 0) {
1117 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1118 this_._internal_simplex_iterations());
1122 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1123 if (this_._internal_barrier_iterations() != 0) {
1124 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1125 this_._internal_barrier_iterations());
1129 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1130 if (this_._internal_node_count() != 0) {
1131 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1132 this_._internal_node_count());
1136 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1137 if (this_._internal_first_order_iterations() != 0) {
1138 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1139 this_._internal_first_order_iterations());
1143 return this_.MaybeComputeUnknownFieldsSize(total_size,
1144 &this_.
_impl_._cached_size_);
1147void SolveStatsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1148 const ::google::protobuf::MessageLite& from_msg) {
1152 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1153 from.CheckHasBitConsistency();
1157 ABSL_DCHECK_NE(&from, _this);
1158 ::uint32_t cached_has_bits = 0;
1159 (void)cached_has_bits;
1161 cached_has_bits = from._impl_._has_bits_[0];
1162 if (BatchCheckHasBit(cached_has_bits, 0x000000ffU)) {
1163 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1164 ABSL_DCHECK(from._impl_.solve_time_ !=
nullptr);
1165 if (_this->_impl_.solve_time_ ==
nullptr) {
1166 _this->_impl_.solve_time_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_time_);
1168 _this->_impl_.solve_time_->MergeFrom(*from._impl_.solve_time_);
1171 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1172 ABSL_DCHECK(from._impl_.problem_status_ !=
nullptr);
1173 if (_this->_impl_.problem_status_ ==
nullptr) {
1174 _this->_impl_.problem_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_);
1176 _this->_impl_.problem_status_->MergeFrom(*from._impl_.problem_status_);
1179 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1180 if (::absl::bit_cast<::uint64_t>(from._internal_best_primal_bound()) != 0) {
1181 _this->_impl_.best_primal_bound_ = from._impl_.best_primal_bound_;
1184 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1185 if (::absl::bit_cast<::uint64_t>(from._internal_best_dual_bound()) != 0) {
1186 _this->_impl_.best_dual_bound_ = from._impl_.best_dual_bound_;
1189 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1190 if (from._internal_simplex_iterations() != 0) {
1191 _this->_impl_.simplex_iterations_ = from._impl_.simplex_iterations_;
1194 if (CheckHasBit(cached_has_bits, 0x00000020U)) {
1195 if (from._internal_barrier_iterations() != 0) {
1196 _this->_impl_.barrier_iterations_ = from._impl_.barrier_iterations_;
1199 if (CheckHasBit(cached_has_bits, 0x00000040U)) {
1200 if (from._internal_node_count() != 0) {
1201 _this->_impl_.node_count_ = from._impl_.node_count_;
1204 if (CheckHasBit(cached_has_bits, 0x00000080U)) {
1205 if (from._internal_first_order_iterations() != 0) {
1206 _this->_impl_.first_order_iterations_ = from._impl_.first_order_iterations_;
1210 _this->_impl_._has_bits_[0] |= cached_has_bits;
1211 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1212 from._internal_metadata_);
1217 if (&from ==
this)
return;
1223void SolveStatsProto::InternalSwap(
SolveStatsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1225 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1226 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1227 ::google::protobuf::internal::memswap<
1231 reinterpret_cast<char*
>(&
_impl_.solve_time_),
1232 reinterpret_cast<char*
>(&other->_impl_.solve_time_));
1236 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1243 decltype(::std::declval<ObjectiveBoundsProto>()._impl_._has_bits_);
1249#if defined(PROTOBUF_CUSTOM_VTABLE)
1252 : ::google::protobuf::Message(arena) {
1259#if defined(PROTOBUF_CUSTOM_VTABLE)
1262 : ::google::protobuf::Message(arena),
1265 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1266 from._internal_metadata_);
1268PROTOBUF_NDEBUG_INLINE ObjectiveBoundsProto::Impl_::Impl_(
1269 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1270 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1271 : _cached_size_{0} {}
1273inline void ObjectiveBoundsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1274 new (&
_impl_) Impl_(internal_visibility(), arena);
1275 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1276 offsetof(Impl_, primal_bound_),
1278 offsetof(Impl_, dual_bound_) -
1279 offsetof(Impl_, primal_bound_) +
1280 sizeof(Impl_::dual_bound_));
1286inline void ObjectiveBoundsProto::SharedDtor(
MessageLite& self) {
1288 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1289 this_.CheckHasBitConsistency();
1291 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1292 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1296inline void* PROTOBUF_NONNULL ObjectiveBoundsProto::PlacementNew_(
1297 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1298 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1299 return ::new (mem) ObjectiveBoundsProto(arena);
1301constexpr auto ObjectiveBoundsProto::InternalNewImpl_() {
1302 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(ObjectiveBoundsProto),
1303 alignof(ObjectiveBoundsProto));
1306 return ::google::protobuf::internal::ClassDataFull{
1307 ::google::protobuf::internal::ClassData{
1312 &ObjectiveBoundsProto::MergeImpl,
1313 ::google::protobuf::Message::GetNewImpl<ObjectiveBoundsProto>(),
1314#if defined(PROTOBUF_CUSTOM_VTABLE)
1315 &ObjectiveBoundsProto::SharedDtor,
1322 &ObjectiveBoundsProto::kDescriptorMethods,
1328PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1332PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1333ObjectiveBoundsProto::GetClassData()
const {
1338PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1339const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
1340ObjectiveBoundsProto::_table_ = {
1342 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto,
_impl_._has_bits_),
1345 offsetof(
decltype(_table_), field_lookup_table),
1347 offsetof(
decltype(_table_), field_entries),
1350 offsetof(
decltype(_table_), field_names),
1353 ::_pbi::TcParser::GenericFallback,
1354 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1355 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveBoundsProto>(),
1359 {::_pbi::TcParser::FastF64S1,
1361 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto,
_impl_.primal_bound_)}},
1363 {::_pbi::TcParser::FastF64S1,
1365 PROTOBUF_FIELD_OFFSET(ObjectiveBoundsProto,
_impl_.dual_bound_)}},
1380 ::google::protobuf::internal::TSanWrite(&
_impl_);
1381 ::uint32_t cached_has_bits = 0;
1383 (void) cached_has_bits;
1385 cached_has_bits =
_impl_._has_bits_[0];
1386 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1387 ::memset(&
_impl_.primal_bound_, 0,
static_cast<::
size_t>(
1388 reinterpret_cast<char*
>(&
_impl_.dual_bound_) -
1389 reinterpret_cast<char*
>(&
_impl_.primal_bound_)) +
sizeof(
_impl_.dual_bound_));
1391 _impl_._has_bits_.Clear();
1392 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1395#if defined(PROTOBUF_CUSTOM_VTABLE)
1397 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1398 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1399 const ObjectiveBoundsProto& this_ =
static_cast<const ObjectiveBoundsProto&
>(
base);
1402 ::uint8_t* PROTOBUF_NONNULL target,
1403 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1406 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1407 this_.CheckHasBitConsistency();
1410 ::uint32_t cached_has_bits = 0;
1411 (void)cached_has_bits;
1413 cached_has_bits = this_.
_impl_._has_bits_[0];
1415 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1416 if (::absl::bit_cast<::uint64_t>(this_._internal_primal_bound()) != 0) {
1417 target = stream->EnsureSpace(target);
1418 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1419 2, this_._internal_primal_bound(), target);
1424 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1425 if (::absl::bit_cast<::uint64_t>(this_._internal_dual_bound()) != 0) {
1426 target = stream->EnsureSpace(target);
1427 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1428 3, this_._internal_dual_bound(), target);
1432 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1434 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1435 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1441#if defined(PROTOBUF_CUSTOM_VTABLE)
1443 const ObjectiveBoundsProto& this_ =
static_cast<const ObjectiveBoundsProto&
>(base);
1446 const ObjectiveBoundsProto& this_ = *
this;
1449 ::size_t total_size = 0;
1451 ::uint32_t cached_has_bits = 0;
1453 (void)cached_has_bits;
1455 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1456 cached_has_bits = this_._impl_._has_bits_[0];
1457 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1459 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1460 if (::absl::bit_cast<::uint64_t>(this_._internal_primal_bound()) != 0) {
1465 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1466 if (::absl::bit_cast<::uint64_t>(this_._internal_dual_bound()) != 0) {
1471 return this_.MaybeComputeUnknownFieldsSize(total_size,
1472 &this_._impl_._cached_size_);
1475void ObjectiveBoundsProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1476 const ::google::protobuf::MessageLite& from_msg) {
1478 static_cast<ObjectiveBoundsProto*
>(&to_msg);
1479 auto& from =
static_cast<const ObjectiveBoundsProto&
>(from_msg);
1480 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1481 from.CheckHasBitConsistency();
1484 ABSL_DCHECK_NE(&from, _this);
1485 ::uint32_t cached_has_bits = 0;
1486 (void)cached_has_bits;
1488 cached_has_bits = from.
_impl_._has_bits_[0];
1489 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1490 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1491 if (::absl::bit_cast<::uint64_t>(from._internal_primal_bound()) != 0) {
1492 _this->_impl_.primal_bound_ = from.
_impl_.primal_bound_;
1495 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1496 if (::absl::bit_cast<::uint64_t>(from._internal_dual_bound()) != 0) {
1497 _this->_impl_.dual_bound_ = from.
_impl_.dual_bound_;
1501 _this->_impl_._has_bits_[0] |= cached_has_bits;
1502 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1503 from._internal_metadata_);
1508 if (&from ==
this)
return;
1514void ObjectiveBoundsProto::InternalSwap(
ObjectiveBoundsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1516 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1517 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1518 ::google::protobuf::internal::memswap<
1522 reinterpret_cast<char*
>(&
_impl_.primal_bound_),
1523 reinterpret_cast<char*
>(&other->_impl_.primal_bound_));
1527 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1534 decltype(::std::declval<TerminationProto>()._impl_._has_bits_);
1540#if defined(PROTOBUF_CUSTOM_VTABLE)
1543 : ::google::protobuf::Message(arena) {
1548PROTOBUF_NDEBUG_INLINE TerminationProto::Impl_::Impl_(
1549 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1550 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1551 [[maybe_unused]] const ::operations_research::math_opt::TerminationProto& from_msg)
1552 : _has_bits_{from._has_bits_},
1554 detail_(arena, from.detail_) {}
1557 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1559#if defined(PROTOBUF_CUSTOM_VTABLE)
1562 : ::google::protobuf::Message(arena) {
1566 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1567 from._internal_metadata_);
1568 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1569 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
1570 _impl_.problem_status_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1571 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_)
1573 _impl_.objective_bounds_ = (CheckHasBit(cached_has_bits, 0x00000004U))
1574 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.objective_bounds_)
1576 ::memcpy(
reinterpret_cast<char*
>(&
_impl_) +
1577 offsetof(Impl_, reason_),
1578 reinterpret_cast<const char*
>(&from._impl_) +
1579 offsetof(Impl_, reason_),
1580 offsetof(Impl_, limit_) -
1581 offsetof(Impl_, reason_) +
1582 sizeof(Impl_::limit_));
1586PROTOBUF_NDEBUG_INLINE TerminationProto::Impl_::Impl_(
1587 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1588 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1592inline void TerminationProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1593 new (&
_impl_) Impl_(internal_visibility(), arena);
1594 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
1595 offsetof(Impl_, problem_status_),
1597 offsetof(Impl_, limit_) -
1598 offsetof(Impl_, problem_status_) +
1599 sizeof(Impl_::limit_));
1607 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1608 this_.CheckHasBitConsistency();
1610 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1611 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1612 this_.
_impl_.detail_.Destroy();
1613 delete this_.
_impl_.problem_status_;
1614 delete this_.
_impl_.objective_bounds_;
1618inline void* PROTOBUF_NONNULL TerminationProto::PlacementNew_(
1619 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1623constexpr auto TerminationProto::InternalNewImpl_() {
1624 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(TerminationProto),
1625 alignof(TerminationProto));
1628 return ::google::protobuf::internal::ClassDataFull{
1629 ::google::protobuf::internal::ClassData{
1634 &TerminationProto::MergeImpl,
1635 ::google::protobuf::Message::GetNewImpl<TerminationProto>(),
1636#if defined(PROTOBUF_CUSTOM_VTABLE)
1637 &TerminationProto::SharedDtor,
1644 &TerminationProto::kDescriptorMethods,
1650PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1654PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1655TerminationProto::GetClassData()
const {
1660PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1661const ::_pbi::TcParseTable<3, 5, 2, 60, 2>
1662TerminationProto::_table_ = {
1664 PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_._has_bits_),
1667 offsetof(
decltype(_table_), field_lookup_table),
1669 offsetof(
decltype(_table_), field_entries),
1672 offsetof(
decltype(_table_), aux_entries),
1675 ::_pbi::TcParser::GenericFallback,
1676 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1677 ::_pbi::TcParser::GetTable<::operations_research::math_opt::TerminationProto>(),
1680 {::_pbi::TcParser::MiniParse, {}},
1682 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TerminationProto,
_impl_.reason_), 3>(),
1684 PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.reason_)}},
1686 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(TerminationProto,
_impl_.limit_), 4>(),
1688 PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.limit_)}},
1690 {::_pbi::TcParser::FastUS1,
1692 PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.detail_)}},
1694 {::_pbi::TcParser::FastMtS1,
1696 PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.problem_status_)}},
1698 {::_pbi::TcParser::FastMtS1,
1700 PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.objective_bounds_)}},
1701 {::_pbi::TcParser::MiniParse, {}},
1702 {::_pbi::TcParser::MiniParse, {}},
1711 {PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.detail_),
_Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
1713 {PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.problem_status_),
_Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1715 {PROTOBUF_FIELD_OFFSET(TerminationProto,
_impl_.objective_bounds_),
_Internal::kHasBitsOffset + 2, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1718 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ProblemStatusProto>()},
1719 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveBoundsProto>()},
1723 "operations_research.math_opt.TerminationProto"
1729 ::google::protobuf::internal::TSanWrite(&
_impl_);
1730 ::uint32_t cached_has_bits = 0;
1732 (void) cached_has_bits;
1734 cached_has_bits =
_impl_._has_bits_[0];
1735 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1736 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1737 _impl_.detail_.ClearNonDefaultToEmpty();
1739 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1740 ABSL_DCHECK(
_impl_.problem_status_ !=
nullptr);
1741 _impl_.problem_status_->Clear();
1743 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1744 ABSL_DCHECK(
_impl_.objective_bounds_ !=
nullptr);
1745 _impl_.objective_bounds_->Clear();
1748 if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
1749 ::memset(&
_impl_.reason_, 0,
static_cast<::
size_t>(
1750 reinterpret_cast<char*
>(&
_impl_.limit_) -
1751 reinterpret_cast<char*
>(&
_impl_.reason_)) +
sizeof(
_impl_.limit_));
1753 _impl_._has_bits_.Clear();
1754 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1757#if defined(PROTOBUF_CUSTOM_VTABLE)
1759 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1760 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1761 const TerminationProto& this_ =
static_cast<const TerminationProto&
>(base);
1764 ::uint8_t* PROTOBUF_NONNULL target,
1765 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1766 const TerminationProto& this_ = *
this;
1768 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1769 this_.CheckHasBitConsistency();
1772 ::uint32_t cached_has_bits = 0;
1773 (void)cached_has_bits;
1775 cached_has_bits = this_._impl_._has_bits_[0];
1777 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1778 if (this_._internal_reason() != 0) {
1779 target = stream->EnsureSpace(target);
1780 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1781 1, this_._internal_reason(), target);
1786 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1787 if (this_._internal_limit() != 0) {
1788 target = stream->EnsureSpace(target);
1789 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1790 2, this_._internal_limit(), target);
1795 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1796 if (!this_._internal_detail().empty()) {
1797 const ::std::string& _s = this_._internal_detail();
1798 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
1799 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.math_opt.TerminationProto.detail");
1800 target = stream->WriteStringMaybeAliased(3, _s, target);
1805 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1806 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1807 4, *this_._impl_.problem_status_, this_._impl_.problem_status_->GetCachedSize(), target,
1812 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1813 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1814 5, *this_._impl_.objective_bounds_, this_._impl_.objective_bounds_->GetCachedSize(), target,
1818 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1820 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1821 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1827#if defined(PROTOBUF_CUSTOM_VTABLE)
1829 const TerminationProto& this_ =
static_cast<const TerminationProto&
>(base);
1832 const TerminationProto& this_ = *
this;
1835 ::size_t total_size = 0;
1837 ::uint32_t cached_has_bits = 0;
1839 (void)cached_has_bits;
1841 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1842 cached_has_bits = this_._impl_._has_bits_[0];
1843 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1845 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1846 if (!this_._internal_detail().empty()) {
1847 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1848 this_._internal_detail());
1852 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1854 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.problem_status_);
1857 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1859 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.objective_bounds_);
1862 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1863 if (this_._internal_reason() != 0) {
1865 ::_pbi::WireFormatLite::EnumSize(this_._internal_reason());
1869 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1870 if (this_._internal_limit() != 0) {
1872 ::_pbi::WireFormatLite::EnumSize(this_._internal_limit());
1876 return this_.MaybeComputeUnknownFieldsSize(total_size,
1877 &this_._impl_._cached_size_);
1880void TerminationProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1881 const ::google::protobuf::MessageLite& from_msg) {
1883 static_cast<TerminationProto*
>(&to_msg);
1884 auto& from =
static_cast<const TerminationProto&
>(from_msg);
1885 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1886 from.CheckHasBitConsistency();
1890 ABSL_DCHECK_NE(&from, _this);
1891 ::uint32_t cached_has_bits = 0;
1892 (void)cached_has_bits;
1894 cached_has_bits = from._impl_._has_bits_[0];
1895 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1896 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1897 if (!from._internal_detail().empty()) {
1898 _this->_internal_set_detail(from._internal_detail());
1900 if (_this->_impl_.detail_.IsDefault()) {
1901 _this->_internal_set_detail(
"");
1905 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1906 ABSL_DCHECK(from._impl_.problem_status_ !=
nullptr);
1907 if (_this->_impl_.problem_status_ ==
nullptr) {
1908 _this->_impl_.problem_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.problem_status_);
1910 _this->_impl_.problem_status_->MergeFrom(*from._impl_.problem_status_);
1913 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1914 ABSL_DCHECK(from._impl_.objective_bounds_ !=
nullptr);
1915 if (_this->_impl_.objective_bounds_ ==
nullptr) {
1916 _this->_impl_.objective_bounds_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.objective_bounds_);
1918 _this->_impl_.objective_bounds_->MergeFrom(*from._impl_.objective_bounds_);
1921 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1922 if (from._internal_reason() != 0) {
1923 _this->_impl_.reason_ = from._impl_.reason_;
1926 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1927 if (from._internal_limit() != 0) {
1928 _this->_impl_.limit_ = from._impl_.limit_;
1932 _this->_impl_._has_bits_[0] |= cached_has_bits;
1933 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1934 from._internal_metadata_);
1939 if (&from ==
this)
return;
1945void TerminationProto::InternalSwap(
TerminationProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1947 auto* arena = GetArena();
1948 ABSL_DCHECK_EQ(arena, other->GetArena());
1949 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1950 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1951 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.detail_, &other->_impl_.detail_, arena);
1952 ::google::protobuf::internal::memswap<
1956 reinterpret_cast<char*
>(&
_impl_.problem_status_),
1957 reinterpret_cast<char*
>(&other->_impl_.problem_status_));
1961 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1968 decltype(::std::declval<SolveResultProto_PdlpOutput>()._impl_._has_bits_);
1969 static constexpr ::int32_t kHasBitsOffset =
1974 ::google::protobuf::internal::TSanWrite(&
_impl_);
1975 if (
_impl_.convergence_information_ !=
nullptr)
_impl_.convergence_information_->Clear();
1976 ClearHasBit(
_impl_._has_bits_[0],
1980#if defined(PROTOBUF_CUSTOM_VTABLE)
1983 : ::google::protobuf::Message(arena) {
1988PROTOBUF_NDEBUG_INLINE SolveResultProto_PdlpOutput::Impl_::Impl_(
1989 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1990 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1991 [[maybe_unused]] const ::operations_research::math_opt::SolveResultProto_PdlpOutput& from_msg)
1992 : _has_bits_{from._has_bits_},
1996 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1997 const SolveResultProto_PdlpOutput& from)
1998#if defined(PROTOBUF_CUSTOM_VTABLE)
2001 : ::google::protobuf::Message(arena) {
2003 SolveResultProto_PdlpOutput*
const _this =
this;
2005 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2006 from._internal_metadata_);
2007 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2008 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2009 _impl_.convergence_information_ = (CheckHasBit(cached_has_bits, 0x00000001U))
2010 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.convergence_information_)
2015PROTOBUF_NDEBUG_INLINE SolveResultProto_PdlpOutput::Impl_::Impl_(
2016 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2017 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2018 : _cached_size_{0} {}
2020inline void SolveResultProto_PdlpOutput::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2021 new (&
_impl_) Impl_(internal_visibility(), arena);
2022 _impl_.convergence_information_ = {};
2028inline void SolveResultProto_PdlpOutput::SharedDtor(MessageLite& self) {
2030 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2031 this_.CheckHasBitConsistency();
2033 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2034 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2035 delete this_.
_impl_.convergence_information_;
2039inline void* PROTOBUF_NONNULL SolveResultProto_PdlpOutput::PlacementNew_(
2040 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2041 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2044constexpr auto SolveResultProto_PdlpOutput::InternalNewImpl_() {
2049 return ::google::protobuf::internal::ClassDataFull{
2050 ::google::protobuf::internal::ClassData{
2055 &SolveResultProto_PdlpOutput::MergeImpl,
2056 ::google::protobuf::Message::GetNewImpl<SolveResultProto_PdlpOutput>(),
2057#if defined(PROTOBUF_CUSTOM_VTABLE)
2058 &SolveResultProto_PdlpOutput::SharedDtor,
2065 &SolveResultProto_PdlpOutput::kDescriptorMethods,
2071PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2075PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2076SolveResultProto_PdlpOutput::GetClassData()
const {
2081PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2082const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
2083SolveResultProto_PdlpOutput::_table_ = {
2085 PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_._has_bits_),
2088 offsetof(
decltype(_table_), field_lookup_table),
2090 offsetof(
decltype(_table_), field_entries),
2093 offsetof(
decltype(_table_), aux_entries),
2096 ::_pbi::TcParser::GenericFallback,
2097 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2098 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto_PdlpOutput>(),
2102 {::_pbi::TcParser::FastMtS1,
2104 PROTOBUF_FIELD_OFFSET(SolveResultProto_PdlpOutput, _impl_.convergence_information_)}},
2109 {PROTOBUF_FIELD_OFFSET(
SolveResultProto_PdlpOutput, _impl_.convergence_information_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2112 {::_pbi::TcParser::GetTable<::operations_research::pdlp::ConvergenceInformation>()},
2119 ::google::protobuf::internal::TSanWrite(&
_impl_);
2120 ::uint32_t cached_has_bits = 0;
2122 (void) cached_has_bits;
2124 cached_has_bits =
_impl_._has_bits_[0];
2125 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2126 ABSL_DCHECK(
_impl_.convergence_information_ !=
nullptr);
2127 _impl_.convergence_information_->Clear();
2129 _impl_._has_bits_.Clear();
2130 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2133#if defined(PROTOBUF_CUSTOM_VTABLE)
2135 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2136 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2140 ::uint8_t* PROTOBUF_NONNULL target,
2141 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2144 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2145 this_.CheckHasBitConsistency();
2148 ::uint32_t cached_has_bits = 0;
2149 (void)cached_has_bits;
2151 cached_has_bits = this_.
_impl_._has_bits_[0];
2153 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2154 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2155 1, *this_._impl_.convergence_information_, this_._impl_.convergence_information_->GetCachedSize(), target,
2159 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2161 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2162 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2168#if defined(PROTOBUF_CUSTOM_VTABLE)
2176 ::size_t total_size = 0;
2178 ::uint32_t cached_has_bits = 0;
2180 (void)cached_has_bits;
2184 cached_has_bits = this_._impl_._has_bits_[0];
2185 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2187 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.convergence_information_);
2190 return this_.MaybeComputeUnknownFieldsSize(total_size,
2191 &this_._impl_._cached_size_);
2194void SolveResultProto_PdlpOutput::MergeImpl(::google::protobuf::MessageLite& to_msg,
2195 const ::google::protobuf::MessageLite& from_msg) {
2199 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2200 from.CheckHasBitConsistency();
2202 ::google::protobuf::Arena* arena = _this->GetArena();
2204 ABSL_DCHECK_NE(&from, _this);
2205 ::uint32_t cached_has_bits = 0;
2206 (void)cached_has_bits;
2208 cached_has_bits = from._impl_._has_bits_[0];
2209 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2210 ABSL_DCHECK(from._impl_.convergence_information_ !=
nullptr);
2211 if (_this->_impl_.convergence_information_ ==
nullptr) {
2212 _this->_impl_.convergence_information_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.convergence_information_);
2214 _this->_impl_.convergence_information_->MergeFrom(*from._impl_.convergence_information_);
2217 _this->_impl_._has_bits_[0] |= cached_has_bits;
2218 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2219 from._internal_metadata_);
2224 if (&from ==
this)
return;
2232 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2233 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2234 swap(
_impl_.convergence_information_, other->
_impl_.convergence_information_);
2238 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2245 decltype(::std::declval<SolveResultProto>()._impl_._has_bits_);
2246 static constexpr ::int32_t kHasBitsOffset =
2253 ::google::protobuf::internal::TSanWrite(&
_impl_);
2255 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2259 ::google::protobuf::internal::TSanWrite(&
_impl_);
2260 _impl_.primal_rays_.Clear();
2261 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2265 ::google::protobuf::internal::TSanWrite(&
_impl_);
2266 _impl_.dual_rays_.Clear();
2267 ClearHasBitForRepeated(
_impl_._has_bits_[0],
2271 ::google::protobuf::Arena* message_arena = GetArena();
2274 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(
gscip_output)->GetArena();
2275 if (message_arena != submessage_arena) {
2278 set_has_gscip_output();
2279 _impl_.solver_specific_output_.gscip_output_ = gscip_output;
2284 ::google::protobuf::internal::TSanWrite(&
_impl_);
2285 if (solver_specific_output_case() == kGscipOutput) {
2286 if (GetArena() ==
nullptr) {
2287 delete _impl_.solver_specific_output_.gscip_output_;
2288 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2289 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.gscip_output_);
2291 clear_has_solver_specific_output();
2295 ::google::protobuf::Arena* message_arena = GetArena();
2296 clear_solver_specific_output();
2298 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(osqp_output)->GetArena();
2299 if (message_arena != submessage_arena) {
2302 set_has_osqp_output();
2303 _impl_.solver_specific_output_.osqp_output_ = osqp_output;
2308 ::google::protobuf::internal::TSanWrite(&
_impl_);
2309 if (solver_specific_output_case() == kOsqpOutput) {
2310 if (GetArena() ==
nullptr) {
2311 delete _impl_.solver_specific_output_.osqp_output_;
2312 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2313 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.osqp_output_);
2315 clear_has_solver_specific_output();
2319 ::google::protobuf::Arena* message_arena = GetArena();
2320 clear_solver_specific_output();
2322 ::google::protobuf::Arena* submessage_arena = pdlp_output->GetArena();
2323 if (message_arena != submessage_arena) {
2326 set_has_pdlp_output();
2327 _impl_.solver_specific_output_.pdlp_output_ = pdlp_output;
2332#if defined(PROTOBUF_CUSTOM_VTABLE)
2335 : ::google::protobuf::Message(arena) {
2340PROTOBUF_NDEBUG_INLINE SolveResultProto::Impl_::Impl_(
2341 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2342 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2343 [[maybe_unused]] const ::operations_research::math_opt::SolveResultProto& from_msg)
2344 : _has_bits_{from._has_bits_},
2346 solutions_{visibility, arena, from.solutions_},
2347 primal_rays_{visibility, arena, from.primal_rays_},
2348 dual_rays_{visibility, arena, from.dual_rays_},
2349 solver_specific_output_{},
2350 _oneof_case_{from._oneof_case_[0]} {}
2353 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2355#if defined(PROTOBUF_CUSTOM_VTABLE)
2358 : ::google::protobuf::Message(arena) {
2362 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2363 from._internal_metadata_);
2364 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2365 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2366 _impl_.termination_ = (CheckHasBit(cached_has_bits, 0x00000008U))
2367 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.termination_)
2369 _impl_.solve_stats_ = (CheckHasBit(cached_has_bits, 0x00000010U))
2370 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_stats_)
2372 switch (solver_specific_output_case()) {
2373 case SOLVER_SPECIFIC_OUTPUT_NOT_SET:
2376 _impl_.solver_specific_output_.gscip_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.gscip_output_);
2379 _impl_.solver_specific_output_.osqp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.osqp_output_);
2382 _impl_.solver_specific_output_.pdlp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.pdlp_output_);
2388PROTOBUF_NDEBUG_INLINE SolveResultProto::Impl_::Impl_(
2389 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2390 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2392 solutions_{visibility, arena},
2393 primal_rays_{visibility, arena},
2394 dual_rays_{visibility, arena},
2395 solver_specific_output_{},
2398inline void SolveResultProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2399 new (&
_impl_) Impl_(internal_visibility(), arena);
2400 ::memset(
reinterpret_cast<char*
>(&
_impl_) +
2401 offsetof(Impl_, termination_),
2403 offsetof(Impl_, solve_stats_) -
2404 offsetof(Impl_, termination_) +
2405 sizeof(Impl_::solve_stats_));
2411inline void SolveResultProto::SharedDtor(MessageLite& self) {
2413 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2414 this_.CheckHasBitConsistency();
2416 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2417 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2418 delete this_._impl_.termination_;
2419 delete this_._impl_.solve_stats_;
2420 if (this_.has_solver_specific_output()) {
2421 this_.clear_solver_specific_output();
2423 this_._impl_.~Impl_();
2428 ::google::protobuf::internal::TSanWrite(&
_impl_);
2431 if (GetArena() ==
nullptr) {
2432 delete _impl_.solver_specific_output_.gscip_output_;
2433 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2434 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.
gscip_output_);
2439 if (GetArena() ==
nullptr) {
2441 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2442 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.osqp_output_);
2447 if (GetArena() ==
nullptr) {
2448 delete _impl_.solver_specific_output_.pdlp_output_;
2449 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2450 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.solver_specific_output_.pdlp_output_);
2462inline void* PROTOBUF_NONNULL SolveResultProto::PlacementNew_(
2463 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2464 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2467constexpr auto SolveResultProto::InternalNewImpl_() {
2468 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2471 InternalGetArenaOffset(
2472 ::google::protobuf::Message::internal_visibility()),
2475 InternalGetArenaOffset(
2476 ::google::protobuf::Message::internal_visibility()),
2479 InternalGetArenaOffset(
2480 ::google::protobuf::Message::internal_visibility()),
2482 if (arena_bits.has_value()) {
2483 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2484 sizeof(SolveResultProto), alignof(SolveResultProto), *arena_bits);
2486 return ::google::protobuf::internal::MessageCreator(&SolveResultProto::PlacementNew_,
2487 sizeof(SolveResultProto),
2488 alignof(SolveResultProto));
2492 return ::google::protobuf::internal::ClassDataFull{
2493 ::google::protobuf::internal::ClassData{
2498 &SolveResultProto::MergeImpl,
2499 ::google::protobuf::Message::GetNewImpl<SolveResultProto>(),
2500#if defined(PROTOBUF_CUSTOM_VTABLE)
2501 &SolveResultProto::SharedDtor,
2508 &SolveResultProto::kDescriptorMethods,
2514PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2518PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2519SolveResultProto::GetClassData()
const {
2524PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2525const ::_pbi::TcParseTable<3, 8, 8, 0, 2>
2526SolveResultProto::_table_ = {
2531 offsetof(
decltype(_table_), field_lookup_table),
2533 offsetof(
decltype(_table_), field_entries),
2536 offsetof(
decltype(_table_), aux_entries),
2539 ::_pbi::TcParser::GenericFallback,
2540 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2541 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto>(),
2544 {::_pbi::TcParser::MiniParse, {}},
2545 {::_pbi::TcParser::MiniParse, {}},
2547 {::_pbi::TcParser::FastMtS1,
2551 {::_pbi::TcParser::FastMtR1,
2555 {::_pbi::TcParser::FastMtR1,
2559 {::_pbi::TcParser::FastMtR1,
2563 {::_pbi::TcParser::FastMtS1,
2566 {::_pbi::TcParser::MiniParse, {}},
2588 {::_pbi::TcParser::GetTable<::operations_research::math_opt::TerminationProto>()},
2589 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolutionProto>()},
2590 {::_pbi::TcParser::GetTable<::operations_research::math_opt::PrimalRayProto>()},
2591 {::_pbi::TcParser::GetTable<::operations_research::math_opt::DualRayProto>()},
2592 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveStatsProto>()},
2593 {::_pbi::TcParser::GetTable<::operations_research::GScipOutput>()},
2594 {::_pbi::TcParser::GetTable<::operations_research::math_opt::OsqpOutput>()},
2595 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolveResultProto_PdlpOutput>()},
2602 ::google::protobuf::internal::TSanWrite(&
_impl_);
2603 ::uint32_t cached_has_bits = 0;
2605 (void) cached_has_bits;
2607 cached_has_bits =
_impl_._has_bits_[0];
2608 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2609 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2610 _impl_.solutions_.Clear();
2612 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2613 _impl_.primal_rays_.Clear();
2615 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2616 _impl_.dual_rays_.Clear();
2618 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2619 ABSL_DCHECK(
_impl_.termination_ !=
nullptr);
2620 _impl_.termination_->Clear();
2622 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2623 ABSL_DCHECK(
_impl_.solve_stats_ !=
nullptr);
2624 _impl_.solve_stats_->Clear();
2628 _impl_._has_bits_.Clear();
2629 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2632#if defined(PROTOBUF_CUSTOM_VTABLE)
2634 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2635 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2639 ::uint8_t* PROTOBUF_NONNULL target,
2640 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2643 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2644 this_.CheckHasBitConsistency();
2647 ::uint32_t cached_has_bits = 0;
2648 (void)cached_has_bits;
2650 cached_has_bits = this_._impl_._has_bits_[0];
2652 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2653 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2654 2, *this_._impl_.termination_, this_._impl_.termination_->GetCachedSize(), target,
2659 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2660 for (
unsigned i = 0, n =
static_cast<unsigned>(
2661 this_._internal_solutions_size());
2663 const auto& repfield = this_._internal_solutions().Get(i);
2665 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2666 3, repfield, repfield.GetCachedSize(),
2672 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2673 for (
unsigned i = 0, n =
static_cast<unsigned>(
2674 this_._internal_primal_rays_size());
2676 const auto& repfield = this_._internal_primal_rays().Get(i);
2678 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2679 4, repfield, repfield.GetCachedSize(),
2685 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2686 for (
unsigned i = 0, n =
static_cast<unsigned>(
2687 this_._internal_dual_rays_size());
2689 const auto& repfield = this_._internal_dual_rays().Get(i);
2691 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2692 5, repfield, repfield.GetCachedSize(),
2698 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2699 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2700 6, *this_._impl_.solve_stats_, this_._impl_.solve_stats_->GetCachedSize(), target,
2704 switch (this_.solver_specific_output_case()) {
2706 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2707 7, *this_._impl_.solver_specific_output_.gscip_output_, this_._impl_.solver_specific_output_.gscip_output_->GetCachedSize(), target,
2712 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2713 8, *this_._impl_.solver_specific_output_.osqp_output_, this_._impl_.solver_specific_output_.osqp_output_->GetCachedSize(), target,
2718 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2719 9, *this_._impl_.solver_specific_output_.pdlp_output_, this_._impl_.solver_specific_output_.pdlp_output_->GetCachedSize(), target,
2726 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2728 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2729 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2735#if defined(PROTOBUF_CUSTOM_VTABLE)
2743 ::size_t total_size = 0;
2745 ::uint32_t cached_has_bits = 0;
2747 (void)cached_has_bits;
2749 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2750 cached_has_bits = this_._impl_._has_bits_[0];
2751 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2753 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2754 total_size += 1UL * this_._internal_solutions_size();
2755 for (
const auto& msg : this_._internal_solutions()) {
2756 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2760 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2761 total_size += 1UL * this_._internal_primal_rays_size();
2762 for (
const auto& msg : this_._internal_primal_rays()) {
2763 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2767 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2768 total_size += 1UL * this_._internal_dual_rays_size();
2769 for (
const auto& msg : this_._internal_dual_rays()) {
2770 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2774 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2776 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.termination_);
2779 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2781 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solve_stats_);
2784 switch (this_.solver_specific_output_case()) {
2788 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solver_specific_output_.gscip_output_);
2794 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solver_specific_output_.osqp_output_);
2800 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solver_specific_output_.pdlp_output_);
2807 return this_.MaybeComputeUnknownFieldsSize(total_size,
2808 &this_._impl_._cached_size_);
2811void SolveResultProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2812 const ::google::protobuf::MessageLite& from_msg) {
2816 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2817 from.CheckHasBitConsistency();
2821 ABSL_DCHECK_NE(&from, _this);
2822 ::uint32_t cached_has_bits = 0;
2823 (void)cached_has_bits;
2825 cached_has_bits = from._impl_._has_bits_[0];
2826 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
2827 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2828 _this->_internal_mutable_solutions()->InternalMergeFromWithArena(
2829 ::google::protobuf::MessageLite::internal_visibility(), arena,
2830 from._internal_solutions());
2832 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2833 _this->_internal_mutable_primal_rays()->InternalMergeFromWithArena(
2834 ::google::protobuf::MessageLite::internal_visibility(), arena,
2835 from._internal_primal_rays());
2837 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
2838 _this->_internal_mutable_dual_rays()->InternalMergeFromWithArena(
2839 ::google::protobuf::MessageLite::internal_visibility(), arena,
2840 from._internal_dual_rays());
2842 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
2843 ABSL_DCHECK(from._impl_.termination_ !=
nullptr);
2844 if (_this->_impl_.termination_ ==
nullptr) {
2845 _this->_impl_.termination_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.termination_);
2847 _this->_impl_.termination_->MergeFrom(*from._impl_.termination_);
2850 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
2851 ABSL_DCHECK(from._impl_.solve_stats_ !=
nullptr);
2852 if (_this->_impl_.solve_stats_ ==
nullptr) {
2853 _this->_impl_.solve_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solve_stats_);
2855 _this->_impl_.solve_stats_->MergeFrom(*from._impl_.solve_stats_);
2859 _this->_impl_._has_bits_[0] |= cached_has_bits;
2860 if (
const uint32_t oneof_from_case =
2861 from._impl_._oneof_case_[0]) {
2862 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
2863 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
2864 if (oneof_needs_init) {
2865 if (oneof_to_case != 0) {
2866 _this->clear_solver_specific_output();
2868 _this->_impl_._oneof_case_[0] = oneof_from_case;
2871 switch (oneof_from_case) {
2873 if (oneof_needs_init) {
2874 _this->_impl_.solver_specific_output_.gscip_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.gscip_output_);
2876 _this->_impl_.solver_specific_output_.gscip_output_->MergeFrom(*from._impl_.solver_specific_output_.gscip_output_);
2881 if (oneof_needs_init) {
2882 _this->_impl_.solver_specific_output_.osqp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.osqp_output_);
2884 _this->_impl_.solver_specific_output_.osqp_output_->MergeFrom(*from._impl_.solver_specific_output_.osqp_output_);
2889 if (oneof_needs_init) {
2890 _this->_impl_.solver_specific_output_.pdlp_output_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solver_specific_output_.pdlp_output_);
2892 _this->_impl_.solver_specific_output_.pdlp_output_->MergeFrom(*from._impl_.solver_specific_output_.pdlp_output_);
2900 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2901 from._internal_metadata_);
2906 if (&from ==
this)
return;
2912void SolveResultProto::InternalSwap(
SolveResultProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2914 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2915 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2916 _impl_.solutions_.InternalSwap(&other->_impl_.solutions_);
2917 _impl_.primal_rays_.InternalSwap(&other->_impl_.primal_rays_);
2918 _impl_.dual_rays_.InternalSwap(&other->_impl_.dual_rays_);
2919 ::google::protobuf::internal::memswap<
2923 reinterpret_cast<char*
>(&
_impl_.termination_),
2924 reinterpret_cast<char*
>(&other->_impl_.termination_));
2925 swap(
_impl_.solver_specific_output_, other->_impl_.solver_specific_output_);
2926 swap(
_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2930 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2940PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
2943 ::std::false_type{});
2944#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[]
static constexpr ::int32_t kHasBitsOffset
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
~ObjectiveBoundsProto() PROTOBUF_FINAL
void CopyFrom(const ObjectiveBoundsProto &from)
::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
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< ProblemStatusProto >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(ProblemStatusProto &a, ProblemStatusProto &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
~ProblemStatusProto() PROTOBUF_FINAL
void CopyFrom(const ProblemStatusProto &from)
void MergeFrom(const ProblemStatusProto &from)
int GetCachedSize() const
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
static constexpr ::int32_t kOneofCaseOffset
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
~SolveResultProto_PdlpOutput() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const SolveResultProto_PdlpOutput &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
SolveResultProto_PdlpOutput()
static constexpr auto InternalGenerateClassData_()
friend void swap(SolveResultProto_PdlpOutput &a, SolveResultProto_PdlpOutput &b)
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const SolveResultProto_PdlpOutput &from)
void clear_convergence_information()
friend class ::google::protobuf::MessageLite
void set_allocated_osqp_output(::operations_research::math_opt::OsqpOutput *PROTOBUF_NULLABLE value)
~SolveResultProto() PROTOBUF_FINAL
friend void swap(SolveResultProto &a, SolveResultProto &b)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const SolveResultProto &from)
void set_allocated_pdlp_output(::operations_research::math_opt::SolveResultProto_PdlpOutput *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::OsqpOutput & osqp_output() const
void CopyFrom(const SolveResultProto &from)
const ::operations_research::math_opt::SolveResultProto_PdlpOutput & pdlp_output() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
SolverSpecificOutputCase solver_specific_output_case() const
void clear_gscip_output()
::size_t ByteSizeLong() const final
void clear_solver_specific_output()
void set_allocated_gscip_output(::operations_research::GScipOutput *PROTOBUF_NULLABLE value)
const ::operations_research::GScipOutput & gscip_output() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
@ SOLVER_SPECIFIC_OUTPUT_NOT_SET
static constexpr auto InternalGenerateClassData_()
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< SolveStatsProto >()._impl_._has_bits_) HasBits
friend class ::google::protobuf::MessageLite
~SolveStatsProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const SolveStatsProto &from)
void MergeFrom(const SolveStatsProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
friend void swap(SolveStatsProto &a, SolveStatsProto &b)
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
~TerminationProto() PROTOBUF_FINAL
void MergeFrom(const TerminationProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
void CopyFrom(const TerminationProto &from)
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fgscip_2fgscip_2eproto
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TerminationReasonProto_descriptor()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL FeasibilityStatusProto_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveStatsProtoDefaultTypeInternal _SolveStatsProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveBoundsProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveStatsProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProto_PdlpOutputDefaultTypeInternal _SolveResultProto_PdlpOutput_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LimitProto_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveResultProtoDefaultTypeInternal _SolveResultProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_class_data_
PROTOBUF_CONSTINIT const uint32_t LimitProto_internal_data_[]
PROTOBUF_CONSTINIT const uint32_t TerminationReasonProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull TerminationProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProblemStatusProtoDefaultTypeInternal _ProblemStatusProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t FeasibilityStatusProto_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveBoundsProtoDefaultTypeInternal _ObjectiveBoundsProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveResultProto_PdlpOutput_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TerminationProtoDefaultTypeInternal _TerminationProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ProblemStatusProto_class_data_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto_once
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fresult_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fmath_5fopt_2fresult_2eproto[3]
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fresult_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fresult_2eproto_deps[5]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fpdlp_2fsolve_5flog_2eproto
ObjectiveBoundsProto _instance
~ObjectiveBoundsProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ObjectiveBoundsProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR ProblemStatusProtoDefaultTypeInternal()
~ProblemStatusProtoDefaultTypeInternal()
ProblemStatusProto _instance
SolveResultProto _instance
~SolveResultProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR SolveResultProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR SolveResultProto_PdlpOutputDefaultTypeInternal()
~SolveResultProto_PdlpOutputDefaultTypeInternal()
SolveResultProto_PdlpOutput _instance
SolveStatsProto _instance
~SolveStatsProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR SolveStatsProtoDefaultTypeInternal()
TerminationProto _instance
PROTOBUF_CONSTEXPR TerminationProtoDefaultTypeInternal()
~TerminationProtoDefaultTypeInternal()
::google::protobuf::Message *PROTOBUF_NULLABLE gscip_output_
::google::protobuf::Message *PROTOBUF_NULLABLE osqp_output_