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 QuadraticProgramStats::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
33 num_variables_{::int64_t{0}},
34 num_constraints_{::int64_t{0}},
35 constraint_matrix_col_min_l_inf_norm_{0},
36 constraint_matrix_row_min_l_inf_norm_{0},
37 constraint_matrix_num_nonzeros_{::int64_t{0}},
38 constraint_matrix_abs_max_{0},
39 constraint_matrix_abs_min_{0},
40 constraint_matrix_abs_avg_{0},
41 combined_bounds_max_{0},
42 combined_bounds_min_{0},
43 combined_bounds_avg_{0},
44 variable_bound_gaps_num_finite_{::int64_t{0}},
45 variable_bound_gaps_max_{0},
46 variable_bound_gaps_min_{0},
47 variable_bound_gaps_avg_{0},
48 objective_vector_abs_max_{0},
49 objective_vector_abs_min_{0},
50 objective_vector_abs_avg_{0},
51 objective_matrix_num_nonzeros_{::int64_t{0}},
52 objective_matrix_abs_max_{0},
53 objective_matrix_abs_min_{0},
54 objective_matrix_abs_avg_{0},
55 objective_vector_l2_norm_{0},
56 combined_bounds_l2_norm_{0},
57 constraint_matrix_l2_norm_{0},
58 variable_bound_gaps_l2_norm_{0},
59 objective_matrix_l2_norm_{0},
60 combined_variable_bounds_max_{0},
61 combined_variable_bounds_min_{0},
62 combined_variable_bounds_avg_{0},
63 combined_variable_bounds_l2_norm_{0} {}
67#if defined(PROTOBUF_CUSTOM_VTABLE)
70 : ::google::protobuf::Message(),
72 _impl_(::_pbi::ConstantInitialized()) {
82PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
85inline constexpr PointMetadata::Impl_::Impl_(
86 ::_pbi::ConstantInitialized) noexcept
88 random_primal_projections_{},
89 random_dual_projections_{},
90 active_primal_variable_count_{::int64_t{0}},
91 active_dual_variable_count_{::int64_t{0}},
92 active_primal_variable_change_{::int64_t{0}},
93 active_dual_variable_change_{::int64_t{0}},
98#if defined(PROTOBUF_CUSTOM_VTABLE)
101 : ::google::protobuf::Message(),
103 _impl_(::_pbi::ConstantInitialized()) {
113PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
116inline constexpr InfeasibilityInformation::Impl_::Impl_(
117 ::_pbi::ConstantInitialized) noexcept
119 max_primal_ray_infeasibility_{0},
120 primal_ray_linear_objective_{0},
121 primal_ray_quadratic_norm_{0},
122 max_dual_ray_infeasibility_{0},
123 dual_ray_objective_{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 ConvergenceInformation::Impl_::Impl_(
147 ::_pbi::ConstantInitialized) noexcept
149 primal_objective_{0},
151 corrected_dual_objective_{0},
152 l_inf_primal_residual_{0},
153 l2_primal_residual_{0},
154 l_inf_dual_residual_{0},
155 l2_dual_residual_{0},
156 l_inf_primal_variable_{0},
157 l2_primal_variable_{0},
158 l_inf_dual_variable_{0},
159 l2_dual_variable_{0},
160 l_inf_componentwise_primal_residual_{0},
161 l_inf_componentwise_dual_residual_{0},
166#if defined(PROTOBUF_CUSTOM_VTABLE)
169 : ::google::protobuf::Message(),
171 _impl_(::_pbi::ConstantInitialized()) {
181PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
184inline constexpr IterationStats::Impl_::Impl_(
185 ::_pbi::ConstantInitialized) noexcept
187 convergence_information_{},
188 infeasibility_information_{},
190 iteration_number_{0},
191 cumulative_rejected_steps_{0},
192 cumulative_kkt_matrix_passes_{0},
193 cumulative_time_sec_{0},
200#if defined(PROTOBUF_CUSTOM_VTABLE)
203 : ::google::protobuf::Message(),
205 _impl_(::_pbi::ConstantInitialized()) {
215PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
218inline constexpr FeasibilityPolishingDetails::Impl_::Impl_(
219 ::_pbi::ConstantInitialized) noexcept
223 solution_stats_{
nullptr},
225 main_iteration_count_{0},
233#if defined(PROTOBUF_CUSTOM_VTABLE)
236 : ::google::protobuf::Message(),
238 _impl_(::_pbi::ConstantInitialized()) {
248PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
251inline constexpr SolveLog::Impl_::Impl_(
252 ::_pbi::ConstantInitialized) noexcept
255 feasibility_polishing_details_{},
257 &::google::protobuf::internal::fixed_address_empty_string,
258 ::_pbi::ConstantInitialized()),
260 &::google::protobuf::internal::fixed_address_empty_string,
261 ::_pbi::ConstantInitialized()),
262 solution_stats_{
nullptr},
263 original_problem_stats_{
nullptr},
264 preprocessed_problem_stats_{
nullptr},
269 preprocessing_time_sec_{0},
274#if defined(PROTOBUF_CUSTOM_VTABLE)
277 : ::google::protobuf::Message(),
279 _impl_(::_pbi::ConstantInitialized()) {
289PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
293static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
295static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
503static const ::_pbi::MigrationSchema
524 "\n\034ortools/pdlp/solve_log.proto\022\030operatio"
525 "ns_research.pdlp\032\032ortools/pdlp/solvers.p"
526 "roto\"\322\010\n\025QuadraticProgramStats\022\025\n\rnum_va"
527 "riables\030\001 \001(\003\022\027\n\017num_constraints\030\002 \001(\003\022,"
528 "\n$constraint_matrix_col_min_l_inf_norm\030\003"
529 " \001(\001\022,\n$constraint_matrix_row_min_l_inf_"
530 "norm\030\004 \001(\001\022&\n\036constraint_matrix_num_nonz"
531 "eros\030\005 \001(\003\022!\n\031constraint_matrix_abs_max\030"
532 "\006 \001(\001\022!\n\031constraint_matrix_abs_min\030\007 \001(\001"
533 "\022!\n\031constraint_matrix_abs_avg\030\010 \001(\001\022!\n\031c"
534 "onstraint_matrix_l2_norm\030\031 \001(\001\022\033\n\023combin"
535 "ed_bounds_max\030\t \001(\001\022\033\n\023combined_bounds_m"
536 "in\030\n \001(\001\022\033\n\023combined_bounds_avg\030\013 \001(\001\022\037\n"
537 "\027combined_bounds_l2_norm\030\030 \001(\001\022$\n\034combin"
538 "ed_variable_bounds_max\030\034 \001(\001\022$\n\034combined"
539 "_variable_bounds_min\030\035 \001(\001\022$\n\034combined_v"
540 "ariable_bounds_avg\030\036 \001(\001\022(\n combined_var"
541 "iable_bounds_l2_norm\030\037 \001(\001\022&\n\036variable_b"
542 "ound_gaps_num_finite\030\014 \001(\003\022\037\n\027variable_b"
543 "ound_gaps_max\030\r \001(\001\022\037\n\027variable_bound_ga"
544 "ps_min\030\016 \001(\001\022\037\n\027variable_bound_gaps_avg\030"
545 "\017 \001(\001\022#\n\033variable_bound_gaps_l2_norm\030\032 \001"
546 "(\001\022 \n\030objective_vector_abs_max\030\020 \001(\001\022 \n\030"
547 "objective_vector_abs_min\030\021 \001(\001\022 \n\030object"
548 "ive_vector_abs_avg\030\022 \001(\001\022 \n\030objective_ve"
549 "ctor_l2_norm\030\027 \001(\001\022%\n\035objective_matrix_n"
550 "um_nonzeros\030\023 \001(\003\022 \n\030objective_matrix_ab"
551 "s_max\030\024 \001(\001\022 \n\030objective_matrix_abs_min\030"
552 "\025 \001(\001\022 \n\030objective_matrix_abs_avg\030\026 \001(\001\022"
553 " \n\030objective_matrix_l2_norm\030\033 \001(\001\"\247\004\n\026Co"
554 "nvergenceInformation\022;\n\016candidate_type\030\001"
555 " \001(\0162#.operations_research.pdlp.PointTyp"
556 "e\022\030\n\020primal_objective\030\002 \001(\001\022\026\n\016dual_obje"
557 "ctive\030\003 \001(\001\022 \n\030corrected_dual_objective\030"
558 "\004 \001(\001\022\035\n\025l_inf_primal_residual\030\005 \001(\001\022\032\n\022"
559 "l2_primal_residual\030\006 \001(\001\022+\n#l_inf_compon"
560 "entwise_primal_residual\030\030 \001(\001\022\033\n\023l_inf_d"
561 "ual_residual\030\007 \001(\001\022\030\n\020l2_dual_residual\030\010"
562 " \001(\001\022)\n!l_inf_componentwise_dual_residua"
563 "l\030\031 \001(\001\022\035\n\025l_inf_primal_variable\030\016 \001(\001\022\032"
564 "\n\022l2_primal_variable\030\017 \001(\001\022\033\n\023l_inf_dual"
565 "_variable\030\020 \001(\001\022\030\n\020l2_dual_variable\030\021 \001("
566 "\001J\004\010\t\020\nJ\004\010\n\020\013J\004\010\013\020\014J\004\010\014\020\rJ\004\010\r\020\016J\004\010\022\020\023J\004\010"
567 "\023\020\024J\004\010\024\020\025J\004\010\025\020\026J\004\010\026\020\027J\004\010\027\020\030\"\221\002\n\030Infeasib"
568 "ilityInformation\022$\n\034max_primal_ray_infea"
569 "sibility\030\001 \001(\001\022#\n\033primal_ray_linear_obje"
570 "ctive\030\002 \001(\001\022!\n\031primal_ray_quadratic_norm"
571 "\030\003 \001(\001\022\"\n\032max_dual_ray_infeasibility\030\004 \001"
572 "(\001\022\032\n\022dual_ray_objective\030\005 \001(\001\022;\n\016candid"
573 "ate_type\030\006 \001(\0162#.operations_research.pdl"
574 "p.PointTypeJ\004\010\007\020\010J\004\010\010\020\t\"\252\002\n\rPointMetadat"
575 "a\0227\n\npoint_type\030\001 \001(\0162#.operations_resea"
576 "rch.pdlp.PointType\022%\n\031random_primal_proj"
577 "ections\030\002 \003(\001B\002\020\001\022#\n\027random_dual_project"
578 "ions\030\003 \003(\001B\002\020\001\022$\n\034active_primal_variable"
579 "_count\030\004 \001(\003\022\"\n\032active_dual_variable_cou"
580 "nt\030\005 \001(\003\022%\n\035active_primal_variable_chang"
581 "e\030\006 \001(\003\022#\n\033active_dual_variable_change\030\007"
582 " \001(\003\"\352\003\n\016IterationStats\022\030\n\020iteration_num"
583 "ber\030\001 \001(\005\022Q\n\027convergence_information\030\002 \003"
584 "(\01320.operations_research.pdlp.Convergenc"
585 "eInformation\022U\n\031infeasibility_informatio"
586 "n\030\003 \003(\01322.operations_research.pdlp.Infea"
587 "sibilityInformation\022\?\n\016point_metadata\030\013 "
588 "\003(\0132\'.operations_research.pdlp.PointMeta"
589 "data\022$\n\034cumulative_kkt_matrix_passes\030\004 \001"
590 "(\001\022!\n\031cumulative_rejected_steps\030\005 \001(\005\022\033\n"
591 "\023cumulative_time_sec\030\006 \001(\001\022=\n\014restart_us"
592 "ed\030\007 \001(\0162\'.operations_research.pdlp.Rest"
593 "artChoice\022\021\n\tstep_size\030\010 \001(\001\022\025\n\rprimal_w"
594 "eight\030\t \001(\001J\004\010\n\020\013\"\214\004\n\033FeasibilityPolishi"
595 "ngDetails\022J\n\024polishing_phase_type\030\001 \001(\0162"
596 ",.operations_research.pdlp.PolishingPhas"
597 "eType\022\034\n\024main_iteration_count\030\002 \001(\005\022H\n\006p"
598 "arams\030\003 \001(\01328.operations_research.pdlp.P"
599 "rimalDualHybridGradientParams\022G\n\022termina"
600 "tion_reason\030\004 \001(\0162+.operations_research."
601 "pdlp.TerminationReason\022\027\n\017iteration_coun"
602 "t\030\005 \001(\005\022\026\n\016solve_time_sec\030\006 \001(\001\022@\n\016solut"
603 "ion_stats\030\007 \001(\0132(.operations_research.pd"
604 "lp.IterationStats\022:\n\rsolution_type\030\010 \001(\016"
605 "2#.operations_research.pdlp.PointType\022A\n"
606 "\017iteration_stats\030\t \003(\0132(.operations_rese"
607 "arch.pdlp.IterationStats\"\362\005\n\010SolveLog\022\025\n"
608 "\rinstance_name\030\001 \001(\t\022H\n\006params\030\016 \001(\01328.o"
609 "perations_research.pdlp.PrimalDualHybrid"
610 "GradientParams\022G\n\022termination_reason\030\003 \001"
611 "(\0162+.operations_research.pdlp.Terminatio"
612 "nReason\022\032\n\022termination_string\030\004 \001(\t\022\027\n\017i"
613 "teration_count\030\005 \001(\005\022\036\n\026preprocessing_ti"
614 "me_sec\030\r \001(\001\022\026\n\016solve_time_sec\030\006 \001(\001\022@\n\016"
615 "solution_stats\030\010 \001(\0132(.operations_resear"
616 "ch.pdlp.IterationStats\022:\n\rsolution_type\030"
617 "\n \001(\0162#.operations_research.pdlp.PointTy"
618 "pe\022A\n\017iteration_stats\030\007 \003(\0132(.operations"
619 "_research.pdlp.IterationStats\022O\n\026origina"
620 "l_problem_stats\030\013 \001(\0132/.operations_resea"
621 "rch.pdlp.QuadraticProgramStats\022S\n\032prepro"
622 "cessed_problem_stats\030\014 \001(\0132/.operations_"
623 "research.pdlp.QuadraticProgramStats\022\\\n\035f"
624 "easibility_polishing_details\030\017 \003(\01325.ope"
625 "rations_research.pdlp.FeasibilityPolishi"
626 "ngDetailsJ\004\010\002\020\003J\004\010\t\020\n*\240\001\n\rRestartChoice\022"
627 "\036\n\032RESTART_CHOICE_UNSPECIFIED\020\000\022\035\n\031RESTA"
628 "RT_CHOICE_NO_RESTART\020\001\022)\n%RESTART_CHOICE"
629 "_WEIGHTED_AVERAGE_RESET\020\002\022%\n!RESTART_CHO"
630 "ICE_RESTART_TO_AVERAGE\020\003*\361\001\n\tPointType\022\032"
631 "\n\026POINT_TYPE_UNSPECIFIED\020\000\022\036\n\032POINT_TYPE"
632 "_CURRENT_ITERATE\020\001\022!\n\035POINT_TYPE_ITERATE"
633 "_DIFFERENCE\020\002\022\036\n\032POINT_TYPE_AVERAGE_ITER"
634 "ATE\020\003\022\023\n\017POINT_TYPE_NONE\020\004\022!\n\035POINT_TYPE"
635 "_PRESOLVER_SOLUTION\020\005\022-\n)POINT_TYPE_FEAS"
636 "IBILITY_POLISHING_SOLUTION\020\006*\311\004\n\021Termina"
637 "tionReason\022\"\n\036TERMINATION_REASON_UNSPECI"
638 "FIED\020\000\022\036\n\032TERMINATION_REASON_OPTIMAL\020\001\022("
639 "\n$TERMINATION_REASON_PRIMAL_INFEASIBLE\020\002"
640 "\022&\n\"TERMINATION_REASON_DUAL_INFEASIBLE\020\003"
641 "\022!\n\035TERMINATION_REASON_TIME_LIMIT\020\004\022&\n\"T"
642 "ERMINATION_REASON_ITERATION_LIMIT\020\005\022,\n(T"
643 "ERMINATION_REASON_KKT_MATRIX_PASS_LIMIT\020"
644 "\010\022*\n&TERMINATION_REASON_INTERRUPTED_BY_U"
645 "SER\020\014\022&\n\"TERMINATION_REASON_NUMERICAL_ER"
646 "ROR\020\006\022&\n\"TERMINATION_REASON_INVALID_PROB"
647 "LEM\020\t\022/\n+TERMINATION_REASON_INVALID_INIT"
648 "IAL_SOLUTION\020\r\022(\n$TERMINATION_REASON_INV"
649 "ALID_PARAMETER\020\n\022\034\n\030TERMINATION_REASON_O"
650 "THER\020\007\0220\n,TERMINATION_REASON_PRIMAL_OR_D"
651 "UAL_INFEASIBLE\020\013*\222\001\n\022PolishingPhaseType\022"
652 "$\n POLISHING_PHASE_TYPE_UNSPECIFIED\020\000\022+\n"
653 "\'POLISHING_PHASE_TYPE_PRIMAL_FEASIBILITY"
654 "\020\001\022)\n%POLISHING_PHASE_TYPE_DUAL_FEASIBIL"
655 "ITY\020\002B1\n\027com.google.ortools.pdlpP\001\252\002\023Goo"
658static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
667 descriptor_table_protodef_ortools_2fpdlp_2fsolve_5flog_2eproto,
668 "ortools/pdlp/solve_log.proto",
707class QuadraticProgramStats::_Internal {
710 decltype(::std::declval<QuadraticProgramStats>()._impl_._has_bits_);
716#if defined(PROTOBUF_CUSTOM_VTABLE)
719 : ::google::protobuf::Message(arena) {
726#if defined(PROTOBUF_CUSTOM_VTABLE)
729 : ::google::protobuf::Message(arena),
732 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
733 from._internal_metadata_);
735PROTOBUF_NDEBUG_INLINE QuadraticProgramStats::Impl_::Impl_(
736 ::google::protobuf::internal::InternalVisibility visibility,
737 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
738 : _cached_size_{0} {}
740inline void QuadraticProgramStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
741 new (&
_impl_) Impl_(internal_visibility(), arena);
742 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
743 offsetof(Impl_, num_variables_),
745 offsetof(Impl_, combined_variable_bounds_l2_norm_) -
746 offsetof(Impl_, num_variables_) +
747 sizeof(Impl_::combined_variable_bounds_l2_norm_));
753inline void QuadraticProgramStats::SharedDtor(MessageLite& self) {
755 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
756 ABSL_DCHECK(this_.GetArena() ==
nullptr);
761 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
770 return ::google::protobuf::internal::ClassDataFull{
771 ::google::protobuf::internal::ClassData{
776 &QuadraticProgramStats::MergeImpl,
777 ::google::protobuf::Message::GetNewImpl<QuadraticProgramStats>(),
778#if defined(PROTOBUF_CUSTOM_VTABLE)
779 &QuadraticProgramStats::SharedDtor,
786 &QuadraticProgramStats::kDescriptorMethods,
792PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
796PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
802PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
803const ::_pbi::TcParseTable<5, 31, 0, 0, 2>
804QuadraticProgramStats::_table_ = {
809 offsetof(
decltype(_table_), field_lookup_table),
811 offsetof(
decltype(_table_), field_entries),
814 offsetof(
decltype(_table_), field_names),
817 ::_pbi::TcParser::GenericFallback,
818 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
819 ::_pbi::TcParser::GetTable<::operations_research::pdlp::QuadraticProgramStats>(),
822 {::_pbi::TcParser::MiniParse, {}},
824 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
QuadraticProgramStats, _impl_.num_variables_), 0>(),
827 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
QuadraticProgramStats, _impl_.num_constraints_), 1>(),
830 {::_pbi::TcParser::FastF64S1,
831 {25, 2, 0, PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_col_min_l_inf_norm_)}},
833 {::_pbi::TcParser::FastF64S1,
834 {33, 3, 0, PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_row_min_l_inf_norm_)}},
836 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
QuadraticProgramStats, _impl_.constraint_matrix_num_nonzeros_), 4>(),
839 {::_pbi::TcParser::FastF64S1,
842 {::_pbi::TcParser::FastF64S1,
845 {::_pbi::TcParser::FastF64S1,
848 {::_pbi::TcParser::FastF64S1,
851 {::_pbi::TcParser::FastF64S1,
854 {::_pbi::TcParser::FastF64S1,
857 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
QuadraticProgramStats, _impl_.variable_bound_gaps_num_finite_), 11>(),
860 {::_pbi::TcParser::FastF64S1,
863 {::_pbi::TcParser::FastF64S1,
866 {::_pbi::TcParser::FastF64S1,
869 {::_pbi::TcParser::FastF64S2,
872 {::_pbi::TcParser::FastF64S2,
875 {::_pbi::TcParser::FastF64S2,
878 {::_pbi::TcParser::FastV64S2,
881 {::_pbi::TcParser::FastF64S2,
884 {::_pbi::TcParser::FastF64S2,
887 {::_pbi::TcParser::FastF64S2,
890 {::_pbi::TcParser::FastF64S2,
893 {::_pbi::TcParser::FastF64S2,
896 {::_pbi::TcParser::FastF64S2,
899 {::_pbi::TcParser::FastF64S2,
902 {::_pbi::TcParser::FastF64S2,
905 {::_pbi::TcParser::FastF64S2,
908 {::_pbi::TcParser::FastF64S2,
911 {::_pbi::TcParser::FastF64S2,
914 {::_pbi::TcParser::FastF64S2,
915 {505, 30, 0, PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_variable_bounds_l2_norm_)}},
920 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.num_variables_), _Internal::kHasBitsOffset + 0, 0,
921 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
923 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.num_constraints_), _Internal::kHasBitsOffset + 1, 0,
924 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
926 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_col_min_l_inf_norm_), _Internal::kHasBitsOffset + 2, 0,
927 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
929 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_row_min_l_inf_norm_), _Internal::kHasBitsOffset + 3, 0,
930 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
932 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_num_nonzeros_), _Internal::kHasBitsOffset + 4, 0,
933 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
935 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_abs_max_), _Internal::kHasBitsOffset + 5, 0,
936 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
938 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_abs_min_), _Internal::kHasBitsOffset + 6, 0,
939 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
941 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_abs_avg_), _Internal::kHasBitsOffset + 7, 0,
942 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
944 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_bounds_max_), _Internal::kHasBitsOffset + 8, 0,
945 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
947 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_bounds_min_), _Internal::kHasBitsOffset + 9, 0,
948 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
950 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_bounds_avg_), _Internal::kHasBitsOffset + 10, 0,
951 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
953 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.variable_bound_gaps_num_finite_), _Internal::kHasBitsOffset + 11, 0,
954 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
956 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.variable_bound_gaps_max_), _Internal::kHasBitsOffset + 12, 0,
957 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
959 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.variable_bound_gaps_min_), _Internal::kHasBitsOffset + 13, 0,
960 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
962 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.variable_bound_gaps_avg_), _Internal::kHasBitsOffset + 14, 0,
963 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
965 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_vector_abs_max_), _Internal::kHasBitsOffset + 15, 0,
966 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
968 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_vector_abs_min_), _Internal::kHasBitsOffset + 16, 0,
969 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
971 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_vector_abs_avg_), _Internal::kHasBitsOffset + 17, 0,
972 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
974 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_matrix_num_nonzeros_), _Internal::kHasBitsOffset + 18, 0,
975 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
977 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_matrix_abs_max_), _Internal::kHasBitsOffset + 19, 0,
978 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
980 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_matrix_abs_min_), _Internal::kHasBitsOffset + 20, 0,
981 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
983 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_matrix_abs_avg_), _Internal::kHasBitsOffset + 21, 0,
984 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
986 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_vector_l2_norm_), _Internal::kHasBitsOffset + 22, 0,
987 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
989 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_bounds_l2_norm_), _Internal::kHasBitsOffset + 23, 0,
990 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
992 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.constraint_matrix_l2_norm_), _Internal::kHasBitsOffset + 24, 0,
993 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
995 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.variable_bound_gaps_l2_norm_), _Internal::kHasBitsOffset + 25, 0,
996 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
998 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.objective_matrix_l2_norm_), _Internal::kHasBitsOffset + 26, 0,
999 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1001 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_variable_bounds_max_), _Internal::kHasBitsOffset + 27, 0,
1002 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1004 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_variable_bounds_min_), _Internal::kHasBitsOffset + 28, 0,
1005 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1007 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_variable_bounds_avg_), _Internal::kHasBitsOffset + 29, 0,
1008 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1010 {PROTOBUF_FIELD_OFFSET(
QuadraticProgramStats, _impl_.combined_variable_bounds_l2_norm_), _Internal::kHasBitsOffset + 30, 0,
1011 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1019 ::google::protobuf::internal::TSanWrite(&
_impl_);
1020 ::uint32_t cached_has_bits = 0;
1022 (void) cached_has_bits;
1024 cached_has_bits =
_impl_._has_bits_[0];
1025 if ((cached_has_bits & 0x000000ffu) != 0) {
1026 ::memset(&
_impl_.num_variables_, 0,
static_cast<::
size_t>(
1027 reinterpret_cast<char*
>(&
_impl_.constraint_matrix_abs_avg_) -
1028 reinterpret_cast<char*
>(&
_impl_.num_variables_)) +
sizeof(
_impl_.constraint_matrix_abs_avg_));
1030 if ((cached_has_bits & 0x0000ff00u) != 0) {
1031 ::memset(&
_impl_.combined_bounds_max_, 0,
static_cast<::
size_t>(
1032 reinterpret_cast<char*
>(&
_impl_.objective_vector_abs_max_) -
1033 reinterpret_cast<char*
>(&
_impl_.combined_bounds_max_)) +
sizeof(
_impl_.objective_vector_abs_max_));
1035 if ((cached_has_bits & 0x00ff0000u) != 0) {
1036 ::memset(&
_impl_.objective_vector_abs_min_, 0,
static_cast<::
size_t>(
1037 reinterpret_cast<char*
>(&
_impl_.combined_bounds_l2_norm_) -
1038 reinterpret_cast<char*
>(&
_impl_.objective_vector_abs_min_)) +
sizeof(
_impl_.combined_bounds_l2_norm_));
1040 if ((cached_has_bits & 0x7f000000u) != 0) {
1041 ::memset(&
_impl_.constraint_matrix_l2_norm_, 0,
static_cast<::
size_t>(
1042 reinterpret_cast<char*
>(&
_impl_.combined_variable_bounds_l2_norm_) -
1043 reinterpret_cast<char*
>(&
_impl_.constraint_matrix_l2_norm_)) +
sizeof(
_impl_.combined_variable_bounds_l2_norm_));
1045 _impl_._has_bits_.Clear();
1046 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1049#if defined(PROTOBUF_CUSTOM_VTABLE)
1051 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1052 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1056 ::uint8_t* PROTOBUF_NONNULL target,
1057 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1061 ::uint32_t cached_has_bits = 0;
1062 (void)cached_has_bits;
1064 cached_has_bits = this_.
_impl_._has_bits_[0];
1066 if ((cached_has_bits & 0x00000001u) != 0) {
1068 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<1>(
1069 stream, this_._internal_num_variables(), target);
1073 if ((cached_has_bits & 0x00000002u) != 0) {
1075 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<2>(
1076 stream, this_._internal_num_constraints(), target);
1080 if ((cached_has_bits & 0x00000004u) != 0) {
1081 target = stream->EnsureSpace(target);
1082 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1083 3, this_._internal_constraint_matrix_col_min_l_inf_norm(), target);
1087 if ((cached_has_bits & 0x00000008u) != 0) {
1088 target = stream->EnsureSpace(target);
1089 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1090 4, this_._internal_constraint_matrix_row_min_l_inf_norm(), target);
1094 if ((cached_has_bits & 0x00000010u) != 0) {
1096 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
1097 stream, this_._internal_constraint_matrix_num_nonzeros(), target);
1101 if ((cached_has_bits & 0x00000020u) != 0) {
1102 target = stream->EnsureSpace(target);
1103 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1104 6, this_._internal_constraint_matrix_abs_max(), target);
1108 if ((cached_has_bits & 0x00000040u) != 0) {
1109 target = stream->EnsureSpace(target);
1110 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1111 7, this_._internal_constraint_matrix_abs_min(), target);
1115 if ((cached_has_bits & 0x00000080u) != 0) {
1116 target = stream->EnsureSpace(target);
1117 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1118 8, this_._internal_constraint_matrix_abs_avg(), target);
1122 if ((cached_has_bits & 0x00000100u) != 0) {
1123 target = stream->EnsureSpace(target);
1124 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1125 9, this_._internal_combined_bounds_max(), target);
1129 if ((cached_has_bits & 0x00000200u) != 0) {
1130 target = stream->EnsureSpace(target);
1131 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1132 10, this_._internal_combined_bounds_min(), target);
1136 if ((cached_has_bits & 0x00000400u) != 0) {
1137 target = stream->EnsureSpace(target);
1138 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1139 11, this_._internal_combined_bounds_avg(), target);
1143 if ((cached_has_bits & 0x00000800u) != 0) {
1145 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<12>(
1146 stream, this_._internal_variable_bound_gaps_num_finite(), target);
1150 if ((cached_has_bits & 0x00001000u) != 0) {
1151 target = stream->EnsureSpace(target);
1152 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1153 13, this_._internal_variable_bound_gaps_max(), target);
1157 if ((cached_has_bits & 0x00002000u) != 0) {
1158 target = stream->EnsureSpace(target);
1159 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1160 14, this_._internal_variable_bound_gaps_min(), target);
1164 if ((cached_has_bits & 0x00004000u) != 0) {
1165 target = stream->EnsureSpace(target);
1166 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1167 15, this_._internal_variable_bound_gaps_avg(), target);
1171 if ((cached_has_bits & 0x00008000u) != 0) {
1172 target = stream->EnsureSpace(target);
1173 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1174 16, this_._internal_objective_vector_abs_max(), target);
1178 if ((cached_has_bits & 0x00010000u) != 0) {
1179 target = stream->EnsureSpace(target);
1180 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1181 17, this_._internal_objective_vector_abs_min(), target);
1185 if ((cached_has_bits & 0x00020000u) != 0) {
1186 target = stream->EnsureSpace(target);
1187 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1188 18, this_._internal_objective_vector_abs_avg(), target);
1192 if ((cached_has_bits & 0x00040000u) != 0) {
1193 target = stream->EnsureSpace(target);
1194 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
1195 19, this_._internal_objective_matrix_num_nonzeros(), target);
1199 if ((cached_has_bits & 0x00080000u) != 0) {
1200 target = stream->EnsureSpace(target);
1201 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1202 20, this_._internal_objective_matrix_abs_max(), target);
1206 if ((cached_has_bits & 0x00100000u) != 0) {
1207 target = stream->EnsureSpace(target);
1208 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1209 21, this_._internal_objective_matrix_abs_min(), target);
1213 if ((cached_has_bits & 0x00200000u) != 0) {
1214 target = stream->EnsureSpace(target);
1215 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1216 22, this_._internal_objective_matrix_abs_avg(), target);
1220 if ((cached_has_bits & 0x00400000u) != 0) {
1221 target = stream->EnsureSpace(target);
1222 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1223 23, this_._internal_objective_vector_l2_norm(), target);
1227 if ((cached_has_bits & 0x00800000u) != 0) {
1228 target = stream->EnsureSpace(target);
1229 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1230 24, this_._internal_combined_bounds_l2_norm(), target);
1234 if ((cached_has_bits & 0x01000000u) != 0) {
1235 target = stream->EnsureSpace(target);
1236 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1237 25, this_._internal_constraint_matrix_l2_norm(), target);
1241 if ((cached_has_bits & 0x02000000u) != 0) {
1242 target = stream->EnsureSpace(target);
1243 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1244 26, this_._internal_variable_bound_gaps_l2_norm(), target);
1248 if ((cached_has_bits & 0x04000000u) != 0) {
1249 target = stream->EnsureSpace(target);
1250 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1251 27, this_._internal_objective_matrix_l2_norm(), target);
1255 if ((cached_has_bits & 0x08000000u) != 0) {
1256 target = stream->EnsureSpace(target);
1257 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1258 28, this_._internal_combined_variable_bounds_max(), target);
1262 if ((cached_has_bits & 0x10000000u) != 0) {
1263 target = stream->EnsureSpace(target);
1264 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1265 29, this_._internal_combined_variable_bounds_min(), target);
1269 if ((cached_has_bits & 0x20000000u) != 0) {
1270 target = stream->EnsureSpace(target);
1271 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1272 30, this_._internal_combined_variable_bounds_avg(), target);
1276 if ((cached_has_bits & 0x40000000u) != 0) {
1277 target = stream->EnsureSpace(target);
1278 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1279 31, this_._internal_combined_variable_bounds_l2_norm(), target);
1282 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1284 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1285 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1291#if defined(PROTOBUF_CUSTOM_VTABLE)
1299 ::size_t total_size = 0;
1301 ::uint32_t cached_has_bits = 0;
1303 (void)cached_has_bits;
1305 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1306 cached_has_bits = this_.
_impl_._has_bits_[0];
1307 total_size += ::absl::popcount(0x7ffb8000u & cached_has_bits) * 10;
1308 total_size += ::absl::popcount(0x000077ecu & cached_has_bits) * 9;
1309 if ((cached_has_bits & 0x00000013u) != 0) {
1311 if ((cached_has_bits & 0x00000001u) != 0) {
1312 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1313 this_._internal_num_variables());
1316 if ((cached_has_bits & 0x00000002u) != 0) {
1317 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1318 this_._internal_num_constraints());
1321 if ((cached_has_bits & 0x00000010u) != 0) {
1322 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1323 this_._internal_constraint_matrix_num_nonzeros());
1328 if ((cached_has_bits & 0x00000800u) != 0) {
1329 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
1330 this_._internal_variable_bound_gaps_num_finite());
1335 if ((cached_has_bits & 0x00040000u) != 0) {
1336 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
1337 this_._internal_objective_matrix_num_nonzeros());
1340 return this_.MaybeComputeUnknownFieldsSize(total_size,
1341 &this_.
_impl_._cached_size_);
1344void QuadraticProgramStats::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1348 ABSL_DCHECK_NE(&from, _this);
1349 ::uint32_t cached_has_bits = 0;
1350 (void) cached_has_bits;
1352 cached_has_bits = from.
_impl_._has_bits_[0];
1353 if ((cached_has_bits & 0x000000ffu) != 0) {
1354 if ((cached_has_bits & 0x00000001u) != 0) {
1355 _this->_impl_.num_variables_ = from.
_impl_.num_variables_;
1357 if ((cached_has_bits & 0x00000002u) != 0) {
1358 _this->_impl_.num_constraints_ = from.
_impl_.num_constraints_;
1360 if ((cached_has_bits & 0x00000004u) != 0) {
1361 _this->_impl_.constraint_matrix_col_min_l_inf_norm_ = from.
_impl_.constraint_matrix_col_min_l_inf_norm_;
1363 if ((cached_has_bits & 0x00000008u) != 0) {
1364 _this->_impl_.constraint_matrix_row_min_l_inf_norm_ = from.
_impl_.constraint_matrix_row_min_l_inf_norm_;
1366 if ((cached_has_bits & 0x00000010u) != 0) {
1367 _this->_impl_.constraint_matrix_num_nonzeros_ = from.
_impl_.constraint_matrix_num_nonzeros_;
1369 if ((cached_has_bits & 0x00000020u) != 0) {
1370 _this->_impl_.constraint_matrix_abs_max_ = from.
_impl_.constraint_matrix_abs_max_;
1372 if ((cached_has_bits & 0x00000040u) != 0) {
1373 _this->_impl_.constraint_matrix_abs_min_ = from.
_impl_.constraint_matrix_abs_min_;
1375 if ((cached_has_bits & 0x00000080u) != 0) {
1376 _this->_impl_.constraint_matrix_abs_avg_ = from.
_impl_.constraint_matrix_abs_avg_;
1379 if ((cached_has_bits & 0x0000ff00u) != 0) {
1380 if ((cached_has_bits & 0x00000100u) != 0) {
1381 _this->_impl_.combined_bounds_max_ = from.
_impl_.combined_bounds_max_;
1383 if ((cached_has_bits & 0x00000200u) != 0) {
1384 _this->_impl_.combined_bounds_min_ = from.
_impl_.combined_bounds_min_;
1386 if ((cached_has_bits & 0x00000400u) != 0) {
1387 _this->_impl_.combined_bounds_avg_ = from.
_impl_.combined_bounds_avg_;
1389 if ((cached_has_bits & 0x00000800u) != 0) {
1390 _this->_impl_.variable_bound_gaps_num_finite_ = from.
_impl_.variable_bound_gaps_num_finite_;
1392 if ((cached_has_bits & 0x00001000u) != 0) {
1393 _this->_impl_.variable_bound_gaps_max_ = from.
_impl_.variable_bound_gaps_max_;
1395 if ((cached_has_bits & 0x00002000u) != 0) {
1396 _this->_impl_.variable_bound_gaps_min_ = from.
_impl_.variable_bound_gaps_min_;
1398 if ((cached_has_bits & 0x00004000u) != 0) {
1399 _this->_impl_.variable_bound_gaps_avg_ = from.
_impl_.variable_bound_gaps_avg_;
1401 if ((cached_has_bits & 0x00008000u) != 0) {
1402 _this->_impl_.objective_vector_abs_max_ = from.
_impl_.objective_vector_abs_max_;
1405 if ((cached_has_bits & 0x00ff0000u) != 0) {
1406 if ((cached_has_bits & 0x00010000u) != 0) {
1407 _this->_impl_.objective_vector_abs_min_ = from.
_impl_.objective_vector_abs_min_;
1409 if ((cached_has_bits & 0x00020000u) != 0) {
1410 _this->_impl_.objective_vector_abs_avg_ = from.
_impl_.objective_vector_abs_avg_;
1412 if ((cached_has_bits & 0x00040000u) != 0) {
1413 _this->_impl_.objective_matrix_num_nonzeros_ = from.
_impl_.objective_matrix_num_nonzeros_;
1415 if ((cached_has_bits & 0x00080000u) != 0) {
1416 _this->_impl_.objective_matrix_abs_max_ = from.
_impl_.objective_matrix_abs_max_;
1418 if ((cached_has_bits & 0x00100000u) != 0) {
1419 _this->_impl_.objective_matrix_abs_min_ = from.
_impl_.objective_matrix_abs_min_;
1421 if ((cached_has_bits & 0x00200000u) != 0) {
1422 _this->_impl_.objective_matrix_abs_avg_ = from.
_impl_.objective_matrix_abs_avg_;
1424 if ((cached_has_bits & 0x00400000u) != 0) {
1425 _this->_impl_.objective_vector_l2_norm_ = from.
_impl_.objective_vector_l2_norm_;
1427 if ((cached_has_bits & 0x00800000u) != 0) {
1428 _this->_impl_.combined_bounds_l2_norm_ = from.
_impl_.combined_bounds_l2_norm_;
1431 if ((cached_has_bits & 0x7f000000u) != 0) {
1432 if ((cached_has_bits & 0x01000000u) != 0) {
1433 _this->_impl_.constraint_matrix_l2_norm_ = from.
_impl_.constraint_matrix_l2_norm_;
1435 if ((cached_has_bits & 0x02000000u) != 0) {
1436 _this->_impl_.variable_bound_gaps_l2_norm_ = from.
_impl_.variable_bound_gaps_l2_norm_;
1438 if ((cached_has_bits & 0x04000000u) != 0) {
1439 _this->_impl_.objective_matrix_l2_norm_ = from.
_impl_.objective_matrix_l2_norm_;
1441 if ((cached_has_bits & 0x08000000u) != 0) {
1442 _this->_impl_.combined_variable_bounds_max_ = from.
_impl_.combined_variable_bounds_max_;
1444 if ((cached_has_bits & 0x10000000u) != 0) {
1445 _this->_impl_.combined_variable_bounds_min_ = from.
_impl_.combined_variable_bounds_min_;
1447 if ((cached_has_bits & 0x20000000u) != 0) {
1448 _this->_impl_.combined_variable_bounds_avg_ = from.
_impl_.combined_variable_bounds_avg_;
1450 if ((cached_has_bits & 0x40000000u) != 0) {
1451 _this->_impl_.combined_variable_bounds_l2_norm_ = from.
_impl_.combined_variable_bounds_l2_norm_;
1454 _this->_impl_._has_bits_[0] |= cached_has_bits;
1455 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1460 if (&from ==
this)
return;
1466void QuadraticProgramStats::InternalSwap(
QuadraticProgramStats* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1468 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1469 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1470 ::google::protobuf::internal::memswap<
1474 reinterpret_cast<char*
>(&
_impl_.num_variables_),
1475 reinterpret_cast<char*
>(&other->_impl_.num_variables_));
1479 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1486 decltype(::std::declval<ConvergenceInformation>()._impl_._has_bits_);
1492#if defined(PROTOBUF_CUSTOM_VTABLE)
1495 : ::google::protobuf::Message(arena) {
1502#if defined(PROTOBUF_CUSTOM_VTABLE)
1505 : ::google::protobuf::Message(arena),
1508 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1509 from._internal_metadata_);
1511PROTOBUF_NDEBUG_INLINE ConvergenceInformation::Impl_::Impl_(
1512 ::google::protobuf::internal::InternalVisibility visibility,
1513 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1514 : _cached_size_{0} {}
1516inline void ConvergenceInformation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1517 new (&
_impl_) Impl_(internal_visibility(), arena);
1518 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
1519 offsetof(Impl_, primal_objective_),
1521 offsetof(Impl_, candidate_type_) -
1522 offsetof(Impl_, primal_objective_) +
1523 sizeof(Impl_::candidate_type_));
1529inline void ConvergenceInformation::SharedDtor(MessageLite& self) {
1531 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1532 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1537 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1538 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1546 return ::google::protobuf::internal::ClassDataFull{
1547 ::google::protobuf::internal::ClassData{
1552 &ConvergenceInformation::MergeImpl,
1553 ::google::protobuf::Message::GetNewImpl<ConvergenceInformation>(),
1554#if defined(PROTOBUF_CUSTOM_VTABLE)
1555 &ConvergenceInformation::SharedDtor,
1562 &ConvergenceInformation::kDescriptorMethods,
1568PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1572PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1578PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1579const ::_pbi::TcParseTable<4, 14, 1, 0, 2>
1580ConvergenceInformation::_table_ = {
1585 offsetof(
decltype(_table_), field_lookup_table),
1587 offsetof(
decltype(_table_), field_entries),
1590 offsetof(
decltype(_table_), aux_entries),
1593 ::_pbi::TcParser::GenericFallback,
1594 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1595 ::_pbi::TcParser::GetTable<::operations_research::pdlp::ConvergenceInformation>(),
1599 {::_pbi::TcParser::FastF64S2,
1600 {385, 9, 0, PROTOBUF_FIELD_OFFSET(ConvergenceInformation, _impl_.l_inf_dual_variable_)}},
1602 {::_pbi::TcParser::FastEr0S1,
1605 {::_pbi::TcParser::FastF64S1,
1608 {::_pbi::TcParser::FastF64S1,
1611 {::_pbi::TcParser::FastF64S1,
1614 {::_pbi::TcParser::FastF64S1,
1617 {::_pbi::TcParser::FastF64S1,
1620 {::_pbi::TcParser::FastF64S1,
1623 {::_pbi::TcParser::FastF64S1,
1626 {::_pbi::TcParser::FastF64S2,
1628 {::_pbi::TcParser::MiniParse, {}},
1629 {::_pbi::TcParser::MiniParse, {}},
1630 {::_pbi::TcParser::MiniParse, {}},
1631 {::_pbi::TcParser::MiniParse, {}},
1633 {::_pbi::TcParser::FastF64S1,
1636 {::_pbi::TcParser::FastF64S1,
1642 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.candidate_type_), _Internal::kHasBitsOffset + 13, 0,
1643 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
1645 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.primal_objective_), _Internal::kHasBitsOffset + 0, 0,
1646 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1648 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.dual_objective_), _Internal::kHasBitsOffset + 1, 0,
1649 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1651 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.corrected_dual_objective_), _Internal::kHasBitsOffset + 2, 0,
1652 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1654 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l_inf_primal_residual_), _Internal::kHasBitsOffset + 3, 0,
1655 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1657 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l2_primal_residual_), _Internal::kHasBitsOffset + 4, 0,
1658 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1660 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l_inf_dual_residual_), _Internal::kHasBitsOffset + 5, 0,
1661 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1663 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l2_dual_residual_), _Internal::kHasBitsOffset + 6, 0,
1664 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1666 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l_inf_primal_variable_), _Internal::kHasBitsOffset + 7, 0,
1667 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1669 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l2_primal_variable_), _Internal::kHasBitsOffset + 8, 0,
1670 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1672 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l_inf_dual_variable_), _Internal::kHasBitsOffset + 9, 0,
1673 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1675 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l2_dual_variable_), _Internal::kHasBitsOffset + 10, 0,
1676 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1678 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l_inf_componentwise_primal_residual_), _Internal::kHasBitsOffset + 11, 0,
1679 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1681 {PROTOBUF_FIELD_OFFSET(
ConvergenceInformation, _impl_.l_inf_componentwise_dual_residual_), _Internal::kHasBitsOffset + 12, 0,
1682 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1692 ::google::protobuf::internal::TSanWrite(&
_impl_);
1693 ::uint32_t cached_has_bits = 0;
1695 (void) cached_has_bits;
1697 cached_has_bits =
_impl_._has_bits_[0];
1698 if ((cached_has_bits & 0x000000ffu) != 0) {
1699 ::memset(&
_impl_.primal_objective_, 0,
static_cast<::
size_t>(
1700 reinterpret_cast<char*
>(&
_impl_.l_inf_primal_variable_) -
1701 reinterpret_cast<char*
>(&
_impl_.primal_objective_)) +
sizeof(
_impl_.l_inf_primal_variable_));
1703 if ((cached_has_bits & 0x00003f00u) != 0) {
1704 ::memset(&
_impl_.l2_primal_variable_, 0,
static_cast<::
size_t>(
1705 reinterpret_cast<char*
>(&
_impl_.candidate_type_) -
1706 reinterpret_cast<char*
>(&
_impl_.l2_primal_variable_)) +
sizeof(
_impl_.candidate_type_));
1708 _impl_._has_bits_.Clear();
1709 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1712#if defined(PROTOBUF_CUSTOM_VTABLE)
1714 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1715 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1719 ::uint8_t* PROTOBUF_NONNULL target,
1720 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1724 ::uint32_t cached_has_bits = 0;
1725 (void)cached_has_bits;
1727 cached_has_bits = this_.
_impl_._has_bits_[0];
1729 if ((cached_has_bits & 0x00002000u) != 0) {
1730 target = stream->EnsureSpace(target);
1731 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1732 1, this_._internal_candidate_type(), target);
1736 if ((cached_has_bits & 0x00000001u) != 0) {
1737 target = stream->EnsureSpace(target);
1738 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1739 2, this_._internal_primal_objective(), target);
1743 if ((cached_has_bits & 0x00000002u) != 0) {
1744 target = stream->EnsureSpace(target);
1745 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1746 3, this_._internal_dual_objective(), target);
1750 if ((cached_has_bits & 0x00000004u) != 0) {
1751 target = stream->EnsureSpace(target);
1752 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1753 4, this_._internal_corrected_dual_objective(), target);
1757 if ((cached_has_bits & 0x00000008u) != 0) {
1758 target = stream->EnsureSpace(target);
1759 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1760 5, this_._internal_l_inf_primal_residual(), target);
1764 if ((cached_has_bits & 0x00000010u) != 0) {
1765 target = stream->EnsureSpace(target);
1766 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1767 6, this_._internal_l2_primal_residual(), target);
1771 if ((cached_has_bits & 0x00000020u) != 0) {
1772 target = stream->EnsureSpace(target);
1773 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1774 7, this_._internal_l_inf_dual_residual(), target);
1778 if ((cached_has_bits & 0x00000040u) != 0) {
1779 target = stream->EnsureSpace(target);
1780 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1781 8, this_._internal_l2_dual_residual(), target);
1785 if ((cached_has_bits & 0x00000080u) != 0) {
1786 target = stream->EnsureSpace(target);
1787 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1788 14, this_._internal_l_inf_primal_variable(), target);
1792 if ((cached_has_bits & 0x00000100u) != 0) {
1793 target = stream->EnsureSpace(target);
1794 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1795 15, this_._internal_l2_primal_variable(), target);
1799 if ((cached_has_bits & 0x00000200u) != 0) {
1800 target = stream->EnsureSpace(target);
1801 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1802 16, this_._internal_l_inf_dual_variable(), target);
1806 if ((cached_has_bits & 0x00000400u) != 0) {
1807 target = stream->EnsureSpace(target);
1808 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1809 17, this_._internal_l2_dual_variable(), target);
1813 if ((cached_has_bits & 0x00000800u) != 0) {
1814 target = stream->EnsureSpace(target);
1815 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1816 24, this_._internal_l_inf_componentwise_primal_residual(), target);
1820 if ((cached_has_bits & 0x00001000u) != 0) {
1821 target = stream->EnsureSpace(target);
1822 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1823 25, this_._internal_l_inf_componentwise_dual_residual(), target);
1826 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1828 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1829 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1835#if defined(PROTOBUF_CUSTOM_VTABLE)
1843 ::size_t total_size = 0;
1845 ::uint32_t cached_has_bits = 0;
1847 (void)cached_has_bits;
1849 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1850 cached_has_bits = this_.
_impl_._has_bits_[0];
1851 total_size += ::absl::popcount(0x00001e00u & cached_has_bits) * 10;
1852 total_size += ::absl::popcount(0x000001ffu & cached_has_bits) * 9;
1855 if ((cached_has_bits & 0x00002000u) != 0) {
1857 ::_pbi::WireFormatLite::EnumSize(this_._internal_candidate_type());
1860 return this_.MaybeComputeUnknownFieldsSize(total_size,
1861 &this_.
_impl_._cached_size_);
1864void ConvergenceInformation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1868 ABSL_DCHECK_NE(&from, _this);
1869 ::uint32_t cached_has_bits = 0;
1870 (void) cached_has_bits;
1872 cached_has_bits = from.
_impl_._has_bits_[0];
1873 if ((cached_has_bits & 0x000000ffu) != 0) {
1874 if ((cached_has_bits & 0x00000001u) != 0) {
1875 _this->_impl_.primal_objective_ = from.
_impl_.primal_objective_;
1877 if ((cached_has_bits & 0x00000002u) != 0) {
1878 _this->_impl_.dual_objective_ = from.
_impl_.dual_objective_;
1880 if ((cached_has_bits & 0x00000004u) != 0) {
1881 _this->_impl_.corrected_dual_objective_ = from.
_impl_.corrected_dual_objective_;
1883 if ((cached_has_bits & 0x00000008u) != 0) {
1884 _this->_impl_.l_inf_primal_residual_ = from.
_impl_.l_inf_primal_residual_;
1886 if ((cached_has_bits & 0x00000010u) != 0) {
1887 _this->_impl_.l2_primal_residual_ = from.
_impl_.l2_primal_residual_;
1889 if ((cached_has_bits & 0x00000020u) != 0) {
1890 _this->_impl_.l_inf_dual_residual_ = from.
_impl_.l_inf_dual_residual_;
1892 if ((cached_has_bits & 0x00000040u) != 0) {
1893 _this->_impl_.l2_dual_residual_ = from.
_impl_.l2_dual_residual_;
1895 if ((cached_has_bits & 0x00000080u) != 0) {
1896 _this->_impl_.l_inf_primal_variable_ = from.
_impl_.l_inf_primal_variable_;
1899 if ((cached_has_bits & 0x00003f00u) != 0) {
1900 if ((cached_has_bits & 0x00000100u) != 0) {
1901 _this->_impl_.l2_primal_variable_ = from.
_impl_.l2_primal_variable_;
1903 if ((cached_has_bits & 0x00000200u) != 0) {
1904 _this->_impl_.l_inf_dual_variable_ = from.
_impl_.l_inf_dual_variable_;
1906 if ((cached_has_bits & 0x00000400u) != 0) {
1907 _this->_impl_.l2_dual_variable_ = from.
_impl_.l2_dual_variable_;
1909 if ((cached_has_bits & 0x00000800u) != 0) {
1910 _this->_impl_.l_inf_componentwise_primal_residual_ = from.
_impl_.l_inf_componentwise_primal_residual_;
1912 if ((cached_has_bits & 0x00001000u) != 0) {
1913 _this->_impl_.l_inf_componentwise_dual_residual_ = from.
_impl_.l_inf_componentwise_dual_residual_;
1915 if ((cached_has_bits & 0x00002000u) != 0) {
1916 _this->_impl_.candidate_type_ = from.
_impl_.candidate_type_;
1919 _this->_impl_._has_bits_[0] |= cached_has_bits;
1920 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1925 if (&from ==
this)
return;
1931void ConvergenceInformation::InternalSwap(
ConvergenceInformation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1933 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1934 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1935 ::google::protobuf::internal::memswap<
1939 reinterpret_cast<char*
>(&
_impl_.primal_objective_),
1940 reinterpret_cast<char*
>(&other->_impl_.primal_objective_));
1944 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1951 decltype(::std::declval<InfeasibilityInformation>()._impl_._has_bits_);
1957#if defined(PROTOBUF_CUSTOM_VTABLE)
1960 : ::google::protobuf::Message(arena) {
1967#if defined(PROTOBUF_CUSTOM_VTABLE)
1970 : ::google::protobuf::Message(arena),
1973 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1974 from._internal_metadata_);
1976PROTOBUF_NDEBUG_INLINE InfeasibilityInformation::Impl_::Impl_(
1977 ::google::protobuf::internal::InternalVisibility visibility,
1978 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1979 : _cached_size_{0} {}
1981inline void InfeasibilityInformation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1982 new (&
_impl_) Impl_(internal_visibility(), arena);
1983 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
1984 offsetof(Impl_, max_primal_ray_infeasibility_),
1986 offsetof(Impl_, candidate_type_) -
1987 offsetof(Impl_, max_primal_ray_infeasibility_) +
1988 sizeof(Impl_::candidate_type_));
1994inline void InfeasibilityInformation::SharedDtor(MessageLite& self) {
1996 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1997 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2002 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2003 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2011 return ::google::protobuf::internal::ClassDataFull{
2012 ::google::protobuf::internal::ClassData{
2017 &InfeasibilityInformation::MergeImpl,
2018 ::google::protobuf::Message::GetNewImpl<InfeasibilityInformation>(),
2019#if defined(PROTOBUF_CUSTOM_VTABLE)
2020 &InfeasibilityInformation::SharedDtor,
2027 &InfeasibilityInformation::kDescriptorMethods,
2033PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2037PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2043PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2044const ::_pbi::TcParseTable<3, 6, 1, 0, 2>
2045InfeasibilityInformation::_table_ = {
2050 offsetof(
decltype(_table_), field_lookup_table),
2052 offsetof(
decltype(_table_), field_entries),
2055 offsetof(
decltype(_table_), aux_entries),
2058 ::_pbi::TcParser::GenericFallback,
2059 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2060 ::_pbi::TcParser::GetTable<::operations_research::pdlp::InfeasibilityInformation>(),
2063 {::_pbi::TcParser::MiniParse, {}},
2065 {::_pbi::TcParser::FastF64S1,
2068 {::_pbi::TcParser::FastF64S1,
2071 {::_pbi::TcParser::FastF64S1,
2074 {::_pbi::TcParser::FastF64S1,
2077 {::_pbi::TcParser::FastF64S1,
2080 {::_pbi::TcParser::FastEr0S1,
2082 {::_pbi::TcParser::MiniParse, {}},
2087 {PROTOBUF_FIELD_OFFSET(
InfeasibilityInformation, _impl_.max_primal_ray_infeasibility_), _Internal::kHasBitsOffset + 0, 0,
2088 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2090 {PROTOBUF_FIELD_OFFSET(
InfeasibilityInformation, _impl_.primal_ray_linear_objective_), _Internal::kHasBitsOffset + 1, 0,
2091 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2093 {PROTOBUF_FIELD_OFFSET(
InfeasibilityInformation, _impl_.primal_ray_quadratic_norm_), _Internal::kHasBitsOffset + 2, 0,
2094 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2096 {PROTOBUF_FIELD_OFFSET(
InfeasibilityInformation, _impl_.max_dual_ray_infeasibility_), _Internal::kHasBitsOffset + 3, 0,
2097 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2100 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2103 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
2113 ::google::protobuf::internal::TSanWrite(&
_impl_);
2114 ::uint32_t cached_has_bits = 0;
2116 (void) cached_has_bits;
2118 cached_has_bits =
_impl_._has_bits_[0];
2119 if ((cached_has_bits & 0x0000003fu) != 0) {
2120 ::memset(&
_impl_.max_primal_ray_infeasibility_, 0,
static_cast<::
size_t>(
2121 reinterpret_cast<char*
>(&
_impl_.candidate_type_) -
2122 reinterpret_cast<char*
>(&
_impl_.max_primal_ray_infeasibility_)) +
sizeof(
_impl_.candidate_type_));
2124 _impl_._has_bits_.Clear();
2125 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2128#if defined(PROTOBUF_CUSTOM_VTABLE)
2130 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2131 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2135 ::uint8_t* PROTOBUF_NONNULL target,
2136 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2140 ::uint32_t cached_has_bits = 0;
2141 (void)cached_has_bits;
2143 cached_has_bits = this_.
_impl_._has_bits_[0];
2145 if ((cached_has_bits & 0x00000001u) != 0) {
2146 target = stream->EnsureSpace(target);
2147 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2148 1, this_._internal_max_primal_ray_infeasibility(), target);
2152 if ((cached_has_bits & 0x00000002u) != 0) {
2153 target = stream->EnsureSpace(target);
2154 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2155 2, this_._internal_primal_ray_linear_objective(), target);
2159 if ((cached_has_bits & 0x00000004u) != 0) {
2160 target = stream->EnsureSpace(target);
2161 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2162 3, this_._internal_primal_ray_quadratic_norm(), target);
2166 if ((cached_has_bits & 0x00000008u) != 0) {
2167 target = stream->EnsureSpace(target);
2168 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2169 4, this_._internal_max_dual_ray_infeasibility(), target);
2173 if ((cached_has_bits & 0x00000010u) != 0) {
2174 target = stream->EnsureSpace(target);
2175 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2176 5, this_._internal_dual_ray_objective(), target);
2180 if ((cached_has_bits & 0x00000020u) != 0) {
2181 target = stream->EnsureSpace(target);
2182 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2183 6, this_._internal_candidate_type(), target);
2186 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2188 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2189 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2195#if defined(PROTOBUF_CUSTOM_VTABLE)
2203 ::size_t total_size = 0;
2205 ::uint32_t cached_has_bits = 0;
2207 (void)cached_has_bits;
2209 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2210 cached_has_bits = this_._impl_._has_bits_[0];
2211 total_size += ::absl::popcount(0x0000001fu & cached_has_bits) * 9;
2214 if ((cached_has_bits & 0x00000020u) != 0) {
2216 ::_pbi::WireFormatLite::EnumSize(this_._internal_candidate_type());
2219 return this_.MaybeComputeUnknownFieldsSize(total_size,
2220 &this_._impl_._cached_size_);
2223void InfeasibilityInformation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2227 ABSL_DCHECK_NE(&from, _this);
2228 ::uint32_t cached_has_bits = 0;
2229 (void) cached_has_bits;
2231 cached_has_bits = from.
_impl_._has_bits_[0];
2232 if ((cached_has_bits & 0x0000003fu) != 0) {
2233 if ((cached_has_bits & 0x00000001u) != 0) {
2234 _this->_impl_.max_primal_ray_infeasibility_ = from.
_impl_.max_primal_ray_infeasibility_;
2236 if ((cached_has_bits & 0x00000002u) != 0) {
2237 _this->_impl_.primal_ray_linear_objective_ = from.
_impl_.primal_ray_linear_objective_;
2239 if ((cached_has_bits & 0x00000004u) != 0) {
2240 _this->_impl_.primal_ray_quadratic_norm_ = from.
_impl_.primal_ray_quadratic_norm_;
2242 if ((cached_has_bits & 0x00000008u) != 0) {
2243 _this->_impl_.max_dual_ray_infeasibility_ = from.
_impl_.max_dual_ray_infeasibility_;
2245 if ((cached_has_bits & 0x00000010u) != 0) {
2246 _this->_impl_.dual_ray_objective_ = from.
_impl_.dual_ray_objective_;
2248 if ((cached_has_bits & 0x00000020u) != 0) {
2249 _this->_impl_.candidate_type_ = from.
_impl_.candidate_type_;
2252 _this->_impl_._has_bits_[0] |= cached_has_bits;
2253 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2258 if (&from ==
this)
return;
2266 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2267 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2268 ::google::protobuf::internal::memswap<
2272 reinterpret_cast<char*
>(&
_impl_.max_primal_ray_infeasibility_),
2273 reinterpret_cast<char*
>(&other->_impl_.max_primal_ray_infeasibility_));
2277 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2284 decltype(::std::declval<PointMetadata>()._impl_._has_bits_);
2290#if defined(PROTOBUF_CUSTOM_VTABLE)
2293 : ::google::protobuf::Message(arena) {
2298PROTOBUF_NDEBUG_INLINE PointMetadata::Impl_::Impl_(
2299 ::google::protobuf::internal::InternalVisibility visibility,
2300 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2301 const ::operations_research::pdlp::PointMetadata& from_msg)
2302 : _has_bits_{from._has_bits_},
2304 random_primal_projections_{visibility, arena, from.random_primal_projections_},
2305 random_dual_projections_{visibility, arena, from.random_dual_projections_} {}
2308 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2309 const PointMetadata& from)
2310#if defined(PROTOBUF_CUSTOM_VTABLE)
2313 : ::google::protobuf::Message(arena) {
2317 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2318 from._internal_metadata_);
2319 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2320 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
2321 offsetof(Impl_, active_primal_variable_count_),
2322 reinterpret_cast<const char *
>(&from._impl_) +
2323 offsetof(Impl_, active_primal_variable_count_),
2324 offsetof(Impl_, point_type_) -
2325 offsetof(Impl_, active_primal_variable_count_) +
2326 sizeof(Impl_::point_type_));
2330PROTOBUF_NDEBUG_INLINE PointMetadata::Impl_::Impl_(
2331 ::google::protobuf::internal::InternalVisibility visibility,
2332 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2334 random_primal_projections_{visibility, arena},
2335 random_dual_projections_{visibility, arena} {}
2337inline void PointMetadata::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2338 new (&
_impl_) Impl_(internal_visibility(), arena);
2339 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
2340 offsetof(Impl_, active_primal_variable_count_),
2342 offsetof(Impl_, point_type_) -
2343 offsetof(Impl_, active_primal_variable_count_) +
2344 sizeof(Impl_::point_type_));
2352 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2353 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2358 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2359 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2363 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2366 InternalGetArenaOffset(
2367 ::google::protobuf::Message::internal_visibility()),
2370 InternalGetArenaOffset(
2373 if (arena_bits.has_value()) {
2374 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2375 sizeof(PointMetadata), alignof(PointMetadata), *arena_bits);
2377 return ::google::protobuf::internal::MessageCreator(&PointMetadata::PlacementNew_,
2378 sizeof(PointMetadata),
2379 alignof(PointMetadata));
2383 return ::google::protobuf::internal::ClassDataFull{
2384 ::google::protobuf::internal::ClassData{
2389 &PointMetadata::MergeImpl,
2390 ::google::protobuf::Message::GetNewImpl<PointMetadata>(),
2391#if defined(PROTOBUF_CUSTOM_VTABLE)
2392 &PointMetadata::SharedDtor,
2399 &PointMetadata::kDescriptorMethods,
2405PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2409PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2415PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2416const ::_pbi::TcParseTable<3, 7, 1, 0, 2>
2417PointMetadata::_table_ = {
2422 offsetof(
decltype(_table_), field_lookup_table),
2424 offsetof(
decltype(_table_), field_entries),
2427 offsetof(
decltype(_table_), aux_entries),
2430 ::_pbi::TcParser::GenericFallback,
2431 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2432 ::_pbi::TcParser::GetTable<::operations_research::pdlp::PointMetadata>(),
2435 {::_pbi::TcParser::MiniParse, {}},
2437 {::_pbi::TcParser::FastEr0S1,
2440 {::_pbi::TcParser::FastF64P1,
2443 {::_pbi::TcParser::FastF64P1,
2446 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
PointMetadata,
_impl_.active_primal_variable_count_), 0>(),
2449 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
PointMetadata,
_impl_.active_dual_variable_count_), 1>(),
2452 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
PointMetadata,
_impl_.active_primal_variable_change_), 2>(),
2455 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
PointMetadata,
_impl_.active_dual_variable_change_), 3>(),
2462 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
2465 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
2468 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
2471 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2474 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2477 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2480 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
2490 ::google::protobuf::internal::TSanWrite(&
_impl_);
2491 ::uint32_t cached_has_bits = 0;
2493 (void) cached_has_bits;
2495 _impl_.random_primal_projections_.Clear();
2496 _impl_.random_dual_projections_.Clear();
2497 cached_has_bits =
_impl_._has_bits_[0];
2498 if ((cached_has_bits & 0x0000001fu) != 0) {
2499 ::memset(&
_impl_.active_primal_variable_count_, 0,
static_cast<::
size_t>(
2500 reinterpret_cast<char*
>(&
_impl_.point_type_) -
2501 reinterpret_cast<char*
>(&
_impl_.active_primal_variable_count_)) +
sizeof(
_impl_.point_type_));
2503 _impl_._has_bits_.Clear();
2504 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2507#if defined(PROTOBUF_CUSTOM_VTABLE)
2509 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2510 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2514 ::uint8_t* PROTOBUF_NONNULL target,
2515 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2519 ::uint32_t cached_has_bits = 0;
2520 (void)cached_has_bits;
2522 cached_has_bits = this_._impl_._has_bits_[0];
2524 if ((cached_has_bits & 0x00000010u) != 0) {
2525 target = stream->EnsureSpace(target);
2526 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2527 1, this_._internal_point_type(), target);
2531 if (this_._internal_random_primal_projections_size() > 0) {
2532 target = stream->WriteFixedPacked(2, this_._internal_random_primal_projections(), target);
2536 if (this_._internal_random_dual_projections_size() > 0) {
2537 target = stream->WriteFixedPacked(3, this_._internal_random_dual_projections(), target);
2541 if ((cached_has_bits & 0x00000001u) != 0) {
2543 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
2544 stream, this_._internal_active_primal_variable_count(), target);
2548 if ((cached_has_bits & 0x00000002u) != 0) {
2550 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
2551 stream, this_._internal_active_dual_variable_count(), target);
2555 if ((cached_has_bits & 0x00000004u) != 0) {
2557 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<6>(
2558 stream, this_._internal_active_primal_variable_change(), target);
2562 if ((cached_has_bits & 0x00000008u) != 0) {
2564 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<7>(
2565 stream, this_._internal_active_dual_variable_change(), target);
2568 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2570 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2571 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2577#if defined(PROTOBUF_CUSTOM_VTABLE)
2585 ::size_t total_size = 0;
2587 ::uint32_t cached_has_bits = 0;
2589 (void)cached_has_bits;
2591 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2595 ::size_t data_size = ::size_t{8} *
2596 ::_pbi::FromIntSize(this_._internal_random_primal_projections_size());
2597 ::size_t tag_size = data_size == 0
2599 : 1 + ::_pbi::WireFormatLite::Int32Size(
2600 static_cast<::int32_t
>(data_size));
2601 total_size += tag_size + data_size;
2605 ::size_t data_size = ::size_t{8} *
2606 ::_pbi::FromIntSize(this_._internal_random_dual_projections_size());
2607 ::size_t tag_size = data_size == 0
2609 : 1 + ::_pbi::WireFormatLite::Int32Size(
2610 static_cast<::int32_t
>(data_size));
2611 total_size += tag_size + data_size;
2614 cached_has_bits = this_._impl_._has_bits_[0];
2615 if ((cached_has_bits & 0x0000001fu) != 0) {
2617 if ((cached_has_bits & 0x00000001u) != 0) {
2618 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2619 this_._internal_active_primal_variable_count());
2622 if ((cached_has_bits & 0x00000002u) != 0) {
2623 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2624 this_._internal_active_dual_variable_count());
2627 if ((cached_has_bits & 0x00000004u) != 0) {
2628 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2629 this_._internal_active_primal_variable_change());
2632 if ((cached_has_bits & 0x00000008u) != 0) {
2633 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
2634 this_._internal_active_dual_variable_change());
2637 if ((cached_has_bits & 0x00000010u) != 0) {
2639 ::_pbi::WireFormatLite::EnumSize(this_._internal_point_type());
2642 return this_.MaybeComputeUnknownFieldsSize(total_size,
2643 &this_._impl_._cached_size_);
2646void PointMetadata::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2650 ABSL_DCHECK_NE(&from, _this);
2651 ::uint32_t cached_has_bits = 0;
2652 (void) cached_has_bits;
2654 _this->_internal_mutable_random_primal_projections()->MergeFrom(from._internal_random_primal_projections());
2655 _this->_internal_mutable_random_dual_projections()->MergeFrom(from._internal_random_dual_projections());
2656 cached_has_bits = from._impl_._has_bits_[0];
2657 if ((cached_has_bits & 0x0000001fu) != 0) {
2658 if ((cached_has_bits & 0x00000001u) != 0) {
2659 _this->_impl_.active_primal_variable_count_ = from._impl_.active_primal_variable_count_;
2661 if ((cached_has_bits & 0x00000002u) != 0) {
2662 _this->_impl_.active_dual_variable_count_ = from._impl_.active_dual_variable_count_;
2664 if ((cached_has_bits & 0x00000004u) != 0) {
2665 _this->_impl_.active_primal_variable_change_ = from._impl_.active_primal_variable_change_;
2667 if ((cached_has_bits & 0x00000008u) != 0) {
2668 _this->_impl_.active_dual_variable_change_ = from._impl_.active_dual_variable_change_;
2670 if ((cached_has_bits & 0x00000010u) != 0) {
2671 _this->_impl_.point_type_ = from._impl_.point_type_;
2674 _this->_impl_._has_bits_[0] |= cached_has_bits;
2675 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2680 if (&from ==
this)
return;
2686void PointMetadata::InternalSwap(
PointMetadata* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2688 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2689 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2690 _impl_.random_primal_projections_.InternalSwap(&other->_impl_.random_primal_projections_);
2691 _impl_.random_dual_projections_.InternalSwap(&other->_impl_.random_dual_projections_);
2692 ::google::protobuf::internal::memswap<
2696 reinterpret_cast<char*
>(&
_impl_.active_primal_variable_count_),
2697 reinterpret_cast<char*
>(&other->_impl_.active_primal_variable_count_));
2701 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2708 decltype(::std::declval<IterationStats>()._impl_._has_bits_);
2709 static constexpr ::int32_t kHasBitsOffset =
2714#if defined(PROTOBUF_CUSTOM_VTABLE)
2717 : ::google::protobuf::Message(arena) {
2722PROTOBUF_NDEBUG_INLINE IterationStats::Impl_::Impl_(
2723 ::google::protobuf::internal::InternalVisibility visibility,
2724 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2725 const ::operations_research::pdlp::IterationStats& from_msg)
2726 : _has_bits_{from._has_bits_},
2728 convergence_information_{visibility, arena, from.convergence_information_},
2729 infeasibility_information_{visibility, arena, from.infeasibility_information_},
2730 point_metadata_{visibility, arena, from.point_metadata_} {}
2733 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2734 const IterationStats& from)
2735#if defined(PROTOBUF_CUSTOM_VTABLE)
2738 : ::google::protobuf::Message(arena) {
2742 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2743 from._internal_metadata_);
2744 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2745 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
2746 offsetof(Impl_, iteration_number_),
2747 reinterpret_cast<const char *
>(&from._impl_) +
2748 offsetof(Impl_, iteration_number_),
2749 offsetof(Impl_, restart_used_) -
2750 offsetof(Impl_, iteration_number_) +
2751 sizeof(Impl_::restart_used_));
2755PROTOBUF_NDEBUG_INLINE IterationStats::Impl_::Impl_(
2756 ::google::protobuf::internal::InternalVisibility visibility,
2757 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2759 convergence_information_{visibility, arena},
2760 infeasibility_information_{visibility, arena},
2761 point_metadata_{visibility, arena} {}
2763inline void IterationStats::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2764 new (&
_impl_) Impl_(internal_visibility(), arena);
2765 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
2766 offsetof(Impl_, iteration_number_),
2768 offsetof(Impl_, restart_used_) -
2769 offsetof(Impl_, iteration_number_) +
2770 sizeof(Impl_::restart_used_));
2776inline void IterationStats::SharedDtor(MessageLite& self) {
2778 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2779 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2784 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2785 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2789 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2792 InternalGetArenaOffset(
2793 ::google::protobuf::Message::internal_visibility()),
2796 InternalGetArenaOffset(
2800 InternalGetArenaOffset(
2803 if (arena_bits.has_value()) {
2804 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2805 sizeof(IterationStats), alignof(IterationStats), *arena_bits);
2807 return ::google::protobuf::internal::MessageCreator(&IterationStats::PlacementNew_,
2808 sizeof(IterationStats),
2809 alignof(IterationStats));
2813 return ::google::protobuf::internal::ClassDataFull{
2814 ::google::protobuf::internal::ClassData{
2819 &IterationStats::MergeImpl,
2820 ::google::protobuf::Message::GetNewImpl<IterationStats>(),
2821#if defined(PROTOBUF_CUSTOM_VTABLE)
2822 &IterationStats::SharedDtor,
2829 &IterationStats::kDescriptorMethods,
2835PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2839PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2845PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2846const ::_pbi::TcParseTable<4, 10, 4, 0, 2>
2847IterationStats::_table_ = {
2852 offsetof(
decltype(_table_), field_lookup_table),
2854 offsetof(
decltype(_table_), field_entries),
2857 offsetof(
decltype(_table_), aux_entries),
2860 ::_pbi::TcParser::GenericFallback,
2861 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2862 ::_pbi::TcParser::GetTable<::operations_research::pdlp::IterationStats>(),
2865 {::_pbi::TcParser::MiniParse, {}},
2867 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
IterationStats,
_impl_.iteration_number_), 0>(),
2870 {::_pbi::TcParser::FastMtR1,
2873 {::_pbi::TcParser::FastMtR1,
2876 {::_pbi::TcParser::FastF64S1,
2879 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
IterationStats,
_impl_.cumulative_rejected_steps_), 1>(),
2882 {::_pbi::TcParser::FastF64S1,
2885 {::_pbi::TcParser::FastEr0S1,
2888 {::_pbi::TcParser::FastF64S1,
2891 {::_pbi::TcParser::FastF64S1,
2893 {::_pbi::TcParser::MiniParse, {}},
2895 {::_pbi::TcParser::FastMtR1,
2897 {::_pbi::TcParser::MiniParse, {}},
2898 {::_pbi::TcParser::MiniParse, {}},
2899 {::_pbi::TcParser::MiniParse, {}},
2900 {::_pbi::TcParser::MiniParse, {}},
2906 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2909 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2912 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2915 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2918 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2921 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2924 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
2927 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2930 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
2933 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2936 {::_pbi::TcParser::GetTable<::operations_research::pdlp::ConvergenceInformation>()},
2937 {::_pbi::TcParser::GetTable<::operations_research::pdlp::InfeasibilityInformation>()},
2938 {::_pbi::TcParser::GetTable<::operations_research::pdlp::PointMetadata>()},
2946 ::google::protobuf::internal::TSanWrite(&
_impl_);
2947 ::uint32_t cached_has_bits = 0;
2949 (void) cached_has_bits;
2951 _impl_.convergence_information_.Clear();
2952 _impl_.infeasibility_information_.Clear();
2953 _impl_.point_metadata_.Clear();
2954 cached_has_bits =
_impl_._has_bits_[0];
2955 if ((cached_has_bits & 0x0000007fu) != 0) {
2956 ::memset(&
_impl_.iteration_number_, 0,
static_cast<::
size_t>(
2957 reinterpret_cast<char*
>(&
_impl_.restart_used_) -
2958 reinterpret_cast<char*
>(&
_impl_.iteration_number_)) +
sizeof(
_impl_.restart_used_));
2960 _impl_._has_bits_.Clear();
2961 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2964#if defined(PROTOBUF_CUSTOM_VTABLE)
2966 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2967 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2971 ::uint8_t* PROTOBUF_NONNULL target,
2972 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2976 ::uint32_t cached_has_bits = 0;
2977 (void)cached_has_bits;
2979 cached_has_bits = this_.
_impl_._has_bits_[0];
2981 if ((cached_has_bits & 0x00000001u) != 0) {
2983 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
2984 stream, this_._internal_iteration_number(), target);
2988 for (
unsigned i = 0, n =
static_cast<unsigned>(
2989 this_._internal_convergence_information_size());
2991 const auto& repfield = this_._internal_convergence_information().Get(i);
2993 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2994 2, repfield, repfield.GetCachedSize(),
2999 for (
unsigned i = 0, n =
static_cast<unsigned>(
3000 this_._internal_infeasibility_information_size());
3002 const auto& repfield = this_._internal_infeasibility_information().Get(i);
3004 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3005 3, repfield, repfield.GetCachedSize(),
3010 if ((cached_has_bits & 0x00000004u) != 0) {
3011 target = stream->EnsureSpace(target);
3012 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3013 4, this_._internal_cumulative_kkt_matrix_passes(), target);
3017 if ((cached_has_bits & 0x00000002u) != 0) {
3019 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
3020 stream, this_._internal_cumulative_rejected_steps(), target);
3024 if ((cached_has_bits & 0x00000008u) != 0) {
3025 target = stream->EnsureSpace(target);
3026 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3027 6, this_._internal_cumulative_time_sec(), target);
3031 if ((cached_has_bits & 0x00000040u) != 0) {
3032 target = stream->EnsureSpace(target);
3033 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3034 7, this_._internal_restart_used(), target);
3038 if ((cached_has_bits & 0x00000010u) != 0) {
3039 target = stream->EnsureSpace(target);
3040 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3041 8, this_._internal_step_size(), target);
3045 if ((cached_has_bits & 0x00000020u) != 0) {
3046 target = stream->EnsureSpace(target);
3047 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3048 9, this_._internal_primal_weight(), target);
3052 for (
unsigned i = 0, n =
static_cast<unsigned>(
3053 this_._internal_point_metadata_size());
3055 const auto& repfield = this_._internal_point_metadata().Get(i);
3057 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3058 11, repfield, repfield.GetCachedSize(),
3062 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3064 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3065 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3071#if defined(PROTOBUF_CUSTOM_VTABLE)
3079 ::size_t total_size = 0;
3081 ::uint32_t cached_has_bits = 0;
3083 (void)cached_has_bits;
3085 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3089 total_size += 1UL * this_._internal_convergence_information_size();
3090 for (
const auto& msg : this_._internal_convergence_information()) {
3091 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3096 total_size += 1UL * this_._internal_infeasibility_information_size();
3097 for (
const auto& msg : this_._internal_infeasibility_information()) {
3098 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3103 total_size += 1UL * this_._internal_point_metadata_size();
3104 for (
const auto& msg : this_._internal_point_metadata()) {
3105 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3109 cached_has_bits = this_._impl_._has_bits_[0];
3110 total_size += ::absl::popcount(0x0000003cu & cached_has_bits) * 9;
3111 if ((cached_has_bits & 0x00000043u) != 0) {
3113 if ((cached_has_bits & 0x00000001u) != 0) {
3114 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3115 this_._internal_iteration_number());
3118 if ((cached_has_bits & 0x00000002u) != 0) {
3119 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3120 this_._internal_cumulative_rejected_steps());
3123 if ((cached_has_bits & 0x00000040u) != 0) {
3125 ::_pbi::WireFormatLite::EnumSize(this_._internal_restart_used());
3128 return this_.MaybeComputeUnknownFieldsSize(total_size,
3129 &this_._impl_._cached_size_);
3132void IterationStats::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3136 ABSL_DCHECK_NE(&from, _this);
3137 ::uint32_t cached_has_bits = 0;
3138 (void) cached_has_bits;
3140 _this->_internal_mutable_convergence_information()->MergeFrom(
3141 from._internal_convergence_information());
3142 _this->_internal_mutable_infeasibility_information()->MergeFrom(
3143 from._internal_infeasibility_information());
3144 _this->_internal_mutable_point_metadata()->MergeFrom(
3145 from._internal_point_metadata());
3146 cached_has_bits = from._impl_._has_bits_[0];
3147 if ((cached_has_bits & 0x0000007fu) != 0) {
3148 if ((cached_has_bits & 0x00000001u) != 0) {
3149 _this->_impl_.iteration_number_ = from._impl_.iteration_number_;
3151 if ((cached_has_bits & 0x00000002u) != 0) {
3152 _this->_impl_.cumulative_rejected_steps_ = from._impl_.cumulative_rejected_steps_;
3154 if ((cached_has_bits & 0x00000004u) != 0) {
3155 _this->_impl_.cumulative_kkt_matrix_passes_ = from._impl_.cumulative_kkt_matrix_passes_;
3157 if ((cached_has_bits & 0x00000008u) != 0) {
3158 _this->_impl_.cumulative_time_sec_ = from._impl_.cumulative_time_sec_;
3160 if ((cached_has_bits & 0x00000010u) != 0) {
3161 _this->_impl_.step_size_ = from._impl_.step_size_;
3163 if ((cached_has_bits & 0x00000020u) != 0) {
3164 _this->_impl_.primal_weight_ = from._impl_.primal_weight_;
3166 if ((cached_has_bits & 0x00000040u) != 0) {
3167 _this->_impl_.restart_used_ = from._impl_.restart_used_;
3170 _this->_impl_._has_bits_[0] |= cached_has_bits;
3171 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3176 if (&from ==
this)
return;
3182void IterationStats::InternalSwap(
IterationStats* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3184 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3185 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3186 _impl_.convergence_information_.InternalSwap(&other->_impl_.convergence_information_);
3187 _impl_.infeasibility_information_.InternalSwap(&other->_impl_.infeasibility_information_);
3188 _impl_.point_metadata_.InternalSwap(&other->_impl_.point_metadata_);
3189 ::google::protobuf::internal::memswap<
3193 reinterpret_cast<char*
>(&
_impl_.iteration_number_),
3194 reinterpret_cast<char*
>(&other->_impl_.iteration_number_));
3198 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3205 decltype(::std::declval<FeasibilityPolishingDetails>()._impl_._has_bits_);
3206 static constexpr ::int32_t kHasBitsOffset =
3211 ::google::protobuf::internal::TSanWrite(&
_impl_);
3213 _impl_._has_bits_[0] &= ~0x00000001u;
3216#if defined(PROTOBUF_CUSTOM_VTABLE)
3219 : ::google::protobuf::Message(arena) {
3224PROTOBUF_NDEBUG_INLINE FeasibilityPolishingDetails::Impl_::Impl_(
3225 ::google::protobuf::internal::InternalVisibility visibility,
3226 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3227 const ::operations_research::pdlp::FeasibilityPolishingDetails& from_msg)
3228 : _has_bits_{from._has_bits_},
3230 iteration_stats_{visibility, arena, from.iteration_stats_} {}
3233 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3234 const FeasibilityPolishingDetails& from)
3235#if defined(PROTOBUF_CUSTOM_VTABLE)
3238 : ::google::protobuf::Message(arena) {
3242 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3243 from._internal_metadata_);
3244 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3245 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3246 _impl_.params_ = ((cached_has_bits & 0x00000001u) != 0)
3247 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.params_)
3249 _impl_.solution_stats_ = ((cached_has_bits & 0x00000002u) != 0)
3250 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solution_stats_)
3252 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
3253 offsetof(Impl_, polishing_phase_type_),
3254 reinterpret_cast<const char *
>(&from._impl_) +
3255 offsetof(Impl_, polishing_phase_type_),
3256 offsetof(Impl_, solution_type_) -
3257 offsetof(Impl_, polishing_phase_type_) +
3258 sizeof(Impl_::solution_type_));
3262PROTOBUF_NDEBUG_INLINE FeasibilityPolishingDetails::Impl_::Impl_(
3263 ::google::protobuf::internal::InternalVisibility visibility,
3264 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3266 iteration_stats_{visibility, arena} {}
3268inline void FeasibilityPolishingDetails::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3269 new (&
_impl_) Impl_(internal_visibility(), arena);
3270 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
3271 offsetof(Impl_, params_),
3273 offsetof(Impl_, solution_type_) -
3274 offsetof(Impl_, params_) +
3275 sizeof(Impl_::solution_type_));
3281inline void FeasibilityPolishingDetails::SharedDtor(MessageLite& self) {
3283 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3284 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3285 delete this_._impl_.params_;
3286 delete this_._impl_.solution_stats_;
3287 this_._impl_.~Impl_();
3291 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3292 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3296 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3299 InternalGetArenaOffset(
3300 ::google::protobuf::Message::internal_visibility()),
3302 if (arena_bits.has_value()) {
3303 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3312 return ::google::protobuf::internal::ClassDataFull{
3313 ::google::protobuf::internal::ClassData{
3318 &FeasibilityPolishingDetails::MergeImpl,
3319 ::google::protobuf::Message::GetNewImpl<FeasibilityPolishingDetails>(),
3320#if defined(PROTOBUF_CUSTOM_VTABLE)
3321 &FeasibilityPolishingDetails::SharedDtor,
3328 &FeasibilityPolishingDetails::kDescriptorMethods,
3334PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3338PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3344PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3345const ::_pbi::TcParseTable<4, 9, 6, 0, 2>
3346FeasibilityPolishingDetails::_table_ = {
3351 offsetof(
decltype(_table_), field_lookup_table),
3353 offsetof(
decltype(_table_), field_entries),
3356 offsetof(
decltype(_table_), aux_entries),
3359 ::_pbi::TcParser::GenericFallback,
3360 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3361 ::_pbi::TcParser::GetTable<::operations_research::pdlp::FeasibilityPolishingDetails>(),
3364 {::_pbi::TcParser::MiniParse, {}},
3366 {::_pbi::TcParser::FastEr0S1,
3372 {::_pbi::TcParser::FastMtS1,
3375 {::_pbi::TcParser::FastEr0S1,
3381 {::_pbi::TcParser::FastF64S1,
3384 {::_pbi::TcParser::FastMtS1,
3387 {::_pbi::TcParser::FastEr0S1,
3390 {::_pbi::TcParser::FastMtR1,
3392 {::_pbi::TcParser::MiniParse, {}},
3393 {::_pbi::TcParser::MiniParse, {}},
3394 {::_pbi::TcParser::MiniParse, {}},
3395 {::_pbi::TcParser::MiniParse, {}},
3396 {::_pbi::TcParser::MiniParse, {}},
3397 {::_pbi::TcParser::MiniParse, {}},
3403 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3406 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3409 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3412 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3415 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3418 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
3421 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3424 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3427 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3430 {::_pbi::TcParser::GetTable<::operations_research::pdlp::PrimalDualHybridGradientParams>()},
3431 {::_pbi::TcParser::GetTable<::operations_research::pdlp::IterationStats>()},
3432 {::_pbi::TcParser::GetTable<::operations_research::pdlp::IterationStats>()},
3442 ::google::protobuf::internal::TSanWrite(&
_impl_);
3443 ::uint32_t cached_has_bits = 0;
3445 (void) cached_has_bits;
3447 _impl_.iteration_stats_.Clear();
3448 cached_has_bits =
_impl_._has_bits_[0];
3449 if ((cached_has_bits & 0x00000003u) != 0) {
3450 if ((cached_has_bits & 0x00000001u) != 0) {
3451 ABSL_DCHECK(
_impl_.params_ !=
nullptr);
3454 if ((cached_has_bits & 0x00000002u) != 0) {
3455 ABSL_DCHECK(
_impl_.solution_stats_ !=
nullptr);
3456 _impl_.solution_stats_->Clear();
3459 if ((cached_has_bits & 0x000000fcu) != 0) {
3460 ::memset(&
_impl_.polishing_phase_type_, 0,
static_cast<::
size_t>(
3461 reinterpret_cast<char*
>(&
_impl_.solution_type_) -
3462 reinterpret_cast<char*
>(&
_impl_.polishing_phase_type_)) +
sizeof(
_impl_.solution_type_));
3464 _impl_._has_bits_.Clear();
3465 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3468#if defined(PROTOBUF_CUSTOM_VTABLE)
3470 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3471 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3475 ::uint8_t* PROTOBUF_NONNULL target,
3476 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3480 ::uint32_t cached_has_bits = 0;
3481 (void)cached_has_bits;
3483 cached_has_bits = this_._impl_._has_bits_[0];
3485 if ((cached_has_bits & 0x00000004u) != 0) {
3486 target = stream->EnsureSpace(target);
3487 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3488 1, this_._internal_polishing_phase_type(), target);
3492 if ((cached_has_bits & 0x00000008u) != 0) {
3494 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
3495 stream, this_._internal_main_iteration_count(), target);
3499 if ((cached_has_bits & 0x00000001u) != 0) {
3500 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3501 3, *this_._impl_.params_, this_._impl_.params_->GetCachedSize(), target,
3506 if ((cached_has_bits & 0x00000010u) != 0) {
3507 target = stream->EnsureSpace(target);
3508 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3509 4, this_._internal_termination_reason(), target);
3513 if ((cached_has_bits & 0x00000020u) != 0) {
3515 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
3516 stream, this_._internal_iteration_count(), target);
3520 if ((cached_has_bits & 0x00000040u) != 0) {
3521 target = stream->EnsureSpace(target);
3522 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3523 6, this_._internal_solve_time_sec(), target);
3527 if ((cached_has_bits & 0x00000002u) != 0) {
3528 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3529 7, *this_._impl_.solution_stats_, this_._impl_.solution_stats_->GetCachedSize(), target,
3534 if ((cached_has_bits & 0x00000080u) != 0) {
3535 target = stream->EnsureSpace(target);
3536 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3537 8, this_._internal_solution_type(), target);
3541 for (
unsigned i = 0, n =
static_cast<unsigned>(
3542 this_._internal_iteration_stats_size());
3544 const auto& repfield = this_._internal_iteration_stats().Get(i);
3546 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3547 9, repfield, repfield.GetCachedSize(),
3551 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3553 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3554 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3560#if defined(PROTOBUF_CUSTOM_VTABLE)
3568 ::size_t total_size = 0;
3570 ::uint32_t cached_has_bits = 0;
3572 (void)cached_has_bits;
3574 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3578 total_size += 1UL * this_._internal_iteration_stats_size();
3579 for (
const auto& msg : this_._internal_iteration_stats()) {
3580 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
3584 cached_has_bits = this_._impl_._has_bits_[0];
3585 total_size +=
static_cast<bool>(0x00000040u & cached_has_bits) * 9;
3586 if ((cached_has_bits & 0x000000bfu) != 0) {
3588 if ((cached_has_bits & 0x00000001u) != 0) {
3590 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.params_);
3593 if ((cached_has_bits & 0x00000002u) != 0) {
3595 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solution_stats_);
3598 if ((cached_has_bits & 0x00000004u) != 0) {
3600 ::_pbi::WireFormatLite::EnumSize(this_._internal_polishing_phase_type());
3603 if ((cached_has_bits & 0x00000008u) != 0) {
3604 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3605 this_._internal_main_iteration_count());
3608 if ((cached_has_bits & 0x00000010u) != 0) {
3610 ::_pbi::WireFormatLite::EnumSize(this_._internal_termination_reason());
3613 if ((cached_has_bits & 0x00000020u) != 0) {
3614 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3615 this_._internal_iteration_count());
3618 if ((cached_has_bits & 0x00000080u) != 0) {
3620 ::_pbi::WireFormatLite::EnumSize(this_._internal_solution_type());
3623 return this_.MaybeComputeUnknownFieldsSize(total_size,
3624 &this_._impl_._cached_size_);
3627void FeasibilityPolishingDetails::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3632 ABSL_DCHECK_NE(&from, _this);
3633 ::uint32_t cached_has_bits = 0;
3634 (void) cached_has_bits;
3636 _this->_internal_mutable_iteration_stats()->MergeFrom(
3637 from._internal_iteration_stats());
3638 cached_has_bits = from._impl_._has_bits_[0];
3639 if ((cached_has_bits & 0x000000ffu) != 0) {
3640 if ((cached_has_bits & 0x00000001u) != 0) {
3641 ABSL_DCHECK(from._impl_.params_ !=
nullptr);
3642 if (_this->_impl_.params_ ==
nullptr) {
3643 _this->_impl_.params_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.params_);
3645 _this->_impl_.params_->MergeFrom(*from._impl_.params_);
3648 if ((cached_has_bits & 0x00000002u) != 0) {
3649 ABSL_DCHECK(from._impl_.solution_stats_ !=
nullptr);
3650 if (_this->_impl_.solution_stats_ ==
nullptr) {
3651 _this->_impl_.solution_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solution_stats_);
3653 _this->_impl_.solution_stats_->MergeFrom(*from._impl_.solution_stats_);
3656 if ((cached_has_bits & 0x00000004u) != 0) {
3657 _this->_impl_.polishing_phase_type_ = from._impl_.polishing_phase_type_;
3659 if ((cached_has_bits & 0x00000008u) != 0) {
3660 _this->_impl_.main_iteration_count_ = from._impl_.main_iteration_count_;
3662 if ((cached_has_bits & 0x00000010u) != 0) {
3663 _this->_impl_.termination_reason_ = from._impl_.termination_reason_;
3665 if ((cached_has_bits & 0x00000020u) != 0) {
3666 _this->_impl_.iteration_count_ = from._impl_.iteration_count_;
3668 if ((cached_has_bits & 0x00000040u) != 0) {
3669 _this->_impl_.solve_time_sec_ = from._impl_.solve_time_sec_;
3671 if ((cached_has_bits & 0x00000080u) != 0) {
3672 _this->_impl_.solution_type_ = from._impl_.solution_type_;
3675 _this->_impl_._has_bits_[0] |= cached_has_bits;
3676 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3681 if (&from ==
this)
return;
3689 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3690 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3691 _impl_.iteration_stats_.InternalSwap(&other->_impl_.iteration_stats_);
3692 ::google::protobuf::internal::memswap<
3696 reinterpret_cast<char*
>(&
_impl_.params_),
3697 reinterpret_cast<char*
>(&other->_impl_.params_));
3701 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3705class SolveLog::_Internal {
3708 decltype(::std::declval<SolveLog>()._impl_._has_bits_);
3709 static constexpr ::int32_t kHasBitsOffset =
3714 ::google::protobuf::internal::TSanWrite(&
_impl_);
3715 if (
_impl_.params_ !=
nullptr)
_impl_.params_->Clear();
3719#if defined(PROTOBUF_CUSTOM_VTABLE)
3722 : ::google::protobuf::Message(arena) {
3727PROTOBUF_NDEBUG_INLINE SolveLog::Impl_::Impl_(
3728 ::google::protobuf::internal::InternalVisibility visibility,
3729 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3730 const ::operations_research::pdlp::SolveLog& from_msg)
3731 : _has_bits_{from._has_bits_},
3733 iteration_stats_{visibility, arena, from.iteration_stats_},
3734 feasibility_polishing_details_{visibility, arena, from.feasibility_polishing_details_},
3735 instance_name_(arena, from.instance_name_),
3736 termination_string_(arena, from.termination_string_) {}
3739 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3740 const SolveLog& from)
3741#if defined(PROTOBUF_CUSTOM_VTABLE)
3744 : ::google::protobuf::Message(arena) {
3748 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3749 from._internal_metadata_);
3750 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3751 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
3752 _impl_.solution_stats_ = ((cached_has_bits & 0x00000004u) != 0)
3753 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solution_stats_)
3755 _impl_.original_problem_stats_ = ((cached_has_bits & 0x00000008u) != 0)
3756 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.original_problem_stats_)
3758 _impl_.preprocessed_problem_stats_ = ((cached_has_bits & 0x00000010u) != 0)
3759 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.preprocessed_problem_stats_)
3761 _impl_.params_ = ((cached_has_bits & 0x00000020u) != 0)
3762 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.params_)
3764 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
3765 offsetof(Impl_, termination_reason_),
3766 reinterpret_cast<const char *
>(&from._impl_) +
3767 offsetof(Impl_, termination_reason_),
3768 offsetof(Impl_, solution_type_) -
3769 offsetof(Impl_, termination_reason_) +
3770 sizeof(Impl_::solution_type_));
3774PROTOBUF_NDEBUG_INLINE SolveLog::Impl_::Impl_(
3775 ::google::protobuf::internal::InternalVisibility visibility,
3776 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3778 iteration_stats_{visibility, arena},
3779 feasibility_polishing_details_{visibility, arena},
3780 instance_name_(arena),
3781 termination_string_(arena) {}
3783inline void SolveLog::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3784 new (&
_impl_) Impl_(internal_visibility(), arena);
3785 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
3786 offsetof(Impl_, solution_stats_),
3788 offsetof(Impl_, solution_type_) -
3789 offsetof(Impl_, solution_stats_) +
3790 sizeof(Impl_::solution_type_));
3796inline void SolveLog::SharedDtor(MessageLite& self) {
3798 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3799 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3800 this_._impl_.instance_name_.Destroy();
3801 this_._impl_.termination_string_.Destroy();
3802 delete this_._impl_.solution_stats_;
3803 delete this_._impl_.original_problem_stats_;
3804 delete this_._impl_.preprocessed_problem_stats_;
3805 delete this_._impl_.params_;
3806 this_._impl_.~Impl_();
3810 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3811 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3812 return ::new (mem)
SolveLog(arena);
3815 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3818 InternalGetArenaOffset(
3820 PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.feasibility_polishing_details_) +
3822 InternalGetArenaOffset(
3825 if (arena_bits.has_value()) {
3826 return ::google::protobuf::internal::MessageCreator::CopyInit(
3827 sizeof(SolveLog), alignof(SolveLog), *arena_bits);
3829 return ::google::protobuf::internal::MessageCreator(&SolveLog::PlacementNew_,
3835 return ::google::protobuf::internal::ClassDataFull{
3836 ::google::protobuf::internal::ClassData{
3841 &SolveLog::MergeImpl,
3842 ::google::protobuf::Message::GetNewImpl<SolveLog>(),
3843#if defined(PROTOBUF_CUSTOM_VTABLE)
3844 &SolveLog::SharedDtor,
3851 &SolveLog::kDescriptorMethods,
3857PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3861PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3867PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3868const ::_pbi::TcParseTable<4, 13, 8, 81, 2>
3869SolveLog::_table_ = {
3874 offsetof(
decltype(_table_), field_lookup_table),
3876 offsetof(
decltype(_table_), field_entries),
3879 offsetof(
decltype(_table_), aux_entries),
3882 ::_pbi::TcParser::GenericFallback,
3883 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3884 ::_pbi::TcParser::GetTable<::operations_research::pdlp::SolveLog>(),
3887 {::_pbi::TcParser::MiniParse, {}},
3889 {::_pbi::TcParser::FastSS1,
3890 {10, 0, 0, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.instance_name_)}},
3891 {::_pbi::TcParser::MiniParse, {}},
3893 {::_pbi::TcParser::FastEr0S1,
3894 {24, 6, 13, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.termination_reason_)}},
3896 {::_pbi::TcParser::FastSS1,
3897 {34, 1, 0, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.termination_string_)}},
3899 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
SolveLog,
_impl_.iteration_count_), 7>(),
3900 {40, 7, 0, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.iteration_count_)}},
3902 {::_pbi::TcParser::FastF64S1,
3903 {49, 8, 0, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.solve_time_sec_)}},
3905 {::_pbi::TcParser::FastMtR1,
3906 {58, 63, 0, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.iteration_stats_)}},
3908 {::_pbi::TcParser::FastMtS1,
3909 {66, 2, 1, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.solution_stats_)}},
3910 {::_pbi::TcParser::MiniParse, {}},
3912 {::_pbi::TcParser::FastEr0S1,
3913 {80, 10, 6, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.solution_type_)}},
3915 {::_pbi::TcParser::FastMtS1,
3916 {90, 3, 2, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.original_problem_stats_)}},
3918 {::_pbi::TcParser::FastMtS1,
3919 {98, 4, 3, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.preprocessed_problem_stats_)}},
3921 {::_pbi::TcParser::FastF64S1,
3922 {105, 9, 0, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.preprocessing_time_sec_)}},
3924 {::_pbi::TcParser::FastMtS1,
3927 {::_pbi::TcParser::FastMtR1,
3928 {122, 63, 5, PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.feasibility_polishing_details_)}},
3934 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3937 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3940 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3943 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3946 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
3948 {PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.iteration_stats_), -1, 0,
3949 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3952 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3955 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3958 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3961 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3964 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
3967 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3969 {PROTOBUF_FIELD_OFFSET(
SolveLog,
_impl_.feasibility_polishing_details_), -1, 5,
3970 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
3973 {::_pbi::TcParser::GetTable<::operations_research::pdlp::IterationStats>()},
3974 {::_pbi::TcParser::GetTable<::operations_research::pdlp::IterationStats>()},
3975 {::_pbi::TcParser::GetTable<::operations_research::pdlp::QuadraticProgramStats>()},
3976 {::_pbi::TcParser::GetTable<::operations_research::pdlp::QuadraticProgramStats>()},
3977 {::_pbi::TcParser::GetTable<::operations_research::pdlp::PrimalDualHybridGradientParams>()},
3978 {::_pbi::TcParser::GetTable<::operations_research::pdlp::FeasibilityPolishingDetails>()},
3983 "\41\15\0\22\0\0\0\0\0\0\0\0\0\0\0\0"
3984 "operations_research.pdlp.SolveLog"
3986 "termination_string"
3991 ::google::protobuf::internal::TSanWrite(&
_impl_);
3992 ::uint32_t cached_has_bits = 0;
3994 (void) cached_has_bits;
3997 _impl_.feasibility_polishing_details_.Clear();
3998 cached_has_bits =
_impl_._has_bits_[0];
3999 if ((cached_has_bits & 0x0000003fu) != 0) {
4000 if ((cached_has_bits & 0x00000001u) != 0) {
4001 _impl_.instance_name_.ClearNonDefaultToEmpty();
4003 if ((cached_has_bits & 0x00000002u) != 0) {
4004 _impl_.termination_string_.ClearNonDefaultToEmpty();
4006 if ((cached_has_bits & 0x00000004u) != 0) {
4007 ABSL_DCHECK(
_impl_.solution_stats_ !=
nullptr);
4008 _impl_.solution_stats_->Clear();
4010 if ((cached_has_bits & 0x00000008u) != 0) {
4011 ABSL_DCHECK(
_impl_.original_problem_stats_ !=
nullptr);
4012 _impl_.original_problem_stats_->Clear();
4014 if ((cached_has_bits & 0x00000010u) != 0) {
4015 ABSL_DCHECK(
_impl_.preprocessed_problem_stats_ !=
nullptr);
4016 _impl_.preprocessed_problem_stats_->Clear();
4018 if ((cached_has_bits & 0x00000020u) != 0) {
4019 ABSL_DCHECK(
_impl_.params_ !=
nullptr);
4023 if ((cached_has_bits & 0x000000c0u) != 0) {
4024 ::memset(&
_impl_.termination_reason_, 0,
static_cast<::
size_t>(
4025 reinterpret_cast<char*
>(&
_impl_.iteration_count_) -
4026 reinterpret_cast<char*
>(&
_impl_.termination_reason_)) +
sizeof(
_impl_.iteration_count_));
4028 if ((cached_has_bits & 0x00000700u) != 0) {
4029 ::memset(&
_impl_.solve_time_sec_, 0,
static_cast<::
size_t>(
4030 reinterpret_cast<char*
>(&
_impl_.solution_type_) -
4031 reinterpret_cast<char*
>(&
_impl_.solve_time_sec_)) +
sizeof(
_impl_.solution_type_));
4033 _impl_._has_bits_.Clear();
4034 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4037#if defined(PROTOBUF_CUSTOM_VTABLE)
4039 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
4040 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4044 ::uint8_t* PROTOBUF_NONNULL target,
4045 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4049 ::uint32_t cached_has_bits = 0;
4050 (void)cached_has_bits;
4052 cached_has_bits = this_._impl_._has_bits_[0];
4054 if ((cached_has_bits & 0x00000001u) != 0) {
4055 const ::std::string& _s = this_._internal_instance_name();
4056 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
4057 "operations_research.pdlp.SolveLog.instance_name");
4058 target = stream->WriteStringMaybeAliased(1, _s, target);
4062 if ((cached_has_bits & 0x00000040u) != 0) {
4063 target = stream->EnsureSpace(target);
4064 target = ::_pbi::WireFormatLite::WriteEnumToArray(
4065 3, this_._internal_termination_reason(), target);
4069 if ((cached_has_bits & 0x00000002u) != 0) {
4070 const ::std::string& _s = this_._internal_termination_string();
4071 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
4072 "operations_research.pdlp.SolveLog.termination_string");
4073 target = stream->WriteStringMaybeAliased(4, _s, target);
4077 if ((cached_has_bits & 0x00000080u) != 0) {
4079 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<5>(
4080 stream, this_._internal_iteration_count(), target);
4084 if ((cached_has_bits & 0x00000100u) != 0) {
4085 target = stream->EnsureSpace(target);
4086 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
4087 6, this_._internal_solve_time_sec(), target);
4091 for (
unsigned i = 0, n =
static_cast<unsigned>(
4092 this_._internal_iteration_stats_size());
4094 const auto& repfield = this_._internal_iteration_stats().Get(i);
4096 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4097 7, repfield, repfield.GetCachedSize(),
4102 if ((cached_has_bits & 0x00000004u) != 0) {
4103 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4104 8, *this_._impl_.solution_stats_, this_._impl_.solution_stats_->GetCachedSize(), target,
4109 if ((cached_has_bits & 0x00000400u) != 0) {
4110 target = stream->EnsureSpace(target);
4111 target = ::_pbi::WireFormatLite::WriteEnumToArray(
4112 10, this_._internal_solution_type(), target);
4116 if ((cached_has_bits & 0x00000008u) != 0) {
4117 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4118 11, *this_._impl_.original_problem_stats_, this_._impl_.original_problem_stats_->GetCachedSize(), target,
4123 if ((cached_has_bits & 0x00000010u) != 0) {
4124 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4125 12, *this_._impl_.preprocessed_problem_stats_, this_._impl_.preprocessed_problem_stats_->GetCachedSize(), target,
4130 if ((cached_has_bits & 0x00000200u) != 0) {
4131 target = stream->EnsureSpace(target);
4132 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
4133 13, this_._internal_preprocessing_time_sec(), target);
4137 if ((cached_has_bits & 0x00000020u) != 0) {
4138 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4139 14, *this_._impl_.params_, this_._impl_.params_->GetCachedSize(), target,
4144 for (
unsigned i = 0, n =
static_cast<unsigned>(
4145 this_._internal_feasibility_polishing_details_size());
4147 const auto& repfield = this_._internal_feasibility_polishing_details().Get(i);
4149 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
4150 15, repfield, repfield.GetCachedSize(),
4154 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4156 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4157 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4163#if defined(PROTOBUF_CUSTOM_VTABLE)
4171 ::size_t total_size = 0;
4173 ::uint32_t cached_has_bits = 0;
4175 (void)cached_has_bits;
4177 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4181 total_size += 1UL * this_._internal_iteration_stats_size();
4182 for (
const auto& msg : this_._internal_iteration_stats()) {
4183 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4188 total_size += 1UL * this_._internal_feasibility_polishing_details_size();
4189 for (
const auto& msg : this_._internal_feasibility_polishing_details()) {
4190 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
4194 cached_has_bits = this_._impl_._has_bits_[0];
4195 total_size += ::absl::popcount(0x00000300u & cached_has_bits) * 9;
4196 if ((cached_has_bits & 0x000000ffu) != 0) {
4198 if ((cached_has_bits & 0x00000001u) != 0) {
4199 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4200 this_._internal_instance_name());
4203 if ((cached_has_bits & 0x00000002u) != 0) {
4204 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
4205 this_._internal_termination_string());
4208 if ((cached_has_bits & 0x00000004u) != 0) {
4210 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solution_stats_);
4213 if ((cached_has_bits & 0x00000008u) != 0) {
4215 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.original_problem_stats_);
4218 if ((cached_has_bits & 0x00000010u) != 0) {
4220 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.preprocessed_problem_stats_);
4223 if ((cached_has_bits & 0x00000020u) != 0) {
4225 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.params_);
4228 if ((cached_has_bits & 0x00000040u) != 0) {
4230 ::_pbi::WireFormatLite::EnumSize(this_._internal_termination_reason());
4233 if ((cached_has_bits & 0x00000080u) != 0) {
4234 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
4235 this_._internal_iteration_count());
4240 if ((cached_has_bits & 0x00000400u) != 0) {
4242 ::_pbi::WireFormatLite::EnumSize(this_._internal_solution_type());
4245 return this_.MaybeComputeUnknownFieldsSize(total_size,
4246 &this_._impl_._cached_size_);
4249void SolveLog::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4250 auto*
const _this =
static_cast<SolveLog*
>(&to_msg);
4251 auto& from =
static_cast<const SolveLog&
>(from_msg);
4254 ABSL_DCHECK_NE(&from, _this);
4255 ::uint32_t cached_has_bits = 0;
4256 (void) cached_has_bits;
4258 _this->_internal_mutable_iteration_stats()->MergeFrom(
4259 from._internal_iteration_stats());
4260 _this->_internal_mutable_feasibility_polishing_details()->MergeFrom(
4261 from._internal_feasibility_polishing_details());
4262 cached_has_bits = from._impl_._has_bits_[0];
4263 if ((cached_has_bits & 0x000000ffu) != 0) {
4264 if ((cached_has_bits & 0x00000001u) != 0) {
4265 _this->_internal_set_instance_name(from._internal_instance_name());
4267 if ((cached_has_bits & 0x00000002u) != 0) {
4268 _this->_internal_set_termination_string(from._internal_termination_string());
4270 if ((cached_has_bits & 0x00000004u) != 0) {
4271 ABSL_DCHECK(from._impl_.solution_stats_ !=
nullptr);
4272 if (_this->
_impl_.solution_stats_ ==
nullptr) {
4273 _this->
_impl_.solution_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.solution_stats_);
4275 _this->
_impl_.solution_stats_->
MergeFrom(*from._impl_.solution_stats_);
4278 if ((cached_has_bits & 0x00000008u) != 0) {
4279 ABSL_DCHECK(from._impl_.original_problem_stats_ !=
nullptr);
4280 if (_this->
_impl_.original_problem_stats_ ==
nullptr) {
4281 _this->
_impl_.original_problem_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.original_problem_stats_);
4283 _this->
_impl_.original_problem_stats_->
MergeFrom(*from._impl_.original_problem_stats_);
4286 if ((cached_has_bits & 0x00000010u) != 0) {
4287 ABSL_DCHECK(from._impl_.preprocessed_problem_stats_ !=
nullptr);
4288 if (_this->
_impl_.preprocessed_problem_stats_ ==
nullptr) {
4289 _this->
_impl_.preprocessed_problem_stats_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.preprocessed_problem_stats_);
4291 _this->
_impl_.preprocessed_problem_stats_->
MergeFrom(*from._impl_.preprocessed_problem_stats_);
4294 if ((cached_has_bits & 0x00000020u) != 0) {
4295 ABSL_DCHECK(from._impl_.params_ !=
nullptr);
4296 if (_this->
_impl_.params_ ==
nullptr) {
4297 _this->
_impl_.params_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.params_);
4302 if ((cached_has_bits & 0x00000040u) != 0) {
4303 _this->
_impl_.termination_reason_ = from._impl_.termination_reason_;
4305 if ((cached_has_bits & 0x00000080u) != 0) {
4306 _this->
_impl_.iteration_count_ = from._impl_.iteration_count_;
4309 if ((cached_has_bits & 0x00000700u) != 0) {
4310 if ((cached_has_bits & 0x00000100u) != 0) {
4311 _this->
_impl_.solve_time_sec_ = from._impl_.solve_time_sec_;
4313 if ((cached_has_bits & 0x00000200u) != 0) {
4314 _this->
_impl_.preprocessing_time_sec_ = from._impl_.preprocessing_time_sec_;
4316 if ((cached_has_bits & 0x00000400u) != 0) {
4317 _this->
_impl_.solution_type_ = from._impl_.solution_type_;
4320 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4321 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4326 if (&from ==
this)
return;
4332void SolveLog::InternalSwap(
SolveLog* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
4334 auto* arena = GetArena();
4335 ABSL_DCHECK_EQ(arena, other->GetArena());
4336 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4337 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4338 _impl_.iteration_stats_.InternalSwap(&other->_impl_.iteration_stats_);
4339 _impl_.feasibility_polishing_details_.InternalSwap(&other->_impl_.feasibility_polishing_details_);
4340 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.instance_name_, &other->_impl_.instance_name_, arena);
4341 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.termination_string_, &other->_impl_.termination_string_, arena);
4342 ::google::protobuf::internal::memswap<
4346 reinterpret_cast<char*
>(&
_impl_.solution_stats_),
4347 reinterpret_cast<char*
>(&other->_impl_.solution_stats_));
4351 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4361PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
4364 ::std::false_type{});
4365#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr ::int32_t kHasBitsOffset
void MergeFrom(const FeasibilityPolishingDetails &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
friend void swap(FeasibilityPolishingDetails &a, FeasibilityPolishingDetails &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
FeasibilityPolishingDetails()
~FeasibilityPolishingDetails() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const FeasibilityPolishingDetails &from)
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
friend void swap(IterationStats &a, IterationStats &b)
static constexpr auto InternalNewImpl_()
void CopyFrom(const IterationStats &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
~IterationStats() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const IterationStats &from)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const PrimalDualHybridGradientParams &from)
decltype(::std::declval< QuadraticProgramStats >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const QuadraticProgramStats &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
::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 QuadraticProgramStats &from)
friend void swap(QuadraticProgramStats &a, QuadraticProgramStats &b)
~QuadraticProgramStats() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
~SolveLog() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalNewImpl_()
static constexpr auto InternalGenerateClassData_()
friend void swap(SolveLog &a, SolveLog &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const SolveLog &from)
friend class ::google::protobuf::Arena
void CopyFrom(const SolveLog &from)
Validation utilities for solvers.proto.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InfeasibilityInformationDefaultTypeInternal _InfeasibilityInformation_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IterationStats_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL PolishingPhaseType_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticProgramStats_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeasibilityPolishingDetailsDefaultTypeInternal _FeasibilityPolishingDetails_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConvergenceInformation_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConvergenceInformationDefaultTypeInternal _ConvergenceInformation_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull FeasibilityPolishingDetails_class_data_
PROTOBUF_CONSTINIT const uint32_t PolishingPhaseType_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IterationStatsDefaultTypeInternal _IterationStats_default_instance_
PROTOBUF_CONSTINIT const uint32_t RestartChoice_internal_data_[]
PROTOBUF_CONSTINIT const uint32_t TerminationReason_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticProgramStatsDefaultTypeInternal _QuadraticProgramStats_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PointMetadata_class_data_
PROTOBUF_CONSTINIT const uint32_t PointType_internal_data_[]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PointMetadataDefaultTypeInternal _PointMetadata_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL PointType_descriptor()
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL RestartChoice_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveLogDefaultTypeInternal _SolveLog_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TerminationReason_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull InfeasibilityInformation_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveLog_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fpdlp_2fsolve_5flog_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fpdlp_2fsolve_5flog_2eproto[4]
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fpdlp_2fsolve_5flog_2eproto_deps[1]
const ::uint32_t TableStruct_ortools_2fpdlp_2fsolve_5flog_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
::absl::once_flag descriptor_table_ortools_2fpdlp_2fsolve_5flog_2eproto_once
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fpdlp_2fsolve_5flog_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fpdlp_2fsolvers_2eproto
~FeasibilityPolishingDetailsDefaultTypeInternal()
FeasibilityPolishingDetails _instance
PROTOBUF_CONSTEXPR FeasibilityPolishingDetailsDefaultTypeInternal()
PROTOBUF_CONSTEXPR IterationStatsDefaultTypeInternal()
~IterationStatsDefaultTypeInternal()
QuadraticProgramStats _instance
PROTOBUF_CONSTEXPR QuadraticProgramStatsDefaultTypeInternal()
~QuadraticProgramStatsDefaultTypeInternal()
PROTOBUF_CONSTEXPR SolveLogDefaultTypeInternal()
~SolveLogDefaultTypeInternal()