6#ifndef ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto_2epb_2eh
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"
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"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/unknown_field_set.h"
35#include "google/protobuf/port_def.inc"
37#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto OR_PROTO_DLL
86#if defined(PROTOBUF_CUSTOM_VTABLE)
87 void operator delete(
OsqpSettingsProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
93 template <
typename =
void>
94 explicit PROTOBUF_CONSTEXPR
OsqpSettingsProto(::google::protobuf::internal::ConstantInitialized);
104 if (
this == &from)
return *
this;
105 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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);
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>();
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;
135 static constexpr int kIndexInFileMessages = 0;
138 if (other ==
this)
return;
139 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
142 ::google::protobuf::internal::GenericSwap(
this, other);
145 void UnsafeArenaSwap(OsqpSettingsProto* PROTOBUF_NONNULL other) {
146 if (other ==
this)
return;
147 ABSL_DCHECK(GetArena() == other->GetArena());
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;
158 using ::google::protobuf::Message::MergeFrom;
159 void MergeFrom(
const OsqpSettingsProto& from) { OsqpSettingsProto::MergeImpl(*
this, from); }
162 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
163 const ::google::protobuf::MessageLite& from_msg);
169 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
170 #if defined(PROTOBUF_CUSTOM_VTABLE)
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);
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);
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;
190 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
193 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
197 template <
typename T>
199 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.OsqpSettingsProto"; }
205 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
OsqpSettingsProto&& from) noexcept
207 *
this = ::std::move(from);
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_();
216 static constexpr auto InternalGenerateClassData_();
218 ::
google::protobuf::Metadata GetMetadata() const;
224 kSigmaFieldNumber = 2,
252 double _internal_rho()
const;
253 void _internal_set_rho(
double value);
259 double sigma()
const;
263 double _internal_sigma()
const;
264 void _internal_set_sigma(
double value);
274 ::int64_t _internal_scaling()
const;
275 void _internal_set_scaling(::int64_t value);
285 ::int64_t _internal_adaptive_rho_interval()
const;
286 void _internal_set_adaptive_rho_interval(::int64_t value);
296 double _internal_adaptive_rho_tolerance()
const;
297 void _internal_set_adaptive_rho_tolerance(
double value);
307 double _internal_adaptive_rho_fraction()
const;
308 void _internal_set_adaptive_rho_fraction(
double value);
318 ::int64_t _internal_max_iter()
const;
319 void _internal_set_max_iter(::int64_t value);
329 double _internal_eps_abs()
const;
330 void _internal_set_eps_abs(
double value);
340 double _internal_eps_rel()
const;
341 void _internal_set_eps_rel(
double value);
351 double _internal_eps_prim_inf()
const;
352 void _internal_set_eps_prim_inf(
double value);
362 double _internal_eps_dual_inf()
const;
363 void _internal_set_eps_dual_inf(
double value);
369 double alpha()
const;
373 double _internal_alpha()
const;
374 void _internal_set_alpha(
double value);
380 double delta()
const;
384 double _internal_delta()
const;
385 void _internal_set_delta(
double value);
395 bool _internal_adaptive_rho()
const;
396 void _internal_set_adaptive_rho(
bool value);
406 bool _internal_polish()
const;
407 void _internal_set_polish(
bool value);
417 bool _internal_verbose()
const;
418 void _internal_set_verbose(
bool value);
428 bool _internal_scaled_termination()
const;
429 void _internal_set_scaled_termination(
bool value);
439 bool _internal_warm_start()
const;
440 void _internal_set_warm_start(
bool value);
450 ::int64_t _internal_polish_refine_iter()
const;
451 void _internal_set_polish_refine_iter(::int64_t value);
461 ::int64_t _internal_check_termination()
const;
462 void _internal_set_check_termination(::int64_t value);
472 double _internal_time_limit()
const;
473 void _internal_set_time_limit(
double value);
479 friend class ::google::protobuf::internal::TcParser;
480 static const ::google::protobuf::internal::TcParseTable<5, 21,
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;
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,
500 ::google::protobuf::internal::HasBits<1> _has_bits_;
501 ::google::protobuf::internal::CachedSize _cached_size_;
505 ::int64_t adaptive_rho_interval_;
506 double adaptive_rho_tolerance_;
507 double adaptive_rho_fraction_;
511 double eps_prim_inf_;
512 double eps_dual_inf_;
518 bool scaled_termination_;
520 ::int64_t polish_refine_iter_;
521 ::int64_t check_termination_;
523 PROTOBUF_TSAN_DECLARE_MEMBER
525 union { Impl_ _impl_; };
526 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
532class OR_PROTO_DLL
OsqpOutput final :
public ::google::protobuf::Message
538#if defined(PROTOBUF_CUSTOM_VTABLE)
539 void operator delete(
OsqpOutput* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
541 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
OsqpOutput));
545 template <
typename =
void>
546 explicit PROTOBUF_CONSTEXPR
OsqpOutput(::google::protobuf::internal::ConstantInitialized);
556 if (
this == &from)
return *
this;
557 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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>();
574 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
575 return GetDescriptor();
577 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
580 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
587 static constexpr int kIndexInFileMessages = 1;
589 inline void Swap(OsqpOutput* PROTOBUF_NONNULL other) {
590 if (other ==
this)
return;
591 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
594 ::google::protobuf::internal::GenericSwap(
this, other);
597 void UnsafeArenaSwap(OsqpOutput* PROTOBUF_NONNULL other) {
598 if (other ==
this)
return;
599 ABSL_DCHECK(GetArena() == other->GetArena());
605 OsqpOutput* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
606 return ::google::protobuf::Message::DefaultConstruct<OsqpOutput>(arena);
608 using ::google::protobuf::Message::CopyFrom;
610 using ::google::protobuf::Message::MergeFrom;
614 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
615 const ::google::protobuf::MessageLite& from_msg);
621 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
622 #if defined(PROTOBUF_CUSTOM_VTABLE)
624 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
626 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
627 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
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);
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;
642 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
645 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
647 void InternalSwap(
OsqpOutput* PROTOBUF_NONNULL other);
649 template <
typename T>
651 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.OsqpOutput"; }
654 explicit OsqpOutput(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
657 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
OsqpOutput&& from) noexcept
659 *
this = ::std::move(from);
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_();
668 static constexpr auto InternalGenerateClassData_();
670 ::
google::protobuf::Metadata GetMetadata() const;
675 kInitializedUnderlyingSolverFieldNumber = 1,
683 bool _internal_initialized_underlying_solver()
const;
684 void _internal_set_initialized_underlying_solver(
bool value);
690 friend class ::google::protobuf::internal::TcParser;
691 static const ::google::protobuf::internal::TcParseTable<0, 1,
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;
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,
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
716 union { Impl_ _impl_; };
717 friend struct ::TableStruct_ortools_2fmath_5fopt_2fsolvers_2fosqp_2eproto;
731#pragma GCC diagnostic push
732#pragma GCC diagnostic ignored "-Wstrict-aliasing"
740 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
744 ::google::protobuf::internal::TSanWrite(&
_impl_);
746 _impl_._has_bits_[0] &= ~0x00000001u;
750 return _internal_rho();
753 _internal_set_rho(value);
757inline double OsqpSettingsProto::_internal_rho()
const {
758 ::google::protobuf::internal::TSanRead(&
_impl_);
761inline void OsqpSettingsProto::_internal_set_rho(
double value) {
762 ::google::protobuf::internal::TSanWrite(&
_impl_);
768 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
772 ::google::protobuf::internal::TSanWrite(&
_impl_);
774 _impl_._has_bits_[0] &= ~0x00000002u;
778 return _internal_sigma();
781 _internal_set_sigma(value);
785inline double OsqpSettingsProto::_internal_sigma()
const {
786 ::google::protobuf::internal::TSanRead(&
_impl_);
789inline void OsqpSettingsProto::_internal_set_sigma(
double value) {
790 ::google::protobuf::internal::TSanWrite(&
_impl_);
796 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
800 ::google::protobuf::internal::TSanWrite(&
_impl_);
802 _impl_._has_bits_[0] &= ~0x00000004u;
806 return _internal_scaling();
809 _internal_set_scaling(value);
813inline ::int64_t OsqpSettingsProto::_internal_scaling()
const {
814 ::google::protobuf::internal::TSanRead(&
_impl_);
817inline void OsqpSettingsProto::_internal_set_scaling(::int64_t value) {
818 ::google::protobuf::internal::TSanWrite(&
_impl_);
824 bool value = (
_impl_._has_bits_[0] & 0x00002000u) != 0;
828 ::google::protobuf::internal::TSanWrite(&
_impl_);
830 _impl_._has_bits_[0] &= ~0x00002000u;
834 return _internal_adaptive_rho();
837 _internal_set_adaptive_rho(value);
841inline bool OsqpSettingsProto::_internal_adaptive_rho()
const {
842 ::google::protobuf::internal::TSanRead(&
_impl_);
843 return _impl_.adaptive_rho_;
845inline void OsqpSettingsProto::_internal_set_adaptive_rho(
bool value) {
846 ::google::protobuf::internal::TSanWrite(&
_impl_);
847 _impl_.adaptive_rho_ = value;
852 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
856 ::google::protobuf::internal::TSanWrite(&
_impl_);
857 _impl_.adaptive_rho_interval_ = ::int64_t{0};
858 _impl_._has_bits_[0] &= ~0x00000008u;
862 return _internal_adaptive_rho_interval();
865 _internal_set_adaptive_rho_interval(value);
869inline ::int64_t OsqpSettingsProto::_internal_adaptive_rho_interval()
const {
870 ::google::protobuf::internal::TSanRead(&
_impl_);
871 return _impl_.adaptive_rho_interval_;
873inline void OsqpSettingsProto::_internal_set_adaptive_rho_interval(::int64_t value) {
874 ::google::protobuf::internal::TSanWrite(&
_impl_);
875 _impl_.adaptive_rho_interval_ = value;
880 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
884 ::google::protobuf::internal::TSanWrite(&
_impl_);
886 _impl_._has_bits_[0] &= ~0x00000010u;
890 return _internal_adaptive_rho_tolerance();
893 _internal_set_adaptive_rho_tolerance(value);
897inline double OsqpSettingsProto::_internal_adaptive_rho_tolerance()
const {
898 ::google::protobuf::internal::TSanRead(&
_impl_);
899 return _impl_.adaptive_rho_tolerance_;
901inline void OsqpSettingsProto::_internal_set_adaptive_rho_tolerance(
double value) {
902 ::google::protobuf::internal::TSanWrite(&
_impl_);
903 _impl_.adaptive_rho_tolerance_ = value;
908 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
912 ::google::protobuf::internal::TSanWrite(&
_impl_);
914 _impl_._has_bits_[0] &= ~0x00000020u;
918 return _internal_adaptive_rho_fraction();
921 _internal_set_adaptive_rho_fraction(value);
925inline double OsqpSettingsProto::_internal_adaptive_rho_fraction()
const {
926 ::google::protobuf::internal::TSanRead(&
_impl_);
927 return _impl_.adaptive_rho_fraction_;
929inline void OsqpSettingsProto::_internal_set_adaptive_rho_fraction(
double value) {
930 ::google::protobuf::internal::TSanWrite(&
_impl_);
931 _impl_.adaptive_rho_fraction_ = value;
936 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
940 ::google::protobuf::internal::TSanWrite(&
_impl_);
942 _impl_._has_bits_[0] &= ~0x00000040u;
946 return _internal_max_iter();
949 _internal_set_max_iter(value);
953inline ::int64_t OsqpSettingsProto::_internal_max_iter()
const {
954 ::google::protobuf::internal::TSanRead(&
_impl_);
957inline void OsqpSettingsProto::_internal_set_max_iter(::int64_t value) {
958 ::google::protobuf::internal::TSanWrite(&
_impl_);
964 bool value = (
_impl_._has_bits_[0] & 0x00000080u) != 0;
968 ::google::protobuf::internal::TSanWrite(&
_impl_);
970 _impl_._has_bits_[0] &= ~0x00000080u;
974 return _internal_eps_abs();
977 _internal_set_eps_abs(value);
981inline double OsqpSettingsProto::_internal_eps_abs()
const {
982 ::google::protobuf::internal::TSanRead(&
_impl_);
985inline void OsqpSettingsProto::_internal_set_eps_abs(
double value) {
986 ::google::protobuf::internal::TSanWrite(&
_impl_);
992 bool value = (
_impl_._has_bits_[0] & 0x00000100u) != 0;
996 ::google::protobuf::internal::TSanWrite(&
_impl_);
998 _impl_._has_bits_[0] &= ~0x00000100u;
1002 return _internal_eps_rel();
1005 _internal_set_eps_rel(value);
1009inline double OsqpSettingsProto::_internal_eps_rel()
const {
1010 ::google::protobuf::internal::TSanRead(&
_impl_);
1013inline void OsqpSettingsProto::_internal_set_eps_rel(
double value) {
1014 ::google::protobuf::internal::TSanWrite(&
_impl_);
1020 bool value = (
_impl_._has_bits_[0] & 0x00000200u) != 0;
1024 ::google::protobuf::internal::TSanWrite(&
_impl_);
1026 _impl_._has_bits_[0] &= ~0x00000200u;
1030 return _internal_eps_prim_inf();
1033 _internal_set_eps_prim_inf(value);
1037inline double OsqpSettingsProto::_internal_eps_prim_inf()
const {
1038 ::google::protobuf::internal::TSanRead(&
_impl_);
1039 return _impl_.eps_prim_inf_;
1041inline void OsqpSettingsProto::_internal_set_eps_prim_inf(
double value) {
1042 ::google::protobuf::internal::TSanWrite(&
_impl_);
1043 _impl_.eps_prim_inf_ = value;
1048 bool value = (
_impl_._has_bits_[0] & 0x00000400u) != 0;
1052 ::google::protobuf::internal::TSanWrite(&
_impl_);
1054 _impl_._has_bits_[0] &= ~0x00000400u;
1058 return _internal_eps_dual_inf();
1061 _internal_set_eps_dual_inf(value);
1065inline double OsqpSettingsProto::_internal_eps_dual_inf()
const {
1066 ::google::protobuf::internal::TSanRead(&
_impl_);
1067 return _impl_.eps_dual_inf_;
1069inline void OsqpSettingsProto::_internal_set_eps_dual_inf(
double value) {
1070 ::google::protobuf::internal::TSanWrite(&
_impl_);
1071 _impl_.eps_dual_inf_ = value;
1076 bool value = (
_impl_._has_bits_[0] & 0x00000800u) != 0;
1080 ::google::protobuf::internal::TSanWrite(&
_impl_);
1082 _impl_._has_bits_[0] &= ~0x00000800u;
1086 return _internal_alpha();
1089 _internal_set_alpha(value);
1093inline double OsqpSettingsProto::_internal_alpha()
const {
1094 ::google::protobuf::internal::TSanRead(&
_impl_);
1097inline void OsqpSettingsProto::_internal_set_alpha(
double value) {
1098 ::google::protobuf::internal::TSanWrite(&
_impl_);
1104 bool value = (
_impl_._has_bits_[0] & 0x00001000u) != 0;
1108 ::google::protobuf::internal::TSanWrite(&
_impl_);
1110 _impl_._has_bits_[0] &= ~0x00001000u;
1114 return _internal_delta();
1117 _internal_set_delta(value);
1121inline double OsqpSettingsProto::_internal_delta()
const {
1122 ::google::protobuf::internal::TSanRead(&
_impl_);
1125inline void OsqpSettingsProto::_internal_set_delta(
double value) {
1126 ::google::protobuf::internal::TSanWrite(&
_impl_);
1132 bool value = (
_impl_._has_bits_[0] & 0x00004000u) != 0;
1136 ::google::protobuf::internal::TSanWrite(&
_impl_);
1138 _impl_._has_bits_[0] &= ~0x00004000u;
1142 return _internal_polish();
1145 _internal_set_polish(value);
1149inline bool OsqpSettingsProto::_internal_polish()
const {
1150 ::google::protobuf::internal::TSanRead(&
_impl_);
1153inline void OsqpSettingsProto::_internal_set_polish(
bool value) {
1154 ::google::protobuf::internal::TSanWrite(&
_impl_);
1160 bool value = (
_impl_._has_bits_[0] & 0x00040000u) != 0;
1164 ::google::protobuf::internal::TSanWrite(&
_impl_);
1166 _impl_._has_bits_[0] &= ~0x00040000u;
1170 return _internal_polish_refine_iter();
1173 _internal_set_polish_refine_iter(value);
1177inline ::int64_t OsqpSettingsProto::_internal_polish_refine_iter()
const {
1178 ::google::protobuf::internal::TSanRead(&
_impl_);
1179 return _impl_.polish_refine_iter_;
1181inline void OsqpSettingsProto::_internal_set_polish_refine_iter(::int64_t value) {
1182 ::google::protobuf::internal::TSanWrite(&
_impl_);
1183 _impl_.polish_refine_iter_ = value;
1188 bool value = (
_impl_._has_bits_[0] & 0x00008000u) != 0;
1192 ::google::protobuf::internal::TSanWrite(&
_impl_);
1194 _impl_._has_bits_[0] &= ~0x00008000u;
1198 return _internal_verbose();
1201 _internal_set_verbose(value);
1205inline bool OsqpSettingsProto::_internal_verbose()
const {
1206 ::google::protobuf::internal::TSanRead(&
_impl_);
1209inline void OsqpSettingsProto::_internal_set_verbose(
bool value) {
1210 ::google::protobuf::internal::TSanWrite(&
_impl_);
1216 bool value = (
_impl_._has_bits_[0] & 0x00010000u) != 0;
1220 ::google::protobuf::internal::TSanWrite(&
_impl_);
1222 _impl_._has_bits_[0] &= ~0x00010000u;
1226 return _internal_scaled_termination();
1229 _internal_set_scaled_termination(value);
1233inline bool OsqpSettingsProto::_internal_scaled_termination()
const {
1234 ::google::protobuf::internal::TSanRead(&
_impl_);
1235 return _impl_.scaled_termination_;
1237inline void OsqpSettingsProto::_internal_set_scaled_termination(
bool value) {
1238 ::google::protobuf::internal::TSanWrite(&
_impl_);
1239 _impl_.scaled_termination_ = value;
1244 bool value = (
_impl_._has_bits_[0] & 0x00080000u) != 0;
1248 ::google::protobuf::internal::TSanWrite(&
_impl_);
1250 _impl_._has_bits_[0] &= ~0x00080000u;
1254 return _internal_check_termination();
1257 _internal_set_check_termination(value);
1261inline ::int64_t OsqpSettingsProto::_internal_check_termination()
const {
1262 ::google::protobuf::internal::TSanRead(&
_impl_);
1263 return _impl_.check_termination_;
1265inline void OsqpSettingsProto::_internal_set_check_termination(::int64_t value) {
1266 ::google::protobuf::internal::TSanWrite(&
_impl_);
1267 _impl_.check_termination_ = value;
1272 bool value = (
_impl_._has_bits_[0] & 0x00020000u) != 0;
1276 ::google::protobuf::internal::TSanWrite(&
_impl_);
1278 _impl_._has_bits_[0] &= ~0x00020000u;
1282 return _internal_warm_start();
1285 _internal_set_warm_start(value);
1289inline bool OsqpSettingsProto::_internal_warm_start()
const {
1290 ::google::protobuf::internal::TSanRead(&
_impl_);
1291 return _impl_.warm_start_;
1293inline void OsqpSettingsProto::_internal_set_warm_start(
bool value) {
1294 ::google::protobuf::internal::TSanWrite(&
_impl_);
1295 _impl_.warm_start_ = value;
1300 bool value = (
_impl_._has_bits_[0] & 0x00100000u) != 0;
1304 ::google::protobuf::internal::TSanWrite(&
_impl_);
1306 _impl_._has_bits_[0] &= ~0x00100000u;
1310 return _internal_time_limit();
1313 _internal_set_time_limit(value);
1317inline double OsqpSettingsProto::_internal_time_limit()
const {
1318 ::google::protobuf::internal::TSanRead(&
_impl_);
1319 return _impl_.time_limit_;
1321inline void OsqpSettingsProto::_internal_set_time_limit(
double value) {
1322 ::google::protobuf::internal::TSanWrite(&
_impl_);
1323 _impl_.time_limit_ = value;
1332 ::google::protobuf::internal::TSanWrite(&
_impl_);
1333 _impl_.initialized_underlying_solver_ =
false;
1334 _impl_._has_bits_[0] &= ~0x00000001u;
1338 return _internal_initialized_underlying_solver();
1341 _internal_set_initialized_underlying_solver(value);
1342 _impl_._has_bits_[0] |= 0x00000001u;
1345inline bool OsqpOutput::_internal_initialized_underlying_solver()
const {
1346 ::google::protobuf::internal::TSanRead(&
_impl_);
1347 return _impl_.initialized_underlying_solver_;
1349inline void OsqpOutput::_internal_set_initialized_underlying_solver(
bool value) {
1350 ::google::protobuf::internal::TSanWrite(&
_impl_);
1351 _impl_.initialized_underlying_solver_ = value;
1355#pragma GCC diagnostic pop
1365#include "google/protobuf/port_undef.inc"
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
static const OsqpOutput & default_instance()
void Swap(OsqpOutput *PROTOBUF_NONNULL other)
bool IsInitialized() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void MergeFrom(const OsqpOutput &from)
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
OsqpOutput & operator=(const OsqpOutput &from)
bool initialized_underlying_solver() const
void CopyFrom(const OsqpOutput &from)
void clear_initialized_underlying_solver()
bool initialized_underlying_solver = 1;
PROTOBUF_CONSTEXPR OsqpOutput(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void set_initialized_underlying_solver(bool value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const OsqpSettingsProto &from)
bool has_adaptive_rho_tolerance() const
optional double adaptive_rho_tolerance = 6;
@ kPolishRefineIterFieldNumber
@ kCheckTerminationFieldNumber
@ kAdaptiveRhoFractionFieldNumber
@ kScaledTerminationFieldNumber
@ kAdaptiveRhoIntervalFieldNumber
@ kAdaptiveRhoToleranceFieldNumber
@ kAdaptiveRhoFieldNumber
void set_adaptive_rho(bool value)
friend class ::google::protobuf::MessageLite
bool adaptive_rho() const
void clear_adaptive_rho()
bool has_check_termination() const
optional int64 check_termination = 19;
double adaptive_rho_tolerance() const
double adaptive_rho_fraction() const
void set_check_termination(::int64_t value)
bool has_eps_dual_inf() const
optional double eps_dual_inf = 12;
void set_scaled_termination(bool value)
void set_polish(bool value)
void set_delta(double value)
void set_eps_prim_inf(double value)
bool has_rho() const
optional double rho = 1;
void set_alpha(double value)
void clear_polish_refine_iter()
void clear_scaled_termination()
void set_max_iter(::int64_t value)
bool has_delta() const
optional double delta = 14;
void clear_check_termination()
void set_adaptive_rho_tolerance(double value)
OsqpSettingsProto(const OsqpSettingsProto &from)
double eps_prim_inf() const
::int64_t polish_refine_iter() const
void set_sigma(double value)
void set_adaptive_rho_interval(::int64_t value)
void clear_eps_dual_inf()
bool has_polish_refine_iter() const
optional int64 polish_refine_iter = 16;
double time_limit() const
PROTOBUF_CONSTEXPR OsqpSettingsProto(::google::protobuf::internal::ConstantInitialized)
bool has_adaptive_rho_fraction() const
optional double adaptive_rho_fraction = 7;
OsqpSettingsProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, OsqpSettingsProto &&from) noexcept
bool has_adaptive_rho() const
optional bool adaptive_rho = 4;
void clear_adaptive_rho_fraction()
bool has_warm_start() const
optional bool warm_start = 20;
bool has_scaling() const
optional int64 scaling = 3;
void set_eps_dual_inf(double value)
bool has_alpha() const
optional double alpha = 13;
::int64_t check_termination() const
void clear_adaptive_rho_interval()
void set_scaling(::int64_t value)
bool scaled_termination() const
double eps_dual_inf() const
void set_warm_start(bool value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::int64_t adaptive_rho_interval() const
bool has_max_iter() const
optional int64 max_iter = 8;
void clear_adaptive_rho_tolerance()
bool has_adaptive_rho_interval() const
optional int64 adaptive_rho_interval = 5;
bool has_eps_abs() const
optional double eps_abs = 9;
bool has_sigma() const
optional double sigma = 2;
bool IsInitialized() const
bool has_verbose() const
optional bool verbose = 17;
void clear_eps_prim_inf()
bool has_time_limit() const
optional double time_limit = 21;
::int64_t max_iter() const
OsqpSettingsProto & operator=(const OsqpSettingsProto &from)
void set_polish_refine_iter(::int64_t value)
void set_rho(double value)
void set_eps_abs(double value)
bool has_eps_prim_inf() const
optional double eps_prim_inf = 11;
void Swap(OsqpSettingsProto *PROTOBUF_NONNULL other)
bool has_polish() const
optional bool polish = 15;
void set_adaptive_rho_fraction(double value)
void set_verbose(bool value)
::int64_t scaling() const
void set_eps_rel(double value)
bool has_scaled_termination() const
optional bool scaled_termination = 18;
bool has_eps_rel() const
optional double eps_rel = 10;
void set_time_limit(double value)
::absl::string_view GetAnyMessageName()
An object oriented wrapper for quadratic constraints in ModelStorage.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpOutputDefaultTypeInternal _OsqpOutput_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpOutput_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpSettingsProtoDefaultTypeInternal _OsqpSettingsProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OsqpSettingsProto_class_data_
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