Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
osqp.pb.h
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
6#ifndef ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/unknown_field_set.h"
32// @@protoc_insertion_point(includes)
33
34// Must be included last.
35#include "google/protobuf/port_def.inc"
36
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto OR_PROTO_DLL
38
39namespace google {
40namespace protobuf {
41namespace internal {
42template <typename T>
43::absl::string_view GetAnyMessageName();
44} // namespace internal
45} // namespace protobuf
46} // namespace google
47
48// Internal implementation detail -- do not use these members.
50 static const ::uint32_t offsets[];
51};
52extern "C" {
53OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
54} // extern "C"
55namespace operations_research {
56namespace math_opt {
57class OsqpOutput;
60OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_;
64OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_;
65} // namespace math_opt
66} // namespace operations_research
67namespace google {
68namespace protobuf {
69} // namespace protobuf
70} // namespace google
71
72namespace operations_research {
73namespace math_opt {
74
75// ===================================================================
76
77
78// -------------------------------------------------------------------
79
80class OR_PROTO_DLL OsqpSettingsProto final : public ::google::protobuf::Message
81/* @@protoc_insertion_point(class_definition:operations_research.math_opt.OsqpSettingsProto) */ {
82 public:
83 inline OsqpSettingsProto() : OsqpSettingsProto(nullptr) {}
84 ~OsqpSettingsProto() PROTOBUF_FINAL;
86#if defined(PROTOBUF_CUSTOM_VTABLE)
87 void operator delete(OsqpSettingsProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
88 SharedDtor(*msg);
89 ::google::protobuf::internal::SizedDelete(msg, sizeof(OsqpSettingsProto));
90 }
91#endif
92
93 template <typename = void>
94 explicit PROTOBUF_CONSTEXPR OsqpSettingsProto(::google::protobuf::internal::ConstantInitialized);
95
96 inline OsqpSettingsProto(const OsqpSettingsProto& from) : OsqpSettingsProto(nullptr, from) {}
97 inline OsqpSettingsProto(OsqpSettingsProto&& from) noexcept
98 : OsqpSettingsProto(nullptr, ::std::move(from)) {}
100 CopyFrom(from);
101 return *this;
102 }
103 inline OsqpSettingsProto& operator=(OsqpSettingsProto&& from) noexcept {
104 if (this == &from) return *this;
105 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
106 InternalSwap(&from);
107 } else {
108 CopyFrom(from);
109 }
110 return *this;
111 }
112
113 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
114 ABSL_ATTRIBUTE_LIFETIME_BOUND {
115 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
116 }
117 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
119 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
120 }
121
122 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
123 return GetDescriptor();
125 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
126 return default_instance().GetMetadata().descriptor;
128 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
129 return default_instance().GetMetadata().reflection;
131 static const OsqpSettingsProto& default_instance() {
132 return *reinterpret_cast<const OsqpSettingsProto*>(
134 }
135 static constexpr int kIndexInFileMessages = 0;
136 friend void swap(OsqpSettingsProto& a, OsqpSettingsProto& b) { a.Swap(&b); }
137 inline void Swap(OsqpSettingsProto* PROTOBUF_NONNULL other) {
138 if (other == this) return;
139 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
140 InternalSwap(other);
141 } else {
142 ::google::protobuf::internal::GenericSwap(this, other);
143 }
144 }
145 void UnsafeArenaSwap(OsqpSettingsProto* PROTOBUF_NONNULL other) {
146 if (other == this) return;
147 ABSL_DCHECK(GetArena() == other->GetArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
153 OsqpSettingsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
154 return ::google::protobuf::Message::DefaultConstruct<OsqpSettingsProto>(arena);
156 using ::google::protobuf::Message::CopyFrom;
157 void CopyFrom(const OsqpSettingsProto& from);
158 using ::google::protobuf::Message::MergeFrom;
159 void MergeFrom(const OsqpSettingsProto& from) { OsqpSettingsProto::MergeImpl(*this, from); }
160
161 private:
162 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
163 const ::google::protobuf::MessageLite& from_msg);
164
165 public:
166 bool IsInitialized() const {
167 return true;
169 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
170 #if defined(PROTOBUF_CUSTOM_VTABLE)
171 private:
172 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
173 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
174 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
175 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
176
177 public:
178 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
179 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
180 ::uint8_t* PROTOBUF_NONNULL target,
181 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
182 return _InternalSerialize(*this, target, stream);
183 }
184 #else // PROTOBUF_CUSTOM_VTABLE
185 ::size_t ByteSizeLong() const final;
186 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
187 ::uint8_t* PROTOBUF_NONNULL target,
188 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
189 #endif // PROTOBUF_CUSTOM_VTABLE
190 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
191
192 private:
193 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
194 static void SharedDtor(MessageLite& self);
195 void InternalSwap(OsqpSettingsProto* PROTOBUF_NONNULL other);
196 private:
197 template <typename T>
198 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
199 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.OsqpSettingsProto"; }
200
201 protected:
202 explicit OsqpSettingsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
203 OsqpSettingsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsqpSettingsProto& from);
205 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OsqpSettingsProto&& from) noexcept
207 *this = ::std::move(from);
208 }
209 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
210 static void* PROTOBUF_NONNULL PlacementNew_(
211 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
212 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
213 static constexpr auto InternalNewImpl_();
214
215 public:
216 static constexpr auto InternalGenerateClassData_();
217
218 ::google::protobuf::Metadata GetMetadata() const;
219 // nested types ----------------------------------------------------
220
221 // accessors -------------------------------------------------------
222 enum : int {
223 kRhoFieldNumber = 1,
224 kSigmaFieldNumber = 2,
244 };
245 // optional double rho = 1;
246 bool has_rho() const;
247 void clear_rho() ;
248 double rho() const;
249 void set_rho(double value);
250
251 private:
252 double _internal_rho() const;
253 void _internal_set_rho(double value);
254
255 public:
256 // optional double sigma = 2;
257 bool has_sigma() const;
258 void clear_sigma() ;
259 double sigma() const;
260 void set_sigma(double value);
261
262 private:
263 double _internal_sigma() const;
264 void _internal_set_sigma(double value);
265
266 public:
267 // optional int64 scaling = 3;
268 bool has_scaling() const;
269 void clear_scaling() ;
270 ::int64_t scaling() const;
271 void set_scaling(::int64_t value);
272
273 private:
274 ::int64_t _internal_scaling() const;
275 void _internal_set_scaling(::int64_t value);
276
277 public:
278 // optional int64 adaptive_rho_interval = 5;
279 bool has_adaptive_rho_interval() const;
281 ::int64_t adaptive_rho_interval() const;
282 void set_adaptive_rho_interval(::int64_t value);
283
284 private:
285 ::int64_t _internal_adaptive_rho_interval() const;
286 void _internal_set_adaptive_rho_interval(::int64_t value);
287
288 public:
289 // optional double adaptive_rho_tolerance = 6;
290 bool has_adaptive_rho_tolerance() const;
292 double adaptive_rho_tolerance() const;
293 void set_adaptive_rho_tolerance(double value);
294
295 private:
296 double _internal_adaptive_rho_tolerance() const;
297 void _internal_set_adaptive_rho_tolerance(double value);
298
299 public:
300 // optional double adaptive_rho_fraction = 7;
301 bool has_adaptive_rho_fraction() const;
303 double adaptive_rho_fraction() const;
304 void set_adaptive_rho_fraction(double value);
305
306 private:
307 double _internal_adaptive_rho_fraction() const;
308 void _internal_set_adaptive_rho_fraction(double value);
309
310 public:
311 // optional int64 max_iter = 8;
312 bool has_max_iter() const;
313 void clear_max_iter() ;
314 ::int64_t max_iter() const;
315 void set_max_iter(::int64_t value);
316
317 private:
318 ::int64_t _internal_max_iter() const;
319 void _internal_set_max_iter(::int64_t value);
320
321 public:
322 // optional double eps_abs = 9;
323 bool has_eps_abs() const;
324 void clear_eps_abs() ;
325 double eps_abs() const;
326 void set_eps_abs(double value);
327
328 private:
329 double _internal_eps_abs() const;
330 void _internal_set_eps_abs(double value);
331
332 public:
333 // optional double eps_rel = 10;
334 bool has_eps_rel() const;
335 void clear_eps_rel() ;
336 double eps_rel() const;
337 void set_eps_rel(double value);
338
339 private:
340 double _internal_eps_rel() const;
341 void _internal_set_eps_rel(double value);
342
343 public:
344 // optional double eps_prim_inf = 11;
345 bool has_eps_prim_inf() const;
346 void clear_eps_prim_inf() ;
347 double eps_prim_inf() const;
348 void set_eps_prim_inf(double value);
349
350 private:
351 double _internal_eps_prim_inf() const;
352 void _internal_set_eps_prim_inf(double value);
353
354 public:
355 // optional double eps_dual_inf = 12;
356 bool has_eps_dual_inf() const;
357 void clear_eps_dual_inf() ;
358 double eps_dual_inf() const;
359 void set_eps_dual_inf(double value);
360
361 private:
362 double _internal_eps_dual_inf() const;
363 void _internal_set_eps_dual_inf(double value);
364
365 public:
366 // optional double alpha = 13;
367 bool has_alpha() const;
368 void clear_alpha() ;
369 double alpha() const;
370 void set_alpha(double value);
371
372 private:
373 double _internal_alpha() const;
374 void _internal_set_alpha(double value);
375
376 public:
377 // optional double delta = 14;
378 bool has_delta() const;
379 void clear_delta() ;
380 double delta() const;
381 void set_delta(double value);
382
383 private:
384 double _internal_delta() const;
385 void _internal_set_delta(double value);
386
387 public:
388 // optional bool adaptive_rho = 4;
389 bool has_adaptive_rho() const;
390 void clear_adaptive_rho() ;
391 bool adaptive_rho() const;
392 void set_adaptive_rho(bool value);
393
394 private:
395 bool _internal_adaptive_rho() const;
396 void _internal_set_adaptive_rho(bool value);
397
398 public:
399 // optional bool polish = 15;
400 bool has_polish() const;
401 void clear_polish() ;
402 bool polish() const;
403 void set_polish(bool value);
404
405 private:
406 bool _internal_polish() const;
407 void _internal_set_polish(bool value);
408
409 public:
410 // optional bool verbose = 17;
411 bool has_verbose() const;
412 void clear_verbose() ;
413 bool verbose() const;
414 void set_verbose(bool value);
415
416 private:
417 bool _internal_verbose() const;
418 void _internal_set_verbose(bool value);
419
420 public:
421 // optional bool scaled_termination = 18;
422 bool has_scaled_termination() const;
424 bool scaled_termination() const;
425 void set_scaled_termination(bool value);
426
427 private:
428 bool _internal_scaled_termination() const;
429 void _internal_set_scaled_termination(bool value);
430
431 public:
432 // optional bool warm_start = 20;
433 bool has_warm_start() const;
434 void clear_warm_start() ;
435 bool warm_start() const;
436 void set_warm_start(bool value);
437
438 private:
439 bool _internal_warm_start() const;
440 void _internal_set_warm_start(bool value);
441
442 public:
443 // optional int64 polish_refine_iter = 16;
444 bool has_polish_refine_iter() const;
446 ::int64_t polish_refine_iter() const;
447 void set_polish_refine_iter(::int64_t value);
448
449 private:
450 ::int64_t _internal_polish_refine_iter() const;
451 void _internal_set_polish_refine_iter(::int64_t value);
452
453 public:
454 // optional int64 check_termination = 19;
455 bool has_check_termination() const;
457 ::int64_t check_termination() const;
458 void set_check_termination(::int64_t value);
459
460 private:
461 ::int64_t _internal_check_termination() const;
462 void _internal_set_check_termination(::int64_t value);
463
464 public:
465 // optional double time_limit = 21;
466 bool has_time_limit() const;
467 void clear_time_limit() ;
468 double time_limit() const;
469 void set_time_limit(double value);
470
471 private:
472 double _internal_time_limit() const;
473 void _internal_set_time_limit(double value);
474
475 public:
476 // @@protoc_insertion_point(class_scope:operations_research.math_opt.OsqpSettingsProto)
477 private:
478 class _Internal;
479 friend class ::google::protobuf::internal::TcParser;
480 static const ::google::protobuf::internal::TcParseTable<5, 21,
481 0, 0,
482 2>
483 _table_;
484
485 friend class ::google::protobuf::MessageLite;
486 friend class ::google::protobuf::Arena;
487 template <typename T>
488 friend class ::google::protobuf::Arena::InternalHelper;
489 using InternalArenaConstructable_ = void;
490 using DestructorSkippable_ = void;
491 struct Impl_ {
492 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
493 inline explicit Impl_(
494 ::google::protobuf::internal::InternalVisibility visibility,
495 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
496 inline explicit Impl_(
497 ::google::protobuf::internal::InternalVisibility visibility,
498 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
499 const OsqpSettingsProto& from_msg);
500 ::google::protobuf::internal::HasBits<1> _has_bits_;
501 ::google::protobuf::internal::CachedSize _cached_size_;
502 double rho_;
503 double sigma_;
504 ::int64_t scaling_;
505 ::int64_t adaptive_rho_interval_;
506 double adaptive_rho_tolerance_;
507 double adaptive_rho_fraction_;
508 ::int64_t max_iter_;
509 double eps_abs_;
510 double eps_rel_;
511 double eps_prim_inf_;
512 double eps_dual_inf_;
513 double alpha_;
514 double delta_;
515 bool adaptive_rho_;
516 bool polish_;
517 bool verbose_;
518 bool scaled_termination_;
519 bool warm_start_;
520 ::int64_t polish_refine_iter_;
521 ::int64_t check_termination_;
522 double time_limit_;
523 PROTOBUF_TSAN_DECLARE_MEMBER
524 };
525 union { Impl_ _impl_; };
526 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
529OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_;
530// -------------------------------------------------------------------
531
532class OR_PROTO_DLL OsqpOutput final : public ::google::protobuf::Message
533/* @@protoc_insertion_point(class_definition:operations_research.math_opt.OsqpOutput) */ {
534 public:
535 inline OsqpOutput() : OsqpOutput(nullptr) {}
536 ~OsqpOutput() PROTOBUF_FINAL;
537
538#if defined(PROTOBUF_CUSTOM_VTABLE)
539 void operator delete(OsqpOutput* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
540 SharedDtor(*msg);
541 ::google::protobuf::internal::SizedDelete(msg, sizeof(OsqpOutput));
542 }
543#endif
544
545 template <typename = void>
546 explicit PROTOBUF_CONSTEXPR OsqpOutput(::google::protobuf::internal::ConstantInitialized);
547
548 inline OsqpOutput(const OsqpOutput& from) : OsqpOutput(nullptr, from) {}
549 inline OsqpOutput(OsqpOutput&& from) noexcept
550 : OsqpOutput(nullptr, ::std::move(from)) {}
551 inline OsqpOutput& operator=(const OsqpOutput& from) {
552 CopyFrom(from);
553 return *this;
555 inline OsqpOutput& operator=(OsqpOutput&& from) noexcept {
556 if (this == &from) return *this;
557 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
558 InternalSwap(&from);
559 } else {
560 CopyFrom(from);
561 }
562 return *this;
563 }
564
565 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
566 ABSL_ATTRIBUTE_LIFETIME_BOUND {
567 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
569 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
570 ABSL_ATTRIBUTE_LIFETIME_BOUND {
571 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
573
574 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
575 return GetDescriptor();
576 }
577 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
578 return default_instance().GetMetadata().descriptor;
579 }
580 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
581 return default_instance().GetMetadata().reflection;
582 }
583 static const OsqpOutput& default_instance() {
584 return *reinterpret_cast<const OsqpOutput*>(
587 static constexpr int kIndexInFileMessages = 1;
588 friend void swap(OsqpOutput& a, OsqpOutput& b) { a.Swap(&b); }
589 inline void Swap(OsqpOutput* PROTOBUF_NONNULL other) {
590 if (other == this) return;
591 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
592 InternalSwap(other);
593 } else {
594 ::google::protobuf::internal::GenericSwap(this, other);
595 }
596 }
597 void UnsafeArenaSwap(OsqpOutput* PROTOBUF_NONNULL other) {
598 if (other == this) return;
599 ABSL_DCHECK(GetArena() == other->GetArena());
600 InternalSwap(other);
601 }
602
603 // implements Message ----------------------------------------------
604
605 OsqpOutput* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
606 return ::google::protobuf::Message::DefaultConstruct<OsqpOutput>(arena);
607 }
608 using ::google::protobuf::Message::CopyFrom;
609 void CopyFrom(const OsqpOutput& from);
610 using ::google::protobuf::Message::MergeFrom;
611 void MergeFrom(const OsqpOutput& from) { OsqpOutput::MergeImpl(*this, from); }
612
613 private:
614 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
615 const ::google::protobuf::MessageLite& from_msg);
616
617 public:
618 bool IsInitialized() const {
619 return true;
620 }
621 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
622 #if defined(PROTOBUF_CUSTOM_VTABLE)
623 private:
624 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
625 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
626 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
627 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
628
629 public:
630 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
631 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
632 ::uint8_t* PROTOBUF_NONNULL target,
633 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
634 return _InternalSerialize(*this, target, stream);
635 }
636 #else // PROTOBUF_CUSTOM_VTABLE
637 ::size_t ByteSizeLong() const final;
638 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
639 ::uint8_t* PROTOBUF_NONNULL target,
640 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
641 #endif // PROTOBUF_CUSTOM_VTABLE
642 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
643
644 private:
645 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
646 static void SharedDtor(MessageLite& self);
647 void InternalSwap(OsqpOutput* PROTOBUF_NONNULL other);
648 private:
649 template <typename T>
650 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
651 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.OsqpOutput"; }
652
653 protected:
654 explicit OsqpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
655 OsqpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsqpOutput& from);
657 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OsqpOutput&& from) noexcept
658 : OsqpOutput(arena) {
659 *this = ::std::move(from);
660 }
661 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
662 static void* PROTOBUF_NONNULL PlacementNew_(
663 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
664 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
665 static constexpr auto InternalNewImpl_();
666
667 public:
668 static constexpr auto InternalGenerateClassData_();
669
670 ::google::protobuf::Metadata GetMetadata() const;
671 // nested types ----------------------------------------------------
672
673 // accessors -------------------------------------------------------
674 enum : int {
675 kInitializedUnderlyingSolverFieldNumber = 1,
676 };
677 // bool initialized_underlying_solver = 1;
680 void set_initialized_underlying_solver(bool value);
681
682 private:
683 bool _internal_initialized_underlying_solver() const;
684 void _internal_set_initialized_underlying_solver(bool value);
685
686 public:
687 // @@protoc_insertion_point(class_scope:operations_research.math_opt.OsqpOutput)
688 private:
689 class _Internal;
690 friend class ::google::protobuf::internal::TcParser;
691 static const ::google::protobuf::internal::TcParseTable<0, 1,
692 0, 0,
693 2>
694 _table_;
695
696 friend class ::google::protobuf::MessageLite;
697 friend class ::google::protobuf::Arena;
698 template <typename T>
699 friend class ::google::protobuf::Arena::InternalHelper;
700 using InternalArenaConstructable_ = void;
701 using DestructorSkippable_ = void;
702 struct Impl_ {
703 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
704 inline explicit Impl_(
705 ::google::protobuf::internal::InternalVisibility visibility,
706 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
707 inline explicit Impl_(
708 ::google::protobuf::internal::InternalVisibility visibility,
709 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
710 const OsqpOutput& from_msg);
711 ::google::protobuf::internal::HasBits<1> _has_bits_;
712 ::google::protobuf::internal::CachedSize _cached_size_;
713 bool initialized_underlying_solver_;
714 PROTOBUF_TSAN_DECLARE_MEMBER
715 };
716 union { Impl_ _impl_; };
717 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
718};
720OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_;
721
722// ===================================================================
723
724
725
726
727// ===================================================================
728
729
730#ifdef __GNUC__
731#pragma GCC diagnostic push
732#pragma GCC diagnostic ignored "-Wstrict-aliasing"
733#endif // __GNUC__
734// -------------------------------------------------------------------
735
736// OsqpSettingsProto
737
738// optional double rho = 1;
739inline bool OsqpSettingsProto::has_rho() const {
740 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
741 return value;
742}
743inline void OsqpSettingsProto::clear_rho() {
744 ::google::protobuf::internal::TSanWrite(&_impl_);
745 _impl_.rho_ = 0;
746 _impl_._has_bits_[0] &= ~0x00000001u;
747}
748inline double OsqpSettingsProto::rho() const {
749 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.rho)
750 return _internal_rho();
751}
752inline void OsqpSettingsProto::set_rho(double value) {
753 _internal_set_rho(value);
754 _impl_._has_bits_[0] |= 0x00000001u;
755 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.rho)
756}
757inline double OsqpSettingsProto::_internal_rho() const {
758 ::google::protobuf::internal::TSanRead(&_impl_);
759 return _impl_.rho_;
760}
761inline void OsqpSettingsProto::_internal_set_rho(double value) {
762 ::google::protobuf::internal::TSanWrite(&_impl_);
763 _impl_.rho_ = value;
764}
765
766// optional double sigma = 2;
767inline bool OsqpSettingsProto::has_sigma() const {
768 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
769 return value;
770}
771inline void OsqpSettingsProto::clear_sigma() {
772 ::google::protobuf::internal::TSanWrite(&_impl_);
773 _impl_.sigma_ = 0;
774 _impl_._has_bits_[0] &= ~0x00000002u;
775}
776inline double OsqpSettingsProto::sigma() const {
777 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.sigma)
778 return _internal_sigma();
779}
780inline void OsqpSettingsProto::set_sigma(double value) {
781 _internal_set_sigma(value);
782 _impl_._has_bits_[0] |= 0x00000002u;
783 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.sigma)
784}
785inline double OsqpSettingsProto::_internal_sigma() const {
786 ::google::protobuf::internal::TSanRead(&_impl_);
787 return _impl_.sigma_;
788}
789inline void OsqpSettingsProto::_internal_set_sigma(double value) {
790 ::google::protobuf::internal::TSanWrite(&_impl_);
791 _impl_.sigma_ = value;
792}
793
794// optional int64 scaling = 3;
795inline bool OsqpSettingsProto::has_scaling() const {
796 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
797 return value;
798}
800 ::google::protobuf::internal::TSanWrite(&_impl_);
801 _impl_.scaling_ = ::int64_t{0};
802 _impl_._has_bits_[0] &= ~0x00000004u;
803}
804inline ::int64_t OsqpSettingsProto::scaling() const {
805 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.scaling)
806 return _internal_scaling();
807}
808inline void OsqpSettingsProto::set_scaling(::int64_t value) {
809 _internal_set_scaling(value);
810 _impl_._has_bits_[0] |= 0x00000004u;
811 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.scaling)
812}
813inline ::int64_t OsqpSettingsProto::_internal_scaling() const {
814 ::google::protobuf::internal::TSanRead(&_impl_);
815 return _impl_.scaling_;
816}
817inline void OsqpSettingsProto::_internal_set_scaling(::int64_t value) {
818 ::google::protobuf::internal::TSanWrite(&_impl_);
819 _impl_.scaling_ = value;
820}
821
822// optional bool adaptive_rho = 4;
823inline bool OsqpSettingsProto::has_adaptive_rho() const {
824 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
825 return value;
826}
828 ::google::protobuf::internal::TSanWrite(&_impl_);
829 _impl_.adaptive_rho_ = false;
830 _impl_._has_bits_[0] &= ~0x00002000u;
831}
832inline bool OsqpSettingsProto::adaptive_rho() const {
833 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho)
834 return _internal_adaptive_rho();
835}
836inline void OsqpSettingsProto::set_adaptive_rho(bool value) {
837 _internal_set_adaptive_rho(value);
838 _impl_._has_bits_[0] |= 0x00002000u;
839 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho)
840}
841inline bool OsqpSettingsProto::_internal_adaptive_rho() const {
842 ::google::protobuf::internal::TSanRead(&_impl_);
843 return _impl_.adaptive_rho_;
844}
845inline void OsqpSettingsProto::_internal_set_adaptive_rho(bool value) {
846 ::google::protobuf::internal::TSanWrite(&_impl_);
847 _impl_.adaptive_rho_ = value;
848}
849
850// optional int64 adaptive_rho_interval = 5;
852 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
853 return value;
854}
856 ::google::protobuf::internal::TSanWrite(&_impl_);
857 _impl_.adaptive_rho_interval_ = ::int64_t{0};
858 _impl_._has_bits_[0] &= ~0x00000008u;
859}
860inline ::int64_t OsqpSettingsProto::adaptive_rho_interval() const {
861 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_interval)
862 return _internal_adaptive_rho_interval();
863}
864inline void OsqpSettingsProto::set_adaptive_rho_interval(::int64_t value) {
865 _internal_set_adaptive_rho_interval(value);
866 _impl_._has_bits_[0] |= 0x00000008u;
867 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_interval)
868}
869inline ::int64_t OsqpSettingsProto::_internal_adaptive_rho_interval() const {
870 ::google::protobuf::internal::TSanRead(&_impl_);
871 return _impl_.adaptive_rho_interval_;
872}
873inline void OsqpSettingsProto::_internal_set_adaptive_rho_interval(::int64_t value) {
874 ::google::protobuf::internal::TSanWrite(&_impl_);
875 _impl_.adaptive_rho_interval_ = value;
876}
877
878// optional double adaptive_rho_tolerance = 6;
880 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
881 return value;
882}
884 ::google::protobuf::internal::TSanWrite(&_impl_);
885 _impl_.adaptive_rho_tolerance_ = 0;
886 _impl_._has_bits_[0] &= ~0x00000010u;
887}
888inline double OsqpSettingsProto::adaptive_rho_tolerance() const {
889 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_tolerance)
890 return _internal_adaptive_rho_tolerance();
891}
892inline void OsqpSettingsProto::set_adaptive_rho_tolerance(double value) {
893 _internal_set_adaptive_rho_tolerance(value);
894 _impl_._has_bits_[0] |= 0x00000010u;
895 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_tolerance)
896}
897inline double OsqpSettingsProto::_internal_adaptive_rho_tolerance() const {
898 ::google::protobuf::internal::TSanRead(&_impl_);
899 return _impl_.adaptive_rho_tolerance_;
900}
901inline void OsqpSettingsProto::_internal_set_adaptive_rho_tolerance(double value) {
902 ::google::protobuf::internal::TSanWrite(&_impl_);
903 _impl_.adaptive_rho_tolerance_ = value;
904}
905
906// optional double adaptive_rho_fraction = 7;
908 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
909 return value;
910}
912 ::google::protobuf::internal::TSanWrite(&_impl_);
913 _impl_.adaptive_rho_fraction_ = 0;
914 _impl_._has_bits_[0] &= ~0x00000020u;
915}
916inline double OsqpSettingsProto::adaptive_rho_fraction() const {
917 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_fraction)
918 return _internal_adaptive_rho_fraction();
919}
920inline void OsqpSettingsProto::set_adaptive_rho_fraction(double value) {
921 _internal_set_adaptive_rho_fraction(value);
922 _impl_._has_bits_[0] |= 0x00000020u;
923 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_fraction)
924}
925inline double OsqpSettingsProto::_internal_adaptive_rho_fraction() const {
926 ::google::protobuf::internal::TSanRead(&_impl_);
927 return _impl_.adaptive_rho_fraction_;
928}
929inline void OsqpSettingsProto::_internal_set_adaptive_rho_fraction(double value) {
930 ::google::protobuf::internal::TSanWrite(&_impl_);
931 _impl_.adaptive_rho_fraction_ = value;
932}
933
934// optional int64 max_iter = 8;
935inline bool OsqpSettingsProto::has_max_iter() const {
936 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
937 return value;
938}
940 ::google::protobuf::internal::TSanWrite(&_impl_);
941 _impl_.max_iter_ = ::int64_t{0};
942 _impl_._has_bits_[0] &= ~0x00000040u;
943}
944inline ::int64_t OsqpSettingsProto::max_iter() const {
945 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.max_iter)
946 return _internal_max_iter();
947}
948inline void OsqpSettingsProto::set_max_iter(::int64_t value) {
949 _internal_set_max_iter(value);
950 _impl_._has_bits_[0] |= 0x00000040u;
951 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.max_iter)
952}
953inline ::int64_t OsqpSettingsProto::_internal_max_iter() const {
954 ::google::protobuf::internal::TSanRead(&_impl_);
955 return _impl_.max_iter_;
956}
957inline void OsqpSettingsProto::_internal_set_max_iter(::int64_t value) {
958 ::google::protobuf::internal::TSanWrite(&_impl_);
959 _impl_.max_iter_ = value;
960}
961
962// optional double eps_abs = 9;
963inline bool OsqpSettingsProto::has_eps_abs() const {
964 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
965 return value;
966}
968 ::google::protobuf::internal::TSanWrite(&_impl_);
969 _impl_.eps_abs_ = 0;
970 _impl_._has_bits_[0] &= ~0x00000080u;
971}
972inline double OsqpSettingsProto::eps_abs() const {
973 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_abs)
974 return _internal_eps_abs();
975}
976inline void OsqpSettingsProto::set_eps_abs(double value) {
977 _internal_set_eps_abs(value);
978 _impl_._has_bits_[0] |= 0x00000080u;
979 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_abs)
980}
981inline double OsqpSettingsProto::_internal_eps_abs() const {
982 ::google::protobuf::internal::TSanRead(&_impl_);
983 return _impl_.eps_abs_;
984}
985inline void OsqpSettingsProto::_internal_set_eps_abs(double value) {
986 ::google::protobuf::internal::TSanWrite(&_impl_);
987 _impl_.eps_abs_ = value;
988}
989
990// optional double eps_rel = 10;
991inline bool OsqpSettingsProto::has_eps_rel() const {
992 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
993 return value;
994}
996 ::google::protobuf::internal::TSanWrite(&_impl_);
997 _impl_.eps_rel_ = 0;
998 _impl_._has_bits_[0] &= ~0x00000100u;
999}
1000inline double OsqpSettingsProto::eps_rel() const {
1001 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_rel)
1002 return _internal_eps_rel();
1003}
1004inline void OsqpSettingsProto::set_eps_rel(double value) {
1005 _internal_set_eps_rel(value);
1006 _impl_._has_bits_[0] |= 0x00000100u;
1007 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_rel)
1008}
1009inline double OsqpSettingsProto::_internal_eps_rel() const {
1010 ::google::protobuf::internal::TSanRead(&_impl_);
1011 return _impl_.eps_rel_;
1012}
1013inline void OsqpSettingsProto::_internal_set_eps_rel(double value) {
1014 ::google::protobuf::internal::TSanWrite(&_impl_);
1015 _impl_.eps_rel_ = value;
1016}
1017
1018// optional double eps_prim_inf = 11;
1019inline bool OsqpSettingsProto::has_eps_prim_inf() const {
1020 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1021 return value;
1022}
1024 ::google::protobuf::internal::TSanWrite(&_impl_);
1025 _impl_.eps_prim_inf_ = 0;
1026 _impl_._has_bits_[0] &= ~0x00000200u;
1027}
1028inline double OsqpSettingsProto::eps_prim_inf() const {
1029 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_prim_inf)
1030 return _internal_eps_prim_inf();
1031}
1032inline void OsqpSettingsProto::set_eps_prim_inf(double value) {
1033 _internal_set_eps_prim_inf(value);
1034 _impl_._has_bits_[0] |= 0x00000200u;
1035 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_prim_inf)
1036}
1037inline double OsqpSettingsProto::_internal_eps_prim_inf() const {
1038 ::google::protobuf::internal::TSanRead(&_impl_);
1039 return _impl_.eps_prim_inf_;
1040}
1041inline void OsqpSettingsProto::_internal_set_eps_prim_inf(double value) {
1042 ::google::protobuf::internal::TSanWrite(&_impl_);
1043 _impl_.eps_prim_inf_ = value;
1044}
1045
1046// optional double eps_dual_inf = 12;
1047inline bool OsqpSettingsProto::has_eps_dual_inf() const {
1048 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1049 return value;
1050}
1052 ::google::protobuf::internal::TSanWrite(&_impl_);
1053 _impl_.eps_dual_inf_ = 0;
1054 _impl_._has_bits_[0] &= ~0x00000400u;
1055}
1056inline double OsqpSettingsProto::eps_dual_inf() const {
1057 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_dual_inf)
1058 return _internal_eps_dual_inf();
1059}
1060inline void OsqpSettingsProto::set_eps_dual_inf(double value) {
1061 _internal_set_eps_dual_inf(value);
1062 _impl_._has_bits_[0] |= 0x00000400u;
1063 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_dual_inf)
1064}
1065inline double OsqpSettingsProto::_internal_eps_dual_inf() const {
1066 ::google::protobuf::internal::TSanRead(&_impl_);
1067 return _impl_.eps_dual_inf_;
1068}
1069inline void OsqpSettingsProto::_internal_set_eps_dual_inf(double value) {
1070 ::google::protobuf::internal::TSanWrite(&_impl_);
1071 _impl_.eps_dual_inf_ = value;
1072}
1073
1074// optional double alpha = 13;
1075inline bool OsqpSettingsProto::has_alpha() const {
1076 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1077 return value;
1078}
1079inline void OsqpSettingsProto::clear_alpha() {
1080 ::google::protobuf::internal::TSanWrite(&_impl_);
1081 _impl_.alpha_ = 0;
1082 _impl_._has_bits_[0] &= ~0x00000800u;
1083}
1084inline double OsqpSettingsProto::alpha() const {
1085 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.alpha)
1086 return _internal_alpha();
1087}
1088inline void OsqpSettingsProto::set_alpha(double value) {
1089 _internal_set_alpha(value);
1090 _impl_._has_bits_[0] |= 0x00000800u;
1091 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.alpha)
1092}
1093inline double OsqpSettingsProto::_internal_alpha() const {
1094 ::google::protobuf::internal::TSanRead(&_impl_);
1095 return _impl_.alpha_;
1096}
1097inline void OsqpSettingsProto::_internal_set_alpha(double value) {
1098 ::google::protobuf::internal::TSanWrite(&_impl_);
1099 _impl_.alpha_ = value;
1100}
1101
1102// optional double delta = 14;
1103inline bool OsqpSettingsProto::has_delta() const {
1104 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
1105 return value;
1106}
1107inline void OsqpSettingsProto::clear_delta() {
1108 ::google::protobuf::internal::TSanWrite(&_impl_);
1109 _impl_.delta_ = 0;
1110 _impl_._has_bits_[0] &= ~0x00001000u;
1111}
1112inline double OsqpSettingsProto::delta() const {
1113 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.delta)
1114 return _internal_delta();
1115}
1116inline void OsqpSettingsProto::set_delta(double value) {
1117 _internal_set_delta(value);
1118 _impl_._has_bits_[0] |= 0x00001000u;
1119 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.delta)
1120}
1121inline double OsqpSettingsProto::_internal_delta() const {
1122 ::google::protobuf::internal::TSanRead(&_impl_);
1123 return _impl_.delta_;
1124}
1125inline void OsqpSettingsProto::_internal_set_delta(double value) {
1126 ::google::protobuf::internal::TSanWrite(&_impl_);
1127 _impl_.delta_ = value;
1128}
1129
1130// optional bool polish = 15;
1131inline bool OsqpSettingsProto::has_polish() const {
1132 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1133 return value;
1134}
1135inline void OsqpSettingsProto::clear_polish() {
1136 ::google::protobuf::internal::TSanWrite(&_impl_);
1137 _impl_.polish_ = false;
1138 _impl_._has_bits_[0] &= ~0x00004000u;
1139}
1140inline bool OsqpSettingsProto::polish() const {
1141 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.polish)
1142 return _internal_polish();
1143}
1144inline void OsqpSettingsProto::set_polish(bool value) {
1145 _internal_set_polish(value);
1146 _impl_._has_bits_[0] |= 0x00004000u;
1147 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.polish)
1148}
1149inline bool OsqpSettingsProto::_internal_polish() const {
1150 ::google::protobuf::internal::TSanRead(&_impl_);
1151 return _impl_.polish_;
1152}
1153inline void OsqpSettingsProto::_internal_set_polish(bool value) {
1154 ::google::protobuf::internal::TSanWrite(&_impl_);
1155 _impl_.polish_ = value;
1156}
1157
1158// optional int64 polish_refine_iter = 16;
1160 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
1161 return value;
1162}
1164 ::google::protobuf::internal::TSanWrite(&_impl_);
1165 _impl_.polish_refine_iter_ = ::int64_t{0};
1166 _impl_._has_bits_[0] &= ~0x00040000u;
1167}
1168inline ::int64_t OsqpSettingsProto::polish_refine_iter() const {
1169 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.polish_refine_iter)
1170 return _internal_polish_refine_iter();
1171}
1172inline void OsqpSettingsProto::set_polish_refine_iter(::int64_t value) {
1173 _internal_set_polish_refine_iter(value);
1174 _impl_._has_bits_[0] |= 0x00040000u;
1175 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.polish_refine_iter)
1176}
1177inline ::int64_t OsqpSettingsProto::_internal_polish_refine_iter() const {
1178 ::google::protobuf::internal::TSanRead(&_impl_);
1179 return _impl_.polish_refine_iter_;
1180}
1181inline void OsqpSettingsProto::_internal_set_polish_refine_iter(::int64_t value) {
1182 ::google::protobuf::internal::TSanWrite(&_impl_);
1183 _impl_.polish_refine_iter_ = value;
1184}
1185
1186// optional bool verbose = 17;
1187inline bool OsqpSettingsProto::has_verbose() const {
1188 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
1189 return value;
1190}
1192 ::google::protobuf::internal::TSanWrite(&_impl_);
1193 _impl_.verbose_ = false;
1194 _impl_._has_bits_[0] &= ~0x00008000u;
1195}
1196inline bool OsqpSettingsProto::verbose() const {
1197 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.verbose)
1198 return _internal_verbose();
1199}
1200inline void OsqpSettingsProto::set_verbose(bool value) {
1201 _internal_set_verbose(value);
1202 _impl_._has_bits_[0] |= 0x00008000u;
1203 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.verbose)
1204}
1205inline bool OsqpSettingsProto::_internal_verbose() const {
1206 ::google::protobuf::internal::TSanRead(&_impl_);
1207 return _impl_.verbose_;
1208}
1209inline void OsqpSettingsProto::_internal_set_verbose(bool value) {
1210 ::google::protobuf::internal::TSanWrite(&_impl_);
1211 _impl_.verbose_ = value;
1212}
1213
1214// optional bool scaled_termination = 18;
1216 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
1217 return value;
1218}
1220 ::google::protobuf::internal::TSanWrite(&_impl_);
1221 _impl_.scaled_termination_ = false;
1222 _impl_._has_bits_[0] &= ~0x00010000u;
1223}
1224inline bool OsqpSettingsProto::scaled_termination() const {
1225 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.scaled_termination)
1226 return _internal_scaled_termination();
1227}
1228inline void OsqpSettingsProto::set_scaled_termination(bool value) {
1229 _internal_set_scaled_termination(value);
1230 _impl_._has_bits_[0] |= 0x00010000u;
1231 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.scaled_termination)
1232}
1233inline bool OsqpSettingsProto::_internal_scaled_termination() const {
1234 ::google::protobuf::internal::TSanRead(&_impl_);
1235 return _impl_.scaled_termination_;
1236}
1237inline void OsqpSettingsProto::_internal_set_scaled_termination(bool value) {
1238 ::google::protobuf::internal::TSanWrite(&_impl_);
1239 _impl_.scaled_termination_ = value;
1240}
1241
1242// optional int64 check_termination = 19;
1243inline bool OsqpSettingsProto::has_check_termination() const {
1244 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
1245 return value;
1246}
1248 ::google::protobuf::internal::TSanWrite(&_impl_);
1249 _impl_.check_termination_ = ::int64_t{0};
1250 _impl_._has_bits_[0] &= ~0x00080000u;
1251}
1252inline ::int64_t OsqpSettingsProto::check_termination() const {
1253 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.check_termination)
1254 return _internal_check_termination();
1255}
1256inline void OsqpSettingsProto::set_check_termination(::int64_t value) {
1257 _internal_set_check_termination(value);
1258 _impl_._has_bits_[0] |= 0x00080000u;
1259 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.check_termination)
1260}
1261inline ::int64_t OsqpSettingsProto::_internal_check_termination() const {
1262 ::google::protobuf::internal::TSanRead(&_impl_);
1263 return _impl_.check_termination_;
1264}
1265inline void OsqpSettingsProto::_internal_set_check_termination(::int64_t value) {
1266 ::google::protobuf::internal::TSanWrite(&_impl_);
1267 _impl_.check_termination_ = value;
1268}
1269
1270// optional bool warm_start = 20;
1271inline bool OsqpSettingsProto::has_warm_start() const {
1272 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
1273 return value;
1274}
1276 ::google::protobuf::internal::TSanWrite(&_impl_);
1277 _impl_.warm_start_ = false;
1278 _impl_._has_bits_[0] &= ~0x00020000u;
1279}
1280inline bool OsqpSettingsProto::warm_start() const {
1281 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.warm_start)
1282 return _internal_warm_start();
1283}
1284inline void OsqpSettingsProto::set_warm_start(bool value) {
1285 _internal_set_warm_start(value);
1286 _impl_._has_bits_[0] |= 0x00020000u;
1287 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.warm_start)
1288}
1289inline bool OsqpSettingsProto::_internal_warm_start() const {
1290 ::google::protobuf::internal::TSanRead(&_impl_);
1291 return _impl_.warm_start_;
1292}
1293inline void OsqpSettingsProto::_internal_set_warm_start(bool value) {
1294 ::google::protobuf::internal::TSanWrite(&_impl_);
1295 _impl_.warm_start_ = value;
1296}
1297
1298// optional double time_limit = 21;
1299inline bool OsqpSettingsProto::has_time_limit() const {
1300 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
1301 return value;
1302}
1304 ::google::protobuf::internal::TSanWrite(&_impl_);
1305 _impl_.time_limit_ = 0;
1306 _impl_._has_bits_[0] &= ~0x00100000u;
1307}
1308inline double OsqpSettingsProto::time_limit() const {
1309 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.time_limit)
1310 return _internal_time_limit();
1311}
1312inline void OsqpSettingsProto::set_time_limit(double value) {
1313 _internal_set_time_limit(value);
1314 _impl_._has_bits_[0] |= 0x00100000u;
1315 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.time_limit)
1316}
1317inline double OsqpSettingsProto::_internal_time_limit() const {
1318 ::google::protobuf::internal::TSanRead(&_impl_);
1319 return _impl_.time_limit_;
1320}
1321inline void OsqpSettingsProto::_internal_set_time_limit(double value) {
1322 ::google::protobuf::internal::TSanWrite(&_impl_);
1323 _impl_.time_limit_ = value;
1324}
1325
1326// -------------------------------------------------------------------
1327
1328// OsqpOutput
1329
1330// bool initialized_underlying_solver = 1;
1332 ::google::protobuf::internal::TSanWrite(&_impl_);
1333 _impl_.initialized_underlying_solver_ = false;
1334 _impl_._has_bits_[0] &= ~0x00000001u;
1335}
1337 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpOutput.initialized_underlying_solver)
1338 return _internal_initialized_underlying_solver();
1339}
1340inline void OsqpOutput::set_initialized_underlying_solver(bool value) {
1341 _internal_set_initialized_underlying_solver(value);
1342 _impl_._has_bits_[0] |= 0x00000001u;
1343 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpOutput.initialized_underlying_solver)
1344}
1345inline bool OsqpOutput::_internal_initialized_underlying_solver() const {
1346 ::google::protobuf::internal::TSanRead(&_impl_);
1347 return _impl_.initialized_underlying_solver_;
1348}
1349inline void OsqpOutput::_internal_set_initialized_underlying_solver(bool value) {
1350 ::google::protobuf::internal::TSanWrite(&_impl_);
1351 _impl_.initialized_underlying_solver_ = value;
1352}
1353
1354#ifdef __GNUC__
1355#pragma GCC diagnostic pop
1356#endif // __GNUC__
1357
1358// @@protoc_insertion_point(namespace_scope)
1359} // namespace math_opt
1360} // namespace operations_research
1361
1362
1363// @@protoc_insertion_point(global_scope)
1364
1365#include "google/protobuf/port_undef.inc"
1366
1367#endif // ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_2epb_2eh
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 const OsqpOutput & default_instance()
Definition osqp.pb.h:586
void Swap(OsqpOutput *PROTOBUF_NONNULL other)
Definition osqp.pb.h:592
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition osqp.pb.h:583
void MergeFrom(const OsqpOutput &from)
Definition osqp.pb.h:614
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition osqp.pb.h:580
OsqpOutput & operator=(const OsqpOutput &from)
Definition osqp.pb.h:554
void CopyFrom(const OsqpOutput &from)
Definition osqp.pb.cc:1054
void clear_initialized_underlying_solver()
bool initialized_underlying_solver = 1;
Definition osqp.pb.h:1338
PROTOBUF_CONSTEXPR OsqpOutput(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition osqp.pb.cc:964
void set_initialized_underlying_solver(bool value)
Definition osqp.pb.h:1347
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition osqp.pb.cc:982
void CopyFrom(const OsqpSettingsProto &from)
Definition osqp.pb.cc:814
bool has_adaptive_rho_tolerance() const
optional double adaptive_rho_tolerance = 6;
Definition osqp.pb.h:885
friend class ::google::protobuf::MessageLite
Definition osqp.pb.h:487
bool has_check_termination() const
optional int64 check_termination = 19;
Definition osqp.pb.h:1249
bool has_eps_dual_inf() const
optional double eps_dual_inf = 12;
Definition osqp.pb.h:1053
bool has_rho() const
optional double rho = 1;
Definition osqp.pb.h:745
bool has_delta() const
optional double delta = 14;
Definition osqp.pb.h:1109
OsqpSettingsProto(const OsqpSettingsProto &from)
Definition osqp.pb.h:98
bool has_polish_refine_iter() const
optional int64 polish_refine_iter = 16;
Definition osqp.pb.h:1165
PROTOBUF_CONSTEXPR OsqpSettingsProto(::google::protobuf::internal::ConstantInitialized)
bool has_adaptive_rho_fraction() const
optional double adaptive_rho_fraction = 7;
Definition osqp.pb.h:913
OsqpSettingsProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, OsqpSettingsProto &&from) noexcept
Definition osqp.pb.h:206
bool has_adaptive_rho() const
optional bool adaptive_rho = 4;
Definition osqp.pb.h:829
bool has_warm_start() const
optional bool warm_start = 20;
Definition osqp.pb.h:1277
bool has_scaling() const
optional int64 scaling = 3;
Definition osqp.pb.h:801
bool has_alpha() const
optional double alpha = 13;
Definition osqp.pb.h:1081
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition osqp.pb.h:115
bool has_max_iter() const
optional int64 max_iter = 8;
Definition osqp.pb.h:941
bool has_adaptive_rho_interval() const
optional int64 adaptive_rho_interval = 5;
Definition osqp.pb.h:857
bool has_eps_abs() const
optional double eps_abs = 9;
Definition osqp.pb.h:969
bool has_sigma() const
optional double sigma = 2;
Definition osqp.pb.h:773
bool has_verbose() const
optional bool verbose = 17;
Definition osqp.pb.h:1193
bool has_time_limit() const
optional double time_limit = 21;
Definition osqp.pb.h:1305
OsqpSettingsProto & operator=(const OsqpSettingsProto &from)
Definition osqp.pb.h:101
bool has_eps_prim_inf() const
optional double eps_prim_inf = 11;
Definition osqp.pb.h:1025
void Swap(OsqpSettingsProto *PROTOBUF_NONNULL other)
Definition osqp.pb.h:139
bool has_polish() const
optional bool polish = 15;
Definition osqp.pb.h:1137
bool has_scaled_termination() const
optional bool scaled_termination = 18;
Definition osqp.pb.h:1221
bool has_eps_rel() const
optional double eps_rel = 10;
Definition osqp.pb.h:997
time_limit
Definition solve.cc:22
::absl::string_view GetAnyMessageName()
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.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
Definition osqp.pb.cc:199
Internal implementation detail – do not use these members.
Definition osqp.pb.h:49