Google OR-Tools v9.15
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.33.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 != 6033001
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 explicit OsqpSettingsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
202 OsqpSettingsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsqpSettingsProto& from);
204 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OsqpSettingsProto&& from) noexcept
205 : OsqpSettingsProto(arena) {
206 *this = ::std::move(from);
207 }
208 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
209 static void* PROTOBUF_NONNULL PlacementNew_(
210 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
211 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
212 static constexpr auto InternalNewImpl_();
213
214 public:
215 static constexpr auto InternalGenerateClassData_();
216
217 ::google::protobuf::Metadata GetMetadata() const;
218 // nested types ----------------------------------------------------
219
220 // accessors -------------------------------------------------------
221 enum : int {
222 kRhoFieldNumber = 1,
223 kSigmaFieldNumber = 2,
243 };
244 // optional double rho = 1;
245 bool has_rho() const;
246 void clear_rho() ;
247 double rho() const;
248 void set_rho(double value);
249
250 private:
251 double _internal_rho() const;
252 void _internal_set_rho(double value);
253
254 public:
255 // optional double sigma = 2;
256 bool has_sigma() const;
257 void clear_sigma() ;
258 double sigma() const;
259 void set_sigma(double value);
260
261 private:
262 double _internal_sigma() const;
263 void _internal_set_sigma(double value);
264
265 public:
266 // optional int64 scaling = 3;
267 bool has_scaling() const;
268 void clear_scaling() ;
269 ::int64_t scaling() const;
270 void set_scaling(::int64_t value);
271
272 private:
273 ::int64_t _internal_scaling() const;
274 void _internal_set_scaling(::int64_t value);
275
276 public:
277 // optional int64 adaptive_rho_interval = 5;
278 bool has_adaptive_rho_interval() const;
280 ::int64_t adaptive_rho_interval() const;
281 void set_adaptive_rho_interval(::int64_t value);
282
283 private:
284 ::int64_t _internal_adaptive_rho_interval() const;
285 void _internal_set_adaptive_rho_interval(::int64_t value);
286
287 public:
288 // optional double adaptive_rho_tolerance = 6;
289 bool has_adaptive_rho_tolerance() const;
291 double adaptive_rho_tolerance() const;
292 void set_adaptive_rho_tolerance(double value);
293
294 private:
295 double _internal_adaptive_rho_tolerance() const;
296 void _internal_set_adaptive_rho_tolerance(double value);
297
298 public:
299 // optional double adaptive_rho_fraction = 7;
300 bool has_adaptive_rho_fraction() const;
302 double adaptive_rho_fraction() const;
303 void set_adaptive_rho_fraction(double value);
304
305 private:
306 double _internal_adaptive_rho_fraction() const;
307 void _internal_set_adaptive_rho_fraction(double value);
308
309 public:
310 // optional int64 max_iter = 8;
311 bool has_max_iter() const;
312 void clear_max_iter() ;
313 ::int64_t max_iter() const;
314 void set_max_iter(::int64_t value);
315
316 private:
317 ::int64_t _internal_max_iter() const;
318 void _internal_set_max_iter(::int64_t value);
319
320 public:
321 // optional double eps_abs = 9;
322 bool has_eps_abs() const;
323 void clear_eps_abs() ;
324 double eps_abs() const;
325 void set_eps_abs(double value);
326
327 private:
328 double _internal_eps_abs() const;
329 void _internal_set_eps_abs(double value);
330
331 public:
332 // optional double eps_rel = 10;
333 bool has_eps_rel() const;
334 void clear_eps_rel() ;
335 double eps_rel() const;
336 void set_eps_rel(double value);
337
338 private:
339 double _internal_eps_rel() const;
340 void _internal_set_eps_rel(double value);
341
342 public:
343 // optional double eps_prim_inf = 11;
344 bool has_eps_prim_inf() const;
345 void clear_eps_prim_inf() ;
346 double eps_prim_inf() const;
347 void set_eps_prim_inf(double value);
348
349 private:
350 double _internal_eps_prim_inf() const;
351 void _internal_set_eps_prim_inf(double value);
352
353 public:
354 // optional double eps_dual_inf = 12;
355 bool has_eps_dual_inf() const;
356 void clear_eps_dual_inf() ;
357 double eps_dual_inf() const;
358 void set_eps_dual_inf(double value);
359
360 private:
361 double _internal_eps_dual_inf() const;
362 void _internal_set_eps_dual_inf(double value);
363
364 public:
365 // optional double alpha = 13;
366 bool has_alpha() const;
367 void clear_alpha() ;
368 double alpha() const;
369 void set_alpha(double value);
370
371 private:
372 double _internal_alpha() const;
373 void _internal_set_alpha(double value);
374
375 public:
376 // optional double delta = 14;
377 bool has_delta() const;
378 void clear_delta() ;
379 double delta() const;
380 void set_delta(double value);
381
382 private:
383 double _internal_delta() const;
384 void _internal_set_delta(double value);
385
386 public:
387 // optional bool adaptive_rho = 4;
388 bool has_adaptive_rho() const;
389 void clear_adaptive_rho() ;
390 bool adaptive_rho() const;
391 void set_adaptive_rho(bool value);
392
393 private:
394 bool _internal_adaptive_rho() const;
395 void _internal_set_adaptive_rho(bool value);
396
397 public:
398 // optional bool polish = 15;
399 bool has_polish() const;
400 void clear_polish() ;
401 bool polish() const;
402 void set_polish(bool value);
403
404 private:
405 bool _internal_polish() const;
406 void _internal_set_polish(bool value);
407
408 public:
409 // optional bool verbose = 17;
410 bool has_verbose() const;
411 void clear_verbose() ;
412 bool verbose() const;
413 void set_verbose(bool value);
414
415 private:
416 bool _internal_verbose() const;
417 void _internal_set_verbose(bool value);
418
419 public:
420 // optional bool scaled_termination = 18;
421 bool has_scaled_termination() const;
423 bool scaled_termination() const;
424 void set_scaled_termination(bool value);
425
426 private:
427 bool _internal_scaled_termination() const;
428 void _internal_set_scaled_termination(bool value);
429
430 public:
431 // optional bool warm_start = 20;
432 bool has_warm_start() const;
433 void clear_warm_start() ;
434 bool warm_start() const;
435 void set_warm_start(bool value);
436
437 private:
438 bool _internal_warm_start() const;
439 void _internal_set_warm_start(bool value);
440
441 public:
442 // optional int64 polish_refine_iter = 16;
443 bool has_polish_refine_iter() const;
445 ::int64_t polish_refine_iter() const;
446 void set_polish_refine_iter(::int64_t value);
447
448 private:
449 ::int64_t _internal_polish_refine_iter() const;
450 void _internal_set_polish_refine_iter(::int64_t value);
451
452 public:
453 // optional int64 check_termination = 19;
454 bool has_check_termination() const;
456 ::int64_t check_termination() const;
457 void set_check_termination(::int64_t value);
458
459 private:
460 ::int64_t _internal_check_termination() const;
461 void _internal_set_check_termination(::int64_t value);
462
463 public:
464 // optional double time_limit = 21;
465 bool has_time_limit() const;
466 void clear_time_limit() ;
467 double time_limit() const;
468 void set_time_limit(double value);
469
470 private:
471 double _internal_time_limit() const;
472 void _internal_set_time_limit(double value);
473
474 public:
475 // @@protoc_insertion_point(class_scope:operations_research.math_opt.OsqpSettingsProto)
476 private:
477 class _Internal;
478 friend class ::google::protobuf::internal::TcParser;
479 static const ::google::protobuf::internal::TcParseTable<5, 21,
480 0, 0,
481 2>
482 _table_;
483
484 friend class ::google::protobuf::MessageLite;
485 friend class ::google::protobuf::Arena;
486 template <typename T>
487 friend class ::google::protobuf::Arena::InternalHelper;
488 using InternalArenaConstructable_ = void;
489 using DestructorSkippable_ = void;
490 struct Impl_ {
491 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
492 inline explicit Impl_(
493 ::google::protobuf::internal::InternalVisibility visibility,
494 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
495 inline explicit Impl_(
496 ::google::protobuf::internal::InternalVisibility visibility,
497 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
498 const OsqpSettingsProto& from_msg);
499 ::google::protobuf::internal::HasBits<1> _has_bits_;
500 ::google::protobuf::internal::CachedSize _cached_size_;
501 double rho_;
502 double sigma_;
503 ::int64_t scaling_;
504 ::int64_t adaptive_rho_interval_;
505 double adaptive_rho_tolerance_;
506 double adaptive_rho_fraction_;
507 ::int64_t max_iter_;
508 double eps_abs_;
509 double eps_rel_;
510 double eps_prim_inf_;
511 double eps_dual_inf_;
512 double alpha_;
513 double delta_;
514 bool adaptive_rho_;
515 bool polish_;
516 bool verbose_;
517 bool scaled_termination_;
518 bool warm_start_;
519 ::int64_t polish_refine_iter_;
520 ::int64_t check_termination_;
521 double time_limit_;
522 PROTOBUF_TSAN_DECLARE_MEMBER
523 };
524 union { Impl_ _impl_; };
525 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
528OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_;
529// -------------------------------------------------------------------
530
531class OR_PROTO_DLL OsqpOutput final : public ::google::protobuf::Message
532/* @@protoc_insertion_point(class_definition:operations_research.math_opt.OsqpOutput) */ {
533 public:
534 inline OsqpOutput() : OsqpOutput(nullptr) {}
535 ~OsqpOutput() PROTOBUF_FINAL;
536
537#if defined(PROTOBUF_CUSTOM_VTABLE)
538 void operator delete(OsqpOutput* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
539 SharedDtor(*msg);
540 ::google::protobuf::internal::SizedDelete(msg, sizeof(OsqpOutput));
541 }
542#endif
543
544 template <typename = void>
545 explicit PROTOBUF_CONSTEXPR OsqpOutput(::google::protobuf::internal::ConstantInitialized);
546
547 inline OsqpOutput(const OsqpOutput& from) : OsqpOutput(nullptr, from) {}
548 inline OsqpOutput(OsqpOutput&& from) noexcept
549 : OsqpOutput(nullptr, ::std::move(from)) {}
550 inline OsqpOutput& operator=(const OsqpOutput& from) {
551 CopyFrom(from);
552 return *this;
554 inline OsqpOutput& operator=(OsqpOutput&& from) noexcept {
555 if (this == &from) return *this;
556 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
557 InternalSwap(&from);
558 } else {
559 CopyFrom(from);
560 }
561 return *this;
562 }
563
564 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
565 ABSL_ATTRIBUTE_LIFETIME_BOUND {
566 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
568 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
569 ABSL_ATTRIBUTE_LIFETIME_BOUND {
570 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
572
573 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
574 return GetDescriptor();
575 }
576 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
577 return default_instance().GetMetadata().descriptor;
578 }
579 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
580 return default_instance().GetMetadata().reflection;
581 }
582 static const OsqpOutput& default_instance() {
583 return *reinterpret_cast<const OsqpOutput*>(
586 static constexpr int kIndexInFileMessages = 1;
587 friend void swap(OsqpOutput& a, OsqpOutput& b) { a.Swap(&b); }
588 inline void Swap(OsqpOutput* PROTOBUF_NONNULL other) {
589 if (other == this) return;
590 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
591 InternalSwap(other);
592 } else {
593 ::google::protobuf::internal::GenericSwap(this, other);
594 }
595 }
596 void UnsafeArenaSwap(OsqpOutput* PROTOBUF_NONNULL other) {
597 if (other == this) return;
598 ABSL_DCHECK(GetArena() == other->GetArena());
599 InternalSwap(other);
600 }
601
602 // implements Message ----------------------------------------------
603
604 OsqpOutput* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
605 return ::google::protobuf::Message::DefaultConstruct<OsqpOutput>(arena);
606 }
607 using ::google::protobuf::Message::CopyFrom;
608 void CopyFrom(const OsqpOutput& from);
609 using ::google::protobuf::Message::MergeFrom;
610 void MergeFrom(const OsqpOutput& from) { OsqpOutput::MergeImpl(*this, from); }
611
612 private:
613 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
614 const ::google::protobuf::MessageLite& from_msg);
615
616 public:
617 bool IsInitialized() const {
618 return true;
619 }
620 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
621 #if defined(PROTOBUF_CUSTOM_VTABLE)
622 private:
623 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
624 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
625 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
626 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
627
628 public:
629 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
630 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
631 ::uint8_t* PROTOBUF_NONNULL target,
632 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
633 return _InternalSerialize(*this, target, stream);
634 }
635 #else // PROTOBUF_CUSTOM_VTABLE
636 ::size_t ByteSizeLong() const final;
637 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
638 ::uint8_t* PROTOBUF_NONNULL target,
639 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
640 #endif // PROTOBUF_CUSTOM_VTABLE
641 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
642
643 private:
644 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
645 static void SharedDtor(MessageLite& self);
646 void InternalSwap(OsqpOutput* PROTOBUF_NONNULL other);
647 private:
648 template <typename T>
649 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
650 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.OsqpOutput"; }
651
652 explicit OsqpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
653 OsqpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OsqpOutput& from);
655 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OsqpOutput&& from) noexcept
656 : OsqpOutput(arena) {
657 *this = ::std::move(from);
658 }
659 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
660 static void* PROTOBUF_NONNULL PlacementNew_(
661 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
662 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
663 static constexpr auto InternalNewImpl_();
664
665 public:
666 static constexpr auto InternalGenerateClassData_();
667
668 ::google::protobuf::Metadata GetMetadata() const;
669 // nested types ----------------------------------------------------
670
671 // accessors -------------------------------------------------------
672 enum : int {
673 kInitializedUnderlyingSolverFieldNumber = 1,
674 };
675 // bool initialized_underlying_solver = 1;
678 void set_initialized_underlying_solver(bool value);
679
680 private:
681 bool _internal_initialized_underlying_solver() const;
682 void _internal_set_initialized_underlying_solver(bool value);
683
684 public:
685 // @@protoc_insertion_point(class_scope:operations_research.math_opt.OsqpOutput)
686 private:
687 class _Internal;
688 friend class ::google::protobuf::internal::TcParser;
689 static const ::google::protobuf::internal::TcParseTable<0, 1,
690 0, 0,
691 2>
692 _table_;
693
694 friend class ::google::protobuf::MessageLite;
695 friend class ::google::protobuf::Arena;
696 template <typename T>
697 friend class ::google::protobuf::Arena::InternalHelper;
698 using InternalArenaConstructable_ = void;
699 using DestructorSkippable_ = void;
700 struct Impl_ {
701 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
702 inline explicit Impl_(
703 ::google::protobuf::internal::InternalVisibility visibility,
704 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
705 inline explicit Impl_(
706 ::google::protobuf::internal::InternalVisibility visibility,
707 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
708 const OsqpOutput& from_msg);
709 ::google::protobuf::internal::HasBits<1> _has_bits_;
710 ::google::protobuf::internal::CachedSize _cached_size_;
711 bool initialized_underlying_solver_;
712 PROTOBUF_TSAN_DECLARE_MEMBER
713 };
714 union { Impl_ _impl_; };
715 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
716};
718OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_;
719
720// ===================================================================
721
722
723
724
725// ===================================================================
726
727
728#ifdef __GNUC__
729#pragma GCC diagnostic push
730#pragma GCC diagnostic ignored "-Wstrict-aliasing"
731#endif // __GNUC__
732// -------------------------------------------------------------------
733
734// OsqpSettingsProto
735
736// optional double rho = 1;
737inline bool OsqpSettingsProto::has_rho() const {
738 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
739 return value;
740}
741inline void OsqpSettingsProto::clear_rho() {
742 ::google::protobuf::internal::TSanWrite(&_impl_);
743 _impl_.rho_ = 0;
744 ClearHasBit(_impl_._has_bits_[0],
745 0x00000001U);
746}
747inline double OsqpSettingsProto::rho() const {
748 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.rho)
749 return _internal_rho();
750}
751inline void OsqpSettingsProto::set_rho(double value) {
752 _internal_set_rho(value);
753 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
754 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.rho)
755}
756inline double OsqpSettingsProto::_internal_rho() const {
757 ::google::protobuf::internal::TSanRead(&_impl_);
758 return _impl_.rho_;
759}
760inline void OsqpSettingsProto::_internal_set_rho(double value) {
761 ::google::protobuf::internal::TSanWrite(&_impl_);
762 _impl_.rho_ = value;
763}
764
765// optional double sigma = 2;
766inline bool OsqpSettingsProto::has_sigma() const {
767 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
768 return value;
769}
770inline void OsqpSettingsProto::clear_sigma() {
771 ::google::protobuf::internal::TSanWrite(&_impl_);
772 _impl_.sigma_ = 0;
773 ClearHasBit(_impl_._has_bits_[0],
774 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 SetHasBit(_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 = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
797 return value;
798}
800 ::google::protobuf::internal::TSanWrite(&_impl_);
801 _impl_.scaling_ = ::int64_t{0};
802 ClearHasBit(_impl_._has_bits_[0],
803 0x00000004U);
804}
805inline ::int64_t OsqpSettingsProto::scaling() const {
806 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.scaling)
807 return _internal_scaling();
808}
809inline void OsqpSettingsProto::set_scaling(::int64_t value) {
810 _internal_set_scaling(value);
811 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
812 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.scaling)
813}
814inline ::int64_t OsqpSettingsProto::_internal_scaling() const {
815 ::google::protobuf::internal::TSanRead(&_impl_);
816 return _impl_.scaling_;
817}
818inline void OsqpSettingsProto::_internal_set_scaling(::int64_t value) {
819 ::google::protobuf::internal::TSanWrite(&_impl_);
820 _impl_.scaling_ = value;
821}
822
823// optional bool adaptive_rho = 4;
824inline bool OsqpSettingsProto::has_adaptive_rho() const {
825 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00002000U);
826 return value;
827}
829 ::google::protobuf::internal::TSanWrite(&_impl_);
830 _impl_.adaptive_rho_ = false;
831 ClearHasBit(_impl_._has_bits_[0],
832 0x00002000U);
833}
835 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho)
836 return _internal_adaptive_rho();
837}
838inline void OsqpSettingsProto::set_adaptive_rho(bool value) {
839 _internal_set_adaptive_rho(value);
840 SetHasBit(_impl_._has_bits_[0], 0x00002000U);
841 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho)
842}
843inline bool OsqpSettingsProto::_internal_adaptive_rho() const {
844 ::google::protobuf::internal::TSanRead(&_impl_);
845 return _impl_.adaptive_rho_;
846}
847inline void OsqpSettingsProto::_internal_set_adaptive_rho(bool value) {
848 ::google::protobuf::internal::TSanWrite(&_impl_);
849 _impl_.adaptive_rho_ = value;
850}
851
852// optional int64 adaptive_rho_interval = 5;
854 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
855 return value;
856}
858 ::google::protobuf::internal::TSanWrite(&_impl_);
859 _impl_.adaptive_rho_interval_ = ::int64_t{0};
860 ClearHasBit(_impl_._has_bits_[0],
861 0x00000008U);
862}
864 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_interval)
865 return _internal_adaptive_rho_interval();
866}
867inline void OsqpSettingsProto::set_adaptive_rho_interval(::int64_t value) {
868 _internal_set_adaptive_rho_interval(value);
869 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
870 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_interval)
871}
872inline ::int64_t OsqpSettingsProto::_internal_adaptive_rho_interval() const {
873 ::google::protobuf::internal::TSanRead(&_impl_);
874 return _impl_.adaptive_rho_interval_;
875}
876inline void OsqpSettingsProto::_internal_set_adaptive_rho_interval(::int64_t value) {
877 ::google::protobuf::internal::TSanWrite(&_impl_);
878 _impl_.adaptive_rho_interval_ = value;
879}
880
881// optional double adaptive_rho_tolerance = 6;
883 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
884 return value;
885}
887 ::google::protobuf::internal::TSanWrite(&_impl_);
888 _impl_.adaptive_rho_tolerance_ = 0;
889 ClearHasBit(_impl_._has_bits_[0],
890 0x00000010U);
891}
893 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_tolerance)
894 return _internal_adaptive_rho_tolerance();
895}
896inline void OsqpSettingsProto::set_adaptive_rho_tolerance(double value) {
897 _internal_set_adaptive_rho_tolerance(value);
898 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
899 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_tolerance)
900}
901inline double OsqpSettingsProto::_internal_adaptive_rho_tolerance() const {
902 ::google::protobuf::internal::TSanRead(&_impl_);
903 return _impl_.adaptive_rho_tolerance_;
904}
905inline void OsqpSettingsProto::_internal_set_adaptive_rho_tolerance(double value) {
906 ::google::protobuf::internal::TSanWrite(&_impl_);
907 _impl_.adaptive_rho_tolerance_ = value;
908}
909
910// optional double adaptive_rho_fraction = 7;
912 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
913 return value;
914}
916 ::google::protobuf::internal::TSanWrite(&_impl_);
917 _impl_.adaptive_rho_fraction_ = 0;
918 ClearHasBit(_impl_._has_bits_[0],
919 0x00000020U);
920}
922 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_fraction)
923 return _internal_adaptive_rho_fraction();
924}
925inline void OsqpSettingsProto::set_adaptive_rho_fraction(double value) {
926 _internal_set_adaptive_rho_fraction(value);
927 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
928 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.adaptive_rho_fraction)
929}
930inline double OsqpSettingsProto::_internal_adaptive_rho_fraction() const {
931 ::google::protobuf::internal::TSanRead(&_impl_);
932 return _impl_.adaptive_rho_fraction_;
933}
934inline void OsqpSettingsProto::_internal_set_adaptive_rho_fraction(double value) {
935 ::google::protobuf::internal::TSanWrite(&_impl_);
936 _impl_.adaptive_rho_fraction_ = value;
937}
938
939// optional int64 max_iter = 8;
940inline bool OsqpSettingsProto::has_max_iter() const {
941 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
942 return value;
943}
945 ::google::protobuf::internal::TSanWrite(&_impl_);
946 _impl_.max_iter_ = ::int64_t{0};
947 ClearHasBit(_impl_._has_bits_[0],
948 0x00000040U);
949}
950inline ::int64_t OsqpSettingsProto::max_iter() const {
951 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.max_iter)
952 return _internal_max_iter();
953}
954inline void OsqpSettingsProto::set_max_iter(::int64_t value) {
955 _internal_set_max_iter(value);
956 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
957 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.max_iter)
958}
959inline ::int64_t OsqpSettingsProto::_internal_max_iter() const {
960 ::google::protobuf::internal::TSanRead(&_impl_);
961 return _impl_.max_iter_;
962}
963inline void OsqpSettingsProto::_internal_set_max_iter(::int64_t value) {
964 ::google::protobuf::internal::TSanWrite(&_impl_);
965 _impl_.max_iter_ = value;
966}
967
968// optional double eps_abs = 9;
969inline bool OsqpSettingsProto::has_eps_abs() const {
970 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
971 return value;
972}
974 ::google::protobuf::internal::TSanWrite(&_impl_);
975 _impl_.eps_abs_ = 0;
976 ClearHasBit(_impl_._has_bits_[0],
977 0x00000080U);
978}
979inline double OsqpSettingsProto::eps_abs() const {
980 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_abs)
981 return _internal_eps_abs();
982}
983inline void OsqpSettingsProto::set_eps_abs(double value) {
984 _internal_set_eps_abs(value);
985 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
986 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_abs)
987}
988inline double OsqpSettingsProto::_internal_eps_abs() const {
989 ::google::protobuf::internal::TSanRead(&_impl_);
990 return _impl_.eps_abs_;
991}
992inline void OsqpSettingsProto::_internal_set_eps_abs(double value) {
993 ::google::protobuf::internal::TSanWrite(&_impl_);
994 _impl_.eps_abs_ = value;
995}
996
997// optional double eps_rel = 10;
998inline bool OsqpSettingsProto::has_eps_rel() const {
999 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
1000 return value;
1001}
1003 ::google::protobuf::internal::TSanWrite(&_impl_);
1004 _impl_.eps_rel_ = 0;
1005 ClearHasBit(_impl_._has_bits_[0],
1006 0x00000100U);
1007}
1008inline double OsqpSettingsProto::eps_rel() const {
1009 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_rel)
1010 return _internal_eps_rel();
1011}
1012inline void OsqpSettingsProto::set_eps_rel(double value) {
1013 _internal_set_eps_rel(value);
1014 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
1015 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_rel)
1016}
1017inline double OsqpSettingsProto::_internal_eps_rel() const {
1018 ::google::protobuf::internal::TSanRead(&_impl_);
1019 return _impl_.eps_rel_;
1020}
1021inline void OsqpSettingsProto::_internal_set_eps_rel(double value) {
1022 ::google::protobuf::internal::TSanWrite(&_impl_);
1023 _impl_.eps_rel_ = value;
1024}
1025
1026// optional double eps_prim_inf = 11;
1027inline bool OsqpSettingsProto::has_eps_prim_inf() const {
1028 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000200U);
1029 return value;
1030}
1032 ::google::protobuf::internal::TSanWrite(&_impl_);
1033 _impl_.eps_prim_inf_ = 0;
1034 ClearHasBit(_impl_._has_bits_[0],
1035 0x00000200U);
1036}
1037inline double OsqpSettingsProto::eps_prim_inf() const {
1038 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_prim_inf)
1039 return _internal_eps_prim_inf();
1040}
1041inline void OsqpSettingsProto::set_eps_prim_inf(double value) {
1042 _internal_set_eps_prim_inf(value);
1043 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
1044 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_prim_inf)
1045}
1046inline double OsqpSettingsProto::_internal_eps_prim_inf() const {
1047 ::google::protobuf::internal::TSanRead(&_impl_);
1048 return _impl_.eps_prim_inf_;
1049}
1050inline void OsqpSettingsProto::_internal_set_eps_prim_inf(double value) {
1051 ::google::protobuf::internal::TSanWrite(&_impl_);
1052 _impl_.eps_prim_inf_ = value;
1053}
1054
1055// optional double eps_dual_inf = 12;
1056inline bool OsqpSettingsProto::has_eps_dual_inf() const {
1057 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000400U);
1058 return value;
1059}
1061 ::google::protobuf::internal::TSanWrite(&_impl_);
1062 _impl_.eps_dual_inf_ = 0;
1063 ClearHasBit(_impl_._has_bits_[0],
1064 0x00000400U);
1065}
1066inline double OsqpSettingsProto::eps_dual_inf() const {
1067 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.eps_dual_inf)
1068 return _internal_eps_dual_inf();
1069}
1070inline void OsqpSettingsProto::set_eps_dual_inf(double value) {
1071 _internal_set_eps_dual_inf(value);
1072 SetHasBit(_impl_._has_bits_[0], 0x00000400U);
1073 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.eps_dual_inf)
1074}
1075inline double OsqpSettingsProto::_internal_eps_dual_inf() const {
1076 ::google::protobuf::internal::TSanRead(&_impl_);
1077 return _impl_.eps_dual_inf_;
1078}
1079inline void OsqpSettingsProto::_internal_set_eps_dual_inf(double value) {
1080 ::google::protobuf::internal::TSanWrite(&_impl_);
1081 _impl_.eps_dual_inf_ = value;
1082}
1083
1084// optional double alpha = 13;
1085inline bool OsqpSettingsProto::has_alpha() const {
1086 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000800U);
1087 return value;
1088}
1089inline void OsqpSettingsProto::clear_alpha() {
1090 ::google::protobuf::internal::TSanWrite(&_impl_);
1091 _impl_.alpha_ = 0;
1092 ClearHasBit(_impl_._has_bits_[0],
1093 0x00000800U);
1094}
1095inline double OsqpSettingsProto::alpha() const {
1096 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.alpha)
1097 return _internal_alpha();
1098}
1099inline void OsqpSettingsProto::set_alpha(double value) {
1100 _internal_set_alpha(value);
1101 SetHasBit(_impl_._has_bits_[0], 0x00000800U);
1102 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.alpha)
1103}
1104inline double OsqpSettingsProto::_internal_alpha() const {
1105 ::google::protobuf::internal::TSanRead(&_impl_);
1106 return _impl_.alpha_;
1107}
1108inline void OsqpSettingsProto::_internal_set_alpha(double value) {
1109 ::google::protobuf::internal::TSanWrite(&_impl_);
1110 _impl_.alpha_ = value;
1111}
1112
1113// optional double delta = 14;
1114inline bool OsqpSettingsProto::has_delta() const {
1115 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00001000U);
1116 return value;
1117}
1118inline void OsqpSettingsProto::clear_delta() {
1119 ::google::protobuf::internal::TSanWrite(&_impl_);
1120 _impl_.delta_ = 0;
1121 ClearHasBit(_impl_._has_bits_[0],
1122 0x00001000U);
1123}
1124inline double OsqpSettingsProto::delta() const {
1125 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.delta)
1126 return _internal_delta();
1127}
1128inline void OsqpSettingsProto::set_delta(double value) {
1129 _internal_set_delta(value);
1130 SetHasBit(_impl_._has_bits_[0], 0x00001000U);
1131 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.delta)
1132}
1133inline double OsqpSettingsProto::_internal_delta() const {
1134 ::google::protobuf::internal::TSanRead(&_impl_);
1135 return _impl_.delta_;
1136}
1137inline void OsqpSettingsProto::_internal_set_delta(double value) {
1138 ::google::protobuf::internal::TSanWrite(&_impl_);
1139 _impl_.delta_ = value;
1140}
1141
1142// optional bool polish = 15;
1143inline bool OsqpSettingsProto::has_polish() const {
1144 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00004000U);
1145 return value;
1146}
1147inline void OsqpSettingsProto::clear_polish() {
1148 ::google::protobuf::internal::TSanWrite(&_impl_);
1149 _impl_.polish_ = false;
1150 ClearHasBit(_impl_._has_bits_[0],
1151 0x00004000U);
1152}
1153inline bool OsqpSettingsProto::polish() const {
1154 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.polish)
1155 return _internal_polish();
1156}
1157inline void OsqpSettingsProto::set_polish(bool value) {
1158 _internal_set_polish(value);
1159 SetHasBit(_impl_._has_bits_[0], 0x00004000U);
1160 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.polish)
1161}
1162inline bool OsqpSettingsProto::_internal_polish() const {
1163 ::google::protobuf::internal::TSanRead(&_impl_);
1164 return _impl_.polish_;
1165}
1166inline void OsqpSettingsProto::_internal_set_polish(bool value) {
1167 ::google::protobuf::internal::TSanWrite(&_impl_);
1168 _impl_.polish_ = value;
1169}
1170
1171// optional int64 polish_refine_iter = 16;
1173 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00040000U);
1174 return value;
1175}
1177 ::google::protobuf::internal::TSanWrite(&_impl_);
1178 _impl_.polish_refine_iter_ = ::int64_t{0};
1179 ClearHasBit(_impl_._has_bits_[0],
1180 0x00040000U);
1181}
1183 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.polish_refine_iter)
1184 return _internal_polish_refine_iter();
1185}
1186inline void OsqpSettingsProto::set_polish_refine_iter(::int64_t value) {
1187 _internal_set_polish_refine_iter(value);
1188 SetHasBit(_impl_._has_bits_[0], 0x00040000U);
1189 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.polish_refine_iter)
1190}
1191inline ::int64_t OsqpSettingsProto::_internal_polish_refine_iter() const {
1192 ::google::protobuf::internal::TSanRead(&_impl_);
1193 return _impl_.polish_refine_iter_;
1194}
1195inline void OsqpSettingsProto::_internal_set_polish_refine_iter(::int64_t value) {
1196 ::google::protobuf::internal::TSanWrite(&_impl_);
1197 _impl_.polish_refine_iter_ = value;
1198}
1199
1200// optional bool verbose = 17;
1201inline bool OsqpSettingsProto::has_verbose() const {
1202 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00008000U);
1203 return value;
1204}
1206 ::google::protobuf::internal::TSanWrite(&_impl_);
1207 _impl_.verbose_ = false;
1208 ClearHasBit(_impl_._has_bits_[0],
1209 0x00008000U);
1210}
1211inline bool OsqpSettingsProto::verbose() const {
1212 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.verbose)
1213 return _internal_verbose();
1214}
1215inline void OsqpSettingsProto::set_verbose(bool value) {
1216 _internal_set_verbose(value);
1217 SetHasBit(_impl_._has_bits_[0], 0x00008000U);
1218 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.verbose)
1219}
1220inline bool OsqpSettingsProto::_internal_verbose() const {
1221 ::google::protobuf::internal::TSanRead(&_impl_);
1222 return _impl_.verbose_;
1223}
1224inline void OsqpSettingsProto::_internal_set_verbose(bool value) {
1225 ::google::protobuf::internal::TSanWrite(&_impl_);
1226 _impl_.verbose_ = value;
1227}
1228
1229// optional bool scaled_termination = 18;
1231 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00010000U);
1232 return value;
1233}
1235 ::google::protobuf::internal::TSanWrite(&_impl_);
1236 _impl_.scaled_termination_ = false;
1237 ClearHasBit(_impl_._has_bits_[0],
1238 0x00010000U);
1239}
1241 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.scaled_termination)
1242 return _internal_scaled_termination();
1243}
1244inline void OsqpSettingsProto::set_scaled_termination(bool value) {
1245 _internal_set_scaled_termination(value);
1246 SetHasBit(_impl_._has_bits_[0], 0x00010000U);
1247 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.scaled_termination)
1248}
1249inline bool OsqpSettingsProto::_internal_scaled_termination() const {
1250 ::google::protobuf::internal::TSanRead(&_impl_);
1251 return _impl_.scaled_termination_;
1252}
1253inline void OsqpSettingsProto::_internal_set_scaled_termination(bool value) {
1254 ::google::protobuf::internal::TSanWrite(&_impl_);
1255 _impl_.scaled_termination_ = value;
1256}
1257
1258// optional int64 check_termination = 19;
1259inline bool OsqpSettingsProto::has_check_termination() const {
1260 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00080000U);
1261 return value;
1262}
1264 ::google::protobuf::internal::TSanWrite(&_impl_);
1265 _impl_.check_termination_ = ::int64_t{0};
1266 ClearHasBit(_impl_._has_bits_[0],
1267 0x00080000U);
1268}
1270 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.check_termination)
1271 return _internal_check_termination();
1272}
1273inline void OsqpSettingsProto::set_check_termination(::int64_t value) {
1274 _internal_set_check_termination(value);
1275 SetHasBit(_impl_._has_bits_[0], 0x00080000U);
1276 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.check_termination)
1277}
1278inline ::int64_t OsqpSettingsProto::_internal_check_termination() const {
1279 ::google::protobuf::internal::TSanRead(&_impl_);
1280 return _impl_.check_termination_;
1281}
1282inline void OsqpSettingsProto::_internal_set_check_termination(::int64_t value) {
1283 ::google::protobuf::internal::TSanWrite(&_impl_);
1284 _impl_.check_termination_ = value;
1285}
1286
1287// optional bool warm_start = 20;
1288inline bool OsqpSettingsProto::has_warm_start() const {
1289 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00020000U);
1290 return value;
1291}
1293 ::google::protobuf::internal::TSanWrite(&_impl_);
1294 _impl_.warm_start_ = false;
1295 ClearHasBit(_impl_._has_bits_[0],
1296 0x00020000U);
1297}
1299 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.warm_start)
1300 return _internal_warm_start();
1301}
1302inline void OsqpSettingsProto::set_warm_start(bool value) {
1303 _internal_set_warm_start(value);
1304 SetHasBit(_impl_._has_bits_[0], 0x00020000U);
1305 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.warm_start)
1306}
1307inline bool OsqpSettingsProto::_internal_warm_start() const {
1308 ::google::protobuf::internal::TSanRead(&_impl_);
1309 return _impl_.warm_start_;
1310}
1311inline void OsqpSettingsProto::_internal_set_warm_start(bool value) {
1312 ::google::protobuf::internal::TSanWrite(&_impl_);
1313 _impl_.warm_start_ = value;
1314}
1315
1316// optional double time_limit = 21;
1317inline bool OsqpSettingsProto::has_time_limit() const {
1318 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00100000U);
1319 return value;
1320}
1322 ::google::protobuf::internal::TSanWrite(&_impl_);
1323 _impl_.time_limit_ = 0;
1324 ClearHasBit(_impl_._has_bits_[0],
1325 0x00100000U);
1326}
1327inline double OsqpSettingsProto::time_limit() const {
1328 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpSettingsProto.time_limit)
1329 return _internal_time_limit();
1330}
1331inline void OsqpSettingsProto::set_time_limit(double value) {
1332 _internal_set_time_limit(value);
1333 SetHasBit(_impl_._has_bits_[0], 0x00100000U);
1334 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpSettingsProto.time_limit)
1335}
1336inline double OsqpSettingsProto::_internal_time_limit() const {
1337 ::google::protobuf::internal::TSanRead(&_impl_);
1338 return _impl_.time_limit_;
1339}
1340inline void OsqpSettingsProto::_internal_set_time_limit(double value) {
1341 ::google::protobuf::internal::TSanWrite(&_impl_);
1342 _impl_.time_limit_ = value;
1343}
1344
1345// -------------------------------------------------------------------
1346
1347// OsqpOutput
1348
1349// bool initialized_underlying_solver = 1;
1351 ::google::protobuf::internal::TSanWrite(&_impl_);
1352 _impl_.initialized_underlying_solver_ = false;
1353 ClearHasBit(_impl_._has_bits_[0],
1354 0x00000001U);
1355}
1357 // @@protoc_insertion_point(field_get:operations_research.math_opt.OsqpOutput.initialized_underlying_solver)
1358 return _internal_initialized_underlying_solver();
1359}
1360inline void OsqpOutput::set_initialized_underlying_solver(bool value) {
1361 _internal_set_initialized_underlying_solver(value);
1362 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1363 // @@protoc_insertion_point(field_set:operations_research.math_opt.OsqpOutput.initialized_underlying_solver)
1364}
1365inline bool OsqpOutput::_internal_initialized_underlying_solver() const {
1366 ::google::protobuf::internal::TSanRead(&_impl_);
1367 return _impl_.initialized_underlying_solver_;
1368}
1369inline void OsqpOutput::_internal_set_initialized_underlying_solver(bool value) {
1370 ::google::protobuf::internal::TSanWrite(&_impl_);
1371 _impl_.initialized_underlying_solver_ = value;
1372}
1373
1374#ifdef __GNUC__
1375#pragma GCC diagnostic pop
1376#endif // __GNUC__
1377
1378// @@protoc_insertion_point(namespace_scope)
1379} // namespace math_opt
1380} // namespace operations_research
1381
1382
1383// @@protoc_insertion_point(global_scope)
1384
1385#include "google/protobuf/port_undef.inc"
1386
1387#endif // ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_2epb_2eh
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition osqp.pb.h:567
friend class ::google::protobuf::MessageLite
Definition osqp.pb.h:697
static const OsqpOutput & default_instance()
Definition osqp.pb.h:585
void Swap(OsqpOutput *PROTOBUF_NONNULL other)
Definition osqp.pb.h:591
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition osqp.pb.h:582
void MergeFrom(const OsqpOutput &from)
Definition osqp.pb.h:613
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition osqp.pb.h:579
OsqpOutput & operator=(const OsqpOutput &from)
Definition osqp.pb.h:553
void CopyFrom(const OsqpOutput &from)
Definition osqp.pb.cc:1079
PROTOBUF_CONSTEXPR OsqpOutput(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition osqp.pb.cc:979
void set_initialized_underlying_solver(bool value)
Definition osqp.pb.h:1367
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition osqp.pb.cc:997
void CopyFrom(const OsqpSettingsProto &from)
Definition osqp.pb.cc:826
friend class ::google::protobuf::MessageLite
Definition osqp.pb.h:486
OsqpSettingsProto(const OsqpSettingsProto &from)
Definition osqp.pb.h:98
PROTOBUF_CONSTEXPR OsqpSettingsProto(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition osqp.pb.h:115
OsqpSettingsProto & operator=(const OsqpSettingsProto &from)
Definition osqp.pb.h:101
void Swap(OsqpSettingsProto *PROTOBUF_NONNULL other)
Definition osqp.pb.h:139
::absl::string_view GetAnyMessageName()
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:936
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:309
OR-Tools root namespace.
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto
Definition osqp.pb.cc:199