Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
osqp.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/solvers/osqp.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 OsqpSettingsProto::Impl_::Impl_(
31 ::_pbi::ConstantInitialized) noexcept
32 : _cached_size_{0},
33 rho_{0},
34 sigma_{0},
35 scaling_{::int64_t{0}},
36 adaptive_rho_interval_{::int64_t{0}},
37 adaptive_rho_tolerance_{0},
38 adaptive_rho_fraction_{0},
39 max_iter_{::int64_t{0}},
40 eps_abs_{0},
41 eps_rel_{0},
42 eps_prim_inf_{0},
43 eps_dual_inf_{0},
44 alpha_{0},
45 delta_{0},
46 adaptive_rho_{false},
47 polish_{false},
48 verbose_{false},
49 scaled_termination_{false},
50 warm_start_{false},
51 polish_refine_iter_{::int64_t{0}},
52 check_termination_{::int64_t{0}},
53 time_limit_{0} {}
54
55template <typename>
56PROTOBUF_CONSTEXPR OsqpSettingsProto::OsqpSettingsProto(::_pbi::ConstantInitialized)
57#if defined(PROTOBUF_CUSTOM_VTABLE)
58 : ::google::protobuf::Message(OsqpSettingsProto_class_data_.base()),
59#else // PROTOBUF_CUSTOM_VTABLE
60 : ::google::protobuf::Message(),
61#endif // PROTOBUF_CUSTOM_VTABLE
62 _impl_(::_pbi::ConstantInitialized()) {
63}
71
72PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
74
75inline constexpr OsqpOutput::Impl_::Impl_(
76 ::_pbi::ConstantInitialized) noexcept
77 : _cached_size_{0},
78 initialized_underlying_solver_{false} {}
79
80template <typename>
81PROTOBUF_CONSTEXPR OsqpOutput::OsqpOutput(::_pbi::ConstantInitialized)
82#if defined(PROTOBUF_CUSTOM_VTABLE)
83 : ::google::protobuf::Message(OsqpOutput_class_data_.base()),
84#else // PROTOBUF_CUSTOM_VTABLE
85 : ::google::protobuf::Message(),
86#endif // PROTOBUF_CUSTOM_VTABLE
87 _impl_(::_pbi::ConstantInitialized()) {
88}
90 PROTOBUF_CONSTEXPR OsqpOutputDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
92 union {
94 };
95};
96
97PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
99} // namespace math_opt
100} // namespace operations_research
101static constexpr const ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
103static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
105const ::uint32_t
107 protodesc_cold) = {
108 0x081, // bitmap
109 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_._has_bits_),
110 24, // hasbit index offset
111 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.rho_),
112 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.sigma_),
113 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.scaling_),
114 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.adaptive_rho_),
115 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.adaptive_rho_interval_),
116 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.adaptive_rho_tolerance_),
117 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.adaptive_rho_fraction_),
118 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.max_iter_),
119 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.eps_abs_),
120 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.eps_rel_),
121 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.eps_prim_inf_),
122 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.eps_dual_inf_),
123 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.alpha_),
124 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.delta_),
125 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.polish_),
126 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.polish_refine_iter_),
127 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.verbose_),
128 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.scaled_termination_),
129 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.check_termination_),
130 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.warm_start_),
131 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpSettingsProto, _impl_.time_limit_),
132 0,
133 1,
134 2,
135 13,
136 3,
137 4,
138 5,
139 6,
140 7,
141 8,
142 9,
143 10,
144 11,
145 12,
146 14,
147 18,
148 15,
149 16,
150 19,
151 17,
152 20,
153 0x081, // bitmap
154 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpOutput, _impl_._has_bits_),
155 4, // hasbit index offset
156 PROTOBUF_FIELD_OFFSET(::operations_research::math_opt::OsqpOutput, _impl_.initialized_underlying_solver_),
157 0,
158};
159
160static const ::_pbi::MigrationSchema
161 schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
164};
169const char descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
170 protodesc_cold) = {
171 "\n#ortools/math_opt/solvers/osqp.proto\022\034o"
172 "perations_research.math_opt\"\211\007\n\021OsqpSett"
173 "ingsProto\022\020\n\003rho\030\001 \001(\001H\000\210\001\001\022\022\n\005sigma\030\002 \001"
174 "(\001H\001\210\001\001\022\024\n\007scaling\030\003 \001(\003H\002\210\001\001\022\031\n\014adaptiv"
175 "e_rho\030\004 \001(\010H\003\210\001\001\022\"\n\025adaptive_rho_interva"
176 "l\030\005 \001(\003H\004\210\001\001\022#\n\026adaptive_rho_tolerance\030\006"
177 " \001(\001H\005\210\001\001\022\"\n\025adaptive_rho_fraction\030\007 \001(\001"
178 "H\006\210\001\001\022\025\n\010max_iter\030\010 \001(\003H\007\210\001\001\022\024\n\007eps_abs\030"
179 "\t \001(\001H\010\210\001\001\022\024\n\007eps_rel\030\n \001(\001H\t\210\001\001\022\031\n\014eps_"
180 "prim_inf\030\013 \001(\001H\n\210\001\001\022\031\n\014eps_dual_inf\030\014 \001("
181 "\001H\013\210\001\001\022\022\n\005alpha\030\r \001(\001H\014\210\001\001\022\022\n\005delta\030\016 \001("
182 "\001H\r\210\001\001\022\023\n\006polish\030\017 \001(\010H\016\210\001\001\022\037\n\022polish_re"
183 "fine_iter\030\020 \001(\003H\017\210\001\001\022\024\n\007verbose\030\021 \001(\010H\020\210"
184 "\001\001\022\037\n\022scaled_termination\030\022 \001(\010H\021\210\001\001\022\036\n\021c"
185 "heck_termination\030\023 \001(\003H\022\210\001\001\022\027\n\nwarm_star"
186 "t\030\024 \001(\010H\023\210\001\001\022\027\n\ntime_limit\030\025 \001(\001H\024\210\001\001B\006\n"
187 "\004_rhoB\010\n\006_sigmaB\n\n\010_scalingB\017\n\r_adaptive"
188 "_rhoB\030\n\026_adaptive_rho_intervalB\031\n\027_adapt"
189 "ive_rho_toleranceB\030\n\026_adaptive_rho_fract"
190 "ionB\013\n\t_max_iterB\n\n\010_eps_absB\n\n\010_eps_rel"
191 "B\017\n\r_eps_prim_infB\017\n\r_eps_dual_infB\010\n\006_a"
192 "lphaB\010\n\006_deltaB\t\n\007_polishB\025\n\023_polish_ref"
193 "ine_iterB\n\n\010_verboseB\025\n\023_scaled_terminat"
194 "ionB\024\n\022_check_terminationB\r\n\013_warm_start"
195 "B\r\n\013_time_limit\"3\n\nOsqpOutput\022%\n\035initial"
196 "ized_underlying_solver\030\001 \001(\010b\006proto3"
197};
199PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto = {
200 false,
201 false,
202 1036,
203 descriptor_table_protodef_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto,
204 "ortools/math_opt/solvers/osqp.proto",
206 nullptr,
207 0,
208 2,
209 schemas,
214};
215namespace operations_research {
216namespace math_opt {
217// ===================================================================
218
220 public:
221 using HasBits =
222 decltype(::std::declval<OsqpSettingsProto>()._impl_._has_bits_);
223 static constexpr ::int32_t kHasBitsOffset =
224 8 * PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_._has_bits_);
225};
226
227OsqpSettingsProto::OsqpSettingsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
228#if defined(PROTOBUF_CUSTOM_VTABLE)
229 : ::google::protobuf::Message(arena, OsqpSettingsProto_class_data_.base()) {
230#else // PROTOBUF_CUSTOM_VTABLE
231 : ::google::protobuf::Message(arena) {
232#endif // PROTOBUF_CUSTOM_VTABLE
233 SharedCtor(arena);
234 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.OsqpSettingsProto)
235}
237 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsqpSettingsProto& from)
238#if defined(PROTOBUF_CUSTOM_VTABLE)
239 : ::google::protobuf::Message(arena, OsqpSettingsProto_class_data_.base()),
240#else // PROTOBUF_CUSTOM_VTABLE
241 : ::google::protobuf::Message(arena),
242#endif // PROTOBUF_CUSTOM_VTABLE
243 _impl_(from._impl_) {
244 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
245 from._internal_metadata_);
246}
247PROTOBUF_NDEBUG_INLINE OsqpSettingsProto::Impl_::Impl_(
248 ::google::protobuf::internal::InternalVisibility visibility,
249 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
250 : _cached_size_{0} {}
251
252inline void OsqpSettingsProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
253 new (&_impl_) Impl_(internal_visibility(), arena);
254 ::memset(reinterpret_cast<char *>(&_impl_) +
255 offsetof(Impl_, rho_),
256 0,
257 offsetof(Impl_, time_limit_) -
258 offsetof(Impl_, rho_) +
259 sizeof(Impl_::time_limit_));
260}
262 // @@protoc_insertion_point(destructor:operations_research.math_opt.OsqpSettingsProto)
263 SharedDtor(*this);
264}
265inline void OsqpSettingsProto::SharedDtor(MessageLite& self) {
266 OsqpSettingsProto& this_ = static_cast<OsqpSettingsProto&>(self);
267 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
268 ABSL_DCHECK(this_.GetArena() == nullptr);
269 this_._impl_.~Impl_();
270}
271
272inline void* PROTOBUF_NONNULL OsqpSettingsProto::PlacementNew_(
273 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
274 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
275 return ::new (mem) OsqpSettingsProto(arena);
276}
278 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OsqpSettingsProto),
279 alignof(OsqpSettingsProto));
280}
282 return ::google::protobuf::internal::ClassDataFull{
283 ::google::protobuf::internal::ClassData{
285 &_table_.header,
286 nullptr, // OnDemandRegisterArenaDtor
287 nullptr, // IsInitialized
288 &OsqpSettingsProto::MergeImpl,
289 ::google::protobuf::Message::GetNewImpl<OsqpSettingsProto>(),
290#if defined(PROTOBUF_CUSTOM_VTABLE)
291 &OsqpSettingsProto::SharedDtor,
292 ::google::protobuf::Message::GetClearImpl<OsqpSettingsProto>(), &OsqpSettingsProto::ByteSizeLong,
294#endif // PROTOBUF_CUSTOM_VTABLE
295 PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_._cached_size_),
296 false,
297 },
298 &OsqpSettingsProto::kDescriptorMethods,
300 nullptr, // tracker
301 };
302}
303
304PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
305 ::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_ =
307
308PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
310 ::google::protobuf::internal::PrefetchToLocalCache(&OsqpSettingsProto_class_data_);
311 ::google::protobuf::internal::PrefetchToLocalCache(OsqpSettingsProto_class_data_.tc_table);
312 return OsqpSettingsProto_class_data_.base();
313}
314PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
315const ::_pbi::TcParseTable<5, 21, 0, 0, 2>
316OsqpSettingsProto::_table_ = {
317 {
318 PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_._has_bits_),
319 0, // no _extensions_
320 21, 248, // max_field_number, fast_idx_mask
321 offsetof(decltype(_table_), field_lookup_table),
322 4292870144, // skipmap
323 offsetof(decltype(_table_), field_entries),
324 21, // num_field_entries
325 0, // num_aux_entries
326 offsetof(decltype(_table_), field_names), // no aux_entries
328 nullptr, // post_loop_handler
329 ::_pbi::TcParser::GenericFallback, // fallback
330 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
331 ::_pbi::TcParser::GetTable<::operations_research::math_opt::OsqpSettingsProto>(), // to_prefetch
332 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
333 }, {{
334 {::_pbi::TcParser::MiniParse, {}},
335 // optional double rho = 1;
336 {::_pbi::TcParser::FastF64S1,
337 {9, 0, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.rho_)}},
338 // optional double sigma = 2;
339 {::_pbi::TcParser::FastF64S1,
340 {17, 1, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.sigma_)}},
341 // optional int64 scaling = 3;
342 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(OsqpSettingsProto, _impl_.scaling_), 2>(),
343 {24, 2, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.scaling_)}},
344 // optional bool adaptive_rho = 4;
345 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(OsqpSettingsProto, _impl_.adaptive_rho_), 13>(),
346 {32, 13, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_)}},
347 // optional int64 adaptive_rho_interval = 5;
348 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(OsqpSettingsProto, _impl_.adaptive_rho_interval_), 3>(),
349 {40, 3, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_interval_)}},
350 // optional double adaptive_rho_tolerance = 6;
351 {::_pbi::TcParser::FastF64S1,
352 {49, 4, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_tolerance_)}},
353 // optional double adaptive_rho_fraction = 7;
354 {::_pbi::TcParser::FastF64S1,
355 {57, 5, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_fraction_)}},
356 // optional int64 max_iter = 8;
357 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(OsqpSettingsProto, _impl_.max_iter_), 6>(),
358 {64, 6, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.max_iter_)}},
359 // optional double eps_abs = 9;
360 {::_pbi::TcParser::FastF64S1,
361 {73, 7, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_abs_)}},
362 // optional double eps_rel = 10;
363 {::_pbi::TcParser::FastF64S1,
364 {81, 8, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_rel_)}},
365 // optional double eps_prim_inf = 11;
366 {::_pbi::TcParser::FastF64S1,
367 {89, 9, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_prim_inf_)}},
368 // optional double eps_dual_inf = 12;
369 {::_pbi::TcParser::FastF64S1,
370 {97, 10, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_dual_inf_)}},
371 // optional double alpha = 13;
372 {::_pbi::TcParser::FastF64S1,
373 {105, 11, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.alpha_)}},
374 // optional double delta = 14;
375 {::_pbi::TcParser::FastF64S1,
376 {113, 12, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.delta_)}},
377 // optional bool polish = 15;
378 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(OsqpSettingsProto, _impl_.polish_), 14>(),
379 {120, 14, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.polish_)}},
380 // optional int64 polish_refine_iter = 16;
381 {::_pbi::TcParser::FastV64S2,
382 {384, 18, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.polish_refine_iter_)}},
383 // optional bool verbose = 17;
384 {::_pbi::TcParser::FastV8S2,
385 {392, 15, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.verbose_)}},
386 // optional bool scaled_termination = 18;
387 {::_pbi::TcParser::FastV8S2,
388 {400, 16, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.scaled_termination_)}},
389 // optional int64 check_termination = 19;
390 {::_pbi::TcParser::FastV64S2,
391 {408, 19, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.check_termination_)}},
392 // optional bool warm_start = 20;
393 {::_pbi::TcParser::FastV8S2,
394 {416, 17, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.warm_start_)}},
395 // optional double time_limit = 21;
396 {::_pbi::TcParser::FastF64S2,
397 {425, 20, 0, PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.time_limit_)}},
398 {::_pbi::TcParser::MiniParse, {}},
399 {::_pbi::TcParser::MiniParse, {}},
400 {::_pbi::TcParser::MiniParse, {}},
401 {::_pbi::TcParser::MiniParse, {}},
402 {::_pbi::TcParser::MiniParse, {}},
403 {::_pbi::TcParser::MiniParse, {}},
404 {::_pbi::TcParser::MiniParse, {}},
405 {::_pbi::TcParser::MiniParse, {}},
406 {::_pbi::TcParser::MiniParse, {}},
407 {::_pbi::TcParser::MiniParse, {}},
408 }}, {{
409 65535, 65535
410 }}, {{
411 // optional double rho = 1;
412 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.rho_), _Internal::kHasBitsOffset + 0, 0,
413 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
414 // optional double sigma = 2;
415 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.sigma_), _Internal::kHasBitsOffset + 1, 0,
416 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
417 // optional int64 scaling = 3;
418 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.scaling_), _Internal::kHasBitsOffset + 2, 0,
419 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
420 // optional bool adaptive_rho = 4;
421 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_), _Internal::kHasBitsOffset + 13, 0,
422 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
423 // optional int64 adaptive_rho_interval = 5;
424 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_interval_), _Internal::kHasBitsOffset + 3, 0,
425 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
426 // optional double adaptive_rho_tolerance = 6;
427 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_tolerance_), _Internal::kHasBitsOffset + 4, 0,
428 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
429 // optional double adaptive_rho_fraction = 7;
430 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.adaptive_rho_fraction_), _Internal::kHasBitsOffset + 5, 0,
431 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
432 // optional int64 max_iter = 8;
433 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.max_iter_), _Internal::kHasBitsOffset + 6, 0,
434 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
435 // optional double eps_abs = 9;
436 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_abs_), _Internal::kHasBitsOffset + 7, 0,
437 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
438 // optional double eps_rel = 10;
439 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_rel_), _Internal::kHasBitsOffset + 8, 0,
440 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
441 // optional double eps_prim_inf = 11;
442 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_prim_inf_), _Internal::kHasBitsOffset + 9, 0,
443 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
444 // optional double eps_dual_inf = 12;
445 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.eps_dual_inf_), _Internal::kHasBitsOffset + 10, 0,
446 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
447 // optional double alpha = 13;
448 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.alpha_), _Internal::kHasBitsOffset + 11, 0,
449 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
450 // optional double delta = 14;
451 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.delta_), _Internal::kHasBitsOffset + 12, 0,
452 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
453 // optional bool polish = 15;
454 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.polish_), _Internal::kHasBitsOffset + 14, 0,
455 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
456 // optional int64 polish_refine_iter = 16;
457 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.polish_refine_iter_), _Internal::kHasBitsOffset + 18, 0,
458 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
459 // optional bool verbose = 17;
460 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.verbose_), _Internal::kHasBitsOffset + 15, 0,
461 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
462 // optional bool scaled_termination = 18;
463 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.scaled_termination_), _Internal::kHasBitsOffset + 16, 0,
464 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
465 // optional int64 check_termination = 19;
466 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.check_termination_), _Internal::kHasBitsOffset + 19, 0,
467 (0 | ::_fl::kFcOptional | ::_fl::kInt64)},
468 // optional bool warm_start = 20;
469 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.warm_start_), _Internal::kHasBitsOffset + 17, 0,
470 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
471 // optional double time_limit = 21;
472 {PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.time_limit_), _Internal::kHasBitsOffset + 20, 0,
473 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
474 }},
475 // no aux_entries
476 {{
477 }},
478};
479PROTOBUF_NOINLINE void OsqpSettingsProto::Clear() {
480// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.OsqpSettingsProto)
481 ::google::protobuf::internal::TSanWrite(&_impl_);
482 ::uint32_t cached_has_bits = 0;
483 // Prevent compiler warnings about cached_has_bits being unused
484 (void) cached_has_bits;
485
486 cached_has_bits = _impl_._has_bits_[0];
487 if ((cached_has_bits & 0x000000ffu) != 0) {
488 ::memset(&_impl_.rho_, 0, static_cast<::size_t>(
489 reinterpret_cast<char*>(&_impl_.eps_abs_) -
490 reinterpret_cast<char*>(&_impl_.rho_)) + sizeof(_impl_.eps_abs_));
491 }
492 if ((cached_has_bits & 0x0000ff00u) != 0) {
493 ::memset(&_impl_.eps_rel_, 0, static_cast<::size_t>(
494 reinterpret_cast<char*>(&_impl_.verbose_) -
495 reinterpret_cast<char*>(&_impl_.eps_rel_)) + sizeof(_impl_.verbose_));
496 }
497 if ((cached_has_bits & 0x001f0000u) != 0) {
498 ::memset(&_impl_.scaled_termination_, 0, static_cast<::size_t>(
499 reinterpret_cast<char*>(&_impl_.time_limit_) -
500 reinterpret_cast<char*>(&_impl_.scaled_termination_)) + sizeof(_impl_.time_limit_));
501 }
502 _impl_._has_bits_.Clear();
503 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
504}
505
506#if defined(PROTOBUF_CUSTOM_VTABLE)
507::uint8_t* PROTOBUF_NONNULL OsqpSettingsProto::_InternalSerialize(
508 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
509 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
510 const OsqpSettingsProto& this_ = static_cast<const OsqpSettingsProto&>(base);
511#else // PROTOBUF_CUSTOM_VTABLE
512::uint8_t* PROTOBUF_NONNULL OsqpSettingsProto::_InternalSerialize(
513 ::uint8_t* PROTOBUF_NONNULL target,
514 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
515 const OsqpSettingsProto& this_ = *this;
516#endif // PROTOBUF_CUSTOM_VTABLE
517 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.OsqpSettingsProto)
518 ::uint32_t cached_has_bits = 0;
519 (void)cached_has_bits;
520
521 cached_has_bits = this_._impl_._has_bits_[0];
522 // optional double rho = 1;
523 if ((cached_has_bits & 0x00000001u) != 0) {
524 target = stream->EnsureSpace(target);
525 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
526 1, this_._internal_rho(), target);
527 }
528
529 // optional double sigma = 2;
530 if ((cached_has_bits & 0x00000002u) != 0) {
531 target = stream->EnsureSpace(target);
532 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
533 2, this_._internal_sigma(), target);
534 }
535
536 // optional int64 scaling = 3;
537 if ((cached_has_bits & 0x00000004u) != 0) {
538 target =
539 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<3>(
540 stream, this_._internal_scaling(), target);
541 }
542
543 // optional bool adaptive_rho = 4;
544 if ((cached_has_bits & 0x00002000u) != 0) {
545 target = stream->EnsureSpace(target);
546 target = ::_pbi::WireFormatLite::WriteBoolToArray(
547 4, this_._internal_adaptive_rho(), target);
548 }
549
550 // optional int64 adaptive_rho_interval = 5;
551 if ((cached_has_bits & 0x00000008u) != 0) {
552 target =
553 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<5>(
554 stream, this_._internal_adaptive_rho_interval(), target);
555 }
556
557 // optional double adaptive_rho_tolerance = 6;
558 if ((cached_has_bits & 0x00000010u) != 0) {
559 target = stream->EnsureSpace(target);
560 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
561 6, this_._internal_adaptive_rho_tolerance(), target);
562 }
563
564 // optional double adaptive_rho_fraction = 7;
565 if ((cached_has_bits & 0x00000020u) != 0) {
566 target = stream->EnsureSpace(target);
567 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
568 7, this_._internal_adaptive_rho_fraction(), target);
569 }
570
571 // optional int64 max_iter = 8;
572 if ((cached_has_bits & 0x00000040u) != 0) {
573 target =
574 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<8>(
575 stream, this_._internal_max_iter(), target);
576 }
577
578 // optional double eps_abs = 9;
579 if ((cached_has_bits & 0x00000080u) != 0) {
580 target = stream->EnsureSpace(target);
581 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
582 9, this_._internal_eps_abs(), target);
583 }
584
585 // optional double eps_rel = 10;
586 if ((cached_has_bits & 0x00000100u) != 0) {
587 target = stream->EnsureSpace(target);
588 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
589 10, this_._internal_eps_rel(), target);
590 }
591
592 // optional double eps_prim_inf = 11;
593 if ((cached_has_bits & 0x00000200u) != 0) {
594 target = stream->EnsureSpace(target);
595 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
596 11, this_._internal_eps_prim_inf(), target);
597 }
598
599 // optional double eps_dual_inf = 12;
600 if ((cached_has_bits & 0x00000400u) != 0) {
601 target = stream->EnsureSpace(target);
602 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
603 12, this_._internal_eps_dual_inf(), target);
604 }
605
606 // optional double alpha = 13;
607 if ((cached_has_bits & 0x00000800u) != 0) {
608 target = stream->EnsureSpace(target);
609 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
610 13, this_._internal_alpha(), target);
611 }
612
613 // optional double delta = 14;
614 if ((cached_has_bits & 0x00001000u) != 0) {
615 target = stream->EnsureSpace(target);
616 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
617 14, this_._internal_delta(), target);
618 }
619
620 // optional bool polish = 15;
621 if ((cached_has_bits & 0x00004000u) != 0) {
622 target = stream->EnsureSpace(target);
623 target = ::_pbi::WireFormatLite::WriteBoolToArray(
624 15, this_._internal_polish(), target);
625 }
626
627 // optional int64 polish_refine_iter = 16;
628 if ((cached_has_bits & 0x00040000u) != 0) {
629 target = stream->EnsureSpace(target);
630 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
631 16, this_._internal_polish_refine_iter(), target);
632 }
633
634 // optional bool verbose = 17;
635 if ((cached_has_bits & 0x00008000u) != 0) {
636 target = stream->EnsureSpace(target);
637 target = ::_pbi::WireFormatLite::WriteBoolToArray(
638 17, this_._internal_verbose(), target);
639 }
640
641 // optional bool scaled_termination = 18;
642 if ((cached_has_bits & 0x00010000u) != 0) {
643 target = stream->EnsureSpace(target);
644 target = ::_pbi::WireFormatLite::WriteBoolToArray(
645 18, this_._internal_scaled_termination(), target);
646 }
647
648 // optional int64 check_termination = 19;
649 if ((cached_has_bits & 0x00080000u) != 0) {
650 target = stream->EnsureSpace(target);
651 target = ::_pbi::WireFormatLite::WriteInt64ToArray(
652 19, this_._internal_check_termination(), target);
653 }
654
655 // optional bool warm_start = 20;
656 if ((cached_has_bits & 0x00020000u) != 0) {
657 target = stream->EnsureSpace(target);
658 target = ::_pbi::WireFormatLite::WriteBoolToArray(
659 20, this_._internal_warm_start(), target);
660 }
661
662 // optional double time_limit = 21;
663 if ((cached_has_bits & 0x00100000u) != 0) {
664 target = stream->EnsureSpace(target);
665 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
666 21, this_._internal_time_limit(), target);
667 }
668
669 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
670 target =
671 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
672 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
673 }
674 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.OsqpSettingsProto)
675 return target;
676}
677
678#if defined(PROTOBUF_CUSTOM_VTABLE)
680 const OsqpSettingsProto& this_ = static_cast<const OsqpSettingsProto&>(base);
681#else // PROTOBUF_CUSTOM_VTABLE
682::size_t OsqpSettingsProto::ByteSizeLong() const {
683 const OsqpSettingsProto& this_ = *this;
684#endif // PROTOBUF_CUSTOM_VTABLE
685 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.OsqpSettingsProto)
686 ::size_t total_size = 0;
687
688 ::uint32_t cached_has_bits = 0;
689 // Prevent compiler warnings about cached_has_bits being unused
690 (void)cached_has_bits;
691
692 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
693 cached_has_bits = this_._impl_._has_bits_[0];
694 total_size += static_cast<bool>(0x00100000u & cached_has_bits) * 10;
695 total_size += ::absl::popcount(0x00001fb3u & cached_has_bits) * 9;
696 total_size += ::absl::popcount(0x00038000u & cached_has_bits) * 3;
697 total_size += ::absl::popcount(0x00006000u & cached_has_bits) * 2;
698 if ((cached_has_bits & 0x0000004cu) != 0) {
699 // optional int64 scaling = 3;
700 if ((cached_has_bits & 0x00000004u) != 0) {
701 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
702 this_._internal_scaling());
703 }
704 // optional int64 adaptive_rho_interval = 5;
705 if ((cached_has_bits & 0x00000008u) != 0) {
706 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
707 this_._internal_adaptive_rho_interval());
708 }
709 // optional int64 max_iter = 8;
710 if ((cached_has_bits & 0x00000040u) != 0) {
711 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
712 this_._internal_max_iter());
713 }
714 }
715 if ((cached_has_bits & 0x000c0000u) != 0) {
716 // optional int64 polish_refine_iter = 16;
717 if ((cached_has_bits & 0x00040000u) != 0) {
718 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
719 this_._internal_polish_refine_iter());
720 }
721 // optional int64 check_termination = 19;
722 if ((cached_has_bits & 0x00080000u) != 0) {
723 total_size += 2 + ::_pbi::WireFormatLite::Int64Size(
724 this_._internal_check_termination());
725 }
726 }
727 return this_.MaybeComputeUnknownFieldsSize(total_size,
728 &this_._impl_._cached_size_);
729}
730
731void OsqpSettingsProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
732 auto* const _this = static_cast<OsqpSettingsProto*>(&to_msg);
733 auto& from = static_cast<const OsqpSettingsProto&>(from_msg);
734 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.OsqpSettingsProto)
735 ABSL_DCHECK_NE(&from, _this);
736 ::uint32_t cached_has_bits = 0;
737 (void) cached_has_bits;
738
739 cached_has_bits = from._impl_._has_bits_[0];
740 if ((cached_has_bits & 0x000000ffu) != 0) {
741 if ((cached_has_bits & 0x00000001u) != 0) {
742 _this->_impl_.rho_ = from._impl_.rho_;
743 }
744 if ((cached_has_bits & 0x00000002u) != 0) {
745 _this->_impl_.sigma_ = from._impl_.sigma_;
746 }
747 if ((cached_has_bits & 0x00000004u) != 0) {
748 _this->_impl_.scaling_ = from._impl_.scaling_;
749 }
750 if ((cached_has_bits & 0x00000008u) != 0) {
751 _this->_impl_.adaptive_rho_interval_ = from._impl_.adaptive_rho_interval_;
752 }
753 if ((cached_has_bits & 0x00000010u) != 0) {
754 _this->_impl_.adaptive_rho_tolerance_ = from._impl_.adaptive_rho_tolerance_;
755 }
756 if ((cached_has_bits & 0x00000020u) != 0) {
757 _this->_impl_.adaptive_rho_fraction_ = from._impl_.adaptive_rho_fraction_;
758 }
759 if ((cached_has_bits & 0x00000040u) != 0) {
760 _this->_impl_.max_iter_ = from._impl_.max_iter_;
761 }
762 if ((cached_has_bits & 0x00000080u) != 0) {
763 _this->_impl_.eps_abs_ = from._impl_.eps_abs_;
764 }
765 }
766 if ((cached_has_bits & 0x0000ff00u) != 0) {
767 if ((cached_has_bits & 0x00000100u) != 0) {
768 _this->_impl_.eps_rel_ = from._impl_.eps_rel_;
769 }
770 if ((cached_has_bits & 0x00000200u) != 0) {
771 _this->_impl_.eps_prim_inf_ = from._impl_.eps_prim_inf_;
772 }
773 if ((cached_has_bits & 0x00000400u) != 0) {
774 _this->_impl_.eps_dual_inf_ = from._impl_.eps_dual_inf_;
775 }
776 if ((cached_has_bits & 0x00000800u) != 0) {
777 _this->_impl_.alpha_ = from._impl_.alpha_;
778 }
779 if ((cached_has_bits & 0x00001000u) != 0) {
780 _this->_impl_.delta_ = from._impl_.delta_;
781 }
782 if ((cached_has_bits & 0x00002000u) != 0) {
783 _this->_impl_.adaptive_rho_ = from._impl_.adaptive_rho_;
784 }
785 if ((cached_has_bits & 0x00004000u) != 0) {
786 _this->_impl_.polish_ = from._impl_.polish_;
787 }
788 if ((cached_has_bits & 0x00008000u) != 0) {
789 _this->_impl_.verbose_ = from._impl_.verbose_;
790 }
791 }
792 if ((cached_has_bits & 0x001f0000u) != 0) {
793 if ((cached_has_bits & 0x00010000u) != 0) {
794 _this->_impl_.scaled_termination_ = from._impl_.scaled_termination_;
795 }
796 if ((cached_has_bits & 0x00020000u) != 0) {
797 _this->_impl_.warm_start_ = from._impl_.warm_start_;
798 }
799 if ((cached_has_bits & 0x00040000u) != 0) {
800 _this->_impl_.polish_refine_iter_ = from._impl_.polish_refine_iter_;
801 }
802 if ((cached_has_bits & 0x00080000u) != 0) {
803 _this->_impl_.check_termination_ = from._impl_.check_termination_;
804 }
805 if ((cached_has_bits & 0x00100000u) != 0) {
806 _this->_impl_.time_limit_ = from._impl_.time_limit_;
807 }
808 }
809 _this->_impl_._has_bits_[0] |= cached_has_bits;
810 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
811}
812
814// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.OsqpSettingsProto)
815 if (&from == this) return;
816 Clear();
817 MergeFrom(from);
818}
819
820
821void OsqpSettingsProto::InternalSwap(OsqpSettingsProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
822 using ::std::swap;
823 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
824 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
825 ::google::protobuf::internal::memswap<
826 PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.time_limit_)
827 + sizeof(OsqpSettingsProto::_impl_.time_limit_)
828 - PROTOBUF_FIELD_OFFSET(OsqpSettingsProto, _impl_.rho_)>(
829 reinterpret_cast<char*>(&_impl_.rho_),
830 reinterpret_cast<char*>(&other->_impl_.rho_));
831}
832
833::google::protobuf::Metadata OsqpSettingsProto::GetMetadata() const {
834 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
835}
836// ===================================================================
837
839 public:
840 using HasBits =
841 decltype(::std::declval<OsqpOutput>()._impl_._has_bits_);
842 static constexpr ::int32_t kHasBitsOffset =
843 8 * PROTOBUF_FIELD_OFFSET(OsqpOutput, _impl_._has_bits_);
845
846OsqpOutput::OsqpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
847#if defined(PROTOBUF_CUSTOM_VTABLE)
848 : ::google::protobuf::Message(arena, OsqpOutput_class_data_.base()) {
849#else // PROTOBUF_CUSTOM_VTABLE
850 : ::google::protobuf::Message(arena) {
851#endif // PROTOBUF_CUSTOM_VTABLE
852 SharedCtor(arena);
853 // @@protoc_insertion_point(arena_constructor:operations_research.math_opt.OsqpOutput)
854}
856 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsqpOutput& from)
857#if defined(PROTOBUF_CUSTOM_VTABLE)
858 : ::google::protobuf::Message(arena, OsqpOutput_class_data_.base()),
859#else // PROTOBUF_CUSTOM_VTABLE
860 : ::google::protobuf::Message(arena),
861#endif // PROTOBUF_CUSTOM_VTABLE
862 _impl_(from._impl_) {
863 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
864 from._internal_metadata_);
865}
866PROTOBUF_NDEBUG_INLINE OsqpOutput::Impl_::Impl_(
867 ::google::protobuf::internal::InternalVisibility visibility,
868 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
869 : _cached_size_{0} {}
870
871inline void OsqpOutput::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
872 new (&_impl_) Impl_(internal_visibility(), arena);
873 _impl_.initialized_underlying_solver_ = {};
874}
876 // @@protoc_insertion_point(destructor:operations_research.math_opt.OsqpOutput)
877 SharedDtor(*this);
878}
879inline void OsqpOutput::SharedDtor(MessageLite& self) {
880 OsqpOutput& this_ = static_cast<OsqpOutput&>(self);
881 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
882 ABSL_DCHECK(this_.GetArena() == nullptr);
883 this_._impl_.~Impl_();
884}
885
886inline void* PROTOBUF_NONNULL OsqpOutput::PlacementNew_(
887 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
888 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
889 return ::new (mem) OsqpOutput(arena);
890}
891constexpr auto OsqpOutput::InternalNewImpl_() {
892 return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OsqpOutput),
893 alignof(OsqpOutput));
894}
896 return ::google::protobuf::internal::ClassDataFull{
897 ::google::protobuf::internal::ClassData{
899 &_table_.header,
900 nullptr, // OnDemandRegisterArenaDtor
901 nullptr, // IsInitialized
902 &OsqpOutput::MergeImpl,
903 ::google::protobuf::Message::GetNewImpl<OsqpOutput>(),
904#if defined(PROTOBUF_CUSTOM_VTABLE)
905 &OsqpOutput::SharedDtor,
906 ::google::protobuf::Message::GetClearImpl<OsqpOutput>(), &OsqpOutput::ByteSizeLong,
908#endif // PROTOBUF_CUSTOM_VTABLE
909 PROTOBUF_FIELD_OFFSET(OsqpOutput, _impl_._cached_size_),
910 false,
911 },
912 &OsqpOutput::kDescriptorMethods,
914 nullptr, // tracker
915 };
916}
917
918PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
919 ::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_ =
922PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
924 ::google::protobuf::internal::PrefetchToLocalCache(&OsqpOutput_class_data_);
925 ::google::protobuf::internal::PrefetchToLocalCache(OsqpOutput_class_data_.tc_table);
926 return OsqpOutput_class_data_.base();
927}
928PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
929const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
930OsqpOutput::_table_ = {
931 {
932 PROTOBUF_FIELD_OFFSET(OsqpOutput, _impl_._has_bits_),
933 0, // no _extensions_
934 1, 0, // max_field_number, fast_idx_mask
935 offsetof(decltype(_table_), field_lookup_table),
936 4294967294, // skipmap
937 offsetof(decltype(_table_), field_entries),
938 1, // num_field_entries
939 0, // num_aux_entries
940 offsetof(decltype(_table_), field_names), // no aux_entries
942 nullptr, // post_loop_handler
943 ::_pbi::TcParser::GenericFallback, // fallback
944 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
945 ::_pbi::TcParser::GetTable<::operations_research::math_opt::OsqpOutput>(), // to_prefetch
946 #endif // PROTOBUF_PREFETCH_PARSE_TABLE
947 }, {{
948 // bool initialized_underlying_solver = 1;
949 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(OsqpOutput, _impl_.initialized_underlying_solver_), 0>(),
950 {8, 0, 0, PROTOBUF_FIELD_OFFSET(OsqpOutput, _impl_.initialized_underlying_solver_)}},
951 }}, {{
952 65535, 65535
953 }}, {{
954 // bool initialized_underlying_solver = 1;
955 {PROTOBUF_FIELD_OFFSET(OsqpOutput, _impl_.initialized_underlying_solver_), _Internal::kHasBitsOffset + 0, 0,
956 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
957 }},
958 // no aux_entries
959 {{
960 }},
961};
962PROTOBUF_NOINLINE void OsqpOutput::Clear() {
963// @@protoc_insertion_point(message_clear_start:operations_research.math_opt.OsqpOutput)
964 ::google::protobuf::internal::TSanWrite(&_impl_);
965 ::uint32_t cached_has_bits = 0;
966 // Prevent compiler warnings about cached_has_bits being unused
967 (void) cached_has_bits;
968
969 _impl_.initialized_underlying_solver_ = false;
970 _impl_._has_bits_.Clear();
971 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
972}
973
974#if defined(PROTOBUF_CUSTOM_VTABLE)
975::uint8_t* PROTOBUF_NONNULL OsqpOutput::_InternalSerialize(
976 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
977 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
978 const OsqpOutput& this_ = static_cast<const OsqpOutput&>(base);
979#else // PROTOBUF_CUSTOM_VTABLE
980::uint8_t* PROTOBUF_NONNULL OsqpOutput::_InternalSerialize(
981 ::uint8_t* PROTOBUF_NONNULL target,
982 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
983 const OsqpOutput& this_ = *this;
984#endif // PROTOBUF_CUSTOM_VTABLE
985 // @@protoc_insertion_point(serialize_to_array_start:operations_research.math_opt.OsqpOutput)
986 ::uint32_t cached_has_bits = 0;
987 (void)cached_has_bits;
988
989 // bool initialized_underlying_solver = 1;
990 if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
991 if (this_._internal_initialized_underlying_solver() != 0) {
992 target = stream->EnsureSpace(target);
993 target = ::_pbi::WireFormatLite::WriteBoolToArray(
994 1, this_._internal_initialized_underlying_solver(), target);
995 }
996 }
997
998 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
999 target =
1000 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1001 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1002 }
1003 // @@protoc_insertion_point(serialize_to_array_end:operations_research.math_opt.OsqpOutput)
1004 return target;
1005}
1006
1007#if defined(PROTOBUF_CUSTOM_VTABLE)
1008::size_t OsqpOutput::ByteSizeLong(const MessageLite& base) {
1009 const OsqpOutput& this_ = static_cast<const OsqpOutput&>(base);
1010#else // PROTOBUF_CUSTOM_VTABLE
1011::size_t OsqpOutput::ByteSizeLong() const {
1012 const OsqpOutput& this_ = *this;
1013#endif // PROTOBUF_CUSTOM_VTABLE
1014 // @@protoc_insertion_point(message_byte_size_start:operations_research.math_opt.OsqpOutput)
1015 ::size_t total_size = 0;
1016
1017 ::uint32_t cached_has_bits = 0;
1018 // Prevent compiler warnings about cached_has_bits being unused
1019 (void)cached_has_bits;
1020
1021 {
1022 // bool initialized_underlying_solver = 1;
1023 cached_has_bits = this_._impl_._has_bits_[0];
1024 if ((cached_has_bits & 0x00000001u) != 0) {
1025 if (this_._internal_initialized_underlying_solver() != 0) {
1026 total_size += 2;
1027 }
1028 }
1029 }
1030 return this_.MaybeComputeUnknownFieldsSize(total_size,
1031 &this_._impl_._cached_size_);
1032}
1033
1034void OsqpOutput::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1035 auto* const _this = static_cast<OsqpOutput*>(&to_msg);
1036 auto& from = static_cast<const OsqpOutput&>(from_msg);
1037 // @@protoc_insertion_point(class_specific_merge_from_start:operations_research.math_opt.OsqpOutput)
1038 ABSL_DCHECK_NE(&from, _this);
1039 ::uint32_t cached_has_bits = 0;
1040 (void) cached_has_bits;
1041
1042 cached_has_bits = from._impl_._has_bits_[0];
1043 if ((cached_has_bits & 0x00000001u) != 0) {
1044 if (from._internal_initialized_underlying_solver() != 0) {
1045 _this->_impl_.initialized_underlying_solver_ = from._impl_.initialized_underlying_solver_;
1046 }
1047 }
1048 _this->_impl_._has_bits_[0] |= cached_has_bits;
1049 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1050}
1051
1052void OsqpOutput::CopyFrom(const OsqpOutput& from) {
1053// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.math_opt.OsqpOutput)
1054 if (&from == this) return;
1055 Clear();
1056 MergeFrom(from);
1057}
1058
1059
1060void OsqpOutput::InternalSwap(OsqpOutput* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1061 using ::std::swap;
1062 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1063 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1064 swap(_impl_.initialized_underlying_solver_, other->_impl_.initialized_underlying_solver_);
1065}
1066
1067::google::protobuf::Metadata OsqpOutput::GetMetadata() const {
1068 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1070// @@protoc_insertion_point(namespace_scope)
1071} // namespace math_opt
1072} // namespace operations_research
1073namespace google {
1074namespace protobuf {
1075} // namespace protobuf
1076} // namespace google
1077// @@protoc_insertion_point(global_scope)
1078PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1079 _static_init2_ [[maybe_unused]] =
1081 ::std::false_type{});
1082#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[]
decltype(::std::declval< OsqpOutput >()._impl_._has_bits_) HasBits
Definition osqp.pb.cc:842
::google::protobuf::Metadata GetMetadata() const
Definition osqp.pb.cc:1069
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition osqp.pb.h:568
friend class ::google::protobuf::MessageLite
Definition osqp.pb.h:699
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition osqp.pb.cc:888
void MergeFrom(const OsqpOutput &from)
Definition osqp.pb.h:614
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
Definition osqp.pb.cc:925
friend void swap(OsqpOutput &a, OsqpOutput &b)
Definition osqp.pb.h:591
static constexpr auto InternalNewImpl_()
Definition osqp.pb.cc:893
void CopyFrom(const OsqpOutput &from)
Definition osqp.pb.cc:1054
static constexpr auto InternalGenerateClassData_()
Definition osqp.pb.cc:897
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition osqp.pb.cc:964
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition osqp.pb.cc:982
decltype(::std::declval< OsqpSettingsProto >()._impl_._has_bits_) HasBits
Definition osqp.pb.cc:222
void CopyFrom(const OsqpSettingsProto &from)
Definition osqp.pb.cc:814
friend class ::google::protobuf::MessageLite
Definition osqp.pb.h:487
friend void swap(OsqpSettingsProto &a, OsqpSettingsProto &b)
Definition osqp.pb.h:138
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition osqp.pb.cc:480
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition osqp.pb.h:115
static constexpr auto InternalGenerateClassData_()
Definition osqp.pb.cc:282
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
Definition osqp.pb.cc:310
::google::protobuf::Metadata GetMetadata() const
Definition osqp.pb.cc:834
void MergeFrom(const OsqpSettingsProto &from)
Definition osqp.pb.h:161
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition osqp.pb.cc:513
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition osqp.pb.cc:273
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpOutputDefaultTypeInternal _OsqpOutput_default_instance_
Definition osqp.pb.cc:98
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_
Definition osqp.pb.cc:921
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpSettingsProtoDefaultTypeInternal _OsqpSettingsProto_default_instance_
Definition osqp.pb.cc:73
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_
Definition osqp.pb.cc:306
In SWIG mode, we don't want anything besides these top-level includes.
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
Definition osqp.pb.cc:102
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
Definition osqp.pb.cc:199
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
Definition osqp.pb.cc:104
const ::uint32_t TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
::absl::once_flag descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_once
Definition osqp.pb.cc:198