Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model_parameters.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/model_parameters.proto
4// Protobuf C++ Version: 6.31.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 SolutionHintProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 variable_values_{nullptr},
34 dual_values_{nullptr} {}
35
36template <typename>
37PROTOBUF_CONSTEXPR SolutionHintProto::SolutionHintProto(::_pbi::ConstantInitialized)
38#if defined(PROTOBUF_CUSTOM_VTABLE)
39 : ::google::protobuf::Message(SolutionHintProto_class_data_.base()),
40#else // PROTOBUF_CUSTOM_VTABLE
41 : ::google::protobuf::Message(),
42#endif // PROTOBUF_CUSTOM_VTABLE
43 _impl_(::_pbi::ConstantInitialized()) {
44}
52
53PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
55
56inline constexpr ObjectiveParametersProto::Impl_::Impl_(
57 ::_pbi::ConstantInitialized) noexcept
58 : _cached_size_{0},
59 time_limit_{nullptr},
60 objective_degradation_absolute_tolerance_{0},
61 objective_degradation_relative_tolerance_{0} {}
62
63template <typename>
64PROTOBUF_CONSTEXPR ObjectiveParametersProto::ObjectiveParametersProto(::_pbi::ConstantInitialized)
65#if defined(PROTOBUF_CUSTOM_VTABLE)
66 : ::google::protobuf::Message(ObjectiveParametersProto_class_data_.base()),
67#else // PROTOBUF_CUSTOM_VTABLE
68 : ::google::protobuf::Message(),
69#endif // PROTOBUF_CUSTOM_VTABLE
70 _impl_(::_pbi::ConstantInitialized()) {
71}
79
80PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
82template <typename>
84#if defined(PROTOBUF_CUSTOM_VTABLE)
85 : ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::MapEntry(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_.base()){}
86#else // PROTOBUF_CUSTOM_VTABLE
87 : ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::MapEntry() {
88}
89#endif // PROTOBUF_CUSTOM_VTABLE
97
98PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
100
101inline constexpr ModelSolveParametersProto::Impl_::Impl_(
102 ::_pbi::ConstantInitialized) noexcept
103 : _cached_size_{0},
104 solution_hints_{},
105 auxiliary_objective_parameters_{},
106 lazy_linear_constraint_ids_{},
107 _lazy_linear_constraint_ids_cached_byte_size_{0},
108 variable_values_filter_{nullptr},
109 dual_values_filter_{nullptr},
110 reduced_costs_filter_{nullptr},
111 initial_basis_{nullptr},
112 branching_priorities_{nullptr},
113 primary_objective_parameters_{nullptr},
114 quadratic_dual_values_filter_{nullptr} {}
115
116template <typename>
117PROTOBUF_CONSTEXPR ModelSolveParametersProto::ModelSolveParametersProto(::_pbi::ConstantInitialized)
118#if defined(PROTOBUF_CUSTOM_VTABLE)
119 : ::google::protobuf::Message(ModelSolveParametersProto_class_data_.base()),
120#else // PROTOBUF_CUSTOM_VTABLE
121 : ::google::protobuf::Message(),
122#endif // PROTOBUF_CUSTOM_VTABLE
123 _impl_(::_pbi::ConstantInitialized()) {
124}
132
133PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
135} // namespace math_opt
136} // namespace operations_research
137static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
139static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
141const ::uint32_t
143 protodesc_cold) = {
144 0x081, // bitmap
145 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionHintProto, _impl_._has_bits_),
146 5, // hasbit index offset
147 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionHintProto, _impl_.variable_values_),
148 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::SolutionHintProto, _impl_.dual_values_),
149 0,
150 1,
151 0x081, // bitmap
152 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveParametersProto, _impl_._has_bits_),
153 6, // hasbit index offset
154 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveParametersProto, _impl_.objective_degradation_absolute_tolerance_),
155 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveParametersProto, _impl_.objective_degradation_relative_tolerance_),
156 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ObjectiveParametersProto, _impl_.time_limit_),
157 1,
158 2,
159 0,
160 0x081, // bitmap
162 5, // hasbit index offset
165 0,
166 1,
167 0x081, // bitmap
168 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_._has_bits_),
169 13, // hasbit index offset
170 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.variable_values_filter_),
171 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.dual_values_filter_),
172 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.quadratic_dual_values_filter_),
173 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.reduced_costs_filter_),
174 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.initial_basis_),
175 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.solution_hints_),
176 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.branching_priorities_),
177 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.primary_objective_parameters_),
178 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.auxiliary_objective_parameters_),
179 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::ModelSolveParametersProto, _impl_.lazy_linear_constraint_ids_),
180 0,
181 1,
182 6,
183 2,
184 3,
185 ~0u,
186 4,
187 5,
188 ~0u,
189 ~0u,
190};
191
192static const ::_pbi::MigrationSchema
193 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
198};
205const char descriptor_table_protodef_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
206 protodesc_cold) = {
207 "\n\'ortools/math_opt/model_parameters.prot"
208 "o\022\034operations_research.math_opt\032\036google/"
209 "protobuf/duration.proto\032\037ortools/math_op"
210 "t/solution.proto\032(ortools/math_opt/spars"
211 "e_containers.proto\"\257\001\n\021SolutionHintProto"
212 "\022N\n\017variable_values\030\001 \001(\01325.operations_r"
213 "esearch.math_opt.SparseDoubleVectorProto"
214 "\022J\n\013dual_values\030\002 \001(\01325.operations_resea"
215 "rch.math_opt.SparseDoubleVectorProto\"\221\002\n"
216 "\030ObjectiveParametersProto\0225\n(objective_d"
217 "egradation_absolute_tolerance\030\007 \001(\001H\000\210\001\001"
218 "\0225\n(objective_degradation_relative_toler"
219 "ance\030\010 \001(\001H\001\210\001\001\022-\n\ntime_limit\030\t \001(\0132\031.go"
220 "ogle.protobuf.DurationB+\n)_objective_deg"
221 "radation_absolute_toleranceB+\n)_objectiv"
222 "e_degradation_relative_tolerance\"\330\007\n\031Mod"
223 "elSolveParametersProto\022U\n\026variable_value"
224 "s_filter\030\001 \001(\01325.operations_research.mat"
225 "h_opt.SparseVectorFilterProto\022Q\n\022dual_va"
226 "lues_filter\030\002 \001(\01325.operations_research."
227 "math_opt.SparseVectorFilterProto\022[\n\034quad"
228 "ratic_dual_values_filter\030\n \001(\01325.operati"
229 "ons_research.math_opt.SparseVectorFilter"
230 "Proto\022S\n\024reduced_costs_filter\030\003 \001(\01325.op"
231 "erations_research.math_opt.SparseVectorF"
232 "ilterProto\022\?\n\rinitial_basis\030\004 \001(\0132(.oper"
233 "ations_research.math_opt.BasisProto\022G\n\016s"
234 "olution_hints\030\005 \003(\0132/.operations_researc"
235 "h.math_opt.SolutionHintProto\022R\n\024branchin"
236 "g_priorities\030\006 \001(\01324.operations_research"
237 ".math_opt.SparseInt32VectorProto\022\\\n\034prim"
238 "ary_objective_parameters\030\007 \001(\01326.operati"
239 "ons_research.math_opt.ObjectiveParameter"
240 "sProto\022\201\001\n\036auxiliary_objective_parameter"
241 "s\030\010 \003(\0132Y.operations_research.math_opt.M"
242 "odelSolveParametersProto.AuxiliaryObject"
243 "iveParametersEntry\022\"\n\032lazy_linear_constr"
244 "aint_ids\030\t \003(\003\032{\n!AuxiliaryObjectivePara"
245 "metersEntry\022\013\n\003key\030\001 \001(\003\022E\n\005value\030\002 \001(\0132"
246 "6.operations_research.math_opt.Objective"
247 "ParametersProto:\0028\001B\036\n\032com.google.ortool"
248 "s.mathoptP\001b\006proto3"
249};
250static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL const
273namespace operations_research {
274namespace math_opt {
275// ===================================================================
276
278 public:
279 using HasBits =
280 decltype(::std::declval<SolutionHintProto>()._impl_._has_bits_);
281 static constexpr ::int32_t kHasBitsOffset =
282 8 * PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_._has_bits_);
283};
284
286 ::google::protobuf::internal::TSanWrite(&_impl_);
287 if (_impl_.variable_values_ != nullptr) _impl_.variable_values_->Clear();
288 _impl_._has_bits_[0] &= ~0x00000001u;
289}
291 ::google::protobuf::internal::TSanWrite(&_impl_);
292 if (_impl_.dual_values_ != nullptr) _impl_.dual_values_->Clear();
293 _impl_._has_bits_[0] &= ~0x00000002u;
294}
295SolutionHintProto::SolutionHintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
296#if defined(PROTOBUF_CUSTOM_VTABLE)
297 : ::google::protobuf::Message(arena, SolutionHintProto_class_data_.base()) {
298#else // PROTOBUF_CUSTOM_VTABLE
299 : ::google::protobuf::Message(arena) {
300#endif // PROTOBUF_CUSTOM_VTABLE
301 SharedCtor(arena);
302 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.SolutionHintProto)
303}
304PROTOBUF_NDEBUG_INLINE SolutionHintProto::Impl_::Impl_(
305 ::google::protobuf::internal::InternalVisibility visibility,
306 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
307 const ::operations_research::math_opt::SolutionHintProto& from_msg)
308 : _has_bits_{from._has_bits_},
309 _cached_size_{0} {}
310
312 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
313 const SolutionHintProto& from)
314#if defined(PROTOBUF_CUSTOM_VTABLE)
315 : ::google::protobuf::Message(arena, SolutionHintProto_class_data_.base()) {
316#else // PROTOBUF_CUSTOM_VTABLE
317 : ::google::protobuf::Message(arena) {
318#endif // PROTOBUF_CUSTOM_VTABLE
319 SolutionHintProto* const _this = this;
320 (void)_this;
321 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
322 from._internal_metadata_);
323 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
324 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
325 _impl_.variable_values_ = ((cached_has_bits & 0x00000001u) != 0)
326 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_)
327 : nullptr;
328 _impl_.dual_values_ = ((cached_has_bits & 0x00000002u) != 0)
329 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_)
330 : nullptr;
331
332 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.SolutionHintProto)
333}
334PROTOBUF_NDEBUG_INLINE SolutionHintProto::Impl_::Impl_(
335 ::google::protobuf::internal::InternalVisibility visibility,
336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
337 : _cached_size_{0} {}
338
339inline void SolutionHintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
340 new (&_impl_) Impl_(internal_visibility(), arena);
341 ::memset(reinterpret_cast<char *>(&_impl_) +
342 offsetof(Impl_, variable_values_),
343 0,
344 offsetof(Impl_, dual_values_) -
345 offsetof(Impl_, variable_values_) +
346 sizeof(Impl_::dual_values_));
347}
349 // @@protoc_insertion_point(destructor:operations_research.math_opt.SolutionHintProto)
350 SharedDtor(*this);
351}
352inline void SolutionHintProto::SharedDtor(MessageLite& self) {
353 SolutionHintProto& this_ = static_cast<SolutionHintProto&>(self);
354 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
355 ABSL_DCHECK(this_.GetArena() == nullptr);
356 delete this_._impl_.variable_values_;
357 delete this_._impl_.dual_values_;
358 this_._impl_.~Impl_();
359}
360
361inline void* PROTOBUF_NONNULL SolutionHintProto::PlacementNew_(
362 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
363 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
364 return ::new (mem) SolutionHintProto(arena);
365}
367 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SolutionHintProto),
368 alignof(SolutionHintProto));
369}
371 return ::google::protobuf::internal::ClassDataFull{
372 ::google::protobuf::internal::ClassData{
374 &_table_.header,
375 nullptr, // OnDemandRegisterArenaDtor
376 nullptr, // IsInitialized
377 &SolutionHintProto::MergeImpl,
378 ::google::protobuf::Message::GetNewImpl<SolutionHintProto>(),
379#if defined(PROTOBUF_CUSTOM_VTABLE)
380 &SolutionHintProto::SharedDtor,
381 ::google::protobuf::Message::GetClearImpl<SolutionHintProto>(), &SolutionHintProto::ByteSizeLong,
383#endif // PROTOBUF_CUSTOM_VTABLE
384 PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_._cached_size_),
385 false,
386 },
387 &SolutionHintProto::kDescriptorMethods,
389 nullptr, // tracker
390 };
391}
392
393PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
394 ::google::protobuf::internal::ClassDataFull SolutionHintProto_class_data_ =
396
397PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
399 ::google::protobuf::internal::PrefetchToLocalCache(&SolutionHintProto_class_data_);
400 ::google::protobuf::internal::PrefetchToLocalCache(SolutionHintProto_class_data_.tc_table);
401 return SolutionHintProto_class_data_.base();
402}
403PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
404const ::_pbi::TcParseTable<1, 2, 2, 0, 2>
405SolutionHintProto::_table_ = {
406 {
407 PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_._has_bits_),
408 0, // no _extensions_
409 2, 8, // max_field_number, fast_idx_mask
410 offsetof(decltype(_table_), field_lookup_table),
411 4294967292, // skipmap
412 offsetof(decltype(_table_), field_entries),
413 2, // num_field_entries
414 2, // num_aux_entries
415 offsetof(decltype(_table_), aux_entries),
417 nullptr, // post_loop_handler
418 ::_pbi::TcParser::GenericFallback, // fallback
419 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
420 ::_pbi::TcParser::GetTable<::operations_research::math_opt::SolutionHintProto>(), // to_prefetch
421 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
422 }, {{
423 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 2;
424 {::_pbi::TcParser::FastMtS1,
425 {18, 1, 1, PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_.dual_values_)}},
426 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
427 {::_pbi::TcParser::FastMtS1,
428 {10, 0, 0, PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_.variable_values_)}},
429 }}, {{
430 65535, 65535
431 }}, {{
432 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
433 {PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_.variable_values_), _Internal::kHasBitsOffset + 0, 0,
434 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
435 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 2;
436 {PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_.dual_values_), _Internal::kHasBitsOffset + 1, 1,
437 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
438 }},
439 {{
440 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
441 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseDoubleVectorProto>()},
442 }},
443 {{
444 }},
445};
446PROTOBUF_NOINLINE void SolutionHintProto::Clear() {
447// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.SolutionHintProto)
448 ::google::protobuf::internal::TSanWrite(&_impl_);
449 ::uint32_t cached_has_bits = 0;
450 // Prevent compiler warnings about cached_has_bits being unused
451 (void) cached_has_bits;
452
453 cached_has_bits = _impl_._has_bits_[0];
454 if ((cached_has_bits & 0x00000003u) != 0) {
455 if ((cached_has_bits & 0x00000001u) != 0) {
456 ABSL_DCHECK(_impl_.variable_values_ != nullptr);
457 _impl_.variable_values_->Clear();
458 }
459 if ((cached_has_bits & 0x00000002u) != 0) {
460 ABSL_DCHECK(_impl_.dual_values_ != nullptr);
461 _impl_.dual_values_->Clear();
462 }
463 }
464 _impl_._has_bits_.Clear();
465 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
466}
467
468#if defined(PROTOBUF_CUSTOM_VTABLE)
469::uint8_t* PROTOBUF_NONNULL SolutionHintProto::_InternalSerialize(
470 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
471 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
472 const SolutionHintProto& this_ = static_cast<const SolutionHintProto&>(base);
473#else // PROTOBUF_CUSTOM_VTABLE
474::uint8_t* PROTOBUF_NONNULL SolutionHintProto::_InternalSerialize(
475 ::uint8_t* PROTOBUF_NONNULL target,
476 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
477 const SolutionHintProto& this_ = *this;
478#endif // PROTOBUF_CUSTOM_VTABLE
479 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.SolutionHintProto)
480 ::uint32_t cached_has_bits = 0;
481 (void)cached_has_bits;
482
483 cached_has_bits = this_._impl_._has_bits_[0];
484 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
485 if ((cached_has_bits & 0x00000001u) != 0) {
486 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
487 1, *this_._impl_.variable_values_, this_._impl_.variable_values_->GetCachedSize(), target,
488 stream);
489 }
490
491 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 2;
492 if ((cached_has_bits & 0x00000002u) != 0) {
493 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
494 2, *this_._impl_.dual_values_, this_._impl_.dual_values_->GetCachedSize(), target,
495 stream);
496 }
497
498 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
499 target =
500 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
501 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
502 }
503 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.SolutionHintProto)
504 return target;
505}
506
507#if defined(PROTOBUF_CUSTOM_VTABLE)
509 const SolutionHintProto& this_ = static_cast<const SolutionHintProto&>(base);
510#else // PROTOBUF_CUSTOM_VTABLE
511::size_t SolutionHintProto::ByteSizeLong() const {
512 const SolutionHintProto& this_ = *this;
513#endif // PROTOBUF_CUSTOM_VTABLE
514 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.SolutionHintProto)
515 ::size_t total_size = 0;
516
517 ::uint32_t cached_has_bits = 0;
518 // Prevent compiler warnings about cached_has_bits being unused
519 (void)cached_has_bits;
520
521 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
522 cached_has_bits = this_._impl_._has_bits_[0];
523 if ((cached_has_bits & 0x00000003u) != 0) {
524 // .operations_research.math_opt.SparseDoubleVectorProto variable_values = 1;
525 if ((cached_has_bits & 0x00000001u) != 0) {
526 total_size += 1 +
527 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.variable_values_);
528 }
529 // .operations_research.math_opt.SparseDoubleVectorProto dual_values = 2;
530 if ((cached_has_bits & 0x00000002u) != 0) {
531 total_size += 1 +
532 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dual_values_);
533 }
534 }
535 return this_.MaybeComputeUnknownFieldsSize(total_size,
536 &this_._impl_._cached_size_);
537}
538
539void SolutionHintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
540 auto* const _this = static_cast<SolutionHintProto*>(&to_msg);
541 auto& from = static_cast<const SolutionHintProto&>(from_msg);
542 ::google::protobuf::Arena* arena = _this->GetArena();
543 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.SolutionHintProto)
544 ABSL_DCHECK_NE(&from, _this);
545 ::uint32_t cached_has_bits = 0;
546 (void) cached_has_bits;
547
548 cached_has_bits = from._impl_._has_bits_[0];
549 if ((cached_has_bits & 0x00000003u) != 0) {
550 if ((cached_has_bits & 0x00000001u) != 0) {
551 ABSL_DCHECK(from._impl_.variable_values_ != nullptr);
552 if (_this->_impl_.variable_values_ == nullptr) {
553 _this->_impl_.variable_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_);
554 } else {
555 _this->_impl_.variable_values_->MergeFrom(*from._impl_.variable_values_);
556 }
557 }
558 if ((cached_has_bits & 0x00000002u) != 0) {
559 ABSL_DCHECK(from._impl_.dual_values_ != nullptr);
560 if (_this->_impl_.dual_values_ == nullptr) {
561 _this->_impl_.dual_values_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_);
562 } else {
563 _this->_impl_.dual_values_->MergeFrom(*from._impl_.dual_values_);
564 }
565 }
566 }
567 _this->_impl_._has_bits_[0] |= cached_has_bits;
568 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
569}
570
572// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.SolutionHintProto)
573 if (&from == this) return;
574 Clear();
575 MergeFrom(from);
576}
577
578
579void SolutionHintProto::InternalSwap(SolutionHintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
580 using ::std::swap;
581 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
582 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
583 ::google::protobuf::internal::memswap<
584 PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_.dual_values_)
585 + sizeof(SolutionHintProto::_impl_.dual_values_)
586 - PROTOBUF_FIELD_OFFSET(SolutionHintProto, _impl_.variable_values_)>(
587 reinterpret_cast<char*>(&_impl_.variable_values_),
588 reinterpret_cast<char*>(&other->_impl_.variable_values_));
589}
590
591::google::protobuf::Metadata SolutionHintProto::GetMetadata() const {
592 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
593}
594// ===================================================================
595
597 public:
598 using HasBits =
599 decltype(::std::declval<ObjectiveParametersProto>()._impl_._has_bits_);
600 static constexpr ::int32_t kHasBitsOffset =
601 8 * PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_._has_bits_);
603
605 ::google::protobuf::internal::TSanWrite(&_impl_);
606 if (_impl_.time_limit_ != nullptr) _impl_.time_limit_->Clear();
607 _impl_._has_bits_[0] &= ~0x00000001u;
608}
609ObjectiveParametersProto::ObjectiveParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
610#if defined(PROTOBUF_CUSTOM_VTABLE)
611 : ::google::protobuf::Message(arena, ObjectiveParametersProto_class_data_.base()) {
612#else // PROTOBUF_CUSTOM_VTABLE
613 : ::google::protobuf::Message(arena) {
614#endif // PROTOBUF_CUSTOM_VTABLE
615 SharedCtor(arena);
616 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ObjectiveParametersProto)
617}
618PROTOBUF_NDEBUG_INLINE ObjectiveParametersProto::Impl_::Impl_(
619 ::google::protobuf::internal::InternalVisibility visibility,
620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
621 const ::operations_research::math_opt::ObjectiveParametersProto& from_msg)
622 : _has_bits_{from._has_bits_},
623 _cached_size_{0} {}
624
626 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
628#if defined(PROTOBUF_CUSTOM_VTABLE)
629 : ::google::protobuf::Message(arena, ObjectiveParametersProto_class_data_.base()) {
630#else // PROTOBUF_CUSTOM_VTABLE
631 : ::google::protobuf::Message(arena) {
632#endif // PROTOBUF_CUSTOM_VTABLE
633 ObjectiveParametersProto* const _this = this;
634 (void)_this;
635 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
636 from._internal_metadata_);
637 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
638 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
639 _impl_.time_limit_ = ((cached_has_bits & 0x00000001u) != 0)
640 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.time_limit_)
641 : nullptr;
642 ::memcpy(reinterpret_cast<char *>(&_impl_) +
643 offsetof(Impl_, objective_degradation_absolute_tolerance_),
644 reinterpret_cast<const char *>(&from._impl_) +
645 offsetof(Impl_, objective_degradation_absolute_tolerance_),
646 offsetof(Impl_, objective_degradation_relative_tolerance_) -
647 offsetof(Impl_, objective_degradation_absolute_tolerance_) +
648 sizeof(Impl_::objective_degradation_relative_tolerance_));
649
650 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.ObjectiveParametersProto)
651}
652PROTOBUF_NDEBUG_INLINE ObjectiveParametersProto::Impl_::Impl_(
653 ::google::protobuf::internal::InternalVisibility visibility,
654 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
655 : _cached_size_{0} {}
656
657inline void ObjectiveParametersProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
658 new (&_impl_) Impl_(internal_visibility(), arena);
659 ::memset(reinterpret_cast<char *>(&_impl_) +
660 offsetof(Impl_, time_limit_),
661 0,
662 offsetof(Impl_, objective_degradation_relative_tolerance_) -
663 offsetof(Impl_, time_limit_) +
664 sizeof(Impl_::objective_degradation_relative_tolerance_));
665}
667 // @@protoc_insertion_point(destructor:operations_research.math_opt.ObjectiveParametersProto)
668 SharedDtor(*this);
669}
670inline void ObjectiveParametersProto::SharedDtor(MessageLite& self) {
671 ObjectiveParametersProto& this_ = static_cast<ObjectiveParametersProto&>(self);
672 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
673 ABSL_DCHECK(this_.GetArena() == nullptr);
674 delete this_._impl_.time_limit_;
675 this_._impl_.~Impl_();
676}
677
678inline void* PROTOBUF_NONNULL ObjectiveParametersProto::PlacementNew_(
679 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
680 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
681 return ::new (mem) ObjectiveParametersProto(arena);
682}
684 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ObjectiveParametersProto),
686}
688 return ::google::protobuf::internal::ClassDataFull{
689 ::google::protobuf::internal::ClassData{
691 &_table_.header,
692 nullptr, // OnDemandRegisterArenaDtor
693 nullptr, // IsInitialized
694 &ObjectiveParametersProto::MergeImpl,
695 ::google::protobuf::Message::GetNewImpl<ObjectiveParametersProto>(),
696#if defined(PROTOBUF_CUSTOM_VTABLE)
697 &ObjectiveParametersProto::SharedDtor,
698 ::google::protobuf::Message::GetClearImpl<ObjectiveParametersProto>(), &ObjectiveParametersProto::ByteSizeLong,
700#endif // PROTOBUF_CUSTOM_VTABLE
701 PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_._cached_size_),
702 false,
703 },
704 &ObjectiveParametersProto::kDescriptorMethods,
706 nullptr, // tracker
707 };
708}
709
710PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
711 ::google::protobuf::internal::ClassDataFull ObjectiveParametersProto_class_data_ =
714PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
716 ::google::protobuf::internal::PrefetchToLocalCache(&ObjectiveParametersProto_class_data_);
717 ::google::protobuf::internal::PrefetchToLocalCache(ObjectiveParametersProto_class_data_.tc_table);
719}
720PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
721const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
722ObjectiveParametersProto::_table_ = {
723 {
724 PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_._has_bits_),
725 0, // no _extensions_
726 9, 24, // max_field_number, fast_idx_mask
727 offsetof(decltype(_table_), field_lookup_table),
728 4294966847, // skipmap
729 offsetof(decltype(_table_), field_entries),
730 3, // num_field_entries
731 1, // num_aux_entries
732 offsetof(decltype(_table_), aux_entries),
734 nullptr, // post_loop_handler
735 ::_pbi::TcParser::GenericFallback, // fallback
736 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
737 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveParametersProto>(), // to_prefetch
738 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
739 }, {{
740 // optional double objective_degradation_relative_tolerance = 8;
741 {::_pbi::TcParser::FastF64S1,
742 {65, 2, 0, PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.objective_degradation_relative_tolerance_)}},
743 // .google.protobuf.Duration time_limit = 9;
744 {::_pbi::TcParser::FastMtS1,
745 {74, 0, 0, PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.time_limit_)}},
746 {::_pbi::TcParser::MiniParse, {}},
747 // optional double objective_degradation_absolute_tolerance = 7;
748 {::_pbi::TcParser::FastF64S1,
749 {57, 1, 0, PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.objective_degradation_absolute_tolerance_)}},
750 }}, {{
751 65535, 65535
752 }}, {{
753 // optional double objective_degradation_absolute_tolerance = 7;
754 {PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.objective_degradation_absolute_tolerance_), _Internal::kHasBitsOffset + 1, 0,
755 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
756 // optional double objective_degradation_relative_tolerance = 8;
757 {PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.objective_degradation_relative_tolerance_), _Internal::kHasBitsOffset + 2, 0,
758 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
759 // .google.protobuf.Duration time_limit = 9;
760 {PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.time_limit_), _Internal::kHasBitsOffset + 0, 0,
761 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
762 }},
763 {{
764 {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
765 }},
766 {{
767 }},
768};
769PROTOBUF_NOINLINE void ObjectiveParametersProto::Clear() {
770// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ObjectiveParametersProto)
771 ::google::protobuf::internal::TSanWrite(&_impl_);
772 ::uint32_t cached_has_bits = 0;
773 // Prevent compiler warnings about cached_has_bits being unused
774 (void) cached_has_bits;
775
776 cached_has_bits = _impl_._has_bits_[0];
777 if ((cached_has_bits & 0x00000001u) != 0) {
778 ABSL_DCHECK(_impl_.time_limit_ != nullptr);
779 _impl_.time_limit_->Clear();
780 }
781 if ((cached_has_bits & 0x00000006u) != 0) {
782 ::memset(&_impl_.objective_degradation_absolute_tolerance_, 0, static_cast<::size_t>(
783 reinterpret_cast<char*>(&_impl_.objective_degradation_relative_tolerance_) -
784 reinterpret_cast<char*>(&_impl_.objective_degradation_absolute_tolerance_)) + sizeof(_impl_.objective_degradation_relative_tolerance_));
785 }
786 _impl_._has_bits_.Clear();
787 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
788}
789
790#if defined(PROTOBUF_CUSTOM_VTABLE)
791::uint8_t* PROTOBUF_NONNULL ObjectiveParametersProto::_InternalSerialize(
792 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
793 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
794 const ObjectiveParametersProto& this_ = static_cast<const ObjectiveParametersProto&>(base);
795#else // PROTOBUF_CUSTOM_VTABLE
796::uint8_t* PROTOBUF_NONNULL ObjectiveParametersProto::_InternalSerialize(
797 ::uint8_t* PROTOBUF_NONNULL target,
798 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
799 const ObjectiveParametersProto& this_ = *this;
800#endif // PROTOBUF_CUSTOM_VTABLE
801 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ObjectiveParametersProto)
802 ::uint32_t cached_has_bits = 0;
803 (void)cached_has_bits;
804
805 cached_has_bits = this_._impl_._has_bits_[0];
806 // optional double objective_degradation_absolute_tolerance = 7;
807 if ((cached_has_bits & 0x00000002u) != 0) {
808 target = stream->EnsureSpace(target);
809 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
810 7, this_._internal_objective_degradation_absolute_tolerance(), target);
811 }
812
813 // optional double objective_degradation_relative_tolerance = 8;
814 if ((cached_has_bits & 0x00000004u) != 0) {
815 target = stream->EnsureSpace(target);
816 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
817 8, this_._internal_objective_degradation_relative_tolerance(), target);
818 }
819
820 // .google.protobuf.Duration time_limit = 9;
821 if ((cached_has_bits & 0x00000001u) != 0) {
822 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
823 9, *this_._impl_.time_limit_, this_._impl_.time_limit_->GetCachedSize(), target,
824 stream);
825 }
826
827 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
828 target =
829 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
830 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
831 }
832 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ObjectiveParametersProto)
833 return target;
834}
835
836#if defined(PROTOBUF_CUSTOM_VTABLE)
838 const ObjectiveParametersProto& this_ = static_cast<const ObjectiveParametersProto&>(base);
839#else // PROTOBUF_CUSTOM_VTABLE
841 const ObjectiveParametersProto& this_ = *this;
842#endif // PROTOBUF_CUSTOM_VTABLE
843 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ObjectiveParametersProto)
844 ::size_t total_size = 0;
845
846 ::uint32_t cached_has_bits = 0;
847 // Prevent compiler warnings about cached_has_bits being unused
848 (void)cached_has_bits;
849
850 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
851 cached_has_bits = this_._impl_._has_bits_[0];
852 total_size += ::absl::popcount(0x00000006u & cached_has_bits) * 9;
853 {
854 // .google.protobuf.Duration time_limit = 9;
855 if ((cached_has_bits & 0x00000001u) != 0) {
856 total_size += 1 +
857 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.time_limit_);
858 }
859 }
860 return this_.MaybeComputeUnknownFieldsSize(total_size,
861 &this_._impl_._cached_size_);
862}
863
864void ObjectiveParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
865 auto* const _this = static_cast<ObjectiveParametersProto*>(&to_msg);
866 auto& from = static_cast<const ObjectiveParametersProto&>(from_msg);
867 ::google::protobuf::Arena* arena = _this->GetArena();
868 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ObjectiveParametersProto)
869 ABSL_DCHECK_NE(&from, _this);
870 ::uint32_t cached_has_bits = 0;
871 (void) cached_has_bits;
872
873 cached_has_bits = from._impl_._has_bits_[0];
874 if ((cached_has_bits & 0x00000007u) != 0) {
875 if ((cached_has_bits & 0x00000001u) != 0) {
876 ABSL_DCHECK(from._impl_.time_limit_ != nullptr);
877 if (_this->_impl_.time_limit_ == nullptr) {
878 _this->_impl_.time_limit_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.time_limit_);
879 } else {
880 _this->_impl_.time_limit_->MergeFrom(*from._impl_.time_limit_);
881 }
882 }
883 if ((cached_has_bits & 0x00000002u) != 0) {
884 _this->_impl_.objective_degradation_absolute_tolerance_ = from._impl_.objective_degradation_absolute_tolerance_;
885 }
886 if ((cached_has_bits & 0x00000004u) != 0) {
887 _this->_impl_.objective_degradation_relative_tolerance_ = from._impl_.objective_degradation_relative_tolerance_;
888 }
889 }
890 _this->_impl_._has_bits_[0] |= cached_has_bits;
891 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
892}
893
894void ObjectiveParametersProto::CopyFrom(const ObjectiveParametersProto& from) {
895// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ObjectiveParametersProto)
896 if (&from == this) return;
897 Clear();
898 MergeFrom(from);
899}
900
901
902void ObjectiveParametersProto::InternalSwap(ObjectiveParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
903 using ::std::swap;
904 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
905 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
906 ::google::protobuf::internal::memswap<
907 PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.objective_degradation_relative_tolerance_)
908 + sizeof(ObjectiveParametersProto::_impl_.objective_degradation_relative_tolerance_)
909 - PROTOBUF_FIELD_OFFSET(ObjectiveParametersProto, _impl_.time_limit_)>(
910 reinterpret_cast<char*>(&_impl_.time_limit_),
911 reinterpret_cast<char*>(&other->_impl_.time_limit_));
912}
913
914::google::protobuf::Metadata ObjectiveParametersProto::GetMetadata() const {
915 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
917// ===================================================================
918
919#if defined(PROTOBUF_CUSTOM_VTABLE)
924#else // PROTOBUF_CUSTOM_VTABLE
927#endif // PROTOBUF_CUSTOM_VTABLE
928inline void* PROTOBUF_NONNULL ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::PlacementNew_(
929 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
930 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
932}
933constexpr auto ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::InternalNewImpl_() {
934 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse),
936}
938 return ::google::protobuf::internal::ClassDataFull{
939 ::google::protobuf::internal::ClassData{
941 &_table_.header,
942 nullptr, // OnDemandRegisterArenaDtor
943 nullptr, // IsInitialized
944 &ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::MergeImpl,
945 ::google::protobuf::Message::GetNewImpl<ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse>(),
946#if defined(PROTOBUF_CUSTOM_VTABLE)
947 &ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::SharedDtor,
948 static_cast<void (::google::protobuf::MessageLite::*)()>(&ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::ClearImpl),
949 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
950 ,
951#endif // PROTOBUF_CUSTOM_VTABLE
952 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_._cached_size_),
953 false,
954 },
955 &ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::kDescriptorMethods,
957 nullptr, // tracker
958 };
959}
960
961PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
964
965PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
966ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::GetClassData() const {
967 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_);
968 ::google::protobuf::internal::PrefetchToLocalCache(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_.tc_table);
970}
971PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
972const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
973ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse::_table_ = {
974 {
975 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_._has_bits_),
976 0, // no _extensions_
977 2, 8, // max_field_number, fast_idx_mask
978 offsetof(decltype(_table_), field_lookup_table),
979 4294967292, // skipmap
980 offsetof(decltype(_table_), field_entries),
981 2, // num_field_entries
982 1, // num_aux_entries
983 offsetof(decltype(_table_), aux_entries),
985 nullptr, // post_loop_handler
986 ::_pbi::TcParser::DiscardEverythingFallback, // fallback
987 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
988 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse>(), // to_prefetch
989 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
990 }, {{
991 // .operations_research.math_opt.ObjectiveParametersProto value = 2;
992 {::_pbi::TcParser::FastMtS1,
993 {18, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_.value_)}},
994 // int64 key = 1;
995 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_.key_), 1>(),
996 {8, 1, 0, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_.key_)}},
997 }}, {{
998 65535, 65535
999 }}, {{
1000 // int64 key = 1;
1001 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
1002 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
1003 // .operations_research.math_opt.ObjectiveParametersProto value = 2;
1004 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
1005 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1006 }},
1007 {{
1008 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveParametersProto>()},
1009 }},
1010 {{
1011 }},
1012};
1013// ===================================================================
1014
1016 public:
1017 using HasBits =
1018 decltype(::std::declval<ModelSolveParametersProto>()._impl_._has_bits_);
1019 static constexpr ::int32_t kHasBitsOffset =
1020 8 * PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_._has_bits_);
1022
1024 ::google::protobuf::internal::TSanWrite(&_impl_);
1025 if (_impl_.variable_values_filter_ != nullptr) _impl_.variable_values_filter_->Clear();
1026 _impl_._has_bits_[0] &= ~0x00000001u;
1029 ::google::protobuf::internal::TSanWrite(&_impl_);
1030 if (_impl_.dual_values_filter_ != nullptr) _impl_.dual_values_filter_->Clear();
1031 _impl_._has_bits_[0] &= ~0x00000002u;
1034 ::google::protobuf::internal::TSanWrite(&_impl_);
1035 if (_impl_.quadratic_dual_values_filter_ != nullptr) _impl_.quadratic_dual_values_filter_->Clear();
1036 _impl_._has_bits_[0] &= ~0x00000040u;
1039 ::google::protobuf::internal::TSanWrite(&_impl_);
1040 if (_impl_.reduced_costs_filter_ != nullptr) _impl_.reduced_costs_filter_->Clear();
1041 _impl_._has_bits_[0] &= ~0x00000004u;
1044 ::google::protobuf::internal::TSanWrite(&_impl_);
1045 if (_impl_.initial_basis_ != nullptr) _impl_.initial_basis_->Clear();
1046 _impl_._has_bits_[0] &= ~0x00000008u;
1049 ::google::protobuf::internal::TSanWrite(&_impl_);
1050 if (_impl_.branching_priorities_ != nullptr) _impl_.branching_priorities_->Clear();
1051 _impl_._has_bits_[0] &= ~0x00000010u;
1053ModelSolveParametersProto::ModelSolveParametersProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1054#if defined(PROTOBUF_CUSTOM_VTABLE)
1055 : ::google::protobuf::Message(arena, ModelSolveParametersProto_class_data_.base()) {
1056#else // PROTOBUF_CUSTOM_VTABLE
1057 : ::google::protobuf::Message(arena) {
1058#endif // PROTOBUF_CUSTOM_VTABLE
1059 SharedCtor(arena);
1060 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.ModelSolveParametersProto)
1061}
1062PROTOBUF_NDEBUG_INLINE ModelSolveParametersProto::Impl_::Impl_(
1063 ::google::protobuf::internal::InternalVisibility visibility,
1064 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1065 const ::operations_research::math_opt::ModelSolveParametersProto& from_msg)
1066 : _has_bits_{from._has_bits_},
1067 _cached_size_{0},
1068 solution_hints_{visibility, arena, from.solution_hints_},
1069 auxiliary_objective_parameters_{visibility, arena, from.auxiliary_objective_parameters_},
1070 lazy_linear_constraint_ids_{visibility, arena, from.lazy_linear_constraint_ids_},
1071 _lazy_linear_constraint_ids_cached_byte_size_{0} {}
1072
1074 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1075 const ModelSolveParametersProto& from)
1076#if defined(PROTOBUF_CUSTOM_VTABLE)
1077 : ::google::protobuf::Message(arena, ModelSolveParametersProto_class_data_.base()) {
1078#else // PROTOBUF_CUSTOM_VTABLE
1079 : ::google::protobuf::Message(arena) {
1080#endif // PROTOBUF_CUSTOM_VTABLE
1081 ModelSolveParametersProto* const _this = this;
1082 (void)_this;
1083 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1084 from._internal_metadata_);
1085 new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1086 ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1087 _impl_.variable_values_filter_ = ((cached_has_bits & 0x00000001u) != 0)
1088 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_filter_)
1089 : nullptr;
1090 _impl_.dual_values_filter_ = ((cached_has_bits & 0x00000002u) != 0)
1091 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_filter_)
1092 : nullptr;
1093 _impl_.reduced_costs_filter_ = ((cached_has_bits & 0x00000004u) != 0)
1094 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.reduced_costs_filter_)
1095 : nullptr;
1096 _impl_.initial_basis_ = ((cached_has_bits & 0x00000008u) != 0)
1097 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.initial_basis_)
1098 : nullptr;
1099 _impl_.branching_priorities_ = ((cached_has_bits & 0x00000010u) != 0)
1100 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.branching_priorities_)
1101 : nullptr;
1102 _impl_.primary_objective_parameters_ = ((cached_has_bits & 0x00000020u) != 0)
1103 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primary_objective_parameters_)
1104 : nullptr;
1105 _impl_.quadratic_dual_values_filter_ = ((cached_has_bits & 0x00000040u) != 0)
1106 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_dual_values_filter_)
1107 : nullptr;
1108
1109 // @@protoc_insertion_point(copy_constructor:operations_research.math_opt.ModelSolveParametersProto)
1110}
1111PROTOBUF_NDEBUG_INLINE ModelSolveParametersProto::Impl_::Impl_(
1112 ::google::protobuf::internal::InternalVisibility visibility,
1113 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1114 : _cached_size_{0},
1115 solution_hints_{visibility, arena},
1116 auxiliary_objective_parameters_{visibility, arena},
1117 lazy_linear_constraint_ids_{visibility, arena},
1118 _lazy_linear_constraint_ids_cached_byte_size_{0} {}
1119
1120inline void ModelSolveParametersProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1121 new (&_impl_) Impl_(internal_visibility(), arena);
1122 ::memset(reinterpret_cast<char *>(&_impl_) +
1123 offsetof(Impl_, variable_values_filter_),
1124 0,
1125 offsetof(Impl_, quadratic_dual_values_filter_) -
1126 offsetof(Impl_, variable_values_filter_) +
1127 sizeof(Impl_::quadratic_dual_values_filter_));
1128}
1130 // @@protoc_insertion_point(destructor:operations_research.math_opt.ModelSolveParametersProto)
1131 SharedDtor(*this);
1132}
1133inline void ModelSolveParametersProto::SharedDtor(MessageLite& self) {
1134 ModelSolveParametersProto& this_ = static_cast<ModelSolveParametersProto&>(self);
1135 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1136 ABSL_DCHECK(this_.GetArena() == nullptr);
1137 delete this_._impl_.variable_values_filter_;
1138 delete this_._impl_.dual_values_filter_;
1139 delete this_._impl_.reduced_costs_filter_;
1140 delete this_._impl_.initial_basis_;
1141 delete this_._impl_.branching_priorities_;
1142 delete this_._impl_.primary_objective_parameters_;
1143 delete this_._impl_.quadratic_dual_values_filter_;
1144 this_._impl_.~Impl_();
1145}
1146
1147inline void* PROTOBUF_NONNULL ModelSolveParametersProto::PlacementNew_(
1148 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1149 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1150 return ::new (mem) ModelSolveParametersProto(arena);
1153 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1154 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.solution_hints_) +
1155 decltype(ModelSolveParametersProto::_impl_.solution_hints_)::
1156 InternalGetArenaOffset(
1157 ::google::protobuf::Message::internal_visibility()),
1158 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.auxiliary_objective_parameters_) +
1159 decltype(ModelSolveParametersProto::_impl_.auxiliary_objective_parameters_)::
1160 InternalGetArenaOffset(
1161 ::google::protobuf::Message::internal_visibility()),
1162 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.auxiliary_objective_parameters_) +
1163 decltype(ModelSolveParametersProto::_impl_.auxiliary_objective_parameters_)::
1164 InternalGetArenaOffsetAlt(
1165 ::google::protobuf::Message::internal_visibility()),
1166 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.lazy_linear_constraint_ids_) +
1167 decltype(ModelSolveParametersProto::_impl_.lazy_linear_constraint_ids_)::
1168 InternalGetArenaOffset(
1169 ::google::protobuf::Message::internal_visibility()),
1170 });
1171 if (arena_bits.has_value()) {
1172 return ::google::protobuf::internal::MessageCreator::CopyInit(
1173 sizeof(ModelSolveParametersProto), alignof(ModelSolveParametersProto), *arena_bits);
1174 } else {
1175 return ::google::protobuf::internal::MessageCreator(&ModelSolveParametersProto::PlacementNew_,
1176 sizeof(ModelSolveParametersProto),
1177 alignof(ModelSolveParametersProto));
1178 }
1179}
1181 return ::google::protobuf::internal::ClassDataFull{
1182 ::google::protobuf::internal::ClassData{
1184 &_table_.header,
1185 nullptr, // OnDemandRegisterArenaDtor
1186 nullptr, // IsInitialized
1187 &ModelSolveParametersProto::MergeImpl,
1188 ::google::protobuf::Message::GetNewImpl<ModelSolveParametersProto>(),
1189#if defined(PROTOBUF_CUSTOM_VTABLE)
1190 &ModelSolveParametersProto::SharedDtor,
1191 ::google::protobuf::Message::GetClearImpl<ModelSolveParametersProto>(), &ModelSolveParametersProto::ByteSizeLong,
1193#endif // PROTOBUF_CUSTOM_VTABLE
1194 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_._cached_size_),
1195 false,
1196 },
1197 &ModelSolveParametersProto::kDescriptorMethods,
1199 nullptr, // tracker
1200 };
1201}
1202
1203PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1204 ::google::protobuf::internal::ClassDataFull ModelSolveParametersProto_class_data_ =
1206
1207PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1209 ::google::protobuf::internal::PrefetchToLocalCache(&ModelSolveParametersProto_class_data_);
1210 ::google::protobuf::internal::PrefetchToLocalCache(ModelSolveParametersProto_class_data_.tc_table);
1213PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1214const ::_pbi::TcParseTable<4, 10, 10, 0, 2>
1215ModelSolveParametersProto::_table_ = {
1216 {
1217 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_._has_bits_),
1218 0, // no _extensions_
1219 10, 120, // max_field_number, fast_idx_mask
1220 offsetof(decltype(_table_), field_lookup_table),
1221 4294966272, // skipmap
1222 offsetof(decltype(_table_), field_entries),
1223 10, // num_field_entries
1224 10, // num_aux_entries
1225 offsetof(decltype(_table_), aux_entries),
1227 nullptr, // post_loop_handler
1228 ::_pbi::TcParser::GenericFallback, // fallback
1229 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1230 ::_pbi::TcParser::GetTable<::operations_research::math_opt::ModelSolveParametersProto>(), // to_prefetch
1231 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
1232 }, {{
1233 {::_pbi::TcParser::MiniParse, {}},
1234 // .operations_research.math_opt.SparseVectorFilterProto variable_values_filter = 1;
1235 {::_pbi::TcParser::FastMtS1,
1236 {10, 0, 0, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.variable_values_filter_)}},
1237 // .operations_research.math_opt.SparseVectorFilterProto dual_values_filter = 2;
1238 {::_pbi::TcParser::FastMtS1,
1239 {18, 1, 1, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.dual_values_filter_)}},
1240 // .operations_research.math_opt.SparseVectorFilterProto reduced_costs_filter = 3;
1241 {::_pbi::TcParser::FastMtS1,
1242 {26, 2, 2, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.reduced_costs_filter_)}},
1243 // .operations_research.math_opt.BasisProto initial_basis = 4;
1244 {::_pbi::TcParser::FastMtS1,
1245 {34, 3, 3, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.initial_basis_)}},
1246 // repeated .operations_research.math_opt.SolutionHintProto solution_hints = 5;
1247 {::_pbi::TcParser::FastMtR1,
1248 {42, 63, 4, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.solution_hints_)}},
1249 // .operations_research.math_opt.SparseInt32VectorProto branching_priorities = 6;
1250 {::_pbi::TcParser::FastMtS1,
1251 {50, 4, 5, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.branching_priorities_)}},
1252 // .operations_research.math_opt.ObjectiveParametersProto primary_objective_parameters = 7;
1253 {::_pbi::TcParser::FastMtS1,
1254 {58, 5, 6, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.primary_objective_parameters_)}},
1255 {::_pbi::TcParser::MiniParse, {}},
1256 // repeated int64 lazy_linear_constraint_ids = 9;
1257 {::_pbi::TcParser::FastV64P1,
1258 {74, 63, 0, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.lazy_linear_constraint_ids_)}},
1259 // .operations_research.math_opt.SparseVectorFilterProto quadratic_dual_values_filter = 10;
1260 {::_pbi::TcParser::FastMtS1,
1261 {82, 6, 7, PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.quadratic_dual_values_filter_)}},
1262 {::_pbi::TcParser::MiniParse, {}},
1263 {::_pbi::TcParser::MiniParse, {}},
1264 {::_pbi::TcParser::MiniParse, {}},
1265 {::_pbi::TcParser::MiniParse, {}},
1266 {::_pbi::TcParser::MiniParse, {}},
1267 }}, {{
1268 65535, 65535
1269 }}, {{
1270 // .operations_research.math_opt.SparseVectorFilterProto variable_values_filter = 1;
1271 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.variable_values_filter_), _Internal::kHasBitsOffset + 0, 0,
1272 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1273 // .operations_research.math_opt.SparseVectorFilterProto dual_values_filter = 2;
1274 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.dual_values_filter_), _Internal::kHasBitsOffset + 1, 1,
1275 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1276 // .operations_research.math_opt.SparseVectorFilterProto reduced_costs_filter = 3;
1277 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.reduced_costs_filter_), _Internal::kHasBitsOffset + 2, 2,
1278 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1279 // .operations_research.math_opt.BasisProto initial_basis = 4;
1280 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.initial_basis_), _Internal::kHasBitsOffset + 3, 3,
1281 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1282 // repeated .operations_research.math_opt.SolutionHintProto solution_hints = 5;
1283 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.solution_hints_), -1, 4,
1284 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1285 // .operations_research.math_opt.SparseInt32VectorProto branching_priorities = 6;
1286 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.branching_priorities_), _Internal::kHasBitsOffset + 4, 5,
1287 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1288 // .operations_research.math_opt.ObjectiveParametersProto primary_objective_parameters = 7;
1289 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.primary_objective_parameters_), _Internal::kHasBitsOffset + 5, 6,
1290 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1291 // map<int64, .operations_research.math_opt.ObjectiveParametersProto> auxiliary_objective_parameters = 8;
1292 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.auxiliary_objective_parameters_), -1, 8,
1293 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
1294 // repeated int64 lazy_linear_constraint_ids = 9;
1295 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.lazy_linear_constraint_ids_), -1, 0,
1296 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt64)},
1297 // .operations_research.math_opt.SparseVectorFilterProto quadratic_dual_values_filter = 10;
1298 {PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.quadratic_dual_values_filter_), _Internal::kHasBitsOffset + 6, 7,
1299 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1300 }},
1301 {{
1302 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
1303 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
1304 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
1305 {::_pbi::TcParser::GetTable<::operations_research::math_opt::BasisProto>()},
1306 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SolutionHintProto>()},
1307 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseInt32VectorProto>()},
1308 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveParametersProto>()},
1309 {::_pbi::TcParser::GetTable<::operations_research::math_opt::SparseVectorFilterProto>()},
1310 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
1311 3, 11,
1312 0)},
1313 {::_pbi::TcParser::GetTable<::operations_research::math_opt::ObjectiveParametersProto>()},
1314 }},
1315 {{
1316 }},
1317};
1318PROTOBUF_NOINLINE void ModelSolveParametersProto::Clear() {
1319// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.ModelSolveParametersProto)
1320 ::google::protobuf::internal::TSanWrite(&_impl_);
1321 ::uint32_t cached_has_bits = 0;
1322 // Prevent compiler warnings about cached_has_bits being unused
1323 (void) cached_has_bits;
1324
1325 _impl_.solution_hints_.Clear();
1326 _impl_.auxiliary_objective_parameters_.Clear();
1327 _impl_.lazy_linear_constraint_ids_.Clear();
1328 cached_has_bits = _impl_._has_bits_[0];
1329 if ((cached_has_bits & 0x0000007fu) != 0) {
1330 if ((cached_has_bits & 0x00000001u) != 0) {
1331 ABSL_DCHECK(_impl_.variable_values_filter_ != nullptr);
1332 _impl_.variable_values_filter_->Clear();
1333 }
1334 if ((cached_has_bits & 0x00000002u) != 0) {
1335 ABSL_DCHECK(_impl_.dual_values_filter_ != nullptr);
1336 _impl_.dual_values_filter_->Clear();
1337 }
1338 if ((cached_has_bits & 0x00000004u) != 0) {
1339 ABSL_DCHECK(_impl_.reduced_costs_filter_ != nullptr);
1340 _impl_.reduced_costs_filter_->Clear();
1341 }
1342 if ((cached_has_bits & 0x00000008u) != 0) {
1343 ABSL_DCHECK(_impl_.initial_basis_ != nullptr);
1344 _impl_.initial_basis_->Clear();
1345 }
1346 if ((cached_has_bits & 0x00000010u) != 0) {
1347 ABSL_DCHECK(_impl_.branching_priorities_ != nullptr);
1348 _impl_.branching_priorities_->Clear();
1349 }
1350 if ((cached_has_bits & 0x00000020u) != 0) {
1351 ABSL_DCHECK(_impl_.primary_objective_parameters_ != nullptr);
1352 _impl_.primary_objective_parameters_->Clear();
1353 }
1354 if ((cached_has_bits & 0x00000040u) != 0) {
1355 ABSL_DCHECK(_impl_.quadratic_dual_values_filter_ != nullptr);
1356 _impl_.quadratic_dual_values_filter_->Clear();
1357 }
1358 }
1359 _impl_._has_bits_.Clear();
1360 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1361}
1362
1363#if defined(PROTOBUF_CUSTOM_VTABLE)
1364::uint8_t* PROTOBUF_NONNULL ModelSolveParametersProto::_InternalSerialize(
1365 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1366 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1367 const ModelSolveParametersProto& this_ = static_cast<const ModelSolveParametersProto&>(base);
1368#else // PROTOBUF_CUSTOM_VTABLE
1369::uint8_t* PROTOBUF_NONNULL ModelSolveParametersProto::_InternalSerialize(
1370 ::uint8_t* PROTOBUF_NONNULL target,
1371 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1372 const ModelSolveParametersProto& this_ = *this;
1373#endif // PROTOBUF_CUSTOM_VTABLE
1374 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.ModelSolveParametersProto)
1375 ::uint32_t cached_has_bits = 0;
1376 (void)cached_has_bits;
1377
1378 cached_has_bits = this_._impl_._has_bits_[0];
1379 // .operations_research.math_opt.SparseVectorFilterProto variable_values_filter = 1;
1380 if ((cached_has_bits & 0x00000001u) != 0) {
1381 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1382 1, *this_._impl_.variable_values_filter_, this_._impl_.variable_values_filter_->GetCachedSize(), target,
1383 stream);
1384 }
1385
1386 // .operations_research.math_opt.SparseVectorFilterProto dual_values_filter = 2;
1387 if ((cached_has_bits & 0x00000002u) != 0) {
1388 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1389 2, *this_._impl_.dual_values_filter_, this_._impl_.dual_values_filter_->GetCachedSize(), target,
1390 stream);
1391 }
1392
1393 // .operations_research.math_opt.SparseVectorFilterProto reduced_costs_filter = 3;
1394 if ((cached_has_bits & 0x00000004u) != 0) {
1395 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1396 3, *this_._impl_.reduced_costs_filter_, this_._impl_.reduced_costs_filter_->GetCachedSize(), target,
1397 stream);
1398 }
1399
1400 // .operations_research.math_opt.BasisProto initial_basis = 4;
1401 if ((cached_has_bits & 0x00000008u) != 0) {
1402 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1403 4, *this_._impl_.initial_basis_, this_._impl_.initial_basis_->GetCachedSize(), target,
1404 stream);
1405 }
1406
1407 // repeated .operations_research.math_opt.SolutionHintProto solution_hints = 5;
1408 for (unsigned i = 0, n = static_cast<unsigned>(
1409 this_._internal_solution_hints_size());
1410 i < n; i++) {
1411 const auto& repfield = this_._internal_solution_hints().Get(i);
1412 target =
1413 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1414 5, repfield, repfield.GetCachedSize(),
1415 target, stream);
1416 }
1417
1418 // .operations_research.math_opt.SparseInt32VectorProto branching_priorities = 6;
1419 if ((cached_has_bits & 0x00000010u) != 0) {
1420 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1421 6, *this_._impl_.branching_priorities_, this_._impl_.branching_priorities_->GetCachedSize(), target,
1422 stream);
1423 }
1424
1425 // .operations_research.math_opt.ObjectiveParametersProto primary_objective_parameters = 7;
1426 if ((cached_has_bits & 0x00000020u) != 0) {
1427 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1428 7, *this_._impl_.primary_objective_parameters_, this_._impl_.primary_objective_parameters_->GetCachedSize(), target,
1429 stream);
1430 }
1431
1432 // map<int64, .operations_research.math_opt.ObjectiveParametersProto> auxiliary_objective_parameters = 8;
1433 if (!this_._internal_auxiliary_objective_parameters().empty()) {
1434 using MapType = ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveParametersProto>;
1435 using WireHelper = _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ObjectiveParametersProto,
1436 _pbi::WireFormatLite::TYPE_INT64,
1437 _pbi::WireFormatLite::TYPE_MESSAGE>;
1438 const auto& field = this_._internal_auxiliary_objective_parameters();
1439
1440 if (stream->IsSerializationDeterministic() && field.size() > 1) {
1441 for (const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
1442 target = WireHelper::InternalSerialize(
1443 8, entry.first, entry.second, target, stream);
1444 }
1445 } else {
1446 for (const auto& entry : field) {
1447 target = WireHelper::InternalSerialize(
1448 8, entry.first, entry.second, target, stream);
1449 }
1450 }
1451 }
1452
1453 // repeated int64 lazy_linear_constraint_ids = 9;
1454 {
1455 int byte_size = this_._impl_._lazy_linear_constraint_ids_cached_byte_size_.Get();
1456 if (byte_size > 0) {
1457 target = stream->WriteInt64Packed(
1458 9, this_._internal_lazy_linear_constraint_ids(), byte_size, target);
1459 }
1460 }
1461
1462 // .operations_research.math_opt.SparseVectorFilterProto quadratic_dual_values_filter = 10;
1463 if ((cached_has_bits & 0x00000040u) != 0) {
1464 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1465 10, *this_._impl_.quadratic_dual_values_filter_, this_._impl_.quadratic_dual_values_filter_->GetCachedSize(), target,
1466 stream);
1467 }
1468
1469 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1470 target =
1471 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1472 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1473 }
1474 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.ModelSolveParametersProto)
1475 return target;
1476}
1477
1478#if defined(PROTOBUF_CUSTOM_VTABLE)
1480 const ModelSolveParametersProto& this_ = static_cast<const ModelSolveParametersProto&>(base);
1481#else // PROTOBUF_CUSTOM_VTABLE
1483 const ModelSolveParametersProto& this_ = *this;
1484#endif // PROTOBUF_CUSTOM_VTABLE
1485 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.ModelSolveParametersProto)
1486 ::size_t total_size = 0;
1487
1488 ::uint32_t cached_has_bits = 0;
1489 // Prevent compiler warnings about cached_has_bits being unused
1490 (void)cached_has_bits;
1491
1492 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1493 {
1494 // repeated .operations_research.math_opt.SolutionHintProto solution_hints = 5;
1495 {
1496 total_size += 1UL * this_._internal_solution_hints_size();
1497 for (const auto& msg : this_._internal_solution_hints()) {
1498 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1499 }
1500 }
1501 // map<int64, .operations_research.math_opt.ObjectiveParametersProto> auxiliary_objective_parameters = 8;
1502 {
1503 total_size +=
1504 1 * ::google::protobuf::internal::FromIntSize(this_._internal_auxiliary_objective_parameters_size());
1505 for (const auto& entry : this_._internal_auxiliary_objective_parameters()) {
1506 total_size += _pbi::MapEntryFuncs<::int64_t, ::operations_research::math_opt::ObjectiveParametersProto,
1507 _pbi::WireFormatLite::TYPE_INT64,
1508 _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
1509 }
1510 }
1511 // repeated int64 lazy_linear_constraint_ids = 9;
1512 {
1513 total_size +=
1514 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
1515 this_._internal_lazy_linear_constraint_ids(), 1,
1516 this_._impl_._lazy_linear_constraint_ids_cached_byte_size_);
1517 }
1518 }
1519 cached_has_bits = this_._impl_._has_bits_[0];
1520 if ((cached_has_bits & 0x0000007fu) != 0) {
1521 // .operations_research.math_opt.SparseVectorFilterProto variable_values_filter = 1;
1522 if ((cached_has_bits & 0x00000001u) != 0) {
1523 total_size += 1 +
1524 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.variable_values_filter_);
1525 }
1526 // .operations_research.math_opt.SparseVectorFilterProto dual_values_filter = 2;
1527 if ((cached_has_bits & 0x00000002u) != 0) {
1528 total_size += 1 +
1529 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dual_values_filter_);
1530 }
1531 // .operations_research.math_opt.SparseVectorFilterProto reduced_costs_filter = 3;
1532 if ((cached_has_bits & 0x00000004u) != 0) {
1533 total_size += 1 +
1534 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.reduced_costs_filter_);
1535 }
1536 // .operations_research.math_opt.BasisProto initial_basis = 4;
1537 if ((cached_has_bits & 0x00000008u) != 0) {
1538 total_size += 1 +
1539 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.initial_basis_);
1540 }
1541 // .operations_research.math_opt.SparseInt32VectorProto branching_priorities = 6;
1542 if ((cached_has_bits & 0x00000010u) != 0) {
1543 total_size += 1 +
1544 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.branching_priorities_);
1545 }
1546 // .operations_research.math_opt.ObjectiveParametersProto primary_objective_parameters = 7;
1547 if ((cached_has_bits & 0x00000020u) != 0) {
1548 total_size += 1 +
1549 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primary_objective_parameters_);
1550 }
1551 // .operations_research.math_opt.SparseVectorFilterProto quadratic_dual_values_filter = 10;
1552 if ((cached_has_bits & 0x00000040u) != 0) {
1553 total_size += 1 +
1554 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.quadratic_dual_values_filter_);
1555 }
1556 }
1557 return this_.MaybeComputeUnknownFieldsSize(total_size,
1558 &this_._impl_._cached_size_);
1559}
1560
1561void ModelSolveParametersProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1562 auto* const _this = static_cast<ModelSolveParametersProto*>(&to_msg);
1563 auto& from = static_cast<const ModelSolveParametersProto&>(from_msg);
1564 ::google::protobuf::Arena* arena = _this->GetArena();
1565 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.ModelSolveParametersProto)
1566 ABSL_DCHECK_NE(&from, _this);
1567 ::uint32_t cached_has_bits = 0;
1568 (void) cached_has_bits;
1569
1570 _this->_internal_mutable_solution_hints()->MergeFrom(
1571 from._internal_solution_hints());
1572 _this->_impl_.auxiliary_objective_parameters_.MergeFrom(from._impl_.auxiliary_objective_parameters_);
1573 _this->_internal_mutable_lazy_linear_constraint_ids()->MergeFrom(from._internal_lazy_linear_constraint_ids());
1574 cached_has_bits = from._impl_._has_bits_[0];
1575 if ((cached_has_bits & 0x0000007fu) != 0) {
1576 if ((cached_has_bits & 0x00000001u) != 0) {
1577 ABSL_DCHECK(from._impl_.variable_values_filter_ != nullptr);
1578 if (_this->_impl_.variable_values_filter_ == nullptr) {
1579 _this->_impl_.variable_values_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.variable_values_filter_);
1580 } else {
1581 _this->_impl_.variable_values_filter_->MergeFrom(*from._impl_.variable_values_filter_);
1582 }
1583 }
1584 if ((cached_has_bits & 0x00000002u) != 0) {
1585 ABSL_DCHECK(from._impl_.dual_values_filter_ != nullptr);
1586 if (_this->_impl_.dual_values_filter_ == nullptr) {
1587 _this->_impl_.dual_values_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.dual_values_filter_);
1588 } else {
1589 _this->_impl_.dual_values_filter_->MergeFrom(*from._impl_.dual_values_filter_);
1590 }
1591 }
1592 if ((cached_has_bits & 0x00000004u) != 0) {
1593 ABSL_DCHECK(from._impl_.reduced_costs_filter_ != nullptr);
1594 if (_this->_impl_.reduced_costs_filter_ == nullptr) {
1595 _this->_impl_.reduced_costs_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.reduced_costs_filter_);
1596 } else {
1597 _this->_impl_.reduced_costs_filter_->MergeFrom(*from._impl_.reduced_costs_filter_);
1598 }
1599 }
1600 if ((cached_has_bits & 0x00000008u) != 0) {
1601 ABSL_DCHECK(from._impl_.initial_basis_ != nullptr);
1602 if (_this->_impl_.initial_basis_ == nullptr) {
1603 _this->_impl_.initial_basis_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.initial_basis_);
1604 } else {
1605 _this->_impl_.initial_basis_->MergeFrom(*from._impl_.initial_basis_);
1606 }
1607 }
1608 if ((cached_has_bits & 0x00000010u) != 0) {
1609 ABSL_DCHECK(from._impl_.branching_priorities_ != nullptr);
1610 if (_this->_impl_.branching_priorities_ == nullptr) {
1611 _this->_impl_.branching_priorities_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.branching_priorities_);
1612 } else {
1613 _this->_impl_.branching_priorities_->MergeFrom(*from._impl_.branching_priorities_);
1614 }
1615 }
1616 if ((cached_has_bits & 0x00000020u) != 0) {
1617 ABSL_DCHECK(from._impl_.primary_objective_parameters_ != nullptr);
1618 if (_this->_impl_.primary_objective_parameters_ == nullptr) {
1619 _this->_impl_.primary_objective_parameters_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.primary_objective_parameters_);
1620 } else {
1621 _this->_impl_.primary_objective_parameters_->MergeFrom(*from._impl_.primary_objective_parameters_);
1622 }
1623 }
1624 if ((cached_has_bits & 0x00000040u) != 0) {
1625 ABSL_DCHECK(from._impl_.quadratic_dual_values_filter_ != nullptr);
1626 if (_this->_impl_.quadratic_dual_values_filter_ == nullptr) {
1627 _this->_impl_.quadratic_dual_values_filter_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.quadratic_dual_values_filter_);
1628 } else {
1629 _this->_impl_.quadratic_dual_values_filter_->MergeFrom(*from._impl_.quadratic_dual_values_filter_);
1630 }
1631 }
1632 }
1633 _this->_impl_._has_bits_[0] |= cached_has_bits;
1634 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1635}
1636
1638// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.ModelSolveParametersProto)
1639 if (&from == this) return;
1640 Clear();
1642}
1643
1644
1645void ModelSolveParametersProto::InternalSwap(ModelSolveParametersProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1646 using ::std::swap;
1647 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1648 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1649 _impl_.solution_hints_.InternalSwap(&other->_impl_.solution_hints_);
1650 _impl_.auxiliary_objective_parameters_.InternalSwap(&other->_impl_.auxiliary_objective_parameters_);
1651 _impl_.lazy_linear_constraint_ids_.InternalSwap(&other->_impl_.lazy_linear_constraint_ids_);
1652 ::google::protobuf::internal::memswap<
1653 PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.quadratic_dual_values_filter_)
1654 + sizeof(ModelSolveParametersProto::_impl_.quadratic_dual_values_filter_)
1655 - PROTOBUF_FIELD_OFFSET(ModelSolveParametersProto, _impl_.variable_values_filter_)>(
1656 reinterpret_cast<char*>(&_impl_.variable_values_filter_),
1657 reinterpret_cast<char*>(&other->_impl_.variable_values_filter_));
1658}
1659
1660::google::protobuf::Metadata ModelSolveParametersProto::GetMetadata() const {
1661 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1662}
1663// @@protoc_insertion_point(namespace_scope)
1664} // namespace math_opt
1665} // namespace operations_research
1666namespace google {
1667namespace protobuf {
1668} // namespace protobuf
1669} // namespace google
1670// @@protoc_insertion_point(global_scope)
1671PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1672 _static_init2_ [[maybe_unused]] =
1674 ::std::false_type{});
1675#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
decltype(::std::declval< ModelSolveParametersProto >()._impl_._has_bits_) HasBits
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const ModelSolveParametersProto &from)
void CopyFrom(const ModelSolveParametersProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(ModelSolveParametersProto &a, ModelSolveParametersProto &b)
decltype(::std::declval< ObjectiveParametersProto >()._impl_._has_bits_) HasBits
void CopyFrom(const ObjectiveParametersProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const ObjectiveParametersProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
decltype(::std::declval< SolutionHintProto >()._impl_._has_bits_) HasBits
friend void swap(SolutionHintProto &a, SolutionHintProto &b)
::google::protobuf::Metadata GetMetadata() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
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
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const SolutionHintProto &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto_deps[3]
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto_once
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_5fparameters_2eproto
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolutionHintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUseDefaultTypeInternal _ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSolveParametersProto_AuxiliaryObjectiveParametersEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSolveParametersProtoDefaultTypeInternal _ModelSolveParametersProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveParametersProtoDefaultTypeInternal _ObjectiveParametersProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolutionHintProtoDefaultTypeInternal _SolutionHintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSolveParametersProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveParametersProto_class_data_
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolution_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsparse_5fcontainers_2eproto