Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
solution.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/solution.proto
4// Protobuf C++ Version: 6.33.1
5
7
8#include <algorithm>
9#include <type_traits>
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"
19// @@protoc_insertion_point(includes)
20
21// Must be included last.
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
24namespace _pb = ::google::protobuf;
26namespace _fl = ::google::protobuf::internal::field_layout;
27namespace operations_research {
28namespace math_opt {
29
30inline constexpr SparseBasisStatusVector::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 ids_{},
34 _ids_cached_byte_size_{0},
35 values_{},
36 _values_cached_byte_size_{0} {}
37
38template <typename>
39PROTOBUF_CONSTEXPR SparseBasisStatusVector::SparseBasisStatusVector(::_pbi::ConstantInitialized)
40#if defined(PROTOBUF_CUSTOM_VTABLE)
41 : ::google::protobuf::Message(SparseBasisStatusVector_class_data_.base()),
42#else // PROTOBUF_CUSTOM_VTABLE
43 : ::google::protobuf::Message(),
44#endif // PROTOBUF_CUSTOM_VTABLE
45 _impl_(::_pbi::ConstantInitialized()) {
46}
54
55PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
57template <typename>
59#if defined(PROTOBUF_CUSTOM_VTABLE)
60 : PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::MapEntry(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_.base()){}
61#else // PROTOBUF_CUSTOM_VTABLE
62 : PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::MapEntry() {
63}
64#endif // PROTOBUF_CUSTOM_VTABLE
72
73PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
75
76inline constexpr PrimalSolutionProto::Impl_::Impl_(
77 ::_pbi::ConstantInitialized) noexcept
78 : _cached_size_{0},
79 variable_values_{nullptr},
80 objective_value_{0},
81 feasibility_status_{static_cast< ::operations_research::math_opt::SolutionStatusProto >(0)},
82 auxiliary_objective_values_{} {}
83
84template <typename>
85PROTOBUF_CONSTEXPR PrimalSolutionProto::PrimalSolutionProto(::_pbi::ConstantInitialized)
86#if defined(PROTOBUF_CUSTOM_VTABLE)
87 : ::google::protobuf::Message(PrimalSolutionProto_class_data_.base()),
88#else // PROTOBUF_CUSTOM_VTABLE
89 : ::google::protobuf::Message(),
90#endif // PROTOBUF_CUSTOM_VTABLE
91 _impl_(::_pbi::ConstantInitialized()) {
92}
100
101PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
103
104inline constexpr PrimalRayProto::Impl_::Impl_(
105 ::_pbi::ConstantInitialized) noexcept
106 : _cached_size_{0},
107 variable_values_{nullptr} {}
108
109template <typename>
110PROTOBUF_CONSTEXPR PrimalRayProto::PrimalRayProto(::_pbi::ConstantInitialized)
111#if defined(PROTOBUF_CUSTOM_VTABLE)
112 : ::google::protobuf::Message(PrimalRayProto_class_data_.base()),
113#else // PROTOBUF_CUSTOM_VTABLE
114 : ::google::protobuf::Message(),
115#endif // PROTOBUF_CUSTOM_VTABLE
116 _impl_(::_pbi::ConstantInitialized()) {
117}
125
126PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
128
129inline constexpr DualSolutionProto::Impl_::Impl_(
130 ::_pbi::ConstantInitialized) noexcept
131 : _cached_size_{0},
132 dual_values_{nullptr},
133 reduced_costs_{nullptr},
134 quadratic_dual_values_{nullptr},
135 objective_value_{0},
136 feasibility_status_{static_cast< ::operations_research::math_opt::SolutionStatusProto >(0)} {}
137
138template <typename>
139PROTOBUF_CONSTEXPR DualSolutionProto::DualSolutionProto(::_pbi::ConstantInitialized)
140#if defined(PROTOBUF_CUSTOM_VTABLE)
141 : ::google::protobuf::Message(DualSolutionProto_class_data_.base()),
142#else // PROTOBUF_CUSTOM_VTABLE
143 : ::google::protobuf::Message(),
144#endif // PROTOBUF_CUSTOM_VTABLE
145 _impl_(::_pbi::ConstantInitialized()) {
146}
154
155PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
157
158inline constexpr DualRayProto::Impl_::Impl_(
159 ::_pbi::ConstantInitialized) noexcept
160 : _cached_size_{0},
161 dual_values_{nullptr},
162 reduced_costs_{nullptr} {}
163
164template <typename>
165PROTOBUF_CONSTEXPR DualRayProto::DualRayProto(::_pbi::ConstantInitialized)
166#if defined(PROTOBUF_CUSTOM_VTABLE)
167 : ::google::protobuf::Message(DualRayProto_class_data_.base()),
168#else // PROTOBUF_CUSTOM_VTABLE
169 : ::google::protobuf::Message(),
170#endif // PROTOBUF_CUSTOM_VTABLE
171 _impl_(::_pbi::ConstantInitialized()) {
172}
174 PROTOBUF_CONSTEXPR DualRayProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
176 union {
178 };
179};
180
181PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
183
184inline constexpr BasisProto::Impl_::Impl_(
185 ::_pbi::ConstantInitialized) noexcept
186 : _cached_size_{0},
187 constraint_status_{nullptr},
188 variable_status_{nullptr},
189 basic_dual_feasibility_{static_cast< ::operations_research::math_opt::SolutionStatusProto >(0)} {}
190
191template <typename>
192PROTOBUF_CONSTEXPR BasisProto::BasisProto(::_pbi::ConstantInitialized)
193#if defined(PROTOBUF_CUSTOM_VTABLE)
194 : ::google::protobuf::Message(BasisProto_class_data_.base()),
195#else // PROTOBUF_CUSTOM_VTABLE
196 : ::google::protobuf::Message(),
197#endif // PROTOBUF_CUSTOM_VTABLE
198 _impl_(::_pbi::ConstantInitialized()) {
199}
201 PROTOBUF_CONSTEXPR BasisProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
203 union {
205 };
206};
207
208PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
210
211inline constexpr SolutionProto::Impl_::Impl_(
212 ::_pbi::ConstantInitialized) noexcept
213 : _cached_size_{0},
214 primal_solution_{nullptr},
215 dual_solution_{nullptr},
216 basis_{nullptr} {}
217
218template <typename>
219PROTOBUF_CONSTEXPR SolutionProto::SolutionProto(::_pbi::ConstantInitialized)
220#if defined(PROTOBUF_CUSTOM_VTABLE)
221 : ::google::protobuf::Message(SolutionProto_class_data_.base()),
222#else // PROTOBUF_CUSTOM_VTABLE
223 : ::google::protobuf::Message(),
224#endif // PROTOBUF_CUSTOM_VTABLE
225 _impl_(::_pbi::ConstantInitialized()) {
226}
228 PROTOBUF_CONSTEXPR SolutionProtoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
230 union {
232 };
233};
234
235PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
237} // namespace math_opt
238} // namespace operations_research
239static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
241static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
243const ::uint32_t
245 protodesc_cold) = {
246 0x081, // bitmap
248 5, // hasbit index offset
251 0,
252 1,
253 0x081, // bitmap
254 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalSolutionProto, _impl_._has_bits_),
255 7, // hasbit index offset
256 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalSolutionProto, _impl_.variable_values_),
257 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalSolutionProto, _impl_.objective_value_),
258 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalSolutionProto, _impl_.auxiliary_objective_values_),
259 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalSolutionProto, _impl_.feasibility_status_),
260 0,
261 1,
262 3,
263 2,
264 0x081, // bitmap
265 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalRayProto, _impl_._has_bits_),
266 4, // hasbit index offset
267 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::PrimalRayProto, _impl_.variable_values_),
268 0,
269 0x081, // bitmap
270 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualSolutionProto, _impl_._has_bits_),
271 8, // hasbit index offset
272 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualSolutionProto, _impl_.dual_values_),
273 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualSolutionProto, _impl_.quadratic_dual_values_),
274 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualSolutionProto, _impl_.reduced_costs_),
275 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualSolutionProto, _impl_.objective_value_),
276 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualSolutionProto, _impl_.feasibility_status_),
277 0,
278 2,
279 1,
280 3,
281 4,
282 0x081, // bitmap
283 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualRayProto, _impl_._has_bits_),
284 5, // hasbit index offset
285 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualRayProto, _impl_.dual_values_),
286 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::DualRayProto, _impl_.reduced_costs_),
287 0,
288 1,
289 0x081, // bitmap
290 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SparseBasisStatusVector, _impl_._has_bits_),
291 5, // hasbit index offset
292 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SparseBasisStatusVector, _impl_.ids_),
293 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SparseBasisStatusVector, _impl_.values_),
294 0,
295 1,
296 0x081, // bitmap
297 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::BasisProto, _impl_._has_bits_),
298 6, // hasbit index offset
299 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::BasisProto, _impl_.constraint_status_),
300 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::BasisProto, _impl_.variable_status_),
301 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::BasisProto, _impl_.basic_dual_feasibility_),
302 0,
303 1,
304 2,
305 0x081, // bitmap
306 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionProto, _impl_._has_bits_),
307 6, // hasbit index offset
308 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionProto, _impl_.primal_solution_),
309 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionProto, _impl_.dual_solution_),
310 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionProto, _impl_.basis_),
311 0,
312 1,
313 2,
314};
315
316static const ::_pbi::MigrationSchema
317 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
326};
337const char descriptor_table_protodef_ortools_2fmath_5fopt_2fsolution_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
338 protodesc_cold) = {
339 "\n\037ortools/math_opt/solution.proto\022\034opera"
340 "tions_research.math_opt\032(ortools/math_op"
341 "t/sparse_containers.proto\"\203\003\n\023PrimalSolu"
342 "tionProto\022N\n\017variable_values\030\001 \001(\01325.ope"
343 "rations_research.math_opt.SparseDoubleVe"
344 "ctorProto\022\027\n\017objective_value\030\002 \001(\001\022s\n\032au"
345 "xiliary_objective_values\030\004 \003(\0132O.operati"
346 "ons_research.math_opt.PrimalSolutionProt"
347 "o.AuxiliaryObjectiveValuesEntry\022M\n\022feasi"
348 "bility_status\030\003 \001(\01621.operations_researc"
349 "h.math_opt.SolutionStatusProto\032\?\n\035Auxili"
350 "aryObjectiveValuesEntry\022\013\n\003key\030\001 \001(\003\022\r\n\005"
351 "value\030\002 \001(\001:\0028\001\"`\n\016PrimalRayProto\022N\n\017var"
352 "iable_values\030\001 \001(\01325.operations_research"
353 ".math_opt.SparseDoubleVectorProto\"\204\003\n\021Du"
354 "alSolutionProto\022J\n\013dual_values\030\001 \001(\01325.o"
355 "perations_research.math_opt.SparseDouble"
356 "VectorProto\022T\n\025quadratic_dual_values\030\005 \001"
357 "(\01325.operations_research.math_opt.Sparse"
358 "DoubleVectorProto\022L\n\rreduced_costs\030\002 \001(\013"
359 "25.operations_research.math_opt.SparseDo"
360 "ubleVectorProto\022\034\n\017objective_value\030\003 \001(\001"
361 "H\000\210\001\001\022M\n\022feasibility_status\030\004 \001(\01621.oper"
362 "ations_research.math_opt.SolutionStatusP"
363 "rotoB\022\n\020_objective_value\"\250\001\n\014DualRayProt"
364 "o\022J\n\013dual_values\030\001 \001(\01325.operations_rese"
365 "arch.math_opt.SparseDoubleVectorProto\022L\n"
366 "\rreduced_costs\030\002 \001(\01325.operations_resear"
367 "ch.math_opt.SparseDoubleVectorProto\"f\n\027S"
368 "parseBasisStatusVector\022\013\n\003ids\030\001 \003(\003\022>\n\006v"
369 "alues\030\002 \003(\0162..operations_research.math_o"
370 "pt.BasisStatusProto\"\201\002\n\nBasisProto\022P\n\021co"
371 "nstraint_status\030\001 \001(\01325.operations_resea"
372 "rch.math_opt.SparseBasisStatusVector\022N\n\017"
373 "variable_status\030\002 \001(\01325.operations_resea"
374 "rch.math_opt.SparseBasisStatusVector\022Q\n\026"
375 "basic_dual_feasibility\030\003 \001(\01621.operation"
376 "s_research.math_opt.SolutionStatusProto\""
377 "\233\002\n\rSolutionProto\022O\n\017primal_solution\030\001 \001"
378 "(\01321.operations_research.math_opt.Primal"
379 "SolutionProtoH\000\210\001\001\022K\n\rdual_solution\030\002 \001("
380 "\0132/.operations_research.math_opt.DualSol"
381 "utionProtoH\001\210\001\001\022<\n\005basis\030\003 \001(\0132(.operati"
382 "ons_research.math_opt.BasisProtoH\002\210\001\001B\022\n"
383 "\020_primal_solutionB\020\n\016_dual_solutionB\010\n\006_"
384 "basis*\226\001\n\023SolutionStatusProto\022\037\n\033SOLUTIO"
385 "N_STATUS_UNSPECIFIED\020\000\022 \n\034SOLUTION_STATU"
386 "S_UNDETERMINED\020\001\022\034\n\030SOLUTION_STATUS_FEAS"
387 "IBLE\020\002\022\036\n\032SOLUTION_STATUS_INFEASIBLE\020\003*\277"
388 "\001\n\020BasisStatusProto\022\034\n\030BASIS_STATUS_UNSP"
389 "ECIFIED\020\000\022\025\n\021BASIS_STATUS_FREE\020\001\022\037\n\033BASI"
390 "S_STATUS_AT_LOWER_BOUND\020\002\022\037\n\033BASIS_STATU"
391 "S_AT_UPPER_BOUND\020\003\022\034\n\030BASIS_STATUS_FIXED"
392 "_VALUE\020\004\022\026\n\022BASIS_STATUS_BASIC\020\005B\036\n\032com."
393 "google.ortools.mathoptP\001b\006proto3"
394};
395static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
416namespace operations_research {
417namespace math_opt {
418const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SolutionStatusProto_descriptor() {
419 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto);
421}
422PROTOBUF_CONSTINIT const uint32_t SolutionStatusProto_internal_data_[] = {
423 262144u, 0u, };
424const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL BasisStatusProto_descriptor() {
425 ::google::protobuf::internal::AssignDescriptors(&descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto);
427}
428PROTOBUF_CONSTINIT const uint32_t BasisStatusProto_internal_data_[] = {
429 393216u, 0u, };
430// ===================================================================
431
432#if defined(PROTOBUF_CUSTOM_VTABLE)
435PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
436 : SuperType(arena, PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_.base()) {}
437#else // PROTOBUF_CUSTOM_VTABLE
438PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse() : SuperType() {}
440#endif // PROTOBUF_CUSTOM_VTABLE
441inline void* PROTOBUF_NONNULL PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::PlacementNew_(
442 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
443 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
445}
446constexpr auto PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::InternalNewImpl_() {
447 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse),
449}
451 return ::google::protobuf::internal::ClassDataFull{
452 ::google::protobuf::internal::ClassData{
454 &_table_.header,
455 nullptr, // OnDemandRegisterArenaDtor
456 nullptr, // IsInitialized
457 &PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::MergeImpl,
458 ::google::protobuf::Message::GetNewImpl<PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse>(),
459#if defined(PROTOBUF_CUSTOM_VTABLE)
460 &PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::SharedDtor,
461 static_cast<void (::google::protobuf::MessageLite::*)()>(&PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::ClearImpl),
462 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
463 ,
464#endif // PROTOBUF_CUSTOM_VTABLE
465 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_._cached_size_),
466 false,
467 },
468 &PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::kDescriptorMethods,
470 nullptr, // tracker
471 };
472}
473
474PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
475 ::google::protobuf::internal::ClassDataFull PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_ =
477
478PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
479PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::GetClassData() const {
480 ::google::protobuf::internal::PrefetchToLocalCache(&PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_);
481 ::google::protobuf::internal::PrefetchToLocalCache(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_.tc_table);
483}
484PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
485const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
486PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse::_table_ = {
487 {
488 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_._has_bits_),
489 0, // no _extensions_
490 2, 8, // max_field_number, fast_idx_mask
491 offsetof(decltype(_table_), field_lookup_table),
492 4294967292, // skipmap
493 offsetof(decltype(_table_), field_entries),
494 2, // num_field_entries
495 0, // num_aux_entries
496 offsetof(decltype(_table_), field_names), // no aux_entries
498 nullptr, // post_loop_handler
499 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
500 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
501 ::_pbi::TcParser::GetTable<::operations_research::math_opt::PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse>(), // to_prefetch
502 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
503 }, {{
504 // double value = 2;
505 {::_pbi::TcParser::FastF64S1,
506 {17, 1, 0,
507 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_.value_)}},
508 // int64 key = 1;
509 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_.key_), 0>(),
510 {8, 0, 0,
511 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_.key_)}},
512 }}, {{
513 65535, 65535
514 }}, {{
515 // int64 key = 1;
516 {PROTOBUF_FIELD_OFFSET(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
517 // double value = 2;
518 {PROTOBUF_FIELD_OFFSET(PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
519 }},
520 // no aux_entries
521 {{
522 }},
523};
524// ===================================================================
525
527 public:
528 using HasBits =
529 decltype(::std::declval<PrimalSolutionProto>()._impl_._has_bits_);
530 static constexpr ::int32_t kHasBitsOffset =
531 8 * PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_._has_bits_);
533
535 ::google::protobuf::internal::TSanWrite(&_impl_);
536 if (_impl_.variable_values_ != nullptr) _impl_.variable_values_->Clear();
537 ClearHasBit(_impl_._has_bits_[0],
538 0x00000001U);
539}
540PrimalSolutionProto::PrimalSolutionProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
541#if defined(PROTOBUF_CUSTOM_VTABLE)
542 : ::google::protobuf::Message(arena, PrimalSolutionProto_class_data_.base()) {
543#else // PROTOBUF_CUSTOM_VTABLE
544 : ::google::protobuf::Message(arena) {
545#endif // PROTOBUF_CUSTOM_VTABLE
546 SharedCtor(arena);
547 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.PrimalSolutionProto)
548}
549PROTOBUF_NDEBUG_INLINE PrimalSolutionProto::Impl_::Impl_(
550 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
551 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
552 [[maybe_unused]] const ::operations_research::math_opt::PrimalSolutionProto& from_msg)
553 : _has_bits_{from._has_bits_},
554 _cached_size_{0},
555 auxiliary_objective_values_{visibility, arena, from.auxiliary_objective_values_} {}
556
558 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
559 const PrimalSolutionProto& from)
560#if defined(PROTOBUF_CUSTOM_VTABLE)
561 : ::google::protobuf::Message(arena, PrimalSolutionProto_class_data_.base()) {
562#else // PROTOBUF_CUSTOM_VTABLE
563 : ::google::protobuf::Message(arena) {
564#endif // PROTOBUF_CUSTOM_VTABLE
565 PrimalSolutionProto* const _this = this;
566 (void)_this;
567 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
568 from._internal_metadata_);
569 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
570 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
571 _impl_.variable_values_ = (CheckHasBit(cached_has_bits, 0x00000001U))
572 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_)
573 : nullptr;
574 ::memcpy(reinterpret_cast<char*>(&_impl_) +
575 offsetof(Impl_, objective_value_),
576 reinterpret_cast<const char*>(&from._impl_) +
577 offsetof(Impl_, objective_value_),
578 offsetof(Impl_, feasibility_status_) -
579 offsetof(Impl_, objective_value_) +
580 sizeof(Impl_::feasibility_status_));
581
582 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.PrimalSolutionProto)
583}
584PROTOBUF_NDEBUG_INLINE PrimalSolutionProto::Impl_::Impl_(
585 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
586 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
587 : _cached_size_{0},
588 auxiliary_objective_values_{visibility, arena} {}
589
590inline void PrimalSolutionProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
591 new (&_impl_) Impl_(internal_visibility(), arena);
592 ::memset(reinterpret_cast<char*>(&_impl_) +
593 offsetof(Impl_, variable_values_),
594 0,
595 offsetof(Impl_, feasibility_status_) -
596 offsetof(Impl_, variable_values_) +
597 sizeof(Impl_::feasibility_status_));
598}
600 // @@protoc_insertion_point(destructor:operations_research.math_opt.PrimalSolutionProto)
601 SharedDtor(*this);
602}
603inline void PrimalSolutionProto::SharedDtor(MessageLite& self) {
604 PrimalSolutionProto& this_ = static_cast<PrimalSolutionProto&>(self);
605 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
606 this_.CheckHasBitConsistency();
607 }
608 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
609 ABSL_DCHECK(this_.GetArena() == nullptr);
610 delete this_._impl_.variable_values_;
611 this_._impl_.~Impl_();
612}
613
614inline void* PROTOBUF_NONNULL PrimalSolutionProto::PlacementNew_(
615 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
616 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
617 return ::new (mem) PrimalSolutionProto(arena);
618}
619constexpr auto PrimalSolutionProto::InternalNewImpl_() {
620 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
621 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.auxiliary_objective_values_) +
622 decltype(PrimalSolutionProto::_impl_.auxiliary_objective_values_)::
623 InternalGetArenaOffset(
624 ::google::protobuf::Message::internal_visibility()),
625 });
626 if (arena_bits.has_value()) {
627 return ::google::protobuf::internal::MessageCreator::CopyInit(
628 sizeof(PrimalSolutionProto), alignof(PrimalSolutionProto), *arena_bits);
629 } else {
630 return ::google::protobuf::internal::MessageCreator(&PrimalSolutionProto::PlacementNew_,
631 sizeof(PrimalSolutionProto),
632 alignof(PrimalSolutionProto));
633 }
634}
636 return ::google::protobuf::internal::ClassDataFull{
637 ::google::protobuf::internal::ClassData{
639 &_table_.header,
640 nullptr, // OnDemandRegisterArenaDtor
641 nullptr, // IsInitialized
642 &PrimalSolutionProto::MergeImpl,
643 ::google::protobuf::Message::GetNewImpl<PrimalSolutionProto>(),
644#if defined(PROTOBUF_CUSTOM_VTABLE)
645 &PrimalSolutionProto::SharedDtor,
646 ::google::protobuf::Message::GetClearImpl<PrimalSolutionProto>(), &PrimalSolutionProto::ByteSizeLong,
648#endif // PROTOBUF_CUSTOM_VTABLE
649 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_._cached_size_),
650 false,
651 },
652 &PrimalSolutionProto::kDescriptorMethods,
654 nullptr, // tracker
655 };
656}
657
658PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
659 ::google::protobuf::internal::ClassDataFull PrimalSolutionProto_class_data_ =
662PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
663PrimalSolutionProto::GetClassData() const {
664 ::google::protobuf::internal::PrefetchToLocalCache(&PrimalSolutionProto_class_data_);
665 ::google::protobuf::internal::PrefetchToLocalCache(PrimalSolutionProto_class_data_.tc_table);
667}
668PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
669const ::_pbi::TcParseTable<2, 4, 2, 0, 2>
670PrimalSolutionProto::_table_ = {
671 {
672 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_._has_bits_),
673 0, // no _extensions_
674 4, 24, // max_field_number, fast_idx_mask
675 offsetof(decltype(_table_), field_lookup_table),
676 4294967280, // skipmap
677 offsetof(decltype(_table_), field_entries),
678 4, // num_field_entries
679 2, // num_aux_entries
680 offsetof(decltype(_table_), aux_entries),
682 nullptr, // post_loop_handler
683 ::_pbi::TcParser::GenericFallback, // fallback
684 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
685 ::_pbi::TcParser::GetTable<::operations_research::math_opt::PrimalSolutionProto>(), // to_prefetch
686 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
687 }, {{
688 {::_pbi::TcParser::MiniParse, {}},
689 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
690 {::_pbi::TcParser::FastMtS1,
691 {10, 0, 0,
692 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.variable_values_)}},
693 // double objective_value = 2;
694 {::_pbi::TcParser::FastF64S1,
695 {17, 1, 0,
696 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.objective_value_)}},
697 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 3;
698 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(PrimalSolutionProto, _impl_.feasibility_status_), 2>(),
699 {24, 2, 0,
700 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.feasibility_status_)}},
701 }}, {{
702 65535, 65535
703 }}, {{
704 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
705 {PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.variable_values_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
706 // double objective_value = 2;
707 {PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.objective_value_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
708 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 3;
709 {PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.feasibility_status_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
710 // map<int64, double> auxiliary_objective_values = 4;
711 {PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.auxiliary_objective_values_), _Internal::kHasBitsOffset + 3, 1, (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
712 }},
713 {{
714 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
715 {::_pbi::TcParser::GetMapAuxInfo(
716 0, 0, 3, 1, 0)},
717 }},
718 {{
719 }},
720};
721PROTOBUF_NOINLINE void PrimalSolutionProto::Clear() {
722// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.PrimalSolutionProto)
723 ::google::protobuf::internal::TSanWrite(&_impl_);
724 ::uint32_t cached_has_bits = 0;
725 // Prevent compiler warnings about cached_has_bits being unused
726 (void) cached_has_bits;
727
728 cached_has_bits = _impl_._has_bits_[0];
729 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
730 ABSL_DCHECK(_impl_.variable_values_ != nullptr);
731 _impl_.variable_values_->Clear();
732 }
733 if (BatchCheckHasBit(cached_has_bits, 0x0000000eU)) {
734 ::memset(&_impl_.objective_value_, 0, static_cast<::size_t>(
735 reinterpret_cast<char*>(&_impl_.feasibility_status_) -
736 reinterpret_cast<char*>(&_impl_.objective_value_)) + sizeof(_impl_.feasibility_status_));
737 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
738 _impl_.auxiliary_objective_values_.Clear();
739 }
740 }
741 _impl_._has_bits_.Clear();
742 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
743}
744
745#if defined(PROTOBUF_CUSTOM_VTABLE)
746::uint8_t* PROTOBUF_NONNULL PrimalSolutionProto::_InternalSerialize(
747 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
748 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
749 const PrimalSolutionProto& this_ = static_cast<const PrimalSolutionProto&>(base);
750#else // PROTOBUF_CUSTOM_VTABLE
751::uint8_t* PROTOBUF_NONNULL PrimalSolutionProto::_InternalSerialize(
752 ::uint8_t* PROTOBUF_NONNULL target,
753 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
754 const PrimalSolutionProto& this_ = *this;
755#endif // PROTOBUF_CUSTOM_VTABLE
756 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
757 this_.CheckHasBitConsistency();
758 }
759 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.PrimalSolutionProto)
760 ::uint32_t cached_has_bits = 0;
761 (void)cached_has_bits;
762
763 cached_has_bits = this_._impl_._has_bits_[0];
764 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
765 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
766 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
767 1, *this_._impl_.variable_values_, this_._impl_.variable_values_->GetCachedSize(), target,
768 stream);
769 }
770
771 // double objective_value = 2;
772 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
773 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
774 target = stream->EnsureSpace(target);
775 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
776 2, this_._internal_objective_value(), target);
777 }
778 }
779
780 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 3;
781 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
782 if (this_._internal_feasibility_status() != 0) {
783 target = stream->EnsureSpace(target);
784 target = ::_pbi::WireFormatLite::WriteEnumToArray(
785 3, this_._internal_feasibility_status(), target);
786 }
787 }
788
789 // map<int64, double> auxiliary_objective_values = 4;
790 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
791 if (!this_._internal_auxiliary_objective_values().empty()) {
792 using MapType = ::google::protobuf::Map<::int64_t, double>;
793 using WireHelper = _pbi::MapEntryFuncs<::int64_t, double,
794 _pbi::WireFormatLite::TYPE_INT64,
795 _pbi::WireFormatLite::TYPE_DOUBLE>;
796 const auto& field = this_._internal_auxiliary_objective_values();
797
798 if (stream->IsSerializationDeterministic() && field.size() > 1) {
799 for (const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
800 target = WireHelper::InternalSerialize(
801 4, entry.first, entry.second, target, stream);
802 }
803 } else {
804 for (const auto& entry : field) {
805 target = WireHelper::InternalSerialize(
806 4, entry.first, entry.second, target, stream);
807 }
808 }
809 }
810 }
811
812 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
813 target =
814 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
815 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
816 }
817 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.PrimalSolutionProto)
818 return target;
819}
820
821#if defined(PROTOBUF_CUSTOM_VTABLE)
823 const PrimalSolutionProto& this_ = static_cast<const PrimalSolutionProto&>(base);
824#else // PROTOBUF_CUSTOM_VTABLE
825::size_t PrimalSolutionProto::ByteSizeLong() const {
826 const PrimalSolutionProto& this_ = *this;
827#endif // PROTOBUF_CUSTOM_VTABLE
828 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.PrimalSolutionProto)
829 ::size_t total_size = 0;
830
831 ::uint32_t cached_has_bits = 0;
832 // Prevent compiler warnings about cached_has_bits being unused
833 (void)cached_has_bits;
834
835 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
836 cached_has_bits = this_._impl_._has_bits_[0];
837 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
838 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
839 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
840 total_size += 1 +
841 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.variable_values_);
842 }
843 // double objective_value = 2;
844 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
845 if (::absl::bit_cast<::uint64_t>(this_._internal_objective_value()) != 0) {
846 total_size += 9;
847 }
848 }
849 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 3;
850 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
851 if (this_._internal_feasibility_status() != 0) {
852 total_size += 1 +
853 ::_pbi::WireFormatLite::EnumSize(this_._internal_feasibility_status());
854 }
855 }
856 // map<int64, double> auxiliary_objective_values = 4;
857 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
858 total_size +=
859 1 * ::google::protobuf::internal::FromIntSize(this_._internal_auxiliary_objective_values_size());
860 for (const auto& entry : this_._internal_auxiliary_objective_values()) {
861 total_size += _pbi::MapEntryFuncs<::int64_t, double,
862 _pbi::WireFormatLite::TYPE_INT64,
863 _pbi::WireFormatLite::TYPE_DOUBLE>::ByteSizeLong(entry.first, entry.second);
864 }
865 }
866 }
867 return this_.MaybeComputeUnknownFieldsSize(total_size,
868 &this_._impl_._cached_size_);
869}
870
871void PrimalSolutionProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
872 const ::google::protobuf::MessageLite& from_msg) {
873 auto* const _this =
874 static_cast<PrimalSolutionProto*>(&to_msg);
875 auto& from = static_cast<const PrimalSolutionProto&>(from_msg);
876 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
877 from.CheckHasBitConsistency();
878 }
879 ::google::protobuf::Arena* arena = _this->GetArena();
880 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.PrimalSolutionProto)
881 ABSL_DCHECK_NE(&from, _this);
882 ::uint32_t cached_has_bits = 0;
883 (void)cached_has_bits;
884
885 cached_has_bits = from._impl_._has_bits_[0];
886 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
887 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
888 ABSL_DCHECK(from._impl_.variable_values_ != nullptr);
889 if (_this->_impl_.variable_values_ == nullptr) {
890 _this->_impl_.variable_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_);
891 } else {
892 _this->_impl_.variable_values_->MergeFrom(*from._impl_.variable_values_);
893 }
894 }
895 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
896 if (::absl::bit_cast<::uint64_t>(from._internal_objective_value()) != 0) {
897 _this->_impl_.objective_value_ = from._impl_.objective_value_;
898 }
899 }
900 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
901 if (from._internal_feasibility_status() != 0) {
902 _this->_impl_.feasibility_status_ = from._impl_.feasibility_status_;
903 }
904 }
905 if (CheckHasBitForRepeated(cached_has_bits, 0x00000008U)) {
906 _this->_impl_.auxiliary_objective_values_.MergeFrom(from._impl_.auxiliary_objective_values_);
907 }
908 }
909 _this->_impl_._has_bits_[0] |= cached_has_bits;
910 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
911 from._internal_metadata_);
912}
913
915 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.PrimalSolutionProto)
916 if (&from == this) return;
917 Clear();
918 MergeFrom(from);
919}
920
921
922void PrimalSolutionProto::InternalSwap(PrimalSolutionProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
923 using ::std::swap;
924 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
925 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
926 ::google::protobuf::internal::memswap<
927 PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.feasibility_status_)
928 + sizeof(PrimalSolutionProto::_impl_.feasibility_status_)
929 - PROTOBUF_FIELD_OFFSET(PrimalSolutionProto, _impl_.variable_values_)>(
930 reinterpret_cast<char*>(&_impl_.variable_values_),
931 reinterpret_cast<char*>(&other->_impl_.variable_values_));
932 _impl_.auxiliary_objective_values_.InternalSwap(&other->_impl_.auxiliary_objective_values_);
933}
934
935::google::protobuf::Metadata PrimalSolutionProto::GetMetadata() const {
936 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
938// ===================================================================
939
941 public:
942 using HasBits =
943 decltype(::std::declval<PrimalRayProto>()._impl_._has_bits_);
944 static constexpr ::int32_t kHasBitsOffset =
945 8 * PROTOBUF_FIELD_OFFSET(PrimalRayProto, _impl_._has_bits_);
946};
949 ::google::protobuf::internal::TSanWrite(&_impl_);
950 if (_impl_.variable_values_ != nullptr) _impl_.variable_values_->Clear();
951 ClearHasBit(_impl_._has_bits_[0],
952 0x00000001U);
953}
954PrimalRayProto::PrimalRayProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
955#if defined(PROTOBUF_CUSTOM_VTABLE)
956 : ::google::protobuf::Message(arena, PrimalRayProto_class_data_.base()) {
957#else // PROTOBUF_CUSTOM_VTABLE
958 : ::google::protobuf::Message(arena) {
959#endif // PROTOBUF_CUSTOM_VTABLE
960 SharedCtor(arena);
961 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.PrimalRayProto)
962}
963PROTOBUF_NDEBUG_INLINE PrimalRayProto::Impl_::Impl_(
964 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
965 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
966 [[maybe_unused]] const ::operations_research::math_opt::PrimalRayProto& from_msg)
967 : _has_bits_{from._has_bits_},
968 _cached_size_{0} {}
969
971 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
972 const PrimalRayProto& from)
973#if defined(PROTOBUF_CUSTOM_VTABLE)
974 : ::google::protobuf::Message(arena, PrimalRayProto_class_data_.base()) {
975#else // PROTOBUF_CUSTOM_VTABLE
976 : ::google::protobuf::Message(arena) {
977#endif // PROTOBUF_CUSTOM_VTABLE
978 PrimalRayProto* const _this = this;
979 (void)_this;
980 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
981 from._internal_metadata_);
982 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
983 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
984 _impl_.variable_values_ = (CheckHasBit(cached_has_bits, 0x00000001U))
985 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_)
986 : nullptr;
987
988 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.PrimalRayProto)
989}
990PROTOBUF_NDEBUG_INLINE PrimalRayProto::Impl_::Impl_(
991 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
992 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
993 : _cached_size_{0} {}
994
995inline void PrimalRayProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
996 new (&_impl_) Impl_(internal_visibility(), arena);
997 _impl_.variable_values_ = {};
998}
1000 // @@protoc_insertion_point(destructor:operations_research.math_opt.PrimalRayProto)
1001 SharedDtor(*this);
1003inline void PrimalRayProto::SharedDtor(MessageLite& self) {
1004 PrimalRayProto& this_ = static_cast<PrimalRayProto&>(self);
1005 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1006 this_.CheckHasBitConsistency();
1007 }
1008 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1009 ABSL_DCHECK(this_.GetArena() == nullptr);
1010 delete this_._impl_.variable_values_;
1011 this_._impl_.~Impl_();
1012}
1013
1014inline void* PROTOBUF_NONNULL PrimalRayProto::PlacementNew_(
1015 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1016 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1017 return ::new (mem) PrimalRayProto(arena);
1018}
1019constexpr auto PrimalRayProto::InternalNewImpl_() {
1020 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(PrimalRayProto),
1021 alignof(PrimalRayProto));
1022}
1024 return ::google::protobuf::internal::ClassDataFull{
1025 ::google::protobuf::internal::ClassData{
1027 &_table_.header,
1028 nullptr, // OnDemandRegisterArenaDtor
1029 nullptr, // IsInitialized
1030 &PrimalRayProto::MergeImpl,
1031 ::google::protobuf::Message::GetNewImpl<PrimalRayProto>(),
1032#if defined(PROTOBUF_CUSTOM_VTABLE)
1033 &PrimalRayProto::SharedDtor,
1034 ::google::protobuf::Message::GetClearImpl<PrimalRayProto>(), &PrimalRayProto::ByteSizeLong,
1036#endif // PROTOBUF_CUSTOM_VTABLE
1037 PROTOBUF_FIELD_OFFSET(PrimalRayProto, _impl_._cached_size_),
1038 false,
1039 },
1040 &PrimalRayProto::kDescriptorMethods,
1042 nullptr, // tracker
1043 };
1044}
1045
1046PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1047 ::google::protobuf::internal::ClassDataFull PrimalRayProto_class_data_ =
1049
1050PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1051PrimalRayProto::GetClassData() const {
1052 ::google::protobuf::internal::PrefetchToLocalCache(&PrimalRayProto_class_data_);
1053 ::google::protobuf::internal::PrefetchToLocalCache(PrimalRayProto_class_data_.tc_table);
1054 return PrimalRayProto_class_data_.base();
1055}
1056PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1057const ::_pbi::TcParseTable<0, 1, 1, 0, 2>
1058PrimalRayProto::_table_ = {
1059 {
1060 PROTOBUF_FIELD_OFFSET(PrimalRayProto, _impl_._has_bits_),
1061 0, // no _extensions_
1062 1, 0, // max_field_number, fast_idx_mask
1063 offsetof(decltype(_table_), field_lookup_table),
1064 4294967294, // skipmap
1065 offsetof(decltype(_table_), field_entries),
1066 1, // num_field_entries
1067 1, // num_aux_entries
1068 offsetof(decltype(_table_), aux_entries),
1070 nullptr, // post_loop_handler
1071 ::_pbi::TcParser::GenericFallback, // fallback
1072 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1073 ::_pbi::TcParser::GetTable<::operations_research::math_opt::PrimalRayProto>(), // to_prefetch
1074 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1075 }, {{
1076 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
1077 {::_pbi::TcParser::FastMtS1,
1078 {10, 0, 0,
1079 PROTOBUF_FIELD_OFFSET(PrimalRayProto, _impl_.variable_values_)}},
1080 }}, {{
1081 65535, 65535
1082 }}, {{
1083 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
1084 {PROTOBUF_FIELD_OFFSET(PrimalRayProto, _impl_.variable_values_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1085 }},
1086 {{
1087 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1088 }},
1089 {{
1090 }},
1091};
1092PROTOBUF_NOINLINE void PrimalRayProto::Clear() {
1093// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.PrimalRayProto)
1094 ::google::protobuf::internal::TSanWrite(&_impl_);
1095 ::uint32_t cached_has_bits = 0;
1096 // Prevent compiler warnings about cached_has_bits being unused
1097 (void) cached_has_bits;
1098
1099 cached_has_bits = _impl_._has_bits_[0];
1100 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1101 ABSL_DCHECK(_impl_.variable_values_ != nullptr);
1102 _impl_.variable_values_->Clear();
1103 }
1104 _impl_._has_bits_.Clear();
1105 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1106}
1107
1108#if defined(PROTOBUF_CUSTOM_VTABLE)
1109::uint8_t* PROTOBUF_NONNULL PrimalRayProto::_InternalSerialize(
1110 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1111 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1112 const PrimalRayProto& this_ = static_cast<const PrimalRayProto&>(base);
1113#else // PROTOBUF_CUSTOM_VTABLE
1114::uint8_t* PROTOBUF_NONNULL PrimalRayProto::_InternalSerialize(
1115 ::uint8_t* PROTOBUF_NONNULL target,
1116 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1117 const PrimalRayProto& this_ = *this;
1118#endif // PROTOBUF_CUSTOM_VTABLE
1119 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1120 this_.CheckHasBitConsistency();
1121 }
1122 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.PrimalRayProto)
1123 ::uint32_t cached_has_bits = 0;
1124 (void)cached_has_bits;
1125
1126 cached_has_bits = this_._impl_._has_bits_[0];
1127 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
1128 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1129 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1130 1, *this_._impl_.variable_values_, this_._impl_.variable_values_->GetCachedSize(), target,
1131 stream);
1132 }
1133
1134 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1135 target =
1136 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1137 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1138 }
1139 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.PrimalRayProto)
1140 return target;
1141}
1142
1143#if defined(PROTOBUF_CUSTOM_VTABLE)
1144::size_t PrimalRayProto::ByteSizeLong(const MessageLite& base) {
1145 const PrimalRayProto& this_ = static_cast<const PrimalRayProto&>(base);
1146#else // PROTOBUF_CUSTOM_VTABLE
1147::size_t PrimalRayProto::ByteSizeLong() const {
1148 const PrimalRayProto& this_ = *this;
1149#endif // PROTOBUF_CUSTOM_VTABLE
1150 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.PrimalRayProto)
1151 ::size_t total_size = 0;
1152
1153 ::uint32_t cached_has_bits = 0;
1154 // Prevent compiler warnings about cached_has_bits being unused
1155 (void)cached_has_bits;
1156
1157 {
1158 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
1159 cached_has_bits = this_._impl_._has_bits_[0];
1160 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1161 total_size += 1 +
1162 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.variable_values_);
1163 }
1164 }
1165 return this_.MaybeComputeUnknownFieldsSize(total_size,
1166 &this_._impl_._cached_size_);
1167}
1168
1169void PrimalRayProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1170 const ::google::protobuf::MessageLite& from_msg) {
1171 auto* const _this =
1172 static_cast<PrimalRayProto*>(&to_msg);
1173 auto& from = static_cast<const PrimalRayProto&>(from_msg);
1174 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1175 from.CheckHasBitConsistency();
1176 }
1177 ::google::protobuf::Arena* arena = _this->GetArena();
1178 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.PrimalRayProto)
1179 ABSL_DCHECK_NE(&from, _this);
1180 ::uint32_t cached_has_bits = 0;
1181 (void)cached_has_bits;
1182
1183 cached_has_bits = from._impl_._has_bits_[0];
1184 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1185 ABSL_DCHECK(from._impl_.variable_values_ != nullptr);
1186 if (_this->_impl_.variable_values_ == nullptr) {
1187 _this->_impl_.variable_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_);
1188 } else {
1189 _this->_impl_.variable_values_->MergeFrom(*from._impl_.variable_values_);
1190 }
1191 }
1192 _this->_impl_._has_bits_[0] |= cached_has_bits;
1193 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1194 from._internal_metadata_);
1195}
1196
1197void PrimalRayProto::CopyFrom(const PrimalRayProto& from) {
1198 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.PrimalRayProto)
1199 if (&from == this) return;
1201 MergeFrom(from);
1202}
1203
1204
1205void PrimalRayProto::InternalSwap(PrimalRayProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1206 using ::std::swap;
1207 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1208 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1209 swap(_impl_.variable_values_, other->_impl_.variable_values_);
1210}
1211
1212::google::protobuf::Metadata PrimalRayProto::GetMetadata() const {
1213 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1214}
1215// ===================================================================
1216
1218 public:
1219 using HasBits =
1220 decltype(::std::declval<DualSolutionProto>()._impl_._has_bits_);
1221 static constexpr ::int32_t kHasBitsOffset =
1222 8 * PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_._has_bits_);
1224
1226 ::google::protobuf::internal::TSanWrite(&_impl_);
1227 if (_impl_.dual_values_ != nullptr) _impl_.dual_values_->Clear();
1228 ClearHasBit(_impl_._has_bits_[0],
1229 0x00000001U);
1230}
1232 ::google::protobuf::internal::TSanWrite(&_impl_);
1233 if (_impl_.quadratic_dual_values_ != nullptr) _impl_.quadratic_dual_values_->Clear();
1234 ClearHasBit(_impl_._has_bits_[0],
1235 0x00000004U);
1236}
1238 ::google::protobuf::internal::TSanWrite(&_impl_);
1239 if (_impl_.reduced_costs_ != nullptr) _impl_.reduced_costs_->Clear();
1240 ClearHasBit(_impl_._has_bits_[0],
1241 0x00000002U);
1242}
1243DualSolutionProto::DualSolutionProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1244#if defined(PROTOBUF_CUSTOM_VTABLE)
1245 : ::google::protobuf::Message(arena, DualSolutionProto_class_data_.base()) {
1246#else // PROTOBUF_CUSTOM_VTABLE
1247 : ::google::protobuf::Message(arena) {
1248#endif // PROTOBUF_CUSTOM_VTABLE
1249 SharedCtor(arena);
1250 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.DualSolutionProto)
1251}
1252PROTOBUF_NDEBUG_INLINE DualSolutionProto::Impl_::Impl_(
1253 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1254 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1255 [[maybe_unused]] const ::operations_research::math_opt::DualSolutionProto& from_msg)
1256 : _has_bits_{from._has_bits_},
1257 _cached_size_{0} {}
1258
1260 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1261 const DualSolutionProto& from)
1262#if defined(PROTOBUF_CUSTOM_VTABLE)
1263 : ::google::protobuf::Message(arena, DualSolutionProto_class_data_.base()) {
1264#else // PROTOBUF_CUSTOM_VTABLE
1265 : ::google::protobuf::Message(arena) {
1266#endif // PROTOBUF_CUSTOM_VTABLE
1267 DualSolutionProto* const _this = this;
1268 (void)_this;
1269 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1270 from._internal_metadata_);
1271 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1272 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1273 _impl_.dual_values_ = (CheckHasBit(cached_has_bits, 0x00000001U))
1274 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_)
1275 : nullptr;
1276 _impl_.reduced_costs_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1277 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.reduced_costs_)
1278 : nullptr;
1279 _impl_.quadratic_dual_values_ = (CheckHasBit(cached_has_bits, 0x00000004U))
1280 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_dual_values_)
1281 : nullptr;
1282 ::memcpy(reinterpret_cast<char*>(&_impl_) +
1283 offsetof(Impl_, objective_value_),
1284 reinterpret_cast<const char*>(&from._impl_) +
1285 offsetof(Impl_, objective_value_),
1286 offsetof(Impl_, feasibility_status_) -
1287 offsetof(Impl_, objective_value_) +
1288 sizeof(Impl_::feasibility_status_));
1289
1290 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.DualSolutionProto)
1291}
1292PROTOBUF_NDEBUG_INLINE DualSolutionProto::Impl_::Impl_(
1293 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1294 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1295 : _cached_size_{0} {}
1296
1297inline void DualSolutionProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1298 new (&_impl_) Impl_(internal_visibility(), arena);
1299 ::memset(reinterpret_cast<char*>(&_impl_) +
1300 offsetof(Impl_, dual_values_),
1301 0,
1302 offsetof(Impl_, feasibility_status_) -
1303 offsetof(Impl_, dual_values_) +
1304 sizeof(Impl_::feasibility_status_));
1305}
1307 // @@protoc_insertion_point(destructor:operations_research.math_opt.DualSolutionProto)
1308 SharedDtor(*this);
1309}
1310inline void DualSolutionProto::SharedDtor(MessageLite& self) {
1311 DualSolutionProto& this_ = static_cast<DualSolutionProto&>(self);
1312 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1313 this_.CheckHasBitConsistency();
1314 }
1315 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1316 ABSL_DCHECK(this_.GetArena() == nullptr);
1317 delete this_._impl_.dual_values_;
1318 delete this_._impl_.reduced_costs_;
1319 delete this_._impl_.quadratic_dual_values_;
1320 this_._impl_.~Impl_();
1321}
1322
1323inline void* PROTOBUF_NONNULL DualSolutionProto::PlacementNew_(
1324 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1325 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1326 return ::new (mem) DualSolutionProto(arena);
1327}
1328constexpr auto DualSolutionProto::InternalNewImpl_() {
1329 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DualSolutionProto),
1330 alignof(DualSolutionProto));
1331}
1333 return ::google::protobuf::internal::ClassDataFull{
1334 ::google::protobuf::internal::ClassData{
1336 &_table_.header,
1337 nullptr, // OnDemandRegisterArenaDtor
1338 nullptr, // IsInitialized
1339 &DualSolutionProto::MergeImpl,
1340 ::google::protobuf::Message::GetNewImpl<DualSolutionProto>(),
1341#if defined(PROTOBUF_CUSTOM_VTABLE)
1342 &DualSolutionProto::SharedDtor,
1343 ::google::protobuf::Message::GetClearImpl<DualSolutionProto>(), &DualSolutionProto::ByteSizeLong,
1345#endif // PROTOBUF_CUSTOM_VTABLE
1346 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_._cached_size_),
1347 false,
1348 },
1349 &DualSolutionProto::kDescriptorMethods,
1351 nullptr, // tracker
1352 };
1353}
1354
1355PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1356 ::google::protobuf::internal::ClassDataFull DualSolutionProto_class_data_ =
1358
1359PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1360DualSolutionProto::GetClassData() const {
1361 ::google::protobuf::internal::PrefetchToLocalCache(&DualSolutionProto_class_data_);
1362 ::google::protobuf::internal::PrefetchToLocalCache(DualSolutionProto_class_data_.tc_table);
1363 return DualSolutionProto_class_data_.base();
1364}
1365PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1366const ::_pbi::TcParseTable<3, 5, 3, 0, 2>
1367DualSolutionProto::_table_ = {
1368 {
1369 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_._has_bits_),
1370 0, // no _extensions_
1371 5, 56, // max_field_number, fast_idx_mask
1372 offsetof(decltype(_table_), field_lookup_table),
1373 4294967264, // skipmap
1374 offsetof(decltype(_table_), field_entries),
1375 5, // num_field_entries
1376 3, // num_aux_entries
1377 offsetof(decltype(_table_), aux_entries),
1379 nullptr, // post_loop_handler
1380 ::_pbi::TcParser::GenericFallback, // fallback
1381 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1382 ::_pbi::TcParser::GetTable<::operations_research::math_opt::DualSolutionProto>(), // to_prefetch
1383 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1384 }, {{
1385 {::_pbi::TcParser::MiniParse, {}},
1386 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1387 {::_pbi::TcParser::FastMtS1,
1388 {10, 0, 0,
1389 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.dual_values_)}},
1390 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1391 {::_pbi::TcParser::FastMtS1,
1392 {18, 1, 1,
1393 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.reduced_costs_)}},
1394 // optional double objective_value = 3;
1395 {::_pbi::TcParser::FastF64S1,
1396 {25, 3, 0,
1397 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.objective_value_)}},
1398 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 4;
1399 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(DualSolutionProto, _impl_.feasibility_status_), 4>(),
1400 {32, 4, 0,
1401 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.feasibility_status_)}},
1402 // .operations_research.math_opt.SparseDoubleVectorProto quadratic_dual_values = 5;
1403 {::_pbi::TcParser::FastMtS1,
1404 {42, 2, 2,
1405 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.quadratic_dual_values_)}},
1406 {::_pbi::TcParser::MiniParse, {}},
1407 {::_pbi::TcParser::MiniParse, {}},
1408 }}, {{
1409 65535, 65535
1410 }}, {{
1411 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1412 {PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.dual_values_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1413 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1414 {PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.reduced_costs_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1415 // optional double objective_value = 3;
1416 {PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.objective_value_), _Internal::kHasBitsOffset + 3, 0, (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1417 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 4;
1418 {PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.feasibility_status_), _Internal::kHasBitsOffset + 4, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
1419 // .operations_research.math_opt.SparseDoubleVectorProto quadratic_dual_values = 5;
1420 {PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.quadratic_dual_values_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1421 }},
1422 {{
1423 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1424 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1425 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1426 }},
1427 {{
1428 }},
1429};
1430PROTOBUF_NOINLINE void DualSolutionProto::Clear() {
1431// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.DualSolutionProto)
1432 ::google::protobuf::internal::TSanWrite(&_impl_);
1433 ::uint32_t cached_has_bits = 0;
1434 // Prevent compiler warnings about cached_has_bits being unused
1435 (void) cached_has_bits;
1436
1437 cached_has_bits = _impl_._has_bits_[0];
1438 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
1439 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1440 ABSL_DCHECK(_impl_.dual_values_ != nullptr);
1441 _impl_.dual_values_->Clear();
1442 }
1443 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1444 ABSL_DCHECK(_impl_.reduced_costs_ != nullptr);
1445 _impl_.reduced_costs_->Clear();
1446 }
1447 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1448 ABSL_DCHECK(_impl_.quadratic_dual_values_ != nullptr);
1449 _impl_.quadratic_dual_values_->Clear();
1450 }
1451 }
1452 if (BatchCheckHasBit(cached_has_bits, 0x00000018U)) {
1453 ::memset(&_impl_.objective_value_, 0, static_cast<::size_t>(
1454 reinterpret_cast<char*>(&_impl_.feasibility_status_) -
1455 reinterpret_cast<char*>(&_impl_.objective_value_)) + sizeof(_impl_.feasibility_status_));
1456 }
1457 _impl_._has_bits_.Clear();
1458 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1459}
1460
1461#if defined(PROTOBUF_CUSTOM_VTABLE)
1462::uint8_t* PROTOBUF_NONNULL DualSolutionProto::_InternalSerialize(
1463 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1464 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1465 const DualSolutionProto& this_ = static_cast<const DualSolutionProto&>(base);
1466#else // PROTOBUF_CUSTOM_VTABLE
1467::uint8_t* PROTOBUF_NONNULL DualSolutionProto::_InternalSerialize(
1468 ::uint8_t* PROTOBUF_NONNULL target,
1469 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1470 const DualSolutionProto& this_ = *this;
1471#endif // PROTOBUF_CUSTOM_VTABLE
1472 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1473 this_.CheckHasBitConsistency();
1474 }
1475 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.DualSolutionProto)
1476 ::uint32_t cached_has_bits = 0;
1477 (void)cached_has_bits;
1478
1479 cached_has_bits = this_._impl_._has_bits_[0];
1480 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1481 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1482 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1483 1, *this_._impl_.dual_values_, this_._impl_.dual_values_->GetCachedSize(), target,
1484 stream);
1485 }
1486
1487 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1488 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1489 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1490 2, *this_._impl_.reduced_costs_, this_._impl_.reduced_costs_->GetCachedSize(), target,
1491 stream);
1492 }
1493
1494 // optional double objective_value = 3;
1495 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1496 target = stream->EnsureSpace(target);
1497 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1498 3, this_._internal_objective_value(), target);
1499 }
1500
1501 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 4;
1502 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1503 if (this_._internal_feasibility_status() != 0) {
1504 target = stream->EnsureSpace(target);
1505 target = ::_pbi::WireFormatLite::WriteEnumToArray(
1506 4, this_._internal_feasibility_status(), target);
1507 }
1508 }
1509
1510 // .operations_research.math_opt.SparseDoubleVectorProto quadratic_dual_values = 5;
1511 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1512 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1513 5, *this_._impl_.quadratic_dual_values_, this_._impl_.quadratic_dual_values_->GetCachedSize(), target,
1514 stream);
1515 }
1516
1517 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1518 target =
1519 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1520 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1521 }
1522 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.DualSolutionProto)
1523 return target;
1524}
1525
1526#if defined(PROTOBUF_CUSTOM_VTABLE)
1527::size_t DualSolutionProto::ByteSizeLong(const MessageLite& base) {
1528 const DualSolutionProto& this_ = static_cast<const DualSolutionProto&>(base);
1529#else // PROTOBUF_CUSTOM_VTABLE
1530::size_t DualSolutionProto::ByteSizeLong() const {
1531 const DualSolutionProto& this_ = *this;
1532#endif // PROTOBUF_CUSTOM_VTABLE
1533 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.DualSolutionProto)
1534 ::size_t total_size = 0;
1535
1536 ::uint32_t cached_has_bits = 0;
1537 // Prevent compiler warnings about cached_has_bits being unused
1538 (void)cached_has_bits;
1539
1540 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1541 cached_has_bits = this_._impl_._has_bits_[0];
1542 total_size += static_cast<bool>(0x00000008U & cached_has_bits) * 9;
1543 if (BatchCheckHasBit(cached_has_bits, 0x00000017U)) {
1544 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1545 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1546 total_size += 1 +
1547 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dual_values_);
1548 }
1549 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1550 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1551 total_size += 1 +
1552 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.reduced_costs_);
1553 }
1554 // .operations_research.math_opt.SparseDoubleVectorProto quadratic_dual_values = 5;
1555 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1556 total_size += 1 +
1557 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.quadratic_dual_values_);
1558 }
1559 // .operations_research.math_opt.SolutionStatusProto feasibility_status = 4;
1560 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1561 if (this_._internal_feasibility_status() != 0) {
1562 total_size += 1 +
1563 ::_pbi::WireFormatLite::EnumSize(this_._internal_feasibility_status());
1564 }
1565 }
1566 }
1567 return this_.MaybeComputeUnknownFieldsSize(total_size,
1568 &this_._impl_._cached_size_);
1569}
1570
1571void DualSolutionProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1572 const ::google::protobuf::MessageLite& from_msg) {
1573 auto* const _this =
1574 static_cast<DualSolutionProto*>(&to_msg);
1575 auto& from = static_cast<const DualSolutionProto&>(from_msg);
1576 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1577 from.CheckHasBitConsistency();
1578 }
1579 ::google::protobuf::Arena* arena = _this->GetArena();
1580 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.DualSolutionProto)
1581 ABSL_DCHECK_NE(&from, _this);
1582 ::uint32_t cached_has_bits = 0;
1583 (void)cached_has_bits;
1584
1585 cached_has_bits = from._impl_._has_bits_[0];
1586 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
1587 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1588 ABSL_DCHECK(from._impl_.dual_values_ != nullptr);
1589 if (_this->_impl_.dual_values_ == nullptr) {
1590 _this->_impl_.dual_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_);
1591 } else {
1592 _this->_impl_.dual_values_->MergeFrom(*from._impl_.dual_values_);
1593 }
1594 }
1595 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1596 ABSL_DCHECK(from._impl_.reduced_costs_ != nullptr);
1597 if (_this->_impl_.reduced_costs_ == nullptr) {
1598 _this->_impl_.reduced_costs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.reduced_costs_);
1599 } else {
1600 _this->_impl_.reduced_costs_->MergeFrom(*from._impl_.reduced_costs_);
1601 }
1602 }
1603 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
1604 ABSL_DCHECK(from._impl_.quadratic_dual_values_ != nullptr);
1605 if (_this->_impl_.quadratic_dual_values_ == nullptr) {
1606 _this->_impl_.quadratic_dual_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_dual_values_);
1607 } else {
1608 _this->_impl_.quadratic_dual_values_->MergeFrom(*from._impl_.quadratic_dual_values_);
1609 }
1610 }
1611 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
1612 _this->_impl_.objective_value_ = from._impl_.objective_value_;
1613 }
1614 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
1615 if (from._internal_feasibility_status() != 0) {
1616 _this->_impl_.feasibility_status_ = from._impl_.feasibility_status_;
1617 }
1618 }
1619 }
1620 _this->_impl_._has_bits_[0] |= cached_has_bits;
1621 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1622 from._internal_metadata_);
1623}
1624
1626 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.DualSolutionProto)
1627 if (&from == this) return;
1628 Clear();
1630}
1631
1632
1633void DualSolutionProto::InternalSwap(DualSolutionProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1634 using ::std::swap;
1635 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1636 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1637 ::google::protobuf::internal::memswap<
1638 PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.feasibility_status_)
1639 + sizeof(DualSolutionProto::_impl_.feasibility_status_)
1640 - PROTOBUF_FIELD_OFFSET(DualSolutionProto, _impl_.dual_values_)>(
1641 reinterpret_cast<char*>(&_impl_.dual_values_),
1642 reinterpret_cast<char*>(&other->_impl_.dual_values_));
1643}
1644
1645::google::protobuf::Metadata DualSolutionProto::GetMetadata() const {
1646 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1647}
1648// ===================================================================
1651 public:
1652 using HasBits =
1653 decltype(::std::declval<DualRayProto>()._impl_._has_bits_);
1654 static constexpr ::int32_t kHasBitsOffset =
1655 8 * PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_._has_bits_);
1656};
1659 ::google::protobuf::internal::TSanWrite(&_impl_);
1660 if (_impl_.dual_values_ != nullptr) _impl_.dual_values_->Clear();
1661 ClearHasBit(_impl_._has_bits_[0],
1662 0x00000001U);
1665 ::google::protobuf::internal::TSanWrite(&_impl_);
1666 if (_impl_.reduced_costs_ != nullptr) _impl_.reduced_costs_->Clear();
1667 ClearHasBit(_impl_._has_bits_[0],
1668 0x00000002U);
1670DualRayProto::DualRayProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1671#if defined(PROTOBUF_CUSTOM_VTABLE)
1672 : ::google::protobuf::Message(arena, DualRayProto_class_data_.base()) {
1673#else // PROTOBUF_CUSTOM_VTABLE
1674 : ::google::protobuf::Message(arena) {
1675#endif // PROTOBUF_CUSTOM_VTABLE
1676 SharedCtor(arena);
1677 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.DualRayProto)
1678}
1679PROTOBUF_NDEBUG_INLINE DualRayProto::Impl_::Impl_(
1680 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1681 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1682 [[maybe_unused]] const ::operations_research::math_opt::DualRayProto& from_msg)
1683 : _has_bits_{from._has_bits_},
1684 _cached_size_{0} {}
1685
1687 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1688 const DualRayProto& from)
1689#if defined(PROTOBUF_CUSTOM_VTABLE)
1690 : ::google::protobuf::Message(arena, DualRayProto_class_data_.base()) {
1691#else // PROTOBUF_CUSTOM_VTABLE
1692 : ::google::protobuf::Message(arena) {
1693#endif // PROTOBUF_CUSTOM_VTABLE
1694 DualRayProto* const _this = this;
1695 (void)_this;
1696 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1697 from._internal_metadata_);
1698 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1699 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1700 _impl_.dual_values_ = (CheckHasBit(cached_has_bits, 0x00000001U))
1701 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_)
1702 : nullptr;
1703 _impl_.reduced_costs_ = (CheckHasBit(cached_has_bits, 0x00000002U))
1704 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.reduced_costs_)
1705 : nullptr;
1706
1707 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.DualRayProto)
1708}
1709PROTOBUF_NDEBUG_INLINE DualRayProto::Impl_::Impl_(
1710 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
1711 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1712 : _cached_size_{0} {}
1713
1714inline void DualRayProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1715 new (&_impl_) Impl_(internal_visibility(), arena);
1716 ::memset(reinterpret_cast<char*>(&_impl_) +
1717 offsetof(Impl_, dual_values_),
1718 0,
1719 offsetof(Impl_, reduced_costs_) -
1720 offsetof(Impl_, dual_values_) +
1721 sizeof(Impl_::reduced_costs_));
1722}
1724 // @@protoc_insertion_point(destructor:operations_research.math_opt.DualRayProto)
1725 SharedDtor(*this);
1726}
1727inline void DualRayProto::SharedDtor(MessageLite& self) {
1728 DualRayProto& this_ = static_cast<DualRayProto&>(self);
1729 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1730 this_.CheckHasBitConsistency();
1731 }
1732 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1733 ABSL_DCHECK(this_.GetArena() == nullptr);
1734 delete this_._impl_.dual_values_;
1735 delete this_._impl_.reduced_costs_;
1736 this_._impl_.~Impl_();
1737}
1738
1739inline void* PROTOBUF_NONNULL DualRayProto::PlacementNew_(
1740 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1741 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1742 return ::new (mem) DualRayProto(arena);
1743}
1744constexpr auto DualRayProto::InternalNewImpl_() {
1745 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DualRayProto),
1746 alignof(DualRayProto));
1747}
1749 return ::google::protobuf::internal::ClassDataFull{
1750 ::google::protobuf::internal::ClassData{
1752 &_table_.header,
1753 nullptr, // OnDemandRegisterArenaDtor
1754 nullptr, // IsInitialized
1755 &DualRayProto::MergeImpl,
1756 ::google::protobuf::Message::GetNewImpl<DualRayProto>(),
1757#if defined(PROTOBUF_CUSTOM_VTABLE)
1758 &DualRayProto::SharedDtor,
1759 ::google::protobuf::Message::GetClearImpl<DualRayProto>(), &DualRayProto::ByteSizeLong,
1761#endif // PROTOBUF_CUSTOM_VTABLE
1762 PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_._cached_size_),
1763 false,
1764 },
1765 &DualRayProto::kDescriptorMethods,
1767 nullptr, // tracker
1768 };
1769}
1770
1771PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1772 ::google::protobuf::internal::ClassDataFull DualRayProto_class_data_ =
1774
1775PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1776DualRayProto::GetClassData() const {
1777 ::google::protobuf::internal::PrefetchToLocalCache(&DualRayProto_class_data_);
1778 ::google::protobuf::internal::PrefetchToLocalCache(DualRayProto_class_data_.tc_table);
1779 return DualRayProto_class_data_.base();
1780}
1781PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1782const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
1783DualRayProto::_table_ = {
1784 {
1785 PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_._has_bits_),
1786 0, // no _extensions_
1787 2, 8, // max_field_number, fast_idx_mask
1788 offsetof(decltype(_table_), field_lookup_table),
1789 4294967292, // skipmap
1790 offsetof(decltype(_table_), field_entries),
1791 2, // num_field_entries
1792 2, // num_aux_entries
1793 offsetof(decltype(_table_), aux_entries),
1795 nullptr, // post_loop_handler
1796 ::_pbi::TcParser::GenericFallback, // fallback
1797 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1798 ::_pbi::TcParser::GetTable<::operations_research::math_opt::DualRayProto>(), // to_prefetch
1799 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1800 }, {{
1801 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1802 {::_pbi::TcParser::FastMtS1,
1803 {18, 1, 1,
1804 PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_.reduced_costs_)}},
1805 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1806 {::_pbi::TcParser::FastMtS1,
1807 {10, 0, 0,
1808 PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_.dual_values_)}},
1809 }}, {{
1810 65535, 65535
1811 }}, {{
1812 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1813 {PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_.dual_values_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1814 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1815 {PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_.reduced_costs_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1816 }},
1817 {{
1818 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1819 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
1820 }},
1821 {{
1822 }},
1823};
1824PROTOBUF_NOINLINE void DualRayProto::Clear() {
1825// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.DualRayProto)
1826 ::google::protobuf::internal::TSanWrite(&_impl_);
1827 ::uint32_t cached_has_bits = 0;
1828 // Prevent compiler warnings about cached_has_bits being unused
1829 (void) cached_has_bits;
1830
1831 cached_has_bits = _impl_._has_bits_[0];
1832 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1833 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1834 ABSL_DCHECK(_impl_.dual_values_ != nullptr);
1835 _impl_.dual_values_->Clear();
1836 }
1837 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1838 ABSL_DCHECK(_impl_.reduced_costs_ != nullptr);
1839 _impl_.reduced_costs_->Clear();
1840 }
1841 }
1842 _impl_._has_bits_.Clear();
1843 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1844}
1845
1846#if defined(PROTOBUF_CUSTOM_VTABLE)
1847::uint8_t* PROTOBUF_NONNULL DualRayProto::_InternalSerialize(
1848 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1849 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1850 const DualRayProto& this_ = static_cast<const DualRayProto&>(base);
1851#else // PROTOBUF_CUSTOM_VTABLE
1852::uint8_t* PROTOBUF_NONNULL DualRayProto::_InternalSerialize(
1853 ::uint8_t* PROTOBUF_NONNULL target,
1854 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1855 const DualRayProto& this_ = *this;
1856#endif // PROTOBUF_CUSTOM_VTABLE
1857 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1858 this_.CheckHasBitConsistency();
1859 }
1860 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.DualRayProto)
1861 ::uint32_t cached_has_bits = 0;
1862 (void)cached_has_bits;
1863
1864 cached_has_bits = this_._impl_._has_bits_[0];
1865 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1866 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1867 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1868 1, *this_._impl_.dual_values_, this_._impl_.dual_values_->GetCachedSize(), target,
1869 stream);
1870 }
1871
1872 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1873 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1874 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1875 2, *this_._impl_.reduced_costs_, this_._impl_.reduced_costs_->GetCachedSize(), target,
1876 stream);
1877 }
1878
1879 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1880 target =
1881 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1882 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1883 }
1884 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.DualRayProto)
1885 return target;
1886}
1887
1888#if defined(PROTOBUF_CUSTOM_VTABLE)
1889::size_t DualRayProto::ByteSizeLong(const MessageLite& base) {
1890 const DualRayProto& this_ = static_cast<const DualRayProto&>(base);
1891#else // PROTOBUF_CUSTOM_VTABLE
1892::size_t DualRayProto::ByteSizeLong() const {
1893 const DualRayProto& this_ = *this;
1894#endif // PROTOBUF_CUSTOM_VTABLE
1895 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.DualRayProto)
1896 ::size_t total_size = 0;
1898 ::uint32_t cached_has_bits = 0;
1899 // Prevent compiler warnings about cached_has_bits being unused
1900 (void)cached_has_bits;
1901
1902 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1903 cached_has_bits = this_._impl_._has_bits_[0];
1904 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1905 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 1;
1906 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1907 total_size += 1 +
1908 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dual_values_);
1909 }
1910 // .operations_research.math_opt.SparseDoubleVectorProto reduced_costs = 2;
1911 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1912 total_size += 1 +
1913 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.reduced_costs_);
1914 }
1915 }
1916 return this_.MaybeComputeUnknownFieldsSize(total_size,
1917 &this_._impl_._cached_size_);
1918}
1919
1920void DualRayProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
1921 const ::google::protobuf::MessageLite& from_msg) {
1922 auto* const _this =
1923 static_cast<DualRayProto*>(&to_msg);
1924 auto& from = static_cast<const DualRayProto&>(from_msg);
1925 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
1926 from.CheckHasBitConsistency();
1927 }
1928 ::google::protobuf::Arena* arena = _this->GetArena();
1929 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.DualRayProto)
1930 ABSL_DCHECK_NE(&from, _this);
1931 ::uint32_t cached_has_bits = 0;
1932 (void)cached_has_bits;
1933
1934 cached_has_bits = from._impl_._has_bits_[0];
1935 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
1936 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
1937 ABSL_DCHECK(from._impl_.dual_values_ != nullptr);
1938 if (_this->_impl_.dual_values_ == nullptr) {
1939 _this->_impl_.dual_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_);
1940 } else {
1941 _this->_impl_.dual_values_->MergeFrom(*from._impl_.dual_values_);
1942 }
1943 }
1944 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
1945 ABSL_DCHECK(from._impl_.reduced_costs_ != nullptr);
1946 if (_this->_impl_.reduced_costs_ == nullptr) {
1947 _this->_impl_.reduced_costs_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.reduced_costs_);
1948 } else {
1949 _this->_impl_.reduced_costs_->MergeFrom(*from._impl_.reduced_costs_);
1950 }
1951 }
1952 }
1953 _this->_impl_._has_bits_[0] |= cached_has_bits;
1954 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1955 from._internal_metadata_);
1956}
1957
1958void DualRayProto::CopyFrom(const DualRayProto& from) {
1959 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.DualRayProto)
1960 if (&from == this) return;
1961 Clear();
1962 MergeFrom(from);
1964
1965
1966void DualRayProto::InternalSwap(DualRayProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1967 using ::std::swap;
1968 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1969 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1970 ::google::protobuf::internal::memswap<
1971 PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_.reduced_costs_)
1972 + sizeof(DualRayProto::_impl_.reduced_costs_)
1973 - PROTOBUF_FIELD_OFFSET(DualRayProto, _impl_.dual_values_)>(
1974 reinterpret_cast<char*>(&_impl_.dual_values_),
1975 reinterpret_cast<char*>(&other->_impl_.dual_values_));
1976}
1977
1978::google::protobuf::Metadata DualRayProto::GetMetadata() const {
1979 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1980}
1981// ===================================================================
1982
1984 public:
1985 using HasBits =
1986 decltype(::std::declval<SparseBasisStatusVector>()._impl_._has_bits_);
1987 static constexpr ::int32_t kHasBitsOffset =
1988 8 * PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_._has_bits_);
1990
1991SparseBasisStatusVector::SparseBasisStatusVector(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1992#if defined(PROTOBUF_CUSTOM_VTABLE)
1993 : ::google::protobuf::Message(arena, SparseBasisStatusVector_class_data_.base()) {
1994#else // PROTOBUF_CUSTOM_VTABLE
1995 : ::google::protobuf::Message(arena) {
1996#endif // PROTOBUF_CUSTOM_VTABLE
1997 SharedCtor(arena);
1998 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SparseBasisStatusVector)
1999}
2000PROTOBUF_NDEBUG_INLINE SparseBasisStatusVector::Impl_::Impl_(
2001 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2002 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2003 [[maybe_unused]] const ::operations_research::math_opt::SparseBasisStatusVector& from_msg)
2004 : _has_bits_{from._has_bits_},
2005 _cached_size_{0},
2006 ids_{visibility, arena, from.ids_},
2007 _ids_cached_byte_size_{0},
2008 values_{visibility, arena, from.values_},
2009 _values_cached_byte_size_{0} {}
2010
2012 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2013 const SparseBasisStatusVector& from)
2014#if defined(PROTOBUF_CUSTOM_VTABLE)
2015 : ::google::protobuf::Message(arena, SparseBasisStatusVector_class_data_.base()) {
2016#else // PROTOBUF_CUSTOM_VTABLE
2017 : ::google::protobuf::Message(arena) {
2018#endif // PROTOBUF_CUSTOM_VTABLE
2019 SparseBasisStatusVector* const _this = this;
2020 (void)_this;
2021 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2022 from._internal_metadata_);
2023 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2024
2025 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SparseBasisStatusVector)
2026}
2027PROTOBUF_NDEBUG_INLINE SparseBasisStatusVector::Impl_::Impl_(
2028 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2029 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2030 : _cached_size_{0},
2031 ids_{visibility, arena},
2032 _ids_cached_byte_size_{0},
2033 values_{visibility, arena},
2034 _values_cached_byte_size_{0} {}
2035
2036inline void SparseBasisStatusVector::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2037 new (&_impl_) Impl_(internal_visibility(), arena);
2038}
2040 // @@protoc_insertion_point(destructor:operations_research.math_opt.SparseBasisStatusVector)
2041 SharedDtor(*this);
2042}
2043inline void SparseBasisStatusVector::SharedDtor(MessageLite& self) {
2044 SparseBasisStatusVector& this_ = static_cast<SparseBasisStatusVector&>(self);
2045 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2046 this_.CheckHasBitConsistency();
2047 }
2048 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2049 ABSL_DCHECK(this_.GetArena() == nullptr);
2050 this_._impl_.~Impl_();
2051}
2052
2053inline void* PROTOBUF_NONNULL SparseBasisStatusVector::PlacementNew_(
2054 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2055 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2056 return ::new (mem) SparseBasisStatusVector(arena);
2057}
2058constexpr auto SparseBasisStatusVector::InternalNewImpl_() {
2059 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2060 PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_.ids_) +
2061 decltype(SparseBasisStatusVector::_impl_.ids_)::
2062 InternalGetArenaOffset(
2063 ::google::protobuf::Message::internal_visibility()),
2064 PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_.values_) +
2065 decltype(SparseBasisStatusVector::_impl_.values_)::
2066 InternalGetArenaOffset(
2067 ::google::protobuf::Message::internal_visibility()),
2068 });
2069 if (arena_bits.has_value()) {
2070 return ::google::protobuf::internal::MessageCreator::ZeroInit(
2071 sizeof(SparseBasisStatusVector), alignof(SparseBasisStatusVector), *arena_bits);
2072 } else {
2073 return ::google::protobuf::internal::MessageCreator(&SparseBasisStatusVector::PlacementNew_,
2074 sizeof(SparseBasisStatusVector),
2075 alignof(SparseBasisStatusVector));
2076 }
2077}
2079 return ::google::protobuf::internal::ClassDataFull{
2080 ::google::protobuf::internal::ClassData{
2082 &_table_.header,
2083 nullptr, // OnDemandRegisterArenaDtor
2084 nullptr, // IsInitialized
2085 &SparseBasisStatusVector::MergeImpl,
2086 ::google::protobuf::Message::GetNewImpl<SparseBasisStatusVector>(),
2087#if defined(PROTOBUF_CUSTOM_VTABLE)
2088 &SparseBasisStatusVector::SharedDtor,
2089 ::google::protobuf::Message::GetClearImpl<SparseBasisStatusVector>(), &SparseBasisStatusVector::ByteSizeLong,
2091#endif // PROTOBUF_CUSTOM_VTABLE
2092 PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_._cached_size_),
2093 false,
2094 },
2095 &SparseBasisStatusVector::kDescriptorMethods,
2097 nullptr, // tracker
2098 };
2099}
2100
2101PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2102 ::google::protobuf::internal::ClassDataFull SparseBasisStatusVector_class_data_ =
2104
2105PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2106SparseBasisStatusVector::GetClassData() const {
2107 ::google::protobuf::internal::PrefetchToLocalCache(&SparseBasisStatusVector_class_data_);
2108 ::google::protobuf::internal::PrefetchToLocalCache(SparseBasisStatusVector_class_data_.tc_table);
2110}
2111PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2112const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
2113SparseBasisStatusVector::_table_ = {
2114 {
2115 PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_._has_bits_),
2116 0, // no _extensions_
2117 2, 8, // max_field_number, fast_idx_mask
2118 offsetof(decltype(_table_), field_lookup_table),
2119 4294967292, // skipmap
2120 offsetof(decltype(_table_), field_entries),
2121 2, // num_field_entries
2122 0, // num_aux_entries
2123 offsetof(decltype(_table_), field_names), // no aux_entries
2125 nullptr, // post_loop_handler
2126 ::_pbi::TcParser::GenericFallback, // fallback
2127 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2128 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseBasisStatusVector>(), // to_prefetch
2129 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2130 }, {{
2131 // repeated .operations_research.math_opt.BasisStatusProto values = 2;
2132 {::_pbi::TcParser::FastV32P1,
2133 {18, 1, 0,
2134 PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_.values_)}},
2135 // repeated int64 ids = 1;
2136 {::_pbi::TcParser::FastV64P1,
2137 {10, 0, 0,
2138 PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_.ids_)}},
2139 }}, {{
2140 65535, 65535
2141 }}, {{
2142 // repeated int64 ids = 1;
2143 {PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_.ids_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
2144 // repeated .operations_research.math_opt.BasisStatusProto values = 2;
2145 {PROTOBUF_FIELD_OFFSET(SparseBasisStatusVector, _impl_.values_), _Internal::kHasBitsOffset + 1, 0, (0 | ::_fl::kFcRepeated | ::_fl::kPackedOpenEnum)},
2146 }},
2147 // no aux_entries
2148 {{
2149 }},
2150};
2151PROTOBUF_NOINLINE void SparseBasisStatusVector::Clear() {
2152// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SparseBasisStatusVector)
2153 ::google::protobuf::internal::TSanWrite(&_impl_);
2154 ::uint32_t cached_has_bits = 0;
2155 // Prevent compiler warnings about cached_has_bits being unused
2156 (void) cached_has_bits;
2158 cached_has_bits = _impl_._has_bits_[0];
2159 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2160 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2161 _impl_.ids_.Clear();
2162 }
2163 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2164 _impl_.values_.Clear();
2165 }
2166 }
2167 _impl_._has_bits_.Clear();
2168 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2169}
2170
2171#if defined(PROTOBUF_CUSTOM_VTABLE)
2172::uint8_t* PROTOBUF_NONNULL SparseBasisStatusVector::_InternalSerialize(
2173 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2174 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2175 const SparseBasisStatusVector& this_ = static_cast<const SparseBasisStatusVector&>(base);
2176#else // PROTOBUF_CUSTOM_VTABLE
2177::uint8_t* PROTOBUF_NONNULL SparseBasisStatusVector::_InternalSerialize(
2178 ::uint8_t* PROTOBUF_NONNULL target,
2179 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2180 const SparseBasisStatusVector& this_ = *this;
2181#endif // PROTOBUF_CUSTOM_VTABLE
2182 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2183 this_.CheckHasBitConsistency();
2184 }
2185 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SparseBasisStatusVector)
2186 ::uint32_t cached_has_bits = 0;
2187 (void)cached_has_bits;
2188
2189 cached_has_bits = this_._impl_._has_bits_[0];
2190 // repeated int64 ids = 1;
2191 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2192 {
2193 int byte_size = this_._impl_._ids_cached_byte_size_.Get();
2194 if (byte_size > 0) {
2195 target = stream->WriteInt64Packed(
2196 1, this_._internal_ids(), byte_size, target);
2197 }
2198 }
2199 }
2200
2201 // repeated .operations_research.math_opt.BasisStatusProto values = 2;
2202 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2203 {
2204 ::size_t byte_size = this_._impl_._values_cached_byte_size_.Get();
2205 if (byte_size > 0) {
2206 target = stream->WriteEnumPacked(
2207 2, this_._internal_values(), byte_size, target);
2208 }
2209 }
2210 }
2211
2212 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2213 target =
2214 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2215 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2216 }
2217 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SparseBasisStatusVector)
2218 return target;
2219}
2220
2221#if defined(PROTOBUF_CUSTOM_VTABLE)
2223 const SparseBasisStatusVector& this_ = static_cast<const SparseBasisStatusVector&>(base);
2224#else // PROTOBUF_CUSTOM_VTABLE
2226 const SparseBasisStatusVector& this_ = *this;
2227#endif // PROTOBUF_CUSTOM_VTABLE
2228 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SparseBasisStatusVector)
2229 ::size_t total_size = 0;
2230
2231 ::uint32_t cached_has_bits = 0;
2232 // Prevent compiler warnings about cached_has_bits being unused
2233 (void)cached_has_bits;
2234
2235 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2236 cached_has_bits = this_._impl_._has_bits_[0];
2237 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2238 // repeated int64 ids = 1;
2239 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2240 total_size +=
2241 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
2242 this_._internal_ids(), 1,
2243 this_._impl_._ids_cached_byte_size_);
2244 }
2245 // repeated .operations_research.math_opt.BasisStatusProto values = 2;
2246 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2247 total_size += ::_pbi::WireFormatLite::EnumSizeWithPackedTagSize(
2248 this_._internal_values(), 1, this_._impl_._values_cached_byte_size_);
2249 }
2250 }
2251 return this_.MaybeComputeUnknownFieldsSize(total_size,
2252 &this_._impl_._cached_size_);
2253}
2254
2255void SparseBasisStatusVector::MergeImpl(::google::protobuf::MessageLite& to_msg,
2256 const ::google::protobuf::MessageLite& from_msg) {
2257 auto* const _this =
2258 static_cast<SparseBasisStatusVector*>(&to_msg);
2259 auto& from = static_cast<const SparseBasisStatusVector&>(from_msg);
2260 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2261 from.CheckHasBitConsistency();
2262 }
2263 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SparseBasisStatusVector)
2264 ABSL_DCHECK_NE(&from, _this);
2265 ::uint32_t cached_has_bits = 0;
2266 (void)cached_has_bits;
2267
2268 cached_has_bits = from._impl_._has_bits_[0];
2269 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2270 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
2271 _this->_internal_mutable_ids()->MergeFrom(from._internal_ids());
2272 }
2273 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
2274 _this->_internal_mutable_values()->MergeFrom(from._internal_values());
2275 }
2276 }
2277 _this->_impl_._has_bits_[0] |= cached_has_bits;
2278 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2279 from._internal_metadata_);
2280}
2281
2282void SparseBasisStatusVector::CopyFrom(const SparseBasisStatusVector& from) {
2283 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SparseBasisStatusVector)
2284 if (&from == this) return;
2285 Clear();
2286 MergeFrom(from);
2287}
2289
2290void SparseBasisStatusVector::InternalSwap(SparseBasisStatusVector* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2291 using ::std::swap;
2292 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2293 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2294 _impl_.ids_.InternalSwap(&other->_impl_.ids_);
2295 _impl_.values_.InternalSwap(&other->_impl_.values_);
2296}
2297
2298::google::protobuf::Metadata SparseBasisStatusVector::GetMetadata() const {
2299 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2300}
2301// ===================================================================
2302
2303class BasisProto::_Internal {
2304 public:
2305 using HasBits =
2306 decltype(::std::declval<BasisProto>()._impl_._has_bits_);
2307 static constexpr ::int32_t kHasBitsOffset =
2308 8 * PROTOBUF_FIELD_OFFSET(BasisProto, _impl_._has_bits_);
2309};
2311BasisProto::BasisProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2312#if defined(PROTOBUF_CUSTOM_VTABLE)
2313 : ::google::protobuf::Message(arena, BasisProto_class_data_.base()) {
2314#else // PROTOBUF_CUSTOM_VTABLE
2315 : ::google::protobuf::Message(arena) {
2316#endif // PROTOBUF_CUSTOM_VTABLE
2317 SharedCtor(arena);
2318 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.BasisProto)
2319}
2320PROTOBUF_NDEBUG_INLINE BasisProto::Impl_::Impl_(
2321 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2322 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2323 [[maybe_unused]] const ::operations_research::math_opt::BasisProto& from_msg)
2324 : _has_bits_{from._has_bits_},
2325 _cached_size_{0} {}
2326
2328 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2329 const BasisProto& from)
2330#if defined(PROTOBUF_CUSTOM_VTABLE)
2331 : ::google::protobuf::Message(arena, BasisProto_class_data_.base()) {
2332#else // PROTOBUF_CUSTOM_VTABLE
2333 : ::google::protobuf::Message(arena) {
2334#endif // PROTOBUF_CUSTOM_VTABLE
2335 BasisProto* const _this = this;
2336 (void)_this;
2337 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2338 from._internal_metadata_);
2339 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2340 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2341 _impl_.constraint_status_ = (CheckHasBit(cached_has_bits, 0x00000001U))
2342 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_status_)
2343 : nullptr;
2344 _impl_.variable_status_ = (CheckHasBit(cached_has_bits, 0x00000002U))
2345 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_status_)
2346 : nullptr;
2347 _impl_.basic_dual_feasibility_ = from._impl_.basic_dual_feasibility_;
2348
2349 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.BasisProto)
2350}
2351PROTOBUF_NDEBUG_INLINE BasisProto::Impl_::Impl_(
2352 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2353 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2354 : _cached_size_{0} {}
2355
2356inline void BasisProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2357 new (&_impl_) Impl_(internal_visibility(), arena);
2358 ::memset(reinterpret_cast<char*>(&_impl_) +
2359 offsetof(Impl_, constraint_status_),
2360 0,
2361 offsetof(Impl_, basic_dual_feasibility_) -
2362 offsetof(Impl_, constraint_status_) +
2363 sizeof(Impl_::basic_dual_feasibility_));
2364}
2366 // @@protoc_insertion_point(destructor:operations_research.math_opt.BasisProto)
2367 SharedDtor(*this);
2368}
2369inline void BasisProto::SharedDtor(MessageLite& self) {
2370 BasisProto& this_ = static_cast<BasisProto&>(self);
2371 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2372 this_.CheckHasBitConsistency();
2373 }
2374 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2375 ABSL_DCHECK(this_.GetArena() == nullptr);
2376 delete this_._impl_.constraint_status_;
2377 delete this_._impl_.variable_status_;
2378 this_._impl_.~Impl_();
2379}
2380
2381inline void* PROTOBUF_NONNULL BasisProto::PlacementNew_(
2382 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2383 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2384 return ::new (mem) BasisProto(arena);
2385}
2386constexpr auto BasisProto::InternalNewImpl_() {
2387 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BasisProto),
2388 alignof(BasisProto));
2389}
2391 return ::google::protobuf::internal::ClassDataFull{
2392 ::google::protobuf::internal::ClassData{
2394 &_table_.header,
2395 nullptr, // OnDemandRegisterArenaDtor
2396 nullptr, // IsInitialized
2397 &BasisProto::MergeImpl,
2398 ::google::protobuf::Message::GetNewImpl<BasisProto>(),
2399#if defined(PROTOBUF_CUSTOM_VTABLE)
2400 &BasisProto::SharedDtor,
2401 ::google::protobuf::Message::GetClearImpl<BasisProto>(), &BasisProto::ByteSizeLong,
2403#endif // PROTOBUF_CUSTOM_VTABLE
2404 PROTOBUF_FIELD_OFFSET(BasisProto, _impl_._cached_size_),
2405 false,
2406 },
2407 &BasisProto::kDescriptorMethods,
2409 nullptr, // tracker
2410 };
2411}
2412
2413PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2414 ::google::protobuf::internal::ClassDataFull BasisProto_class_data_ =
2416
2417PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2418BasisProto::GetClassData() const {
2419 ::google::protobuf::internal::PrefetchToLocalCache(&BasisProto_class_data_);
2420 ::google::protobuf::internal::PrefetchToLocalCache(BasisProto_class_data_.tc_table);
2422}
2423PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2424const ::_pbi::TcParseTable<2, 3, 2, 0, 2>
2425BasisProto::_table_ = {
2426 {
2427 PROTOBUF_FIELD_OFFSET(BasisProto, _impl_._has_bits_),
2428 0, // no _extensions_
2429 3, 24, // max_field_number, fast_idx_mask
2430 offsetof(decltype(_table_), field_lookup_table),
2431 4294967288, // skipmap
2432 offsetof(decltype(_table_), field_entries),
2433 3, // num_field_entries
2434 2, // num_aux_entries
2435 offsetof(decltype(_table_), aux_entries),
2437 nullptr, // post_loop_handler
2438 ::_pbi::TcParser::GenericFallback, // fallback
2439 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2440 ::_pbi::TcParser::GetTable<::operations_research::math_opt::BasisProto>(), // to_prefetch
2441 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2442 }, {{
2443 {::_pbi::TcParser::MiniParse, {}},
2444 // .operations_research.math_opt.SparseBasisStatusVector constraint_status = 1;
2445 {::_pbi::TcParser::FastMtS1,
2446 {10, 0, 0,
2447 PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.constraint_status_)}},
2448 // .operations_research.math_opt.SparseBasisStatusVector variable_status = 2;
2449 {::_pbi::TcParser::FastMtS1,
2450 {18, 1, 1,
2451 PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.variable_status_)}},
2452 // .operations_research.math_opt.SolutionStatusProto basic_dual_feasibility = 3;
2453 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BasisProto, _impl_.basic_dual_feasibility_), 2>(),
2454 {24, 2, 0,
2455 PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.basic_dual_feasibility_)}},
2456 }}, {{
2457 65535, 65535
2458 }}, {{
2459 // .operations_research.math_opt.SparseBasisStatusVector constraint_status = 1;
2460 {PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.constraint_status_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2461 // .operations_research.math_opt.SparseBasisStatusVector variable_status = 2;
2462 {PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.variable_status_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2463 // .operations_research.math_opt.SolutionStatusProto basic_dual_feasibility = 3;
2464 {PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.basic_dual_feasibility_), _Internal::kHasBitsOffset + 2, 0, (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)},
2465 }},
2466 {{
2467 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseBasisStatusVector>()},
2468 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseBasisStatusVector>()},
2469 }},
2470 {{
2471 }},
2472};
2473PROTOBUF_NOINLINE void BasisProto::Clear() {
2474// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.BasisProto)
2475 ::google::protobuf::internal::TSanWrite(&_impl_);
2476 ::uint32_t cached_has_bits = 0;
2477 // Prevent compiler warnings about cached_has_bits being unused
2478 (void) cached_has_bits;
2479
2480 cached_has_bits = _impl_._has_bits_[0];
2481 if (BatchCheckHasBit(cached_has_bits, 0x00000003U)) {
2482 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2483 ABSL_DCHECK(_impl_.constraint_status_ != nullptr);
2484 _impl_.constraint_status_->Clear();
2485 }
2486 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2487 ABSL_DCHECK(_impl_.variable_status_ != nullptr);
2488 _impl_.variable_status_->Clear();
2489 }
2490 }
2491 _impl_.basic_dual_feasibility_ = 0;
2492 _impl_._has_bits_.Clear();
2493 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2494}
2495
2496#if defined(PROTOBUF_CUSTOM_VTABLE)
2497::uint8_t* PROTOBUF_NONNULL BasisProto::_InternalSerialize(
2498 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2499 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2500 const BasisProto& this_ = static_cast<const BasisProto&>(base);
2501#else // PROTOBUF_CUSTOM_VTABLE
2502::uint8_t* PROTOBUF_NONNULL BasisProto::_InternalSerialize(
2503 ::uint8_t* PROTOBUF_NONNULL target,
2504 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2505 const BasisProto& this_ = *this;
2506#endif // PROTOBUF_CUSTOM_VTABLE
2507 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2508 this_.CheckHasBitConsistency();
2510 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.BasisProto)
2511 ::uint32_t cached_has_bits = 0;
2512 (void)cached_has_bits;
2513
2514 cached_has_bits = this_._impl_._has_bits_[0];
2515 // .operations_research.math_opt.SparseBasisStatusVector constraint_status = 1;
2516 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2517 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2518 1, *this_._impl_.constraint_status_, this_._impl_.constraint_status_->GetCachedSize(), target,
2519 stream);
2520 }
2521
2522 // .operations_research.math_opt.SparseBasisStatusVector variable_status = 2;
2523 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2524 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2525 2, *this_._impl_.variable_status_, this_._impl_.variable_status_->GetCachedSize(), target,
2526 stream);
2527 }
2528
2529 // .operations_research.math_opt.SolutionStatusProto basic_dual_feasibility = 3;
2530 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2531 if (this_._internal_basic_dual_feasibility() != 0) {
2532 target = stream->EnsureSpace(target);
2533 target = ::_pbi::WireFormatLite::WriteEnumToArray(
2534 3, this_._internal_basic_dual_feasibility(), target);
2535 }
2536 }
2537
2538 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2539 target =
2540 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2541 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2542 }
2543 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.BasisProto)
2544 return target;
2545}
2546
2547#if defined(PROTOBUF_CUSTOM_VTABLE)
2548::size_t BasisProto::ByteSizeLong(const MessageLite& base) {
2549 const BasisProto& this_ = static_cast<const BasisProto&>(base);
2550#else // PROTOBUF_CUSTOM_VTABLE
2551::size_t BasisProto::ByteSizeLong() const {
2552 const BasisProto& this_ = *this;
2553#endif // PROTOBUF_CUSTOM_VTABLE
2554 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.BasisProto)
2555 ::size_t total_size = 0;
2556
2557 ::uint32_t cached_has_bits = 0;
2558 // Prevent compiler warnings about cached_has_bits being unused
2559 (void)cached_has_bits;
2560
2561 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2562 cached_has_bits = this_._impl_._has_bits_[0];
2563 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2564 // .operations_research.math_opt.SparseBasisStatusVector constraint_status = 1;
2565 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2566 total_size += 1 +
2567 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_status_);
2568 }
2569 // .operations_research.math_opt.SparseBasisStatusVector variable_status = 2;
2570 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2571 total_size += 1 +
2572 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.variable_status_);
2573 }
2574 // .operations_research.math_opt.SolutionStatusProto basic_dual_feasibility = 3;
2575 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2576 if (this_._internal_basic_dual_feasibility() != 0) {
2577 total_size += 1 +
2578 ::_pbi::WireFormatLite::EnumSize(this_._internal_basic_dual_feasibility());
2579 }
2580 }
2581 }
2582 return this_.MaybeComputeUnknownFieldsSize(total_size,
2583 &this_._impl_._cached_size_);
2584}
2585
2586void BasisProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2587 const ::google::protobuf::MessageLite& from_msg) {
2588 auto* const _this =
2589 static_cast<BasisProto*>(&to_msg);
2590 auto& from = static_cast<const BasisProto&>(from_msg);
2591 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2592 from.CheckHasBitConsistency();
2593 }
2594 ::google::protobuf::Arena* arena = _this->GetArena();
2595 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.BasisProto)
2596 ABSL_DCHECK_NE(&from, _this);
2597 ::uint32_t cached_has_bits = 0;
2598 (void)cached_has_bits;
2599
2600 cached_has_bits = from._impl_._has_bits_[0];
2601 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2602 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2603 ABSL_DCHECK(from._impl_.constraint_status_ != nullptr);
2604 if (_this->_impl_.constraint_status_ == nullptr) {
2605 _this->_impl_.constraint_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_status_);
2606 } else {
2607 _this->_impl_.constraint_status_->MergeFrom(*from._impl_.constraint_status_);
2608 }
2609 }
2610 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2611 ABSL_DCHECK(from._impl_.variable_status_ != nullptr);
2612 if (_this->_impl_.variable_status_ == nullptr) {
2613 _this->_impl_.variable_status_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_status_);
2614 } else {
2615 _this->_impl_.variable_status_->MergeFrom(*from._impl_.variable_status_);
2616 }
2617 }
2618 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2619 if (from._internal_basic_dual_feasibility() != 0) {
2620 _this->_impl_.basic_dual_feasibility_ = from._impl_.basic_dual_feasibility_;
2621 }
2622 }
2623 }
2624 _this->_impl_._has_bits_[0] |= cached_has_bits;
2625 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2626 from._internal_metadata_);
2627}
2628
2629void BasisProto::CopyFrom(const BasisProto& from) {
2630 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.BasisProto)
2631 if (&from == this) return;
2632 Clear();
2633 MergeFrom(from);
2634}
2635
2637void BasisProto::InternalSwap(BasisProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2638 using ::std::swap;
2639 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2640 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2641 ::google::protobuf::internal::memswap<
2642 PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.basic_dual_feasibility_)
2643 + sizeof(BasisProto::_impl_.basic_dual_feasibility_)
2644 - PROTOBUF_FIELD_OFFSET(BasisProto, _impl_.constraint_status_)>(
2645 reinterpret_cast<char*>(&_impl_.constraint_status_),
2646 reinterpret_cast<char*>(&other->_impl_.constraint_status_));
2647}
2648
2649::google::protobuf::Metadata BasisProto::GetMetadata() const {
2650 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2651}
2652// ===================================================================
2653
2654class SolutionProto::_Internal {
2655 public:
2656 using HasBits =
2657 decltype(::std::declval<SolutionProto>()._impl_._has_bits_);
2658 static constexpr ::int32_t kHasBitsOffset =
2659 8 * PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_._has_bits_);
2660};
2661
2662SolutionProto::SolutionProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2663#if defined(PROTOBUF_CUSTOM_VTABLE)
2664 : ::google::protobuf::Message(arena, SolutionProto_class_data_.base()) {
2665#else // PROTOBUF_CUSTOM_VTABLE
2666 : ::google::protobuf::Message(arena) {
2667#endif // PROTOBUF_CUSTOM_VTABLE
2668 SharedCtor(arena);
2669 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolutionProto)
2670}
2671PROTOBUF_NDEBUG_INLINE SolutionProto::Impl_::Impl_(
2672 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2673 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2674 [[maybe_unused]] const ::operations_research::math_opt::SolutionProto& from_msg)
2675 : _has_bits_{from._has_bits_},
2676 _cached_size_{0} {}
2677
2679 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2680 const SolutionProto& from)
2681#if defined(PROTOBUF_CUSTOM_VTABLE)
2682 : ::google::protobuf::Message(arena, SolutionProto_class_data_.base()) {
2683#else // PROTOBUF_CUSTOM_VTABLE
2684 : ::google::protobuf::Message(arena) {
2685#endif // PROTOBUF_CUSTOM_VTABLE
2686 SolutionProto* const _this = this;
2687 (void)_this;
2688 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2689 from._internal_metadata_);
2690 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2691 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
2692 _impl_.primal_solution_ = (CheckHasBit(cached_has_bits, 0x00000001U))
2693 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primal_solution_)
2694 : nullptr;
2695 _impl_.dual_solution_ = (CheckHasBit(cached_has_bits, 0x00000002U))
2696 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_solution_)
2697 : nullptr;
2698 _impl_.basis_ = (CheckHasBit(cached_has_bits, 0x00000004U))
2699 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.basis_)
2700 : nullptr;
2701
2702 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolutionProto)
2703}
2704PROTOBUF_NDEBUG_INLINE SolutionProto::Impl_::Impl_(
2705 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
2706 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2707 : _cached_size_{0} {}
2708
2709inline void SolutionProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2710 new (&_impl_) Impl_(internal_visibility(), arena);
2711 ::memset(reinterpret_cast<char*>(&_impl_) +
2712 offsetof(Impl_, primal_solution_),
2713 0,
2714 offsetof(Impl_, basis_) -
2715 offsetof(Impl_, primal_solution_) +
2716 sizeof(Impl_::basis_));
2717}
2719 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolutionProto)
2720 SharedDtor(*this);
2721}
2722inline void SolutionProto::SharedDtor(MessageLite& self) {
2723 SolutionProto& this_ = static_cast<SolutionProto&>(self);
2724 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2725 this_.CheckHasBitConsistency();
2727 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2728 ABSL_DCHECK(this_.GetArena() == nullptr);
2729 delete this_._impl_.primal_solution_;
2730 delete this_._impl_.dual_solution_;
2731 delete this_._impl_.basis_;
2732 this_._impl_.~Impl_();
2733}
2734
2735inline void* PROTOBUF_NONNULL SolutionProto::PlacementNew_(
2736 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2737 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2738 return ::new (mem) SolutionProto(arena);
2739}
2740constexpr auto SolutionProto::InternalNewImpl_() {
2741 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SolutionProto),
2742 alignof(SolutionProto));
2743}
2745 return ::google::protobuf::internal::ClassDataFull{
2746 ::google::protobuf::internal::ClassData{
2748 &_table_.header,
2749 nullptr, // OnDemandRegisterArenaDtor
2750 nullptr, // IsInitialized
2751 &SolutionProto::MergeImpl,
2752 ::google::protobuf::Message::GetNewImpl<SolutionProto>(),
2753#if defined(PROTOBUF_CUSTOM_VTABLE)
2754 &SolutionProto::SharedDtor,
2755 ::google::protobuf::Message::GetClearImpl<SolutionProto>(), &SolutionProto::ByteSizeLong,
2757#endif // PROTOBUF_CUSTOM_VTABLE
2758 PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_._cached_size_),
2759 false,
2760 },
2761 &SolutionProto::kDescriptorMethods,
2763 nullptr, // tracker
2764 };
2765}
2766
2767PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2768 ::google::protobuf::internal::ClassDataFull SolutionProto_class_data_ =
2770
2771PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2772SolutionProto::GetClassData() const {
2773 ::google::protobuf::internal::PrefetchToLocalCache(&SolutionProto_class_data_);
2774 ::google::protobuf::internal::PrefetchToLocalCache(SolutionProto_class_data_.tc_table);
2775 return SolutionProto_class_data_.base();
2777PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2778const ::_pbi::TcParseTable<2, 3, 3, 0, 2>
2779SolutionProto::_table_ = {
2780 {
2781 PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_._has_bits_),
2782 0, // no _extensions_
2783 3, 24, // max_field_number, fast_idx_mask
2784 offsetof(decltype(_table_), field_lookup_table),
2785 4294967288, // skipmap
2786 offsetof(decltype(_table_), field_entries),
2787 3, // num_field_entries
2788 3, // num_aux_entries
2789 offsetof(decltype(_table_), aux_entries),
2791 nullptr, // post_loop_handler
2792 ::_pbi::TcParser::GenericFallback, // fallback
2793 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2794 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolutionProto>(), // to_prefetch
2795 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
2796 }, {{
2797 {::_pbi::TcParser::MiniParse, {}},
2798 // optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;
2799 {::_pbi::TcParser::FastMtS1,
2800 {10, 0, 0,
2801 PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.primal_solution_)}},
2802 // optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;
2803 {::_pbi::TcParser::FastMtS1,
2804 {18, 1, 1,
2805 PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.dual_solution_)}},
2806 // optional .operations_research.math_opt.BasisProto basis = 3;
2807 {::_pbi::TcParser::FastMtS1,
2808 {26, 2, 2,
2809 PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.basis_)}},
2810 }}, {{
2811 65535, 65535
2812 }}, {{
2813 // optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;
2814 {PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.primal_solution_), _Internal::kHasBitsOffset + 0, 0, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2815 // optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;
2816 {PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.dual_solution_), _Internal::kHasBitsOffset + 1, 1, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2817 // optional .operations_research.math_opt.BasisProto basis = 3;
2818 {PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.basis_), _Internal::kHasBitsOffset + 2, 2, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2819 }},
2820 {{
2821 {::_pbi::TcParser::GetTable<::operations_research::math_opt::PrimalSolutionProto>()},
2822 {::_pbi::TcParser::GetTable<::operations_research::math_opt::DualSolutionProto>()},
2823 {::_pbi::TcParser::GetTable<::operations_research::math_opt::BasisProto>()},
2824 }},
2825 {{
2826 }},
2827};
2828PROTOBUF_NOINLINE void SolutionProto::Clear() {
2829// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolutionProto)
2830 ::google::protobuf::internal::TSanWrite(&_impl_);
2831 ::uint32_t cached_has_bits = 0;
2832 // Prevent compiler warnings about cached_has_bits being unused
2833 (void) cached_has_bits;
2834
2835 cached_has_bits = _impl_._has_bits_[0];
2836 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2837 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2838 ABSL_DCHECK(_impl_.primal_solution_ != nullptr);
2839 _impl_.primal_solution_->Clear();
2840 }
2841 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2842 ABSL_DCHECK(_impl_.dual_solution_ != nullptr);
2843 _impl_.dual_solution_->Clear();
2844 }
2845 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2846 ABSL_DCHECK(_impl_.basis_ != nullptr);
2847 _impl_.basis_->Clear();
2848 }
2849 }
2850 _impl_._has_bits_.Clear();
2851 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2852}
2853
2854#if defined(PROTOBUF_CUSTOM_VTABLE)
2855::uint8_t* PROTOBUF_NONNULL SolutionProto::_InternalSerialize(
2856 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2857 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2858 const SolutionProto& this_ = static_cast<const SolutionProto&>(base);
2859#else // PROTOBUF_CUSTOM_VTABLE
2860::uint8_t* PROTOBUF_NONNULL SolutionProto::_InternalSerialize(
2861 ::uint8_t* PROTOBUF_NONNULL target,
2862 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2863 const SolutionProto& this_ = *this;
2864#endif // PROTOBUF_CUSTOM_VTABLE
2865 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2866 this_.CheckHasBitConsistency();
2867 }
2868 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolutionProto)
2869 ::uint32_t cached_has_bits = 0;
2870 (void)cached_has_bits;
2871
2872 cached_has_bits = this_._impl_._has_bits_[0];
2873 // optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;
2874 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2875 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2876 1, *this_._impl_.primal_solution_, this_._impl_.primal_solution_->GetCachedSize(), target,
2877 stream);
2878 }
2879
2880 // optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;
2881 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2882 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2883 2, *this_._impl_.dual_solution_, this_._impl_.dual_solution_->GetCachedSize(), target,
2884 stream);
2885 }
2886
2887 // optional .operations_research.math_opt.BasisProto basis = 3;
2888 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2889 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2890 3, *this_._impl_.basis_, this_._impl_.basis_->GetCachedSize(), target,
2891 stream);
2892 }
2893
2894 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2895 target =
2896 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2897 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2898 }
2899 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolutionProto)
2900 return target;
2901}
2902
2903#if defined(PROTOBUF_CUSTOM_VTABLE)
2904::size_t SolutionProto::ByteSizeLong(const MessageLite& base) {
2905 const SolutionProto& this_ = static_cast<const SolutionProto&>(base);
2906#else // PROTOBUF_CUSTOM_VTABLE
2907::size_t SolutionProto::ByteSizeLong() const {
2908 const SolutionProto& this_ = *this;
2909#endif // PROTOBUF_CUSTOM_VTABLE
2910 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolutionProto)
2911 ::size_t total_size = 0;
2912
2913 ::uint32_t cached_has_bits = 0;
2914 // Prevent compiler warnings about cached_has_bits being unused
2915 (void)cached_has_bits;
2916
2917 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2918 cached_has_bits = this_._impl_._has_bits_[0];
2919 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2920 // optional .operations_research.math_opt.PrimalSolutionProto primal_solution = 1;
2921 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2922 total_size += 1 +
2923 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primal_solution_);
2924 }
2925 // optional .operations_research.math_opt.DualSolutionProto dual_solution = 2;
2926 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2927 total_size += 1 +
2928 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dual_solution_);
2929 }
2930 // optional .operations_research.math_opt.BasisProto basis = 3;
2931 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2932 total_size += 1 +
2933 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.basis_);
2934 }
2935 }
2936 return this_.MaybeComputeUnknownFieldsSize(total_size,
2937 &this_._impl_._cached_size_);
2938}
2939
2940void SolutionProto::MergeImpl(::google::protobuf::MessageLite& to_msg,
2941 const ::google::protobuf::MessageLite& from_msg) {
2942 auto* const _this =
2943 static_cast<SolutionProto*>(&to_msg);
2944 auto& from = static_cast<const SolutionProto&>(from_msg);
2945 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
2946 from.CheckHasBitConsistency();
2947 }
2948 ::google::protobuf::Arena* arena = _this->GetArena();
2949 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolutionProto)
2950 ABSL_DCHECK_NE(&from, _this);
2951 ::uint32_t cached_has_bits = 0;
2952 (void)cached_has_bits;
2953
2954 cached_has_bits = from._impl_._has_bits_[0];
2955 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
2956 if (CheckHasBit(cached_has_bits, 0x00000001U)) {
2957 ABSL_DCHECK(from._impl_.primal_solution_ != nullptr);
2958 if (_this->_impl_.primal_solution_ == nullptr) {
2959 _this->_impl_.primal_solution_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primal_solution_);
2960 } else {
2961 _this->_impl_.primal_solution_->MergeFrom(*from._impl_.primal_solution_);
2962 }
2963 }
2964 if (CheckHasBit(cached_has_bits, 0x00000002U)) {
2965 ABSL_DCHECK(from._impl_.dual_solution_ != nullptr);
2966 if (_this->_impl_.dual_solution_ == nullptr) {
2967 _this->_impl_.dual_solution_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_solution_);
2968 } else {
2969 _this->_impl_.dual_solution_->MergeFrom(*from._impl_.dual_solution_);
2970 }
2971 }
2972 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
2973 ABSL_DCHECK(from._impl_.basis_ != nullptr);
2974 if (_this->_impl_.basis_ == nullptr) {
2975 _this->_impl_.basis_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.basis_);
2976 } else {
2977 _this->_impl_.basis_->MergeFrom(*from._impl_.basis_);
2978 }
2979 }
2980 }
2981 _this->_impl_._has_bits_[0] |= cached_has_bits;
2982 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2983 from._internal_metadata_);
2984}
2985
2986void SolutionProto::CopyFrom(const SolutionProto& from) {
2987 // @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolutionProto)
2988 if (&from == this) return;
2989 Clear();
2990 MergeFrom(from);
2991}
2992
2993
2994void SolutionProto::InternalSwap(SolutionProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2995 using ::std::swap;
2996 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2997 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2998 ::google::protobuf::internal::memswap<
2999 PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.basis_)
3000 + sizeof(SolutionProto::_impl_.basis_)
3001 - PROTOBUF_FIELD_OFFSET(SolutionProto, _impl_.primal_solution_)>(
3002 reinterpret_cast<char*>(&_impl_.primal_solution_),
3003 reinterpret_cast<char*>(&other->_impl_.primal_solution_));
3004}
3005
3006::google::protobuf::Metadata SolutionProto::GetMetadata() const {
3007 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3008}
3009// @@protoc_insertion_point(namespace_scope)
3010} // namespace math_opt
3011} // namespace operations_research
3012namespace google {
3013namespace protobuf {
3014} // namespace protobuf
3015} // namespace google
3016// @@protoc_insertion_point(global_scope)
3017PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3018 _static_init2_ [[maybe_unused]] =
3020 ::std::false_type{});
3021#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
friend class ::google::protobuf::MessageLite
void MergeFrom(const BasisProto &from)
static constexpr auto InternalGenerateClassData_()
::google::protobuf::Metadata GetMetadata() const
friend void swap(BasisProto &a, BasisProto &b)
void CopyFrom(const BasisProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
friend void swap(DualRayProto &a, DualRayProto &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const DualRayProto &from)
void CopyFrom(const DualRayProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::Arena
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
void MergeFrom(const DualSolutionProto &from)
void CopyFrom(const DualSolutionProto &from)
friend void swap(DualSolutionProto &a, DualSolutionProto &b)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
void CopyFrom(const PrimalRayProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const PrimalRayProto &from)
friend void swap(PrimalRayProto &a, PrimalRayProto &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
decltype(::std::declval< PrimalSolutionProto >()._impl_._has_bits_) HasBits
::google::protobuf::internal::MapEntry<::int64_t, double, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE > SuperType
friend class ::google::protobuf::MessageLite
friend void swap(PrimalSolutionProto &a, PrimalSolutionProto &b)
void CopyFrom(const PrimalSolutionProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const PrimalSolutionProto &from)
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const SolutionProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const SolutionProto &from)
friend void swap(SolutionProto &a, SolutionProto &b)
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::Arena
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const SparseBasisStatusVector &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void CopyFrom(const SparseBasisStatusVector &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINIT const uint32_t BasisStatusProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PrimalRayProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BasisProtoDefaultTypeInternal _BasisProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PrimalSolutionProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseBasisStatusVectorDefaultTypeInternal _SparseBasisStatusVector_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL BasisStatusProto_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUseDefaultTypeInternal _PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PrimalSolutionProto_AuxiliaryObjectiveValuesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT const uint32_t SolutionStatusProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull BasisProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DualSolutionProtoDefaultTypeInternal _DualSolutionProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DualRayProto_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SolutionStatusProto_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolutionProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalSolutionProtoDefaultTypeInternal _PrimalSolutionProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SparseBasisStatusVector_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalRayProtoDefaultTypeInternal _PrimalRayProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DualRayProtoDefaultTypeInternal _DualRayProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DualSolutionProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolutionProtoDefaultTypeInternal _SolutionProto_default_instance_
OR-Tools root namespace.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto_once
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto_deps[1]
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolution_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolution_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolution_2eproto[2]
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto