6#ifndef ortools_2fmath_5fopt_2fmodel_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fmodel_2eproto_2epb_2eh
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"
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/map.h"
32#include "google/protobuf/map_type_handler.h"
33#include "google/protobuf/map_entry.h"
34#include "google/protobuf/map_field.h"
35#include "google/protobuf/unknown_field_set.h"
40#include "google/protobuf/port_def.inc"
42#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fmodel_2eproto OR_PROTO_DLL
133class OR_PROTO_DLL
VariablesProto final :
public ::google::protobuf::Message
139#if defined(PROTOBUF_CUSTOM_VTABLE)
140 void operator delete(
VariablesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
142 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
VariablesProto));
146 template <
typename =
void>
147 explicit PROTOBUF_CONSTEXPR
VariablesProto(::google::protobuf::internal::ConstantInitialized);
157 if (
this == &from)
return *
this;
158 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
166 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
167 ABSL_ATTRIBUTE_LIFETIME_BOUND {
168 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
170 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
171 ABSL_ATTRIBUTE_LIFETIME_BOUND {
172 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
175 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
176 return GetDescriptor();
178 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
179 return default_instance().GetMetadata().descriptor;
181 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
182 return default_instance().GetMetadata().reflection;
188 static constexpr int kIndexInFileMessages = 0;
191 if (other ==
this)
return;
192 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
195 ::google::protobuf::internal::GenericSwap(
this, other);
198 void UnsafeArenaSwap(VariablesProto* PROTOBUF_NONNULL other) {
199 if (other ==
this)
return;
200 ABSL_DCHECK(GetArena() == other->GetArena());
206 VariablesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
207 return ::google::protobuf::Message::DefaultConstruct<VariablesProto>(arena);
209 using ::google::protobuf::Message::CopyFrom;
211 using ::google::protobuf::Message::MergeFrom;
212 void MergeFrom(
const VariablesProto& from) { VariablesProto::MergeImpl(*
this, from); }
215 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
216 const ::google::protobuf::MessageLite& from_msg);
222 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
223 #if defined(PROTOBUF_CUSTOM_VTABLE)
225 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
226 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
227 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
228 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
231 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
232 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
233 ::uint8_t* PROTOBUF_NONNULL target,
234 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
235 return _InternalSerialize(*
this, target, stream);
238 ::size_t ByteSizeLong() const final;
239 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
240 ::uint8_t* PROTOBUF_NONNULL target,
241 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
243 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
246 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
250 template <
typename T>
252 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.VariablesProto"; }
254 explicit VariablesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
257 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
VariablesProto&& from) noexcept
259 *
this = ::std::move(from);
261 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
262 static
void* PROTOBUF_NONNULL PlacementNew_(
263 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
264 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
265 static constexpr auto InternalNewImpl_();
268 static constexpr auto InternalGenerateClassData_();
270 ::
google::protobuf::Metadata GetMetadata() const;
276 kLowerBoundsFieldNumber = 2,
284 int _internal_ids_size()
const;
288 ::int64_t
ids(
int index)
const;
289 void set_ids(
int index, ::int64_t value);
291 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
292 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
295 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
296 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
302 int _internal_lower_bounds_size()
const;
309 const ::google::protobuf::RepeatedField<double>&
lower_bounds()
const;
313 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds()
const;
314 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
320 int _internal_upper_bounds_size()
const;
327 const ::google::protobuf::RepeatedField<double>&
upper_bounds()
const;
331 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds()
const;
332 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
338 int _internal_integers_size()
const;
345 const ::google::protobuf::RepeatedField<bool>&
integers()
const;
346 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
mutable_integers();
349 const ::google::protobuf::RepeatedField<bool>& _internal_integers()
const;
350 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL _internal_mutable_integers();
356 int _internal_names_size()
const;
360 const ::std::string&
names(
int index)
const;
362 template <
typename Arg_ = const ::std::string&,
typename... Args_>
363 void set_names(
int index, Arg_&& value, Args_... args);
364 ::std::string* PROTOBUF_NONNULL
add_names();
365 template <
typename Arg_ = const ::std::string&,
typename... Args_>
366 void add_names(Arg_&& value, Args_... args);
367 const ::google::protobuf::RepeatedPtrField<::std::string>&
names()
const;
368 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
mutable_names();
371 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names()
const;
372 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
378 friend class ::google::protobuf::internal::TcParser;
379 static const ::google::protobuf::internal::TcParseTable<3, 5,
384 friend class ::google::protobuf::MessageLite;
385 friend class ::google::protobuf::Arena;
386 template <
typename T>
387 friend class ::google::protobuf::Arena::InternalHelper;
388 using InternalArenaConstructable_ = void;
389 using DestructorSkippable_ = void;
391 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
392 inline explicit Impl_(
393 ::google::protobuf::internal::InternalVisibility visibility,
394 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
395 inline explicit Impl_(
396 ::google::protobuf::internal::InternalVisibility visibility,
397 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
399 ::google::protobuf::internal::HasBits<1> _has_bits_;
400 ::google::protobuf::internal::CachedSize _cached_size_;
401 ::google::protobuf::RepeatedField<::int64_t> ids_;
402 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
403 ::google::protobuf::RepeatedField<double> lower_bounds_;
404 ::google::protobuf::RepeatedField<double> upper_bounds_;
405 ::google::protobuf::RepeatedField<bool> integers_;
406 ::google::protobuf::RepeatedPtrField<::std::string> names_;
407 PROTOBUF_TSAN_DECLARE_MEMBER
409 union { Impl_ _impl_; };
410 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
422#if defined(PROTOBUF_CUSTOM_VTABLE)
429 template <
typename =
void>
440 if (
this == &from)
return *
this;
441 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
449 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
450 ABSL_ATTRIBUTE_LIFETIME_BOUND {
451 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
453 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
454 ABSL_ATTRIBUTE_LIFETIME_BOUND {
455 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
458 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
459 return GetDescriptor();
461 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
464 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
471 static constexpr int kIndexInFileMessages = 2;
473 inline void Swap(LinearConstraintsProto* PROTOBUF_NONNULL other) {
474 if (other ==
this)
return;
475 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
478 ::google::protobuf::internal::GenericSwap(
this, other);
481 void UnsafeArenaSwap(LinearConstraintsProto* PROTOBUF_NONNULL other) {
482 if (other ==
this)
return;
483 ABSL_DCHECK(GetArena() == other->GetArena());
489 LinearConstraintsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
490 return ::google::protobuf::Message::DefaultConstruct<LinearConstraintsProto>(arena);
492 using ::google::protobuf::Message::CopyFrom;
494 using ::google::protobuf::Message::MergeFrom;
498 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
499 const ::google::protobuf::MessageLite& from_msg);
505 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
506 #if defined(PROTOBUF_CUSTOM_VTABLE)
508 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
510 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
511 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
515 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
516 ::uint8_t* PROTOBUF_NONNULL target,
517 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
518 return _InternalSerialize(*
this, target, stream);
521 ::size_t ByteSizeLong() const final;
522 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
523 ::uint8_t* PROTOBUF_NONNULL target,
524 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
526 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
529 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
533 template <
typename T>
535 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.LinearConstraintsProto"; }
542 *
this = ::std::move(from);
544 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
545 static
void* PROTOBUF_NONNULL PlacementNew_(
546 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
547 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
548 static constexpr auto InternalNewImpl_();
551 static constexpr auto InternalGenerateClassData_();
553 ::
google::protobuf::Metadata GetMetadata() const;
559 kLowerBoundsFieldNumber = 2,
560 kUpperBoundsFieldNumber = 3,
566 int _internal_ids_size()
const;
570 ::int64_t
ids(
int index)
const;
571 void set_ids(
int index, ::int64_t value);
573 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
574 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
577 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
578 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
584 int _internal_lower_bounds_size()
const;
591 const ::google::protobuf::RepeatedField<double>&
lower_bounds()
const;
595 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds()
const;
596 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
602 int _internal_upper_bounds_size()
const;
609 const ::google::protobuf::RepeatedField<double>&
upper_bounds()
const;
613 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds()
const;
614 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
620 int _internal_names_size()
const;
624 const ::std::string&
names(
int index)
const;
626 template <
typename Arg_ = const ::std::string&,
typename... Args_>
627 void set_names(
int index, Arg_&& value, Args_... args);
628 ::std::string* PROTOBUF_NONNULL
add_names();
629 template <
typename Arg_ = const ::std::string&,
typename... Args_>
630 void add_names(Arg_&& value, Args_... args);
631 const ::google::protobuf::RepeatedPtrField<::std::string>&
names()
const;
632 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
mutable_names();
635 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names()
const;
636 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
642 friend class ::google::protobuf::internal::TcParser;
643 static const ::google::protobuf::internal::TcParseTable<2, 4,
648 friend class ::google::protobuf::MessageLite;
649 friend class ::google::protobuf::Arena;
650 template <
typename T>
651 friend class ::google::protobuf::Arena::InternalHelper;
652 using InternalArenaConstructable_ = void;
653 using DestructorSkippable_ = void;
655 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
656 inline explicit Impl_(
657 ::google::protobuf::internal::InternalVisibility visibility,
658 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
659 inline explicit Impl_(
660 ::google::protobuf::internal::InternalVisibility visibility,
661 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
663 ::google::protobuf::internal::HasBits<1> _has_bits_;
664 ::google::protobuf::internal::CachedSize _cached_size_;
665 ::google::protobuf::RepeatedField<::int64_t> ids_;
666 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
667 ::google::protobuf::RepeatedField<double> lower_bounds_;
668 ::google::protobuf::RepeatedField<double> upper_bounds_;
669 ::google::protobuf::RepeatedPtrField<::std::string> names_;
670 PROTOBUF_TSAN_DECLARE_MEMBER
672 union { Impl_ _impl_; };
673 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
685#if defined(PROTOBUF_CUSTOM_VTABLE)
692 template <
typename =
void>
693 explicit PROTOBUF_CONSTEXPR
SosConstraintProto(::google::protobuf::internal::ConstantInitialized);
696 inline SosConstraintProto(SosConstraintProto&& from) noexcept
703 if (
this == &from)
return *
this;
704 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
712 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
713 ABSL_ATTRIBUTE_LIFETIME_BOUND {
714 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
717 ABSL_ATTRIBUTE_LIFETIME_BOUND {
718 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
721 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
724 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
727 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
737 if (other ==
this)
return;
738 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
741 ::google::protobuf::internal::GenericSwap(
this, other);
744 void UnsafeArenaSwap(SosConstraintProto* PROTOBUF_NONNULL other) {
745 if (other ==
this)
return;
746 ABSL_DCHECK(GetArena() == other->GetArena());
752 SosConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
753 return ::google::protobuf::Message::DefaultConstruct<SosConstraintProto>(arena);
755 using ::google::protobuf::Message::CopyFrom;
757 using ::google::protobuf::Message::MergeFrom;
761 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
762 const ::google::protobuf::MessageLite& from_msg);
768 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
769 #if defined(PROTOBUF_CUSTOM_VTABLE)
771 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
773 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
774 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
778 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
779 ::uint8_t* PROTOBUF_NONNULL target,
780 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
781 return _InternalSerialize(*
this, target, stream);
784 ::size_t ByteSizeLong() const final;
785 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
786 ::uint8_t* PROTOBUF_NONNULL target,
787 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
789 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
792 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
796 template <
typename T>
798 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SosConstraintProto"; }
803 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SosConstraintProto&& from) noexcept
805 *
this = ::std::move(from);
807 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
808 static
void* PROTOBUF_NONNULL PlacementNew_(
809 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
810 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
811 static constexpr auto InternalNewImpl_();
814 static constexpr auto InternalGenerateClassData_();
816 ::
google::protobuf::Metadata GetMetadata() const;
821 kExpressionsFieldNumber = 1,
822 kWeightsFieldNumber = 2,
823 kNameFieldNumber = 3,
828 int _internal_expressions_size()
const;
833 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
mutable_expressions();
836 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_expressions()
const;
837 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_expressions();
839 const ::operations_research::math_opt::LinearExpressionProto&
expressions(
int index)
const;
841 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
expressions()
const;
845 int _internal_weights_size()
const;
849 double weights(
int index)
const;
852 const ::google::protobuf::RepeatedField<double>&
weights()
const;
853 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
mutable_weights();
856 const ::google::protobuf::RepeatedField<double>& _internal_weights()
const;
857 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_weights();
862 const ::std::string&
name()
const;
863 template <
typename Arg_ = const ::std::string&,
typename... Args_>
864 void set_name(Arg_&& arg, Args_... args);
866 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
870 const ::std::string& _internal_name()
const;
871 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
872 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
878 friend class ::google::protobuf::internal::TcParser;
879 static const ::google::protobuf::internal::TcParseTable<2, 3,
884 friend class ::google::protobuf::MessageLite;
885 friend class ::google::protobuf::Arena;
886 template <
typename T>
887 friend class ::google::protobuf::Arena::InternalHelper;
888 using InternalArenaConstructable_ = void;
889 using DestructorSkippable_ = void;
891 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
892 inline explicit Impl_(
893 ::google::protobuf::internal::InternalVisibility visibility,
894 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
895 inline explicit Impl_(
896 ::google::protobuf::internal::InternalVisibility visibility,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
899 ::google::protobuf::internal::HasBits<1> _has_bits_;
900 ::google::protobuf::internal::CachedSize _cached_size_;
901 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > expressions_;
902 ::google::protobuf::RepeatedField<double> weights_;
903 ::google::protobuf::internal::ArenaStringPtr name_;
904 PROTOBUF_TSAN_DECLARE_MEMBER
906 union { Impl_ _impl_; };
907 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
919#if defined(PROTOBUF_CUSTOM_VTABLE)
926 template <
typename =
void>
930 inline SecondOrderConeConstraintProto(SecondOrderConeConstraintProto&& from) noexcept
931 : SecondOrderConeConstraintProto(
nullptr, ::std::move(from)) {}
937 if (
this == &from)
return *
this;
938 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
946 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
947 ABSL_ATTRIBUTE_LIFETIME_BOUND {
948 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
950 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
951 ABSL_ATTRIBUTE_LIFETIME_BOUND {
952 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
955 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
958 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
959 return default_instance().GetMetadata().descriptor;
961 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
962 return default_instance().GetMetadata().reflection;
968 static constexpr int kIndexInFileMessages = 4;
971 if (other ==
this)
return;
972 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
975 ::google::protobuf::internal::GenericSwap(
this, other);
978 void UnsafeArenaSwap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other) {
979 if (other ==
this)
return;
980 ABSL_DCHECK(GetArena() == other->GetArena());
987 return ::google::protobuf::Message::DefaultConstruct<SecondOrderConeConstraintProto>(arena);
989 using ::google::protobuf::Message::CopyFrom;
991 using ::google::protobuf::Message::MergeFrom;
995 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
996 const ::google::protobuf::MessageLite& from_msg);
1002 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1003 #if defined(PROTOBUF_CUSTOM_VTABLE)
1005 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1007 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1008 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1012 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1013 ::uint8_t* PROTOBUF_NONNULL target,
1014 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1015 return _InternalSerialize(*
this, target, stream);
1018 ::size_t ByteSizeLong() const final;
1019 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1020 ::uint8_t* PROTOBUF_NONNULL target,
1021 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1023 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1026 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1027 static void SharedDtor(MessageLite& self);
1030 template <
typename T>
1032 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SecondOrderConeConstraintProto"; }
1039 *
this = ::std::move(from);
1041 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1042 static
void* PROTOBUF_NONNULL PlacementNew_(
1043 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1044 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1045 static constexpr auto InternalNewImpl_();
1048 static constexpr auto InternalGenerateClassData_();
1050 ::
google::protobuf::Metadata GetMetadata() const;
1055 kArgumentsToNormFieldNumber = 2,
1056 kNameFieldNumber = 3,
1057 kUpperBoundFieldNumber = 1,
1062 int _internal_arguments_to_norm_size()
const;
1067 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
mutable_arguments_to_norm();
1070 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_arguments_to_norm()
const;
1071 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_arguments_to_norm();
1073 const ::operations_research::math_opt::LinearExpressionProto&
arguments_to_norm(
int index)
const;
1075 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
arguments_to_norm()
const;
1078 const ::std::string&
name()
const;
1079 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1080 void set_name(Arg_&& arg, Args_... args);
1082 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1086 const ::std::string& _internal_name()
const;
1087 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1088 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1094 const ::operations_research::math_opt::LinearExpressionProto&
upper_bound()
const;
1102 const ::operations_research::math_opt::LinearExpressionProto& _internal_upper_bound()
const;
1109 friend class ::google::protobuf::internal::TcParser;
1110 static const ::google::protobuf::internal::TcParseTable<2, 3,
1115 friend class ::google::protobuf::MessageLite;
1116 friend class ::google::protobuf::Arena;
1117 template <
typename T>
1118 friend class ::google::protobuf::Arena::InternalHelper;
1119 using InternalArenaConstructable_ = void;
1120 using DestructorSkippable_ = void;
1122 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1123 inline explicit Impl_(
1124 ::google::protobuf::internal::InternalVisibility visibility,
1125 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1126 inline explicit Impl_(
1127 ::google::protobuf::internal::InternalVisibility visibility,
1128 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1130 ::google::protobuf::internal::HasBits<1> _has_bits_;
1131 ::google::protobuf::internal::CachedSize _cached_size_;
1132 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > arguments_to_norm_;
1133 ::google::protobuf::internal::ArenaStringPtr name_;
1135 PROTOBUF_TSAN_DECLARE_MEMBER
1137 union { Impl_ _impl_; };
1138 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1150#if defined(PROTOBUF_CUSTOM_VTABLE)
1157 template <
typename =
void>
1161 inline QuadraticConstraintProto(QuadraticConstraintProto&& from) noexcept
1162 : QuadraticConstraintProto(
nullptr, ::std::move(from)) {}
1163 inline QuadraticConstraintProto& operator=(
const QuadraticConstraintProto& from) {
1168 if (
this == &from)
return *
this;
1169 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1170 InternalSwap(&from);
1177 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1178 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1179 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1181 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1182 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1183 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1186 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1189 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1190 return default_instance().GetMetadata().descriptor;
1199 static constexpr int kIndexInFileMessages = 3;
1202 if (other ==
this)
return;
1203 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1204 InternalSwap(other);
1206 ::google::protobuf::internal::GenericSwap(
this, other);
1209 void UnsafeArenaSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other) {
1210 if (other ==
this)
return;
1211 ABSL_DCHECK(GetArena() == other->GetArena());
1212 InternalSwap(other);
1218 return ::google::protobuf::Message::DefaultConstruct<QuadraticConstraintProto>(arena);
1220 using ::google::protobuf::Message::CopyFrom;
1222 using ::google::protobuf::Message::MergeFrom;
1226 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1227 const ::google::protobuf::MessageLite& from_msg);
1233 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1234 #if defined(PROTOBUF_CUSTOM_VTABLE)
1238 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1239 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1243 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1244 ::uint8_t* PROTOBUF_NONNULL target,
1245 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1246 return _InternalSerialize(*
this, target, stream);
1249 ::size_t ByteSizeLong() const final;
1250 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1251 ::uint8_t* PROTOBUF_NONNULL target,
1252 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1254 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1257 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1258 static void SharedDtor(MessageLite& self);
1259 void InternalSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other);
1261 template <
typename T>
1263 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.QuadraticConstraintProto"; }
1270 *
this = ::std::move(from);
1272 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1273 static
void* PROTOBUF_NONNULL PlacementNew_(
1274 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1275 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1276 static constexpr auto InternalNewImpl_();
1279 static constexpr auto InternalGenerateClassData_();
1281 ::
google::protobuf::Metadata GetMetadata() const;
1286 kNameFieldNumber = 5,
1287 kLinearTermsFieldNumber = 1,
1288 kQuadraticTermsFieldNumber = 2,
1289 kLowerBoundFieldNumber = 3,
1290 kUpperBoundFieldNumber = 4,
1295 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1298 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1302 const ::std::string& _internal_name()
const;
1303 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1304 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1310 const ::operations_research::math_opt::SparseDoubleVectorProto&
linear_terms()
const;
1318 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_terms()
const;
1325 const ::operations_research::math_opt::SparseDoubleMatrixProto&
quadratic_terms()
const;
1333 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_terms()
const;
1343 double _internal_lower_bound()
const;
1344 void _internal_set_lower_bound(
double value);
1353 double _internal_upper_bound()
const;
1354 void _internal_set_upper_bound(
double value);
1360 friend class ::google::protobuf::internal::TcParser;
1361 static const ::google::protobuf::internal::TcParseTable<3, 5,
1366 friend class ::google::protobuf::MessageLite;
1367 friend class ::google::protobuf::Arena;
1368 template <
typename T>
1369 friend class ::google::protobuf::Arena::InternalHelper;
1370 using InternalArenaConstructable_ = void;
1371 using DestructorSkippable_ = void;
1373 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1374 inline explicit Impl_(
1375 ::google::protobuf::internal::InternalVisibility visibility,
1376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1377 inline explicit Impl_(
1378 ::google::protobuf::internal::InternalVisibility visibility,
1379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1381 ::google::protobuf::internal::HasBits<1> _has_bits_;
1382 ::google::protobuf::internal::CachedSize _cached_size_;
1383 ::google::protobuf::internal::ArenaStringPtr name_;
1386 double lower_bound_;
1387 double upper_bound_;
1388 PROTOBUF_TSAN_DECLARE_MEMBER
1390 union { Impl_ _impl_; };
1391 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1403#if defined(PROTOBUF_CUSTOM_VTABLE)
1404 void operator delete(
ObjectiveProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1406 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
ObjectiveProto));
1410 template <
typename =
void>
1411 explicit PROTOBUF_CONSTEXPR
ObjectiveProto(::google::protobuf::internal::ConstantInitialized);
1414 inline ObjectiveProto(ObjectiveProto&& from) noexcept
1415 : ObjectiveProto(
nullptr, ::std::move(from)) {}
1416 inline ObjectiveProto& operator=(
const ObjectiveProto& from) {
1421 if (
this == &from)
return *
this;
1422 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1423 InternalSwap(&from);
1430 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1431 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1432 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1434 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1435 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1436 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1440 return GetDescriptor();
1442 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1443 return default_instance().GetMetadata().descriptor;
1445 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1455 if (other ==
this)
return;
1456 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1457 InternalSwap(other);
1459 ::google::protobuf::internal::GenericSwap(
this, other);
1463 if (other ==
this)
return;
1464 ABSL_DCHECK(GetArena() == other->GetArena());
1465 InternalSwap(other);
1470 ObjectiveProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1471 return ::google::protobuf::Message::DefaultConstruct<ObjectiveProto>(arena);
1473 using ::google::protobuf::Message::CopyFrom;
1475 using ::google::protobuf::Message::MergeFrom;
1476 void MergeFrom(
const ObjectiveProto& from) { ObjectiveProto::MergeImpl(*
this, from); }
1479 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1480 const ::google::protobuf::MessageLite& from_msg);
1486 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1487 #if defined(PROTOBUF_CUSTOM_VTABLE)
1489 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1491 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1492 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1496 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1497 ::uint8_t* PROTOBUF_NONNULL target,
1498 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1499 return _InternalSerialize(*
this, target, stream);
1502 ::size_t ByteSizeLong() const final;
1503 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1504 ::uint8_t* PROTOBUF_NONNULL target,
1505 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1507 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1510 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1511 static void SharedDtor(MessageLite& self);
1512 void InternalSwap(ObjectiveProto* PROTOBUF_NONNULL other);
1514 template <
typename T>
1516 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ObjectiveProto"; }
1518 explicit ObjectiveProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1521 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ObjectiveProto&& from) noexcept
1523 *
this = ::std::move(from);
1525 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1526 static
void* PROTOBUF_NONNULL PlacementNew_(
1527 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1528 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1529 static constexpr auto InternalNewImpl_();
1532 static constexpr auto InternalGenerateClassData_();
1534 ::
google::protobuf::Metadata GetMetadata() const;
1539 kNameFieldNumber = 5,
1540 kLinearCoefficientsFieldNumber = 3,
1541 kQuadraticCoefficientsFieldNumber = 4,
1542 kOffsetFieldNumber = 2,
1543 kPriorityFieldNumber = 6,
1544 kMaximizeFieldNumber = 1,
1549 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1552 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1556 const ::std::string& _internal_name()
const;
1557 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1558 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1564 const ::operations_research::math_opt::SparseDoubleVectorProto&
linear_coefficients()
const;
1572 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_coefficients()
const;
1587 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_coefficients()
const;
1597 double _internal_offset()
const;
1598 void _internal_set_offset(
double value);
1607 ::int64_t _internal_priority()
const;
1608 void _internal_set_priority(::int64_t value);
1617 bool _internal_maximize()
const;
1618 void _internal_set_maximize(
bool value);
1624 friend class ::google::protobuf::internal::TcParser;
1625 static const ::google::protobuf::internal::TcParseTable<3, 6,
1630 friend class ::google::protobuf::MessageLite;
1631 friend class ::google::protobuf::Arena;
1632 template <
typename T>
1633 friend class ::google::protobuf::Arena::InternalHelper;
1634 using InternalArenaConstructable_ = void;
1635 using DestructorSkippable_ = void;
1637 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1638 inline explicit Impl_(
1639 ::google::protobuf::internal::InternalVisibility visibility,
1640 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1641 inline explicit Impl_(
1642 ::google::protobuf::internal::InternalVisibility visibility,
1643 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1645 ::google::protobuf::internal::HasBits<1> _has_bits_;
1646 ::google::protobuf::internal::CachedSize _cached_size_;
1647 ::google::protobuf::internal::ArenaStringPtr name_;
1651 ::int64_t priority_;
1653 PROTOBUF_TSAN_DECLARE_MEMBER
1655 union { Impl_ _impl_; };
1656 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1668#if defined(PROTOBUF_CUSTOM_VTABLE)
1675 template <
typename =
void>
1681 inline IndicatorConstraintProto& operator=(
const IndicatorConstraintProto& from) {
1686 if (
this == &from)
return *
this;
1687 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1688 InternalSwap(&from);
1695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1696 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1697 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1699 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1701 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1704 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1710 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1711 return default_instance().GetMetadata().reflection;
1717 static constexpr int kIndexInFileMessages = 6;
1720 if (other ==
this)
return;
1721 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1722 InternalSwap(other);
1724 ::google::protobuf::internal::GenericSwap(
this, other);
1728 if (other ==
this)
return;
1729 ABSL_DCHECK(GetArena() == other->GetArena());
1730 InternalSwap(other);
1736 return ::google::protobuf::Message::DefaultConstruct<IndicatorConstraintProto>(arena);
1738 using ::google::protobuf::Message::CopyFrom;
1740 using ::google::protobuf::Message::MergeFrom;
1744 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1745 const ::google::protobuf::MessageLite& from_msg);
1751 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1752 #if defined(PROTOBUF_CUSTOM_VTABLE)
1754 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1755 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1756 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1757 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1761 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1762 ::uint8_t* PROTOBUF_NONNULL target,
1763 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1764 return _InternalSerialize(*
this, target, stream);
1767 ::size_t ByteSizeLong() const final;
1768 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1769 ::uint8_t* PROTOBUF_NONNULL target,
1770 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1772 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1775 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1776 static void SharedDtor(MessageLite& self);
1777 void InternalSwap(IndicatorConstraintProto* PROTOBUF_NONNULL other);
1779 template <
typename T>
1781 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.IndicatorConstraintProto"; }
1788 *
this = ::std::move(from);
1790 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1791 static
void* PROTOBUF_NONNULL PlacementNew_(
1792 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1793 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1794 static constexpr auto InternalNewImpl_();
1797 static constexpr auto InternalGenerateClassData_();
1799 ::
google::protobuf::Metadata GetMetadata() const;
1804 kNameFieldNumber = 5,
1805 kExpressionFieldNumber = 2,
1806 kIndicatorIdFieldNumber = 1,
1807 kLowerBoundFieldNumber = 3,
1808 kUpperBoundFieldNumber = 4,
1809 kActivateOnZeroFieldNumber = 6,
1814 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1821 const ::std::string& _internal_name()
const;
1822 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1823 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1829 const ::operations_research::math_opt::SparseDoubleVectorProto&
expression()
const;
1837 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_expression()
const;
1848 ::int64_t _internal_indicator_id()
const;
1849 void _internal_set_indicator_id(::int64_t value);
1858 double _internal_lower_bound()
const;
1859 void _internal_set_lower_bound(
double value);
1868 double _internal_upper_bound()
const;
1869 void _internal_set_upper_bound(
double value);
1878 bool _internal_activate_on_zero()
const;
1879 void _internal_set_activate_on_zero(
bool value);
1885 friend class ::google::protobuf::internal::TcParser;
1886 static const ::google::protobuf::internal::TcParseTable<3, 6,
1891 friend class ::google::protobuf::MessageLite;
1892 friend class ::google::protobuf::Arena;
1893 template <
typename T>
1894 friend class ::google::protobuf::Arena::InternalHelper;
1895 using InternalArenaConstructable_ = void;
1896 using DestructorSkippable_ = void;
1898 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1899 inline explicit Impl_(
1900 ::google::protobuf::internal::InternalVisibility visibility,
1901 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1902 inline explicit Impl_(
1903 ::google::protobuf::internal::InternalVisibility visibility,
1904 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1906 ::google::protobuf::internal::HasBits<1> _has_bits_;
1907 ::google::protobuf::internal::CachedSize _cached_size_;
1908 ::google::protobuf::internal::ArenaStringPtr name_;
1910 ::int64_t indicator_id_;
1911 double lower_bound_;
1912 double upper_bound_;
1913 bool activate_on_zero_;
1914 PROTOBUF_TSAN_DECLARE_MEMBER
1916 union { Impl_ _impl_; };
1917 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1923class ModelProto_Sos2ConstraintsEntry_DoNotUse final
1924 :
public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1925 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1926 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1929 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1930 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1931 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1933 template <
typename =
void>
1944 friend class ::google::protobuf::MessageLite;
1945 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1947 friend class ::google::protobuf::internal::TcParser;
1948 static const ::google::protobuf::internal::TcParseTable<1, 2,
1953 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1954 static
void* PROTOBUF_NONNULL PlacementNew_(
1955 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1956 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1957 static constexpr auto InternalNewImpl_();
1968 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1969 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1970 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1972 template <
typename =
void>
1983 friend class ::google::protobuf::MessageLite;
1984 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1986 friend class ::google::protobuf::internal::TcParser;
1987 static const ::google::protobuf::internal::TcParseTable<1, 2,
1992 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1993 static
void* PROTOBUF_NONNULL PlacementNew_(
1994 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1995 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1996 static constexpr auto InternalNewImpl_();
2007 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2008 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2009 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2011 template <
typename =
void>
2022 friend class ::google::protobuf::MessageLite;
2023 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2025 friend class ::google::protobuf::internal::TcParser;
2026 static const ::google::protobuf::internal::TcParseTable<1, 2,
2031 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2032 static
void* PROTOBUF_NONNULL PlacementNew_(
2033 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2034 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2035 static constexpr auto InternalNewImpl_();
2046 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2047 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2048 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2050 template <
typename =
void>
2061 friend class ::google::protobuf::MessageLite;
2062 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2064 friend class ::google::protobuf::internal::TcParser;
2065 static const ::google::protobuf::internal::TcParseTable<1, 2,
2070 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2071 static
void* PROTOBUF_NONNULL PlacementNew_(
2072 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2073 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2074 static constexpr auto InternalNewImpl_();
2085 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2086 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2087 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2089 template <
typename =
void>
2100 friend class ::google::protobuf::MessageLite;
2101 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2103 friend class ::google::protobuf::internal::TcParser;
2104 static const ::google::protobuf::internal::TcParseTable<1, 2,
2109 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2110 static
void* PROTOBUF_NONNULL PlacementNew_(
2111 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2112 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2113 static constexpr auto InternalNewImpl_();
2124 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2125 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2126 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2128 template <
typename =
void>
2139 friend class ::google::protobuf::MessageLite;
2140 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2142 friend class ::google::protobuf::internal::TcParser;
2143 static const ::google::protobuf::internal::TcParseTable<1, 2,
2148 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2149 static
void* PROTOBUF_NONNULL PlacementNew_(
2150 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2151 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2152 static constexpr auto InternalNewImpl_();
2163#if defined(PROTOBUF_CUSTOM_VTABLE)
2164 void operator delete(
ModelProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
2166 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
ModelProto));
2170 template <
typename =
void>
2171 explicit PROTOBUF_CONSTEXPR
ModelProto(::google::protobuf::internal::ConstantInitialized);
2180 inline ModelProto& operator=(ModelProto&& from)
noexcept {
2181 if (
this == &from)
return *
this;
2182 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2183 InternalSwap(&from);
2190 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
2191 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2192 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2194 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2195 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2196 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2199 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2200 return GetDescriptor();
2202 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2203 return default_instance().GetMetadata().descriptor;
2208 static const ModelProto& default_instance() {
2212 static constexpr int kIndexInFileMessages = 13;
2215 if (other ==
this)
return;
2216 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2217 InternalSwap(other);
2219 ::google::protobuf::internal::GenericSwap(
this, other);
2222 void UnsafeArenaSwap(ModelProto* PROTOBUF_NONNULL other) {
2223 if (other ==
this)
return;
2224 ABSL_DCHECK(GetArena() == other->GetArena());
2225 InternalSwap(other);
2230 ModelProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2231 return ::google::protobuf::Message::DefaultConstruct<ModelProto>(arena);
2233 using ::google::protobuf::Message::CopyFrom;
2235 using ::google::protobuf::Message::MergeFrom;
2236 void MergeFrom(
const ModelProto& from) { ModelProto::MergeImpl(*
this, from); }
2239 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2240 const ::google::protobuf::MessageLite& from_msg);
2246 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2247 #if defined(PROTOBUF_CUSTOM_VTABLE)
2249 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2250 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2251 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2252 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2256 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2257 ::uint8_t* PROTOBUF_NONNULL target,
2258 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2262 ::size_t ByteSizeLong() const final;
2263 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2264 ::uint8_t* PROTOBUF_NONNULL target,
2265 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2267 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2270 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2272 void InternalSwap(ModelProto* PROTOBUF_NONNULL other);
2274 template <
typename T>
2276 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ModelProto"; }
2278 explicit ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2279 ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const ModelProto& from);
2281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelProto&& from) noexcept
2283 *
this = ::std::move(from);
2285 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2286 static
void* PROTOBUF_NONNULL PlacementNew_(
2287 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2288 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2289 static constexpr auto InternalNewImpl_();
2294 ::
google::protobuf::Metadata GetMetadata() const;
2299 kNameFieldNumber = 1,
2300 kVariablesFieldNumber = 2,
2301 kObjectiveFieldNumber = 3,
2302 kLinearConstraintsFieldNumber = 4,
2303 kLinearConstraintMatrixFieldNumber = 5,
2304 kQuadraticConstraintsFieldNumber = 6,
2305 kSos1ConstraintsFieldNumber = 7,
2306 kSos2ConstraintsFieldNumber = 8,
2307 kIndicatorConstraintsFieldNumber = 9,
2308 kAuxiliaryObjectivesFieldNumber = 10,
2309 kSecondOrderConeConstraintsFieldNumber = 11,
2313 const ::std::string& name()
const;
2314 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2321 const ::std::string& _internal_name()
const;
2322 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
2323 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2329 const ::operations_research::math_opt::VariablesProto&
variables()
const;
2337 const ::operations_research::math_opt::VariablesProto& _internal_variables()
const;
2344 const ::operations_research::math_opt::ObjectiveProto&
objective()
const;
2352 const ::operations_research::math_opt::ObjectiveProto& _internal_objective()
const;
2359 const ::operations_research::math_opt::LinearConstraintsProto&
linear_constraints()
const;
2367 const ::operations_research::math_opt::LinearConstraintsProto& _internal_linear_constraints()
const;
2382 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_linear_constraint_matrix()
const;
2389 int _internal_quadratic_constraints_size()
const;
2393 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>&
quadratic_constraints()
const;
2394 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL
mutable_quadratic_constraints();
2397 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& _internal_quadratic_constraints()
const;
2398 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL _internal_mutable_quadratic_constraints();
2404 int _internal_sos1_constraints_size()
const;
2408 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
sos1_constraints()
const;
2409 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL
mutable_sos1_constraints();
2412 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos1_constraints()
const;
2413 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos1_constraints();
2419 int _internal_sos2_constraints_size()
const;
2423 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
sos2_constraints()
const;
2424 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL
mutable_sos2_constraints();
2427 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos2_constraints()
const;
2428 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos2_constraints();
2434 int _internal_indicator_constraints_size()
const;
2438 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>&
indicator_constraints()
const;
2439 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL
mutable_indicator_constraints();
2442 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& _internal_indicator_constraints()
const;
2443 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL _internal_mutable_indicator_constraints();
2449 int _internal_auxiliary_objectives_size()
const;
2453 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>&
auxiliary_objectives()
const;
2457 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& _internal_auxiliary_objectives()
const;
2458 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL _internal_mutable_auxiliary_objectives();
2464 int _internal_second_order_cone_constraints_size()
const;
2468 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>&
second_order_cone_constraints()
const;
2472 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& _internal_second_order_cone_constraints()
const;
2473 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraints();
2479 friend class ::google::protobuf::internal::TcParser;
2480 static const ::google::protobuf::internal::TcParseTable<3, 11,
2485 friend class ::google::protobuf::MessageLite;
2486 friend class ::google::protobuf::Arena;
2487 template <
typename T>
2488 friend class ::google::protobuf::Arena::InternalHelper;
2489 using InternalArenaConstructable_ = void;
2490 using DestructorSkippable_ = void;
2492 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2493 inline explicit Impl_(
2494 ::google::protobuf::internal::InternalVisibility visibility,
2495 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2496 inline explicit Impl_(
2497 ::google::protobuf::internal::InternalVisibility visibility,
2498 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2500 ::google::protobuf::internal::HasBits<1> _has_bits_;
2501 ::google::protobuf::internal::CachedSize _cached_size_;
2502 ::google::protobuf::internal::ArenaStringPtr name_;
2508 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2509 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2510 quadratic_constraints_;
2512 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2513 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2516 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2517 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2520 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2521 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2522 indicator_constraints_;
2524 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2525 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2526 auxiliary_objectives_;
2528 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2529 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2530 second_order_cone_constraints_;
2531 PROTOBUF_TSAN_DECLARE_MEMBER
2533 union { Impl_ _impl_; };
2534 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2548#pragma GCC diagnostic push
2549#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2556inline int VariablesProto::_internal_ids_size()
const {
2557 return _internal_ids().size();
2560 return _internal_ids_size();
2563 ::google::protobuf::internal::TSanWrite(&_impl_);
2564 _impl_.ids_.Clear();
2565 ClearHasBitForRepeated(_impl_._has_bits_[0],
2570 return _internal_ids().Get(index);
2573 _internal_mutable_ids()->Set(index, value);
2577 ::google::protobuf::internal::TSanWrite(&
_impl_);
2578 _internal_mutable_ids()->Add(value);
2579 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
2583 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2585 return _internal_ids();
2588 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2589 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2591 ::google::protobuf::internal::TSanWrite(&
_impl_);
2592 return _internal_mutable_ids();
2594inline const ::google::protobuf::RepeatedField<::int64_t>&
2595VariablesProto::_internal_ids()
const {
2596 ::google::protobuf::internal::TSanRead(&
_impl_);
2599inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2600VariablesProto::_internal_mutable_ids() {
2601 ::google::protobuf::internal::TSanRead(&
_impl_);
2606inline int VariablesProto::_internal_lower_bounds_size()
const {
2607 return _internal_lower_bounds().size();
2610 return _internal_lower_bounds_size();
2613 ::google::protobuf::internal::TSanWrite(&_impl_);
2614 _impl_.lower_bounds_.Clear();
2615 ClearHasBitForRepeated(_impl_._has_bits_[0],
2620 return _internal_lower_bounds().Get(index);
2623 _internal_mutable_lower_bounds()->Set(index, value);
2627 ::google::protobuf::internal::TSanWrite(&
_impl_);
2628 _internal_mutable_lower_bounds()->Add(value);
2629 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
2633 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2635 return _internal_lower_bounds();
2638 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2639 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2641 ::google::protobuf::internal::TSanWrite(&
_impl_);
2642 return _internal_mutable_lower_bounds();
2644inline const ::google::protobuf::RepeatedField<double>&
2645VariablesProto::_internal_lower_bounds()
const {
2646 ::google::protobuf::internal::TSanRead(&
_impl_);
2647 return _impl_.lower_bounds_;
2649inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2650VariablesProto::_internal_mutable_lower_bounds() {
2651 ::google::protobuf::internal::TSanRead(&
_impl_);
2652 return &
_impl_.lower_bounds_;
2656inline int VariablesProto::_internal_upper_bounds_size()
const {
2657 return _internal_upper_bounds().size();
2660 return _internal_upper_bounds_size();
2663 ::google::protobuf::internal::TSanWrite(&_impl_);
2664 _impl_.upper_bounds_.Clear();
2665 ClearHasBitForRepeated(_impl_._has_bits_[0],
2670 return _internal_upper_bounds().Get(index);
2673 _internal_mutable_upper_bounds()->Set(index, value);
2677 ::google::protobuf::internal::TSanWrite(&
_impl_);
2678 _internal_mutable_upper_bounds()->Add(value);
2679 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
2683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2685 return _internal_upper_bounds();
2688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2689 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2691 ::google::protobuf::internal::TSanWrite(&
_impl_);
2692 return _internal_mutable_upper_bounds();
2694inline const ::google::protobuf::RepeatedField<double>&
2695VariablesProto::_internal_upper_bounds()
const {
2696 ::google::protobuf::internal::TSanRead(&
_impl_);
2697 return _impl_.upper_bounds_;
2699inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2700VariablesProto::_internal_mutable_upper_bounds() {
2701 ::google::protobuf::internal::TSanRead(&
_impl_);
2702 return &
_impl_.upper_bounds_;
2706inline int VariablesProto::_internal_integers_size()
const {
2707 return _internal_integers().size();
2710 return _internal_integers_size();
2713 ::google::protobuf::internal::TSanWrite(&_impl_);
2714 _impl_.integers_.Clear();
2715 ClearHasBitForRepeated(_impl_._has_bits_[0],
2720 return _internal_integers().Get(index);
2723 _internal_mutable_integers()->Set(index, value);
2727 ::google::protobuf::internal::TSanWrite(&
_impl_);
2728 _internal_mutable_integers()->Add(value);
2729 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
2733 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2735 return _internal_integers();
2738 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2739 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2741 ::google::protobuf::internal::TSanWrite(&
_impl_);
2742 return _internal_mutable_integers();
2744inline const ::google::protobuf::RepeatedField<bool>&
2745VariablesProto::_internal_integers()
const {
2746 ::google::protobuf::internal::TSanRead(&
_impl_);
2749inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
2750VariablesProto::_internal_mutable_integers() {
2751 ::google::protobuf::internal::TSanRead(&
_impl_);
2752 return &
_impl_.integers_;
2756inline int VariablesProto::_internal_names_size()
const {
2757 return _internal_names().size();
2760 return _internal_names_size();
2763 ::google::protobuf::internal::TSanWrite(&_impl_);
2764 _impl_.names_.Clear();
2765 ClearHasBitForRepeated(_impl_._has_bits_[0],
2769 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2770 ::google::protobuf::internal::TSanWrite(&_impl_);
2772 _internal_mutable_names()->InternalAddWithArena(
2773 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2774 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
2779 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2781 return _internal_names().Get(index);
2784 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2786 return _internal_mutable_names()->Mutable(index);
2788template <
typename Arg_,
typename... Args_>
2790 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
2794template <
typename Arg_,
typename... Args_>
2796 ::google::protobuf::internal::TSanWrite(&
_impl_);
2797 ::google::protobuf::internal::AddToRepeatedPtrField(
2798 ::google::protobuf::MessageLite::internal_visibility(), GetArena(),
2799 *_internal_mutable_names(), ::std::forward<Arg_>(value),
2801 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000010U);
2805 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2807 return _internal_names();
2809inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2811 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
2813 ::google::protobuf::internal::TSanWrite(&
_impl_);
2814 return _internal_mutable_names();
2816inline const ::google::protobuf::RepeatedPtrField<::std::string>&
2817VariablesProto::_internal_names()
const {
2818 ::google::protobuf::internal::TSanRead(&_impl_);
2819 return _impl_.names_;
2821inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2822VariablesProto::_internal_mutable_names() {
2823 ::google::protobuf::internal::TSanRead(&
_impl_);
2833 ::google::protobuf::internal::TSanWrite(&
_impl_);
2834 _impl_.maximize_ =
false;
2835 ClearHasBit(
_impl_._has_bits_[0],
2840 return _internal_maximize();
2843 _internal_set_maximize(value);
2844 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2847inline bool ObjectiveProto::_internal_maximize()
const {
2848 ::google::protobuf::internal::TSanRead(&_impl_);
2849 return _impl_.maximize_;
2851inline void ObjectiveProto::_internal_set_maximize(
bool value) {
2852 ::google::protobuf::internal::TSanWrite(&
_impl_);
2853 _impl_.maximize_ = value;
2858 ::google::protobuf::internal::TSanWrite(&
_impl_);
2860 ClearHasBit(
_impl_._has_bits_[0],
2865 return _internal_offset();
2868 _internal_set_offset(value);
2869 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2872inline double ObjectiveProto::_internal_offset()
const {
2873 ::google::protobuf::internal::TSanRead(&_impl_);
2874 return _impl_.offset_;
2876inline void ObjectiveProto::_internal_set_offset(
double value) {
2877 ::google::protobuf::internal::TSanWrite(&
_impl_);
2883 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
2884 PROTOBUF_ASSUME(!value ||
_impl_.linear_coefficients_ !=
nullptr);
2887inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveProto::_internal_linear_coefficients()
const {
2888 ::google::protobuf::internal::TSanRead(&_impl_);
2889 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_coefficients_;
2894 return _internal_linear_coefficients();
2898 ::google::protobuf::internal::TSanWrite(&_impl_);
2899 if (GetArena() ==
nullptr) {
2900 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_coefficients_);
2903 if (value !=
nullptr) {
2904 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2906 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2911 ::google::protobuf::internal::TSanWrite(&
_impl_);
2913 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2916 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2917 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2918 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2919 if (GetArena() ==
nullptr) {
2923 if (GetArena() !=
nullptr) {
2924 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2930 ::google::protobuf::internal::TSanWrite(&
_impl_);
2933 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
2935 _impl_.linear_coefficients_ =
nullptr;
2938inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_linear_coefficients() {
2939 ::google::protobuf::internal::TSanWrite(&_impl_);
2940 if (_impl_.linear_coefficients_ ==
nullptr) {
2941 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2944 return _impl_.linear_coefficients_;
2947 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2948 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2954 ::google::protobuf::Arena* message_arena = GetArena();
2955 ::google::protobuf::internal::TSanWrite(&_impl_);
2956 if (message_arena ==
nullptr) {
2957 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_coefficients_);
2960 if (value !=
nullptr) {
2961 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2962 if (message_arena != submessage_arena) {
2963 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2965 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
2967 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2976 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2977 PROTOBUF_ASSUME(!value || _impl_.quadratic_coefficients_ !=
nullptr);
2980inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveProto::_internal_quadratic_coefficients()
const {
2981 ::google::protobuf::internal::TSanRead(&_impl_);
2982 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_coefficients_;
2987 return _internal_quadratic_coefficients();
2990 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE value) {
2991 ::google::protobuf::internal::TSanWrite(&_impl_);
2992 if (GetArena() ==
nullptr) {
2993 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_coefficients_);
2996 if (value !=
nullptr) {
2997 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2999 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3004 ::google::protobuf::internal::TSanWrite(&
_impl_);
3006 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
3009 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3010 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3011 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3012 if (GetArena() ==
nullptr) {
3016 if (GetArena() !=
nullptr) {
3017 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3023 ::google::protobuf::internal::TSanWrite(&
_impl_);
3026 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
3028 _impl_.quadratic_coefficients_ =
nullptr;
3031inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_quadratic_coefficients() {
3032 ::google::protobuf::internal::TSanWrite(&_impl_);
3033 if (_impl_.quadratic_coefficients_ ==
nullptr) {
3034 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3037 return _impl_.quadratic_coefficients_;
3040 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3041 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3047 ::google::protobuf::Arena* message_arena = GetArena();
3048 ::google::protobuf::internal::TSanWrite(&_impl_);
3049 if (message_arena ==
nullptr) {
3050 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_coefficients_);
3053 if (value !=
nullptr) {
3054 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3055 if (message_arena != submessage_arena) {
3056 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3058 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3060 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3069 ::google::protobuf::internal::TSanWrite(&_impl_);
3070 _impl_.name_.ClearToEmpty();
3071 ClearHasBit(_impl_._has_bits_[0],
3075 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3077 return _internal_name();
3079template <
typename Arg_,
typename... Args_>
3081 ::google::protobuf::internal::TSanWrite(&_impl_);
3082 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3083 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3087 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3088 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
3089 ::std::string* _s = _internal_mutable_name();
3093inline const ::std::string& ObjectiveProto::_internal_name()
const {
3094 ::google::protobuf::internal::TSanRead(&
_impl_);
3095 return _impl_.name_.Get();
3097inline void ObjectiveProto::_internal_set_name(const ::std::string& value) {
3098 ::google::protobuf::internal::TSanWrite(&_impl_);
3101inline ::std::string* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_name() {
3102 ::google::protobuf::internal::TSanWrite(&_impl_);
3103 return _impl_.name_.Mutable( GetArena());
3106 ::google::protobuf::internal::TSanWrite(&
_impl_);
3108 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
3111 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
3112 auto* released =
_impl_.name_.Release();
3113 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3114 _impl_.name_.Set(
"", GetArena());
3119 ::google::protobuf::internal::TSanWrite(&_impl_);
3120 if (value !=
nullptr) {
3121 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3123 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3125 _impl_.name_.SetAllocated(value, GetArena());
3126 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3127 _impl_.name_.Set(
"", GetArena());
3134 ::google::protobuf::internal::TSanWrite(&_impl_);
3135 _impl_.priority_ = ::int64_t{0};
3136 ClearHasBit(_impl_._has_bits_[0],
3141 return _internal_priority();
3144 _internal_set_priority(value);
3145 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3148inline ::int64_t ObjectiveProto::_internal_priority()
const {
3149 ::google::protobuf::internal::TSanRead(&_impl_);
3150 return _impl_.priority_;
3152inline void ObjectiveProto::_internal_set_priority(::int64_t value) {
3153 ::google::protobuf::internal::TSanWrite(&
_impl_);
3154 _impl_.priority_ = value;
3162inline int LinearConstraintsProto::_internal_ids_size()
const {
3163 return _internal_ids().size();
3166 return _internal_ids_size();
3169 ::google::protobuf::internal::TSanWrite(&_impl_);
3170 _impl_.ids_.Clear();
3171 ClearHasBitForRepeated(_impl_._has_bits_[0],
3176 return _internal_ids().Get(index);
3179 _internal_mutable_ids()->Set(index, value);
3183 ::google::protobuf::internal::TSanWrite(&_impl_);
3184 _internal_mutable_ids()->Add(value);
3185 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3191 return _internal_ids();
3194 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3195 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3197 ::google::protobuf::internal::TSanWrite(&
_impl_);
3198 return _internal_mutable_ids();
3200inline const ::google::protobuf::RepeatedField<::int64_t>&
3201LinearConstraintsProto::_internal_ids()
const {
3202 ::google::protobuf::internal::TSanRead(&
_impl_);
3205inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3206LinearConstraintsProto::_internal_mutable_ids() {
3207 ::google::protobuf::internal::TSanRead(&_impl_);
3212inline int LinearConstraintsProto::_internal_lower_bounds_size()
const {
3213 return _internal_lower_bounds().size();
3216 return _internal_lower_bounds_size();
3219 ::google::protobuf::internal::TSanWrite(&_impl_);
3220 _impl_.lower_bounds_.Clear();
3221 ClearHasBitForRepeated(_impl_._has_bits_[0],
3226 return _internal_lower_bounds().Get(index);
3229 _internal_mutable_lower_bounds()->Set(index, value);
3233 ::google::protobuf::internal::TSanWrite(&_impl_);
3234 _internal_mutable_lower_bounds()->Add(value);
3235 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
3239 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3241 return _internal_lower_bounds();
3244 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3245 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
3247 ::google::protobuf::internal::TSanWrite(&
_impl_);
3248 return _internal_mutable_lower_bounds();
3250inline const ::google::protobuf::RepeatedField<double>&
3251LinearConstraintsProto::_internal_lower_bounds()
const {
3252 ::google::protobuf::internal::TSanRead(&
_impl_);
3253 return _impl_.lower_bounds_;
3255inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3256LinearConstraintsProto::_internal_mutable_lower_bounds() {
3257 ::google::protobuf::internal::TSanRead(&_impl_);
3262inline int LinearConstraintsProto::_internal_upper_bounds_size()
const {
3263 return _internal_upper_bounds().size();
3266 return _internal_upper_bounds_size();
3269 ::google::protobuf::internal::TSanWrite(&_impl_);
3270 _impl_.upper_bounds_.Clear();
3271 ClearHasBitForRepeated(_impl_._has_bits_[0],
3276 return _internal_upper_bounds().Get(index);
3279 _internal_mutable_upper_bounds()->Set(index, value);
3283 ::google::protobuf::internal::TSanWrite(&_impl_);
3284 _internal_mutable_upper_bounds()->Add(value);
3285 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
3289 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3291 return _internal_upper_bounds();
3294 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3295 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
3297 ::google::protobuf::internal::TSanWrite(&
_impl_);
3298 return _internal_mutable_upper_bounds();
3300inline const ::google::protobuf::RepeatedField<double>&
3301LinearConstraintsProto::_internal_upper_bounds()
const {
3302 ::google::protobuf::internal::TSanRead(&
_impl_);
3303 return _impl_.upper_bounds_;
3305inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3306LinearConstraintsProto::_internal_mutable_upper_bounds() {
3307 ::google::protobuf::internal::TSanRead(&_impl_);
3312inline int LinearConstraintsProto::_internal_names_size()
const {
3313 return _internal_names().size();
3316 return _internal_names_size();
3319 ::google::protobuf::internal::TSanWrite(&_impl_);
3320 _impl_.names_.Clear();
3321 ClearHasBitForRepeated(_impl_._has_bits_[0],
3325 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3326 ::google::protobuf::internal::TSanWrite(&_impl_);
3328 _internal_mutable_names()->InternalAddWithArena(
3329 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3330 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
3335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3337 return _internal_names().Get(index);
3340 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3342 return _internal_mutable_names()->Mutable(index);
3344template <
typename Arg_,
typename... Args_>
3346 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
3350template <
typename Arg_,
typename... Args_>
3352 ::google::protobuf::internal::TSanWrite(&_impl_);
3353 ::google::protobuf::internal::AddToRepeatedPtrField(
3354 ::google::protobuf::MessageLite::internal_visibility(), GetArena(),
3355 *_internal_mutable_names(), ::std::forward<Arg_>(value),
3357 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
3361 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3363 return _internal_names();
3365inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3367 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
3369 ::google::protobuf::internal::TSanWrite(&
_impl_);
3370 return _internal_mutable_names();
3372inline const ::google::protobuf::RepeatedPtrField<::std::string>&
3373LinearConstraintsProto::_internal_names()
const {
3374 ::google::protobuf::internal::TSanRead(&_impl_);
3375 return _impl_.names_;
3377inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3378LinearConstraintsProto::_internal_mutable_names() {
3379 ::google::protobuf::internal::TSanRead(&_impl_);
3389 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
3390 PROTOBUF_ASSUME(!value ||
_impl_.linear_terms_ !=
nullptr);
3393inline const ::operations_research::math_opt::SparseDoubleVectorProto& QuadraticConstraintProto::_internal_linear_terms()
const {
3394 ::google::protobuf::internal::TSanRead(&_impl_);
3395 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_terms_;
3400 return _internal_linear_terms();
3404 ::google::protobuf::internal::TSanWrite(&_impl_);
3405 if (GetArena() ==
nullptr) {
3406 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_terms_);
3408 _impl_.linear_terms_ =
reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*
>(value);
3409 if (value !=
nullptr) {
3410 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
3412 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3417 ::google::protobuf::internal::TSanWrite(&_impl_);
3419 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3421 _impl_.linear_terms_ =
nullptr;
3422 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3423 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3424 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3425 if (GetArena() ==
nullptr) {
3429 if (GetArena() !=
nullptr) {
3430 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3436 ::google::protobuf::internal::TSanWrite(&_impl_);
3439 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3441 _impl_.linear_terms_ =
nullptr;
3444inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_linear_terms() {
3445 ::google::protobuf::internal::TSanWrite(&_impl_);
3446 if (_impl_.linear_terms_ ==
nullptr) {
3447 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3450 return _impl_.linear_terms_;
3453 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3454 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3460 ::google::protobuf::Arena* message_arena = GetArena();
3461 ::google::protobuf::internal::TSanWrite(&_impl_);
3462 if (message_arena ==
nullptr) {
3463 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_terms_);
3466 if (value !=
nullptr) {
3467 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3468 if (message_arena != submessage_arena) {
3469 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3471 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3473 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
3482 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
3483 PROTOBUF_ASSUME(!value ||
_impl_.quadratic_terms_ !=
nullptr);
3486inline const ::operations_research::math_opt::SparseDoubleMatrixProto& QuadraticConstraintProto::_internal_quadratic_terms()
const {
3487 ::google::protobuf::internal::TSanRead(&_impl_);
3488 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_terms_;
3493 return _internal_quadratic_terms();
3497 ::google::protobuf::internal::TSanWrite(&_impl_);
3498 if (GetArena() ==
nullptr) {
3499 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_terms_);
3501 _impl_.quadratic_terms_ =
reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*
>(value);
3502 if (value !=
nullptr) {
3503 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3505 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3510 ::google::protobuf::internal::TSanWrite(&_impl_);
3512 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
3514 _impl_.quadratic_terms_ =
nullptr;
3515 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3516 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3517 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3518 if (GetArena() ==
nullptr) {
3522 if (GetArena() !=
nullptr) {
3523 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3529 ::google::protobuf::internal::TSanWrite(&_impl_);
3532 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
3534 _impl_.quadratic_terms_ =
nullptr;
3537inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_quadratic_terms() {
3538 ::google::protobuf::internal::TSanWrite(&_impl_);
3539 if (_impl_.quadratic_terms_ ==
nullptr) {
3540 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3543 return _impl_.quadratic_terms_;
3546 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3547 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3553 ::google::protobuf::Arena* message_arena = GetArena();
3554 ::google::protobuf::internal::TSanWrite(&_impl_);
3555 if (message_arena ==
nullptr) {
3556 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_terms_);
3559 if (value !=
nullptr) {
3560 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3561 if (message_arena != submessage_arena) {
3562 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3564 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3566 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
3575 ::google::protobuf::internal::TSanWrite(&
_impl_);
3577 ClearHasBit(
_impl_._has_bits_[0],
3582 return _internal_lower_bound();
3585 _internal_set_lower_bound(value);
3586 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3589inline double QuadraticConstraintProto::_internal_lower_bound()
const {
3590 ::google::protobuf::internal::TSanRead(&_impl_);
3591 return _impl_.lower_bound_;
3593inline void QuadraticConstraintProto::_internal_set_lower_bound(
double value) {
3594 ::google::protobuf::internal::TSanWrite(&_impl_);
3600 ::google::protobuf::internal::TSanWrite(&_impl_);
3602 ClearHasBit(
_impl_._has_bits_[0],
3607 return _internal_upper_bound();
3610 _internal_set_upper_bound(value);
3611 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3614inline double QuadraticConstraintProto::_internal_upper_bound()
const {
3615 ::google::protobuf::internal::TSanRead(&_impl_);
3616 return _impl_.upper_bound_;
3618inline void QuadraticConstraintProto::_internal_set_upper_bound(
double value) {
3619 ::google::protobuf::internal::TSanWrite(&_impl_);
3625 ::google::protobuf::internal::TSanWrite(&_impl_);
3627 ClearHasBit(
_impl_._has_bits_[0],
3631 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3633 return _internal_name();
3635template <
typename Arg_,
typename... Args_>
3637 ::google::protobuf::internal::TSanWrite(&_impl_);
3638 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3639 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3643 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3644 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3645 ::std::string* _s = _internal_mutable_name();
3649inline const ::std::string& QuadraticConstraintProto::_internal_name()
const {
3650 ::google::protobuf::internal::TSanRead(&_impl_);
3653inline void QuadraticConstraintProto::_internal_set_name(const ::std::string& value) {
3654 ::google::protobuf::internal::TSanWrite(&_impl_);
3655 _impl_.name_.Set(value, GetArena());
3657inline ::std::string* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_name() {
3658 ::google::protobuf::internal::TSanWrite(&
_impl_);
3659 return _impl_.name_.Mutable( GetArena());
3662 ::google::protobuf::internal::TSanWrite(&_impl_);
3664 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
3667 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3668 auto* released = _impl_.name_.Release();
3669 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3670 _impl_.name_.Set(
"", GetArena());
3675 ::google::protobuf::internal::TSanWrite(&_impl_);
3676 if (value !=
nullptr) {
3677 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3679 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3681 _impl_.name_.SetAllocated(value, GetArena());
3682 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
3683 _impl_.name_.Set(
"", GetArena());
3694 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
3695 PROTOBUF_ASSUME(!value ||
_impl_.upper_bound_ !=
nullptr);
3698inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::_internal_upper_bound()
const {
3699 ::google::protobuf::internal::TSanRead(&_impl_);
3700 const ::operations_research::math_opt::LinearExpressionProto* p = _impl_.upper_bound_;
3705 return _internal_upper_bound();
3709 ::google::protobuf::internal::TSanWrite(&_impl_);
3710 if (GetArena() ==
nullptr) {
3711 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.upper_bound_);
3713 _impl_.upper_bound_ =
reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*
>(value);
3714 if (value !=
nullptr) {
3715 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
3717 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3722 ::google::protobuf::internal::TSanWrite(&_impl_);
3724 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3726 _impl_.upper_bound_ =
nullptr;
3727 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3728 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3729 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3730 if (GetArena() ==
nullptr) {
3734 if (GetArena() !=
nullptr) {
3735 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3741 ::google::protobuf::internal::TSanWrite(&_impl_);
3744 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
3746 _impl_.upper_bound_ =
nullptr;
3749inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_upper_bound() {
3750 ::google::protobuf::internal::TSanWrite(&_impl_);
3751 if (_impl_.upper_bound_ ==
nullptr) {
3752 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearExpressionProto>(GetArena());
3755 return _impl_.upper_bound_;
3758 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3759 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3765 ::google::protobuf::Arena* message_arena = GetArena();
3766 ::google::protobuf::internal::TSanWrite(&_impl_);
3767 if (message_arena ==
nullptr) {
3768 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.upper_bound_);
3771 if (value !=
nullptr) {
3772 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3773 if (message_arena != submessage_arena) {
3774 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3776 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3778 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3786inline int SecondOrderConeConstraintProto::_internal_arguments_to_norm_size()
const {
3787 return _internal_arguments_to_norm().size();
3790 return _internal_arguments_to_norm_size();
3793 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3795 return _internal_mutable_arguments_to_norm()->Mutable(index);
3798 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3799 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3801 ::google::protobuf::internal::TSanWrite(&_impl_);
3802 return _internal_mutable_arguments_to_norm();
3805 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3807 return _internal_arguments_to_norm().Get(index);
3810 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3811 ::google::protobuf::internal::TSanWrite(&
_impl_);
3813 _internal_mutable_arguments_to_norm()->InternalAddWithArena(
3814 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3815 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3820 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3822 return _internal_arguments_to_norm();
3824inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3825SecondOrderConeConstraintProto::_internal_arguments_to_norm()
const {
3826 ::google::protobuf::internal::TSanRead(&
_impl_);
3827 return _impl_.arguments_to_norm_;
3829inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3830SecondOrderConeConstraintProto::_internal_mutable_arguments_to_norm() {
3831 ::google::protobuf::internal::TSanRead(&
_impl_);
3832 return &
_impl_.arguments_to_norm_;
3837 ::google::protobuf::internal::TSanWrite(&_impl_);
3838 _impl_.name_.ClearToEmpty();
3839 ClearHasBit(_impl_._has_bits_[0],
3843 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3845 return _internal_name();
3847template <
typename Arg_,
typename... Args_>
3849 ::google::protobuf::internal::TSanWrite(&_impl_);
3850 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3851 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3855 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3856 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3857 ::std::string* _s = _internal_mutable_name();
3861inline const ::std::string& SecondOrderConeConstraintProto::_internal_name()
const {
3862 ::google::protobuf::internal::TSanRead(&_impl_);
3863 return _impl_.name_.Get();
3865inline void SecondOrderConeConstraintProto::_internal_set_name(const ::std::string& value) {
3866 ::google::protobuf::internal::TSanWrite(&_impl_);
3867 _impl_.name_.Set(value, GetArena());
3869inline ::std::string* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_name() {
3870 ::google::protobuf::internal::TSanWrite(&
_impl_);
3871 return _impl_.name_.Mutable( GetArena());
3874 ::google::protobuf::internal::TSanWrite(&_impl_);
3876 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000002U)) {
3879 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3880 auto* released = _impl_.name_.Release();
3881 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3882 _impl_.name_.Set(
"", GetArena());
3887 ::google::protobuf::internal::TSanWrite(&_impl_);
3888 if (value !=
nullptr) {
3889 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3891 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3893 _impl_.name_.SetAllocated(value, GetArena());
3894 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3905inline int SosConstraintProto::_internal_expressions_size()
const {
3906 return _internal_expressions().size();
3909 return _internal_expressions_size();
3912 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3914 return _internal_mutable_expressions()->Mutable(index);
3917 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3918 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3920 ::google::protobuf::internal::TSanWrite(&_impl_);
3921 return _internal_mutable_expressions();
3924 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3926 return _internal_expressions().Get(index);
3929 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3930 ::google::protobuf::internal::TSanWrite(&_impl_);
3932 _internal_mutable_expressions()->InternalAddWithArena(
3933 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3934 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
3939 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3941 return _internal_expressions();
3943inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3944SosConstraintProto::_internal_expressions()
const {
3945 ::google::protobuf::internal::TSanRead(&_impl_);
3948inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3949SosConstraintProto::_internal_mutable_expressions() {
3950 ::google::protobuf::internal::TSanRead(&_impl_);
3955inline int SosConstraintProto::_internal_weights_size()
const {
3956 return _internal_weights().size();
3959 return _internal_weights_size();
3962 ::google::protobuf::internal::TSanWrite(&
_impl_);
3964 ClearHasBitForRepeated(
_impl_._has_bits_[0],
3969 return _internal_weights().Get(index);
3972 _internal_mutable_weights()->Set(index, value);
3976 ::google::protobuf::internal::TSanWrite(&_impl_);
3977 _internal_mutable_weights()->Add(value);
3978 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3982 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3984 return _internal_weights();
3987 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3988 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3990 ::google::protobuf::internal::TSanWrite(&
_impl_);
3991 return _internal_mutable_weights();
3993inline const ::google::protobuf::RepeatedField<double>&
3994SosConstraintProto::_internal_weights()
const {
3995 ::google::protobuf::internal::TSanRead(&
_impl_);
3998inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3999SosConstraintProto::_internal_mutable_weights() {
4000 ::google::protobuf::internal::TSanRead(&
_impl_);
4006 ::google::protobuf::internal::TSanWrite(&
_impl_);
4007 _impl_.name_.ClearToEmpty();
4008 ClearHasBit(
_impl_._has_bits_[0],
4012 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4014 return _internal_name();
4016template <
typename Arg_,
typename... Args_>
4018 ::google::protobuf::internal::TSanWrite(&_impl_);
4019 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4020 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
4024 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4025 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4026 ::std::string* _s = _internal_mutable_name();
4030inline const ::std::string& SosConstraintProto::_internal_name()
const {
4031 ::google::protobuf::internal::TSanRead(&_impl_);
4032 return _impl_.name_.Get();
4034inline void SosConstraintProto::_internal_set_name(const ::std::string& value) {
4035 ::google::protobuf::internal::TSanWrite(&
_impl_);
4036 _impl_.name_.Set(value, GetArena());
4038inline ::std::string* PROTOBUF_NONNULL SosConstraintProto::_internal_mutable_name() {
4039 ::google::protobuf::internal::TSanWrite(&_impl_);
4043 ::google::protobuf::internal::TSanWrite(&_impl_);
4045 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
4048 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4049 auto* released = _impl_.name_.Release();
4050 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4051 _impl_.name_.Set(
"", GetArena());
4056 ::google::protobuf::internal::TSanWrite(&_impl_);
4057 if (value !=
nullptr) {
4058 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4060 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4062 _impl_.name_.SetAllocated(value, GetArena());
4063 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4064 _impl_.name_.Set(
"", GetArena());
4075 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
4079 ::google::protobuf::internal::TSanWrite(&
_impl_);
4080 _impl_.indicator_id_ = ::int64_t{0};
4081 ClearHasBit(
_impl_._has_bits_[0],
4086 return _internal_indicator_id();
4089 _internal_set_indicator_id(value);
4090 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4093inline ::int64_t IndicatorConstraintProto::_internal_indicator_id()
const {
4094 ::google::protobuf::internal::TSanRead(&_impl_);
4095 return _impl_.indicator_id_;
4097inline void IndicatorConstraintProto::_internal_set_indicator_id(::int64_t value) {
4098 ::google::protobuf::internal::TSanWrite(&
_impl_);
4099 _impl_.indicator_id_ = value;
4104 ::google::protobuf::internal::TSanWrite(&
_impl_);
4105 _impl_.activate_on_zero_ =
false;
4106 ClearHasBit(
_impl_._has_bits_[0],
4111 return _internal_activate_on_zero();
4114 _internal_set_activate_on_zero(value);
4115 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
4118inline bool IndicatorConstraintProto::_internal_activate_on_zero()
const {
4119 ::google::protobuf::internal::TSanRead(&_impl_);
4120 return _impl_.activate_on_zero_;
4122inline void IndicatorConstraintProto::_internal_set_activate_on_zero(
bool value) {
4123 ::google::protobuf::internal::TSanWrite(&_impl_);
4124 _impl_.activate_on_zero_ = value;
4129 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
4130 PROTOBUF_ASSUME(!value ||
_impl_.expression_ !=
nullptr);
4133inline const ::operations_research::math_opt::SparseDoubleVectorProto& IndicatorConstraintProto::_internal_expression()
const {
4134 ::google::protobuf::internal::TSanRead(&
_impl_);
4135 const ::operations_research::math_opt::SparseDoubleVectorProto* p =
_impl_.expression_;
4140 return _internal_expression();
4144 ::google::protobuf::internal::TSanWrite(&_impl_);
4145 if (GetArena() ==
nullptr) {
4146 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.expression_);
4149 if (value !=
nullptr) {
4150 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4152 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
4157 ::google::protobuf::internal::TSanWrite(&_impl_);
4159 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4161 _impl_.expression_ =
nullptr;
4162 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4163 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4164 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4165 if (GetArena() ==
nullptr) {
4169 if (GetArena() !=
nullptr) {
4170 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4176 ::google::protobuf::internal::TSanWrite(&_impl_);
4179 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4181 _impl_.expression_ =
nullptr;
4184inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_expression() {
4185 ::google::protobuf::internal::TSanWrite(&_impl_);
4186 if (_impl_.expression_ ==
nullptr) {
4187 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
4190 return _impl_.expression_;
4193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4194 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4200 ::google::protobuf::Arena* message_arena = GetArena();
4201 ::google::protobuf::internal::TSanWrite(&
_impl_);
4202 if (message_arena ==
nullptr) {
4203 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.expression_);
4206 if (value !=
nullptr) {
4207 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
4208 if (message_arena != submessage_arena) {
4209 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4211 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
4213 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
4222 ::google::protobuf::internal::TSanWrite(&_impl_);
4224 ClearHasBit(
_impl_._has_bits_[0],
4229 return _internal_lower_bound();
4232 _internal_set_lower_bound(value);
4233 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4236inline double IndicatorConstraintProto::_internal_lower_bound()
const {
4237 ::google::protobuf::internal::TSanRead(&_impl_);
4238 return _impl_.lower_bound_;
4240inline void IndicatorConstraintProto::_internal_set_lower_bound(
double value) {
4241 ::google::protobuf::internal::TSanWrite(&_impl_);
4242 _impl_.lower_bound_ = value;
4247 ::google::protobuf::internal::TSanWrite(&
_impl_);
4249 ClearHasBit(
_impl_._has_bits_[0],
4254 return _internal_upper_bound();
4257 _internal_set_upper_bound(value);
4258 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4261inline double IndicatorConstraintProto::_internal_upper_bound()
const {
4262 ::google::protobuf::internal::TSanRead(&_impl_);
4263 return _impl_.upper_bound_;
4265inline void IndicatorConstraintProto::_internal_set_upper_bound(
double value) {
4266 ::google::protobuf::internal::TSanWrite(&_impl_);
4267 _impl_.upper_bound_ = value;
4272 ::google::protobuf::internal::TSanWrite(&
_impl_);
4273 _impl_.name_.ClearToEmpty();
4274 ClearHasBit(
_impl_._has_bits_[0],
4278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4280 return _internal_name();
4282template <
typename Arg_,
typename... Args_>
4284 ::google::protobuf::internal::TSanWrite(&_impl_);
4285 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4286 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
4290 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4291 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4292 ::std::string* _s = _internal_mutable_name();
4296inline const ::std::string& IndicatorConstraintProto::_internal_name()
const {
4297 ::google::protobuf::internal::TSanRead(&_impl_);
4298 return _impl_.name_.Get();
4300inline void IndicatorConstraintProto::_internal_set_name(const ::std::string& value) {
4301 ::google::protobuf::internal::TSanWrite(&
_impl_);
4302 _impl_.name_.Set(value, GetArena());
4304inline ::std::string* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_name() {
4305 ::google::protobuf::internal::TSanWrite(&_impl_);
4306 return _impl_.name_.Mutable( GetArena());
4309 ::google::protobuf::internal::TSanWrite(&_impl_);
4311 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
4314 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4315 auto* released = _impl_.name_.Release();
4316 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4317 _impl_.name_.Set(
"", GetArena());
4322 ::google::protobuf::internal::TSanWrite(&_impl_);
4323 if (value !=
nullptr) {
4324 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4326 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4328 _impl_.name_.SetAllocated(value, GetArena());
4329 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4330 _impl_.name_.Set(
"", GetArena());
4353 ::google::protobuf::internal::TSanWrite(&
_impl_);
4354 _impl_.name_.ClearToEmpty();
4355 ClearHasBit(
_impl_._has_bits_[0],
4359 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4361 return _internal_name();
4363template <
typename Arg_,
typename... Args_>
4365 ::google::protobuf::internal::TSanWrite(&_impl_);
4366 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4367 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
4371 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4372 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4373 ::std::string* _s = _internal_mutable_name();
4377inline const ::std::string& ModelProto::_internal_name()
const {
4378 ::google::protobuf::internal::TSanRead(&_impl_);
4379 return _impl_.name_.Get();
4381inline void ModelProto::_internal_set_name(const ::std::string& value) {
4382 ::google::protobuf::internal::TSanWrite(&_impl_);
4385inline ::std::string* PROTOBUF_NONNULL ModelProto::_internal_mutable_name() {
4386 ::google::protobuf::internal::TSanWrite(&_impl_);
4387 return _impl_.name_.Mutable( GetArena());
4390 ::google::protobuf::internal::TSanWrite(&
_impl_);
4392 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
4395 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
4396 auto* released =
_impl_.name_.Release();
4397 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4398 _impl_.name_.Set(
"", GetArena());
4403 ::google::protobuf::internal::TSanWrite(&_impl_);
4404 if (value !=
nullptr) {
4405 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4407 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4409 _impl_.name_.SetAllocated(value, GetArena());
4410 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4411 _impl_.name_.Set(
"", GetArena());
4418 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
4419 PROTOBUF_ASSUME(!value || _impl_.variables_ !=
nullptr);
4423 ::google::protobuf::internal::TSanWrite(&_impl_);
4424 if (_impl_.variables_ !=
nullptr) _impl_.variables_->Clear();
4425 ClearHasBit(_impl_._has_bits_[0],
4428inline const ::operations_research::math_opt::VariablesProto& ModelProto::_internal_variables()
const {
4429 ::google::protobuf::internal::TSanRead(&_impl_);
4430 const ::operations_research::math_opt::VariablesProto* p = _impl_.variables_;
4433inline const ::operations_research::math_opt::VariablesProto&
ModelProto::variables() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4435 return _internal_variables();
4439 ::google::protobuf::internal::TSanWrite(&_impl_);
4440 if (GetArena() ==
nullptr) {
4441 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.variables_);
4444 if (value !=
nullptr) {
4445 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4447 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4452 ::google::protobuf::internal::TSanWrite(&_impl_);
4454 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
4456 _impl_.variables_ =
nullptr;
4457 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4458 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4459 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4460 if (GetArena() ==
nullptr) {
4464 if (GetArena() !=
nullptr) {
4465 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4471 ::google::protobuf::internal::TSanWrite(&_impl_);
4474 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4476 _impl_.variables_ =
nullptr;
4479inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_variables() {
4480 ::google::protobuf::internal::TSanWrite(&_impl_);
4481 if (_impl_.variables_ ==
nullptr) {
4482 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariablesProto>(GetArena());
4485 return _impl_.variables_;
4488 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4489 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4495 ::google::protobuf::Arena* message_arena = GetArena();
4496 ::google::protobuf::internal::TSanWrite(&_impl_);
4497 if (message_arena ==
nullptr) {
4498 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.variables_);
4501 if (value !=
nullptr) {
4502 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4503 if (message_arena != submessage_arena) {
4504 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4506 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
4508 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4517 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
4518 PROTOBUF_ASSUME(!value ||
_impl_.objective_ !=
nullptr);
4522 ::google::protobuf::internal::TSanWrite(&_impl_);
4523 if (_impl_.objective_ !=
nullptr) _impl_.objective_->Clear();
4524 ClearHasBit(_impl_._has_bits_[0],
4527inline const ::operations_research::math_opt::ObjectiveProto& ModelProto::_internal_objective()
const {
4528 ::google::protobuf::internal::TSanRead(&_impl_);
4529 const ::operations_research::math_opt::ObjectiveProto* p = _impl_.objective_;
4532inline const ::operations_research::math_opt::ObjectiveProto&
ModelProto::objective() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4534 return _internal_objective();
4538 ::google::protobuf::internal::TSanWrite(&_impl_);
4539 if (GetArena() ==
nullptr) {
4540 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.objective_);
4542 _impl_.objective_ =
reinterpret_cast<::operations_research::math_opt::ObjectiveProto*
>(value);
4543 if (value !=
nullptr) {
4544 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4546 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4551 ::google::protobuf::internal::TSanWrite(&_impl_);
4553 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
4555 _impl_.objective_ =
nullptr;
4556 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4557 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4558 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4559 if (GetArena() ==
nullptr) {
4563 if (GetArena() !=
nullptr) {
4564 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4570 ::google::protobuf::internal::TSanWrite(&_impl_);
4573 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4575 _impl_.objective_ =
nullptr;
4578inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_objective() {
4579 ::google::protobuf::internal::TSanWrite(&_impl_);
4580 if (_impl_.objective_ ==
nullptr) {
4581 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveProto>(GetArena());
4584 return _impl_.objective_;
4587 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4588 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4594 ::google::protobuf::Arena* message_arena = GetArena();
4595 ::google::protobuf::internal::TSanWrite(&_impl_);
4596 if (message_arena ==
nullptr) {
4597 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.objective_);
4600 if (value !=
nullptr) {
4601 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4602 if (message_arena != submessage_arena) {
4603 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4605 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
4607 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4615inline int ModelProto::_internal_auxiliary_objectives_size()
const {
4616 return _internal_auxiliary_objectives().size();
4619 return _internal_auxiliary_objectives_size();
4622 ::google::protobuf::internal::TSanWrite(&_impl_);
4623 _impl_.auxiliary_objectives_.Clear();
4627inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& ModelProto::_internal_auxiliary_objectives()
const {
4628 ::google::protobuf::internal::TSanRead(&_impl_);
4629 return _impl_.auxiliary_objectives_.GetMap();
4631inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>&
ModelProto::auxiliary_objectives() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4633 return _internal_auxiliary_objectives();
4635inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_auxiliary_objectives() {
4636 ::google::protobuf::internal::TSanWrite(&_impl_);
4637 return _impl_.auxiliary_objectives_.MutableMap();
4640 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4641 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000200U);
4643 return _internal_mutable_auxiliary_objectives();
4648 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
4649 PROTOBUF_ASSUME(!value ||
_impl_.linear_constraints_ !=
nullptr);
4653 ::google::protobuf::internal::TSanWrite(&
_impl_);
4654 if (
_impl_.linear_constraints_ !=
nullptr)
_impl_.linear_constraints_->Clear();
4655 ClearHasBit(
_impl_._has_bits_[0],
4658inline const ::operations_research::math_opt::LinearConstraintsProto& ModelProto::_internal_linear_constraints()
const {
4659 ::google::protobuf::internal::TSanRead(&_impl_);
4660 const ::operations_research::math_opt::LinearConstraintsProto* p = _impl_.linear_constraints_;
4665 return _internal_linear_constraints();
4669 ::google::protobuf::internal::TSanWrite(&_impl_);
4670 if (GetArena() ==
nullptr) {
4671 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.linear_constraints_);
4674 if (value !=
nullptr) {
4675 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4677 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4682 ::google::protobuf::internal::TSanWrite(&_impl_);
4684 ClearHasBit(
_impl_._has_bits_[0], 0x00000008U);
4686 _impl_.linear_constraints_ =
nullptr;
4687 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4688 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4689 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4690 if (GetArena() ==
nullptr) {
4694 if (GetArena() !=
nullptr) {
4695 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4701 ::google::protobuf::internal::TSanWrite(&_impl_);
4704 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4706 _impl_.linear_constraints_ =
nullptr;
4709inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraints() {
4710 ::google::protobuf::internal::TSanWrite(&_impl_);
4711 if (_impl_.linear_constraints_ ==
nullptr) {
4712 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintsProto>(GetArena());
4715 return _impl_.linear_constraints_;
4718 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4719 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4725 ::google::protobuf::Arena* message_arena = GetArena();
4726 ::google::protobuf::internal::TSanWrite(&_impl_);
4727 if (message_arena ==
nullptr) {
4728 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraints_);
4731 if (value !=
nullptr) {
4732 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4733 if (message_arena != submessage_arena) {
4734 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4736 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
4738 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4747 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
4748 PROTOBUF_ASSUME(!value ||
_impl_.linear_constraint_matrix_ !=
nullptr);
4751inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelProto::_internal_linear_constraint_matrix()
const {
4752 ::google::protobuf::internal::TSanRead(&_impl_);
4753 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.linear_constraint_matrix_;
4758 return _internal_linear_constraint_matrix();
4762 ::google::protobuf::internal::TSanWrite(&_impl_);
4763 if (GetArena() ==
nullptr) {
4764 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraint_matrix_);
4767 if (value !=
nullptr) {
4768 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4770 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4775 ::google::protobuf::internal::TSanWrite(&_impl_);
4777 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
4779 _impl_.linear_constraint_matrix_ =
nullptr;
4780 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4781 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4782 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4783 if (GetArena() ==
nullptr) {
4787 if (GetArena() !=
nullptr) {
4788 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4794 ::google::protobuf::internal::TSanWrite(&_impl_);
4797 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4799 _impl_.linear_constraint_matrix_ =
nullptr;
4802inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraint_matrix() {
4803 ::google::protobuf::internal::TSanWrite(&_impl_);
4804 if (_impl_.linear_constraint_matrix_ ==
nullptr) {
4805 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
4808 return _impl_.linear_constraint_matrix_;
4811 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4812 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4818 ::google::protobuf::Arena* message_arena = GetArena();
4819 ::google::protobuf::internal::TSanWrite(&_impl_);
4820 if (message_arena ==
nullptr) {
4821 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraint_matrix_);
4824 if (value !=
nullptr) {
4825 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
4826 if (message_arena != submessage_arena) {
4827 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4829 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
4831 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4839inline int ModelProto::_internal_quadratic_constraints_size()
const {
4840 return _internal_quadratic_constraints().size();
4843 return _internal_quadratic_constraints_size();
4846 ::google::protobuf::internal::TSanWrite(&_impl_);
4847 _impl_.quadratic_constraints_.Clear();
4851inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& ModelProto::_internal_quadratic_constraints()
const {
4852 ::google::protobuf::internal::TSanRead(&_impl_);
4853 return _impl_.quadratic_constraints_.GetMap();
4855inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>&
ModelProto::quadratic_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4857 return _internal_quadratic_constraints();
4859inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_quadratic_constraints() {
4860 ::google::protobuf::internal::TSanWrite(&_impl_);
4861 return _impl_.quadratic_constraints_.MutableMap();
4864 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4865 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000020U);
4867 return _internal_mutable_quadratic_constraints();
4871inline int ModelProto::_internal_second_order_cone_constraints_size()
const {
4872 return _internal_second_order_cone_constraints().size();
4875 return _internal_second_order_cone_constraints_size();
4878 ::google::protobuf::internal::TSanWrite(&_impl_);
4879 _impl_.second_order_cone_constraints_.Clear();
4880 ClearHasBitForRepeated(_impl_._has_bits_[0],
4883inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& ModelProto::_internal_second_order_cone_constraints()
const {
4884 ::google::protobuf::internal::TSanRead(&_impl_);
4885 return _impl_.second_order_cone_constraints_.GetMap();
4889 return _internal_second_order_cone_constraints();
4891inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_second_order_cone_constraints() {
4892 ::google::protobuf::internal::TSanWrite(&_impl_);
4893 return _impl_.second_order_cone_constraints_.MutableMap();
4896 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4897 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000400U);
4899 return _internal_mutable_second_order_cone_constraints();
4903inline int ModelProto::_internal_sos1_constraints_size()
const {
4904 return _internal_sos1_constraints().size();
4907 return _internal_sos1_constraints_size();
4910 ::google::protobuf::internal::TSanWrite(&_impl_);
4911 _impl_.sos1_constraints_.Clear();
4912 ClearHasBitForRepeated(_impl_._has_bits_[0],
4915inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos1_constraints()
const {
4916 ::google::protobuf::internal::TSanRead(&_impl_);
4917 return _impl_.sos1_constraints_.GetMap();
4919inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
ModelProto::sos1_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4921 return _internal_sos1_constraints();
4923inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos1_constraints() {
4924 ::google::protobuf::internal::TSanWrite(&_impl_);
4925 return _impl_.sos1_constraints_.MutableMap();
4928 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4929 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U);
4931 return _internal_mutable_sos1_constraints();
4935inline int ModelProto::_internal_sos2_constraints_size()
const {
4936 return _internal_sos2_constraints().size();
4939 return _internal_sos2_constraints_size();
4942 ::google::protobuf::internal::TSanWrite(&_impl_);
4943 _impl_.sos2_constraints_.Clear();
4944 ClearHasBitForRepeated(_impl_._has_bits_[0],
4947inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos2_constraints()
const {
4948 ::google::protobuf::internal::TSanRead(&_impl_);
4949 return _impl_.sos2_constraints_.GetMap();
4951inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
ModelProto::sos2_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4953 return _internal_sos2_constraints();
4955inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos2_constraints() {
4956 ::google::protobuf::internal::TSanWrite(&_impl_);
4957 return _impl_.sos2_constraints_.MutableMap();
4960 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4961 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U);
4963 return _internal_mutable_sos2_constraints();
4967inline int ModelProto::_internal_indicator_constraints_size()
const {
4968 return _internal_indicator_constraints().size();
4971 return _internal_indicator_constraints_size();
4974 ::google::protobuf::internal::TSanWrite(&_impl_);
4975 _impl_.indicator_constraints_.Clear();
4976 ClearHasBitForRepeated(_impl_._has_bits_[0],
4979inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& ModelProto::_internal_indicator_constraints()
const {
4980 ::google::protobuf::internal::TSanRead(&_impl_);
4981 return _impl_.indicator_constraints_.GetMap();
4983inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>&
ModelProto::indicator_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4985 return _internal_indicator_constraints();
4987inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_indicator_constraints() {
4988 ::google::protobuf::internal::TSanWrite(&_impl_);
4989 return _impl_.indicator_constraints_.MutableMap();
4992 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4993 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000100U);
4995 return _internal_mutable_indicator_constraints();
4999#pragma GCC diagnostic pop
5009#include "google/protobuf/port_undef.inc"
void set_indicator_id(::int64_t value)
void clear_indicator_id()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_upper_bound(double value)
void unsafe_arena_set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
bool IsInitialized() const
void UnsafeArenaSwap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
void set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::int64_t indicator_id() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_expression()
::size_t ByteSizeLong() const final
void set_lower_bound(double value)
const ::std::string & name() const
friend void swap(IndicatorConstraintProto &a, IndicatorConstraintProto &b)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const IndicatorConstraintProto & default_instance()
IndicatorConstraintProto()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::std::string *PROTOBUF_NULLABLE release_name()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_expression()
bool has_expression() const
double upper_bound() const
double lower_bound() const
void set_name(Arg_ &&arg, Args_... args)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_expression()
const ::operations_research::math_opt::SparseDoubleVectorProto & expression() const
IndicatorConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::std::string *PROTOBUF_NONNULL mutable_name()
bool activate_on_zero() const
void set_activate_on_zero(bool value)
bool has_indicator_id() const
void clear_activate_on_zero()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void Swap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
::int64_t ids(int index) const
friend class ::google::protobuf::MessageLite
void Swap(LinearConstraintsProto *PROTOBUF_NONNULL other)
::std::string *PROTOBUF_NONNULL add_names()
const ::google::protobuf::RepeatedField< double > & upper_bounds() const
void MergeFrom(const LinearConstraintsProto &from)
double upper_bounds(int index) const
int lower_bounds_size() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool IsInitialized() const
void set_upper_bounds(int index, double value)
const ::std::string & names(int index) const
void CopyFrom(const LinearConstraintsProto &from)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds()
double lower_bounds(int index) const
::size_t ByteSizeLong() const final
::std::string *PROTOBUF_NONNULL mutable_names(int index)
static const LinearConstraintsProto & default_instance()
void set_names(int index, Arg_ &&value, Args_... args)
void add_ids(::int64_t value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_lower_bounds(int index, double value)
void clear_upper_bounds()
PROTOBUF_CONSTEXPR LinearConstraintsProto(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
void add_lower_bounds(double value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
LinearConstraintsProto & operator=(const LinearConstraintsProto &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::google::protobuf::RepeatedPtrField<::std::string > & names() const
void add_upper_bounds(double value)
int upper_bounds_size() const
void clear_lower_bounds()
const ::google::protobuf::RepeatedField< double > & lower_bounds() const
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names()
void set_ids(int index, ::int64_t value)
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
ModelProto_QuadraticConstraintsEntry_DoNotUse()
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
ModelProto_SecondOrderConeConstraintsEntry_DoNotUse()
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
ModelProto_Sos1ConstraintsEntry_DoNotUse()
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
static constexpr const void *PROTOBUF_NONNULL internal_default_instance()
friend class ::google::protobuf::MessageLite
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
static constexpr auto InternalGenerateClassData_()
ModelProto_Sos2ConstraintsEntry_DoNotUse()
void Swap(ModelProto *PROTOBUF_NONNULL other)
void clear_indicator_constraints()
void clear_quadratic_constraints()
int sos1_constraints_size() const
int second_order_cone_constraints_size() const
void clear_linear_constraints()
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraints()
void unsafe_arena_set_allocated_objective(::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::VariablesProto *PROTOBUF_NONNULL mutable_variables()
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_linear_constraint_matrix()
::std::string *PROTOBUF_NULLABLE release_name()
void unsafe_arena_set_allocated_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_linear_constraint_matrix()
int auxiliary_objectives_size() const
void set_allocated_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
void clear_linear_constraint_matrix()
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE release_variables()
const ::operations_research::math_opt::VariablesProto & variables() const
ModelProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void clear_second_order_cone_constraints()
void clear_sos2_constraints()
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_sos2_constraints()
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > & quadratic_constraints() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
const ::operations_research::math_opt::LinearConstraintsProto & linear_constraints() const
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NONNULL mutable_objective()
void set_name(Arg_ &&arg, Args_... args)
int quadratic_constraints_size() const
bool has_objective() const
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE release_objective()
const ::std::string & name() const
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE release_linear_constraints()
int indicator_constraints_size() const
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE unsafe_arena_release_variables()
bool has_linear_constraints() const
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & sos1_constraints() const
::std::string *PROTOBUF_NONNULL mutable_name()
void clear_auxiliary_objectives()
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > *PROTOBUF_NONNULL mutable_auxiliary_objectives()
bool IsInitialized() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & sos2_constraints() const
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > & second_order_cone_constraints() const
void set_allocated_objective(::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE unsafe_arena_release_objective()
const ::operations_research::math_opt::ObjectiveProto & objective() const
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > *PROTOBUF_NONNULL mutable_quadratic_constraints()
void unsafe_arena_set_allocated_linear_constraint_matrix(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::size_t ByteSizeLong() const final
bool has_linear_constraint_matrix() const
void clear_sos1_constraints()
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > *PROTOBUF_NONNULL mutable_second_order_cone_constraints()
const ::operations_research::math_opt::SparseDoubleMatrixProto & linear_constraint_matrix() const
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NONNULL mutable_linear_constraints()
void set_allocated_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > *PROTOBUF_NONNULL mutable_indicator_constraints()
void set_allocated_linear_constraint_matrix(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
bool has_variables() const
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > & auxiliary_objectives() const
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > & indicator_constraints() const
int sos2_constraints_size() const
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraint_matrix()
static const ModelProto & default_instance()
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_sos1_constraints()
void set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::int64_t priority() const
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_coefficients() const
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_coefficients()
static constexpr int kIndexInFileMessages
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_coefficients()
bool has_quadratic_coefficients() const
friend void swap(ObjectiveProto &a, ObjectiveProto &b)
bool has_linear_coefficients() const
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_coefficients()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::std::string *PROTOBUF_NULLABLE release_name()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_coefficients()
void unsafe_arena_set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void set_offset(double value)
bool IsInitialized() const
void set_name(Arg_ &&arg, Args_... args)
void unsafe_arena_set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_maximize(bool value)
static const ObjectiveProto & default_instance()
::size_t ByteSizeLong() const final
void set_priority(::int64_t value)
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_coefficients()
void set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
void Swap(ObjectiveProto *PROTOBUF_NONNULL other)
::std::string *PROTOBUF_NONNULL mutable_name()
void clear_linear_coefficients()
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_coefficients() const
const ::std::string & name() const
ObjectiveProto & operator=(const ObjectiveProto &from)
void clear_quadratic_coefficients()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_coefficients()
ObjectiveProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void MergeFrom(const QuadraticConstraintProto &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
double lower_bound() const
QuadraticConstraintProto()
void clear_linear_terms()
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_terms()
::std::string *PROTOBUF_NONNULL mutable_name()
QuadraticConstraintProto & operator=(const QuadraticConstraintProto &from)
double upper_bound() const
void CopyFrom(const QuadraticConstraintProto &from)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_terms()
bool has_linear_terms() const
QuadraticConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
static const QuadraticConstraintProto & default_instance()
void set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void set_name(Arg_ &&arg, Args_... args)
void unsafe_arena_set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
void set_upper_bound(double value)
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_terms() const
void unsafe_arena_set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_terms() const
void clear_quadratic_terms()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::std::string *PROTOBUF_NULLABLE release_name()
const ::std::string & name() const
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_terms()
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_terms()
void set_lower_bound(double value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_terms()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
bool has_quadratic_terms() const
void set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
bool IsInitialized() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_terms()
void Swap(QuadraticConstraintProto *PROTOBUF_NONNULL other)
void Swap(SecondOrderConeConstraintProto *PROTOBUF_NONNULL other)
SecondOrderConeConstraintProto & operator=(const SecondOrderConeConstraintProto &from)
const ::std::string & name() const
friend void swap(SecondOrderConeConstraintProto &a, SecondOrderConeConstraintProto &b)
::std::string *PROTOBUF_NONNULL mutable_name()
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_upper_bound()
void MergeFrom(const SecondOrderConeConstraintProto &from)
SecondOrderConeConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & arguments_to_norm() const
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE release_upper_bound()
const ::operations_research::math_opt::LinearExpressionProto & upper_bound() const
int arguments_to_norm_size() const
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_arguments_to_norm(int index)
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void CopyFrom(const SecondOrderConeConstraintProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_name(Arg_ &&arg, Args_... args)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::std::string *PROTOBUF_NULLABLE release_name()
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL add_arguments_to_norm()
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL mutable_arguments_to_norm()
void clear_arguments_to_norm()
bool has_upper_bound() const
bool IsInitialized() const
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE unsafe_arena_release_upper_bound()
void unsafe_arena_set_allocated_upper_bound(::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE value)
SecondOrderConeConstraintProto()
const ::operations_research::math_opt::LinearExpressionProto & arguments_to_norm(int index) const
void set_allocated_upper_bound(::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE value)
double weights(int index) const
friend class ::google::protobuf::MessageLite
::std::string *PROTOBUF_NULLABLE release_name()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::LinearExpressionProto & expressions(int index) const
const ::std::string & name() const
static constexpr int kIndexInFileMessages
::std::string *PROTOBUF_NONNULL mutable_name()
friend void swap(SosConstraintProto &a, SosConstraintProto &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int expressions_size() const
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & expressions() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_weights(int index, double value)
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL add_expressions()
PROTOBUF_CONSTEXPR SosConstraintProto(::google::protobuf::internal::ConstantInitialized)
void add_weights(double value)
void Swap(SosConstraintProto *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_weights()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const SosConstraintProto &from)
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL mutable_expressions()
const ::google::protobuf::RepeatedField< double > & weights() const
static const SosConstraintProto & default_instance()
bool IsInitialized() const
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_expressions(int index)
SosConstraintProto & operator=(const SosConstraintProto &from)
::size_t ByteSizeLong() const final
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
void set_name(Arg_ &&arg, Args_... args)
void CopyFrom(const SosConstraintProto &from)
void set_lower_bounds(int index, double value)
void set_integers(int index, bool value)
friend class ::google::protobuf::MessageLite
void CopyFrom(const VariablesProto &from)
const ::std::string & names(int index) const
bool IsInitialized() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void clear_upper_bounds()
const ::google::protobuf::RepeatedField< double > & lower_bounds() const
::std::string *PROTOBUF_NONNULL add_names()
double lower_bounds(int index) const
int integers_size() const
const ::google::protobuf::RepeatedField< bool > & integers() const
void clear_lower_bounds()
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds()
bool integers(int index) const
int upper_bounds_size() const
void add_lower_bounds(double value)
void set_ids(int index, ::int64_t value)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds()
void add_upper_bounds(double value)
void add_ids(::int64_t value)
void add_integers(bool value)
int lower_bounds_size() const
VariablesProto & operator=(const VariablesProto &from)
double upper_bounds(int index) const
::google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL mutable_integers()
VariablesProto(const VariablesProto &from)
const ::google::protobuf::RepeatedField< double > & upper_bounds() const
const ::google::protobuf::RepeatedPtrField<::std::string > & names() const
void set_upper_bounds(int index, double value)
::std::string *PROTOBUF_NONNULL mutable_names(int index)
@ kUpperBoundsFieldNumber
void set_names(int index, Arg_ &&value, Args_... args)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names()
void Swap(VariablesProto *PROTOBUF_NONNULL other)
::int64_t ids(int index) const
PROTOBUF_CONSTEXPR VariablesProto(::google::protobuf::internal::ConstantInitialized)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto
::absl::string_view GetAnyMessageName()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearExpressionProtoDefaultTypeInternal _LinearExpressionProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProtoDefaultTypeInternal _ModelProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal _ModelProto_AuxiliaryObjectivesEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_IndicatorConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintProtoDefaultTypeInternal _IndicatorConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintProtoDefaultTypeInternal _SosConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VariablesProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleVectorProtoDefaultTypeInternal _SparseDoubleVectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveProtoDefaultTypeInternal _ObjectiveProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintProtoDefaultTypeInternal _QuadraticConstraintProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleMatrixProtoDefaultTypeInternal _SparseDoubleMatrixProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintsProtoDefaultTypeInternal _LinearConstraintsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintProtoDefaultTypeInternal _SecondOrderConeConstraintProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariablesProtoDefaultTypeInternal _VariablesProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos1ConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos2ConstraintsEntry_DoNotUse_default_instance_