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 != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/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"; }
255 explicit VariablesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
258 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
VariablesProto&& from) noexcept
260 *
this = ::std::move(from);
262 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
263 static
void* PROTOBUF_NONNULL PlacementNew_(
264 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
265 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
266 static constexpr auto InternalNewImpl_();
269 static constexpr auto InternalGenerateClassData_();
271 ::
google::protobuf::Metadata GetMetadata() const;
277 kLowerBoundsFieldNumber = 2,
285 int _internal_ids_size()
const;
289 ::int64_t
ids(
int index)
const;
290 void set_ids(
int index, ::int64_t value);
292 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
293 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
296 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
297 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
303 int _internal_lower_bounds_size()
const;
310 const ::google::protobuf::RepeatedField<double>&
lower_bounds()
const;
314 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds()
const;
315 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
321 int _internal_upper_bounds_size()
const;
328 const ::google::protobuf::RepeatedField<double>&
upper_bounds()
const;
332 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds()
const;
333 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
339 int _internal_integers_size()
const;
346 const ::google::protobuf::RepeatedField<bool>&
integers()
const;
347 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
mutable_integers();
350 const ::google::protobuf::RepeatedField<bool>& _internal_integers()
const;
351 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL _internal_mutable_integers();
357 int _internal_names_size()
const;
361 const ::std::string&
names(
int index)
const;
363 template <
typename Arg_ = const ::std::string&,
typename... Args_>
364 void set_names(
int index, Arg_&& value, Args_... args);
365 ::std::string* PROTOBUF_NONNULL
add_names();
366 template <
typename Arg_ = const ::std::string&,
typename... Args_>
367 void add_names(Arg_&& value, Args_... args);
368 const ::google::protobuf::RepeatedPtrField<::std::string>&
names()
const;
369 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
mutable_names();
372 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names()
const;
373 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
379 friend class ::google::protobuf::internal::TcParser;
380 static const ::google::protobuf::internal::TcParseTable<3, 5,
385 friend class ::google::protobuf::MessageLite;
386 friend class ::google::protobuf::Arena;
387 template <
typename T>
388 friend class ::google::protobuf::Arena::InternalHelper;
389 using InternalArenaConstructable_ = void;
390 using DestructorSkippable_ = void;
392 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
393 inline explicit Impl_(
394 ::google::protobuf::internal::InternalVisibility visibility,
395 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
396 inline explicit Impl_(
397 ::google::protobuf::internal::InternalVisibility visibility,
398 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
400 ::google::protobuf::RepeatedField<::int64_t> ids_;
401 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
402 ::google::protobuf::RepeatedField<double> lower_bounds_;
403 ::google::protobuf::RepeatedField<double> upper_bounds_;
404 ::google::protobuf::RepeatedField<bool> integers_;
405 ::google::protobuf::RepeatedPtrField<::std::string> names_;
406 ::google::protobuf::internal::CachedSize _cached_size_;
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"; }
543 *
this = ::std::move(from);
545 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
546 static
void* PROTOBUF_NONNULL PlacementNew_(
547 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
548 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
549 static constexpr auto InternalNewImpl_();
552 static constexpr auto InternalGenerateClassData_();
554 ::
google::protobuf::Metadata GetMetadata() const;
560 kLowerBoundsFieldNumber = 2,
561 kUpperBoundsFieldNumber = 3,
567 int _internal_ids_size()
const;
571 ::int64_t
ids(
int index)
const;
572 void set_ids(
int index, ::int64_t value);
574 const ::google::protobuf::RepeatedField<::int64_t>&
ids()
const;
575 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
mutable_ids();
578 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids()
const;
579 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
585 int _internal_lower_bounds_size()
const;
592 const ::google::protobuf::RepeatedField<double>&
lower_bounds()
const;
596 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds()
const;
597 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
603 int _internal_upper_bounds_size()
const;
610 const ::google::protobuf::RepeatedField<double>&
upper_bounds()
const;
614 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds()
const;
615 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
621 int _internal_names_size()
const;
625 const ::std::string&
names(
int index)
const;
627 template <
typename Arg_ = const ::std::string&,
typename... Args_>
628 void set_names(
int index, Arg_&& value, Args_... args);
629 ::std::string* PROTOBUF_NONNULL
add_names();
630 template <
typename Arg_ = const ::std::string&,
typename... Args_>
631 void add_names(Arg_&& value, Args_... args);
632 const ::google::protobuf::RepeatedPtrField<::std::string>&
names()
const;
633 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
mutable_names();
636 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names()
const;
637 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
643 friend class ::google::protobuf::internal::TcParser;
644 static const ::google::protobuf::internal::TcParseTable<2, 4,
649 friend class ::google::protobuf::MessageLite;
650 friend class ::google::protobuf::Arena;
651 template <
typename T>
652 friend class ::google::protobuf::Arena::InternalHelper;
653 using InternalArenaConstructable_ = void;
654 using DestructorSkippable_ = void;
656 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
657 inline explicit Impl_(
658 ::google::protobuf::internal::InternalVisibility visibility,
659 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
660 inline explicit Impl_(
661 ::google::protobuf::internal::InternalVisibility visibility,
662 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
664 ::google::protobuf::RepeatedField<::int64_t> ids_;
665 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
666 ::google::protobuf::RepeatedField<double> lower_bounds_;
667 ::google::protobuf::RepeatedField<double> upper_bounds_;
668 ::google::protobuf::RepeatedPtrField<::std::string> names_;
669 ::google::protobuf::internal::CachedSize _cached_size_;
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"; }
804 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
SosConstraintProto&& from) noexcept
806 *
this = ::std::move(from);
808 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
809 static
void* PROTOBUF_NONNULL PlacementNew_(
810 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
811 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
812 static constexpr auto InternalNewImpl_();
815 static constexpr auto InternalGenerateClassData_();
817 ::
google::protobuf::Metadata GetMetadata() const;
822 kExpressionsFieldNumber = 1,
823 kWeightsFieldNumber = 2,
824 kNameFieldNumber = 3,
829 int _internal_expressions_size()
const;
834 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
mutable_expressions();
837 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_expressions()
const;
838 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_expressions();
840 const ::operations_research::math_opt::LinearExpressionProto&
expressions(
int index)
const;
842 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
expressions()
const;
846 int _internal_weights_size()
const;
850 double weights(
int index)
const;
853 const ::google::protobuf::RepeatedField<double>&
weights()
const;
854 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
mutable_weights();
857 const ::google::protobuf::RepeatedField<double>& _internal_weights()
const;
858 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_weights();
863 const ::std::string&
name()
const;
864 template <
typename Arg_ = const ::std::string&,
typename... Args_>
865 void set_name(Arg_&& arg, Args_... args);
867 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
871 const ::std::string& _internal_name()
const;
872 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
873 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
879 friend class ::google::protobuf::internal::TcParser;
880 static const ::google::protobuf::internal::TcParseTable<2, 3,
885 friend class ::google::protobuf::MessageLite;
886 friend class ::google::protobuf::Arena;
887 template <
typename T>
888 friend class ::google::protobuf::Arena::InternalHelper;
889 using InternalArenaConstructable_ = void;
890 using DestructorSkippable_ = void;
892 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
893 inline explicit Impl_(
894 ::google::protobuf::internal::InternalVisibility visibility,
895 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
896 inline explicit Impl_(
897 ::google::protobuf::internal::InternalVisibility visibility,
898 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
900 ::google::protobuf::internal::HasBits<1> _has_bits_;
901 ::google::protobuf::internal::CachedSize _cached_size_;
902 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > expressions_;
903 ::google::protobuf::RepeatedField<double> weights_;
904 ::google::protobuf::internal::ArenaStringPtr name_;
905 PROTOBUF_TSAN_DECLARE_MEMBER
907 union { Impl_ _impl_; };
908 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
920#if defined(PROTOBUF_CUSTOM_VTABLE)
927 template <
typename =
void>
931 inline SecondOrderConeConstraintProto(SecondOrderConeConstraintProto&& from) noexcept
932 : SecondOrderConeConstraintProto(
nullptr, ::std::move(from)) {}
938 if (
this == &from)
return *
this;
939 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
947 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
948 ABSL_ATTRIBUTE_LIFETIME_BOUND {
949 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
951 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
953 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
956 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
959 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
960 return default_instance().GetMetadata().descriptor;
962 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
963 return default_instance().GetMetadata().reflection;
969 static constexpr int kIndexInFileMessages = 4;
972 if (other ==
this)
return;
973 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
976 ::google::protobuf::internal::GenericSwap(
this, other);
979 void UnsafeArenaSwap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other) {
980 if (other ==
this)
return;
981 ABSL_DCHECK(GetArena() == other->GetArena());
988 return ::google::protobuf::Message::DefaultConstruct<SecondOrderConeConstraintProto>(arena);
990 using ::google::protobuf::Message::CopyFrom;
992 using ::google::protobuf::Message::MergeFrom;
996 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
997 const ::google::protobuf::MessageLite& from_msg);
1003 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1004 #if defined(PROTOBUF_CUSTOM_VTABLE)
1006 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1008 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1009 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1013 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1014 ::uint8_t* PROTOBUF_NONNULL target,
1015 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1016 return _InternalSerialize(*
this, target, stream);
1019 ::size_t ByteSizeLong() const final;
1020 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1021 ::uint8_t* PROTOBUF_NONNULL target,
1022 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1024 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1027 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1028 static void SharedDtor(MessageLite& self);
1031 template <
typename T>
1033 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SecondOrderConeConstraintProto"; }
1041 *
this = ::std::move(from);
1043 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
1045 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1046 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1064 int _internal_arguments_to_norm_size()
const;
1069 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
mutable_arguments_to_norm();
1072 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_arguments_to_norm()
const;
1073 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_arguments_to_norm();
1075 const ::operations_research::math_opt::LinearExpressionProto&
arguments_to_norm(
int index)
const;
1077 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
arguments_to_norm()
const;
1080 const ::std::string&
name()
const;
1081 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1082 void set_name(Arg_&& arg, Args_... args);
1084 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1088 const ::std::string& _internal_name()
const;
1089 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1090 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1096 const ::operations_research::math_opt::LinearExpressionProto&
upper_bound()
const;
1104 const ::operations_research::math_opt::LinearExpressionProto& _internal_upper_bound()
const;
1111 friend class ::google::protobuf::internal::TcParser;
1112 static const ::google::protobuf::internal::TcParseTable<2, 3,
1117 friend class ::google::protobuf::MessageLite;
1118 friend class ::google::protobuf::Arena;
1119 template <
typename T>
1120 friend class ::google::protobuf::Arena::InternalHelper;
1121 using InternalArenaConstructable_ = void;
1122 using DestructorSkippable_ = void;
1124 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1125 inline explicit Impl_(
1126 ::google::protobuf::internal::InternalVisibility visibility,
1127 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1128 inline explicit Impl_(
1129 ::google::protobuf::internal::InternalVisibility visibility,
1130 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1132 ::google::protobuf::internal::HasBits<1> _has_bits_;
1133 ::google::protobuf::internal::CachedSize _cached_size_;
1134 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > arguments_to_norm_;
1135 ::google::protobuf::internal::ArenaStringPtr name_;
1137 PROTOBUF_TSAN_DECLARE_MEMBER
1139 union { Impl_ _impl_; };
1140 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1152#if defined(PROTOBUF_CUSTOM_VTABLE)
1159 template <
typename =
void>
1163 inline QuadraticConstraintProto(QuadraticConstraintProto&& from) noexcept
1164 : QuadraticConstraintProto(
nullptr, ::std::move(from)) {}
1165 inline QuadraticConstraintProto& operator=(
const QuadraticConstraintProto& from) {
1170 if (
this == &from)
return *
this;
1171 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1172 InternalSwap(&from);
1179 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1180 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1181 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1183 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1185 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1188 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1191 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1192 return default_instance().GetMetadata().descriptor;
1201 static constexpr int kIndexInFileMessages = 3;
1204 if (other ==
this)
return;
1205 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1206 InternalSwap(other);
1208 ::google::protobuf::internal::GenericSwap(
this, other);
1211 void UnsafeArenaSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other) {
1212 if (other ==
this)
return;
1213 ABSL_DCHECK(GetArena() == other->GetArena());
1214 InternalSwap(other);
1220 return ::google::protobuf::Message::DefaultConstruct<QuadraticConstraintProto>(arena);
1222 using ::google::protobuf::Message::CopyFrom;
1224 using ::google::protobuf::Message::MergeFrom;
1228 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1229 const ::google::protobuf::MessageLite& from_msg);
1235 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1236 #if defined(PROTOBUF_CUSTOM_VTABLE)
1240 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1241 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1245 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1246 ::uint8_t* PROTOBUF_NONNULL target,
1247 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1248 return _InternalSerialize(*
this, target, stream);
1251 ::size_t ByteSizeLong() const final;
1252 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1253 ::uint8_t* PROTOBUF_NONNULL target,
1254 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1256 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1259 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1260 static void SharedDtor(MessageLite& self);
1261 void InternalSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other);
1263 template <
typename T>
1265 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.QuadraticConstraintProto"; }
1273 *
this = ::std::move(from);
1275 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1277 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1278 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1298 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1301 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1305 const ::std::string& _internal_name()
const;
1306 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1307 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1313 const ::operations_research::math_opt::SparseDoubleVectorProto&
linear_terms()
const;
1321 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_terms()
const;
1328 const ::operations_research::math_opt::SparseDoubleMatrixProto&
quadratic_terms()
const;
1336 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_terms()
const;
1346 double _internal_lower_bound()
const;
1347 void _internal_set_lower_bound(
double value);
1356 double _internal_upper_bound()
const;
1357 void _internal_set_upper_bound(
double value);
1363 friend class ::google::protobuf::internal::TcParser;
1364 static const ::google::protobuf::internal::TcParseTable<3, 5,
1369 friend class ::google::protobuf::MessageLite;
1370 friend class ::google::protobuf::Arena;
1371 template <
typename T>
1372 friend class ::google::protobuf::Arena::InternalHelper;
1373 using InternalArenaConstructable_ = void;
1374 using DestructorSkippable_ = void;
1376 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1377 inline explicit Impl_(
1378 ::google::protobuf::internal::InternalVisibility visibility,
1379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1380 inline explicit Impl_(
1381 ::google::protobuf::internal::InternalVisibility visibility,
1382 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1384 ::google::protobuf::internal::HasBits<1> _has_bits_;
1385 ::google::protobuf::internal::CachedSize _cached_size_;
1386 ::google::protobuf::internal::ArenaStringPtr name_;
1389 double lower_bound_;
1390 double upper_bound_;
1391 PROTOBUF_TSAN_DECLARE_MEMBER
1393 union { Impl_ _impl_; };
1394 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1406#if defined(PROTOBUF_CUSTOM_VTABLE)
1407 void operator delete(
ObjectiveProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1409 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
ObjectiveProto));
1413 template <
typename =
void>
1414 explicit PROTOBUF_CONSTEXPR
ObjectiveProto(::google::protobuf::internal::ConstantInitialized);
1417 inline ObjectiveProto(ObjectiveProto&& from) noexcept
1418 : ObjectiveProto(
nullptr, ::std::move(from)) {}
1419 inline ObjectiveProto& operator=(
const ObjectiveProto& from) {
1424 if (
this == &from)
return *
this;
1425 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1426 InternalSwap(&from);
1433 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1434 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1435 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1437 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1438 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1439 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1442 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1443 return GetDescriptor();
1445 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1446 return default_instance().GetMetadata().descriptor;
1448 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1458 if (other ==
this)
return;
1459 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1460 InternalSwap(other);
1462 ::google::protobuf::internal::GenericSwap(
this, other);
1466 if (other ==
this)
return;
1467 ABSL_DCHECK(GetArena() == other->GetArena());
1468 InternalSwap(other);
1473 ObjectiveProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1474 return ::google::protobuf::Message::DefaultConstruct<ObjectiveProto>(arena);
1476 using ::google::protobuf::Message::CopyFrom;
1478 using ::google::protobuf::Message::MergeFrom;
1479 void MergeFrom(
const ObjectiveProto& from) { ObjectiveProto::MergeImpl(*
this, from); }
1482 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1483 const ::google::protobuf::MessageLite& from_msg);
1489 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1490 #if defined(PROTOBUF_CUSTOM_VTABLE)
1492 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1494 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1495 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1499 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1500 ::uint8_t* PROTOBUF_NONNULL target,
1501 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1502 return _InternalSerialize(*
this, target, stream);
1505 ::size_t ByteSizeLong() const final;
1506 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1507 ::uint8_t* PROTOBUF_NONNULL target,
1508 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1510 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1513 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1514 static void SharedDtor(MessageLite& self);
1515 void InternalSwap(ObjectiveProto* PROTOBUF_NONNULL other);
1517 template <
typename T>
1519 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ObjectiveProto"; }
1522 explicit ObjectiveProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1525 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ObjectiveProto&& from) noexcept
1527 *
this = ::std::move(from);
1529 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1530 static
void* PROTOBUF_NONNULL PlacementNew_(
1531 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1532 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1553 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1556 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
1560 const ::std::string& _internal_name()
const;
1561 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1562 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1568 const ::operations_research::math_opt::SparseDoubleVectorProto&
linear_coefficients()
const;
1576 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_coefficients()
const;
1591 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_coefficients()
const;
1601 double _internal_offset()
const;
1602 void _internal_set_offset(
double value);
1611 ::int64_t _internal_priority()
const;
1612 void _internal_set_priority(::int64_t value);
1621 bool _internal_maximize()
const;
1622 void _internal_set_maximize(
bool value);
1628 friend class ::google::protobuf::internal::TcParser;
1629 static const ::google::protobuf::internal::TcParseTable<3, 6,
1634 friend class ::google::protobuf::MessageLite;
1635 friend class ::google::protobuf::Arena;
1636 template <
typename T>
1637 friend class ::google::protobuf::Arena::InternalHelper;
1638 using InternalArenaConstructable_ = void;
1639 using DestructorSkippable_ = void;
1641 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1642 inline explicit Impl_(
1643 ::google::protobuf::internal::InternalVisibility visibility,
1644 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1645 inline explicit Impl_(
1646 ::google::protobuf::internal::InternalVisibility visibility,
1647 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1649 ::google::protobuf::internal::HasBits<1> _has_bits_;
1650 ::google::protobuf::internal::CachedSize _cached_size_;
1651 ::google::protobuf::internal::ArenaStringPtr name_;
1655 ::int64_t priority_;
1657 PROTOBUF_TSAN_DECLARE_MEMBER
1659 union { Impl_ _impl_; };
1660 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1672#if defined(PROTOBUF_CUSTOM_VTABLE)
1679 template <
typename =
void>
1685 inline IndicatorConstraintProto& operator=(
const IndicatorConstraintProto& from) {
1690 if (
this == &from)
return *
this;
1691 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1692 InternalSwap(&from);
1699 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1701 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1703 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1704 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1705 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1708 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1714 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1715 return default_instance().GetMetadata().reflection;
1721 static constexpr int kIndexInFileMessages = 6;
1724 if (other ==
this)
return;
1725 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1726 InternalSwap(other);
1728 ::google::protobuf::internal::GenericSwap(
this, other);
1732 if (other ==
this)
return;
1733 ABSL_DCHECK(GetArena() == other->GetArena());
1734 InternalSwap(other);
1740 return ::google::protobuf::Message::DefaultConstruct<IndicatorConstraintProto>(arena);
1742 using ::google::protobuf::Message::CopyFrom;
1744 using ::google::protobuf::Message::MergeFrom;
1748 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1749 const ::google::protobuf::MessageLite& from_msg);
1755 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1756 #if defined(PROTOBUF_CUSTOM_VTABLE)
1758 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1759 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1760 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1761 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1765 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1766 ::uint8_t* PROTOBUF_NONNULL target,
1767 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1768 return _InternalSerialize(*
this, target, stream);
1771 ::size_t ByteSizeLong() const final;
1772 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1773 ::uint8_t* PROTOBUF_NONNULL target,
1774 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1776 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1779 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1780 static void SharedDtor(MessageLite& self);
1781 void InternalSwap(IndicatorConstraintProto* PROTOBUF_NONNULL other);
1783 template <
typename T>
1785 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.IndicatorConstraintProto"; }
1793 *
this = ::std::move(from);
1795 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1796 static
void* PROTOBUF_NONNULL PlacementNew_(
1797 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1819 template <
typename Arg_ = const ::std::string&,
typename... Args_>
1826 const ::std::string& _internal_name()
const;
1827 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
1828 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1834 const ::operations_research::math_opt::SparseDoubleVectorProto&
expression()
const;
1842 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_expression()
const;
1853 ::int64_t _internal_indicator_id()
const;
1854 void _internal_set_indicator_id(::int64_t value);
1863 double _internal_lower_bound()
const;
1864 void _internal_set_lower_bound(
double value);
1873 double _internal_upper_bound()
const;
1874 void _internal_set_upper_bound(
double value);
1883 bool _internal_activate_on_zero()
const;
1884 void _internal_set_activate_on_zero(
bool value);
1890 friend class ::google::protobuf::internal::TcParser;
1891 static const ::google::protobuf::internal::TcParseTable<3, 6,
1896 friend class ::google::protobuf::MessageLite;
1897 friend class ::google::protobuf::Arena;
1898 template <
typename T>
1899 friend class ::google::protobuf::Arena::InternalHelper;
1900 using InternalArenaConstructable_ = void;
1901 using DestructorSkippable_ = void;
1903 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1904 inline explicit Impl_(
1905 ::google::protobuf::internal::InternalVisibility visibility,
1906 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1907 inline explicit Impl_(
1908 ::google::protobuf::internal::InternalVisibility visibility,
1909 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1911 ::google::protobuf::internal::HasBits<1> _has_bits_;
1912 ::google::protobuf::internal::CachedSize _cached_size_;
1913 ::google::protobuf::internal::ArenaStringPtr name_;
1915 ::int64_t indicator_id_;
1916 double lower_bound_;
1917 double upper_bound_;
1918 bool activate_on_zero_;
1919 PROTOBUF_TSAN_DECLARE_MEMBER
1921 union { Impl_ _impl_; };
1922 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1928class ModelProto_Sos2ConstraintsEntry_DoNotUse final
1929 :
public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1930 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1931 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1934 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1935 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1936 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1938 template <
typename =
void>
1949 friend class ::google::protobuf::MessageLite;
1950 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1952 friend class ::google::protobuf::internal::TcParser;
1953 static const ::google::protobuf::internal::TcParseTable<1, 2,
1958 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1959 static
void* PROTOBUF_NONNULL PlacementNew_(
1960 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1961 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1962 static constexpr auto InternalNewImpl_();
1973 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1974 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1975 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1977 template <
typename =
void>
1988 friend class ::google::protobuf::MessageLite;
1989 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1991 friend class ::google::protobuf::internal::TcParser;
1992 static const ::google::protobuf::internal::TcParseTable<1, 2,
1997 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1998 static
void* PROTOBUF_NONNULL PlacementNew_(
1999 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2000 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2001 static constexpr auto InternalNewImpl_();
2012 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2013 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2014 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2016 template <
typename =
void>
2027 friend class ::google::protobuf::MessageLite;
2028 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2030 friend class ::google::protobuf::internal::TcParser;
2031 static const ::google::protobuf::internal::TcParseTable<1, 2,
2036 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2037 static
void* PROTOBUF_NONNULL PlacementNew_(
2038 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2039 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2040 static constexpr auto InternalNewImpl_();
2051 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2052 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2053 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2055 template <
typename =
void>
2066 friend class ::google::protobuf::MessageLite;
2067 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2069 friend class ::google::protobuf::internal::TcParser;
2070 static const ::google::protobuf::internal::TcParseTable<1, 2,
2075 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2076 static
void* PROTOBUF_NONNULL PlacementNew_(
2077 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2078 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2079 static constexpr auto InternalNewImpl_();
2090 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2091 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2092 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2094 template <
typename =
void>
2105 friend class ::google::protobuf::MessageLite;
2106 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2108 friend class ::google::protobuf::internal::TcParser;
2109 static const ::google::protobuf::internal::TcParseTable<1, 2,
2114 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2115 static
void* PROTOBUF_NONNULL PlacementNew_(
2116 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2117 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2118 static constexpr auto InternalNewImpl_();
2129 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2130 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2131 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2133 template <
typename =
void>
2144 friend class ::google::protobuf::MessageLite;
2145 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2147 friend class ::google::protobuf::internal::TcParser;
2148 static const ::google::protobuf::internal::TcParseTable<1, 2,
2153 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2154 static
void* PROTOBUF_NONNULL PlacementNew_(
2155 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2156 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2157 static constexpr auto InternalNewImpl_();
2168#if defined(PROTOBUF_CUSTOM_VTABLE)
2169 void operator delete(
ModelProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
2171 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
ModelProto));
2175 template <
typename =
void>
2176 explicit PROTOBUF_CONSTEXPR
ModelProto(::google::protobuf::internal::ConstantInitialized);
2185 inline ModelProto& operator=(ModelProto&& from)
noexcept {
2186 if (
this == &from)
return *
this;
2187 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2188 InternalSwap(&from);
2195 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
2196 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2197 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2199 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2201 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2204 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2205 return GetDescriptor();
2207 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2208 return default_instance().GetMetadata().descriptor;
2213 static const ModelProto& default_instance() {
2217 static constexpr int kIndexInFileMessages = 13;
2220 if (other ==
this)
return;
2221 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2222 InternalSwap(other);
2224 ::google::protobuf::internal::GenericSwap(
this, other);
2227 void UnsafeArenaSwap(ModelProto* PROTOBUF_NONNULL other) {
2228 if (other ==
this)
return;
2229 ABSL_DCHECK(GetArena() == other->GetArena());
2230 InternalSwap(other);
2235 ModelProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2236 return ::google::protobuf::Message::DefaultConstruct<ModelProto>(arena);
2238 using ::google::protobuf::Message::CopyFrom;
2240 using ::google::protobuf::Message::MergeFrom;
2241 void MergeFrom(
const ModelProto& from) { ModelProto::MergeImpl(*
this, from); }
2244 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2245 const ::google::protobuf::MessageLite& from_msg);
2251 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2252 #if defined(PROTOBUF_CUSTOM_VTABLE)
2254 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2255 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2256 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2257 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2261 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2262 ::uint8_t* PROTOBUF_NONNULL target,
2263 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2267 ::size_t ByteSizeLong() const final;
2268 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2269 ::uint8_t* PROTOBUF_NONNULL target,
2270 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2272 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2275 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2277 void InternalSwap(ModelProto* PROTOBUF_NONNULL other);
2279 template <
typename T>
2281 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.ModelProto"; }
2284 explicit ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2285 ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const ModelProto& from);
2287 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
ModelProto&& from) noexcept
2289 *
this = ::std::move(from);
2291 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2292 static
void* PROTOBUF_NONNULL PlacementNew_(
2293 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2294 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2295 static constexpr auto InternalNewImpl_();
2300 ::
google::protobuf::Metadata GetMetadata() const;
2318 int quadratic_constraints_size()
const;
2320 int _internal_quadratic_constraints_size()
const;
2324 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>&
quadratic_constraints()
const;
2328 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& _internal_quadratic_constraints()
const;
2329 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL _internal_mutable_quadratic_constraints();
2335 int _internal_sos1_constraints_size()
const;
2339 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
sos1_constraints()
const;
2340 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL
mutable_sos1_constraints();
2343 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos1_constraints()
const;
2344 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos1_constraints();
2350 int _internal_sos2_constraints_size()
const;
2354 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
sos2_constraints()
const;
2355 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL
mutable_sos2_constraints();
2358 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos2_constraints()
const;
2359 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos2_constraints();
2365 int _internal_indicator_constraints_size()
const;
2369 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>&
indicator_constraints()
const;
2370 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL
mutable_indicator_constraints();
2373 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& _internal_indicator_constraints()
const;
2374 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL _internal_mutable_indicator_constraints();
2380 int _internal_auxiliary_objectives_size()
const;
2384 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>&
auxiliary_objectives()
const;
2388 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& _internal_auxiliary_objectives()
const;
2389 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL _internal_mutable_auxiliary_objectives();
2395 int _internal_second_order_cone_constraints_size()
const;
2399 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>&
second_order_cone_constraints()
const;
2403 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& _internal_second_order_cone_constraints()
const;
2404 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraints();
2409 const ::std::string&
name()
const;
2410 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2411 void set_name(Arg_&& arg, Args_... args);
2413 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
2417 const ::std::string& _internal_name()
const;
2418 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
2419 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2425 const ::operations_research::math_opt::VariablesProto&
variables()
const;
2433 const ::operations_research::math_opt::VariablesProto& _internal_variables()
const;
2440 const ::operations_research::math_opt::ObjectiveProto&
objective()
const;
2448 const ::operations_research::math_opt::ObjectiveProto& _internal_objective()
const;
2455 const ::operations_research::math_opt::LinearConstraintsProto&
linear_constraints()
const;
2463 const ::operations_research::math_opt::LinearConstraintsProto& _internal_linear_constraints()
const;
2478 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_linear_constraint_matrix()
const;
2485 friend class ::google::protobuf::internal::TcParser;
2486 static const ::google::protobuf::internal::TcParseTable<3, 11,
2491 friend class ::google::protobuf::MessageLite;
2492 friend class ::google::protobuf::Arena;
2493 template <
typename T>
2494 friend class ::google::protobuf::Arena::InternalHelper;
2495 using InternalArenaConstructable_ = void;
2496 using DestructorSkippable_ = void;
2498 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2499 inline explicit Impl_(
2500 ::google::protobuf::internal::InternalVisibility visibility,
2501 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2502 inline explicit Impl_(
2503 ::google::protobuf::internal::InternalVisibility visibility,
2504 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2506 ::google::protobuf::internal::HasBits<1> _has_bits_;
2507 ::google::protobuf::internal::CachedSize _cached_size_;
2509 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2510 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2511 quadratic_constraints_;
2513 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2514 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2517 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2518 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2521 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2522 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2523 indicator_constraints_;
2525 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2526 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2527 auxiliary_objectives_;
2529 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2530 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2531 second_order_cone_constraints_;
2532 ::google::protobuf::internal::ArenaStringPtr name_;
2537 PROTOBUF_TSAN_DECLARE_MEMBER
2539 union { Impl_ _impl_; };
2540 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2554#pragma GCC diagnostic push
2555#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2562inline int VariablesProto::_internal_ids_size()
const {
2563 return _internal_ids().size();
2566 return _internal_ids_size();
2569 ::google::protobuf::internal::TSanWrite(&_impl_);
2570 _impl_.ids_.Clear();
2574 return _internal_ids().Get(index);
2577 _internal_mutable_ids()->Set(index, value);
2581 ::google::protobuf::internal::TSanWrite(&_impl_);
2582 _internal_mutable_ids()->Add(value);
2586 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2588 return _internal_ids();
2591 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2593 ::google::protobuf::internal::TSanWrite(&
_impl_);
2594 return _internal_mutable_ids();
2596inline const ::google::protobuf::RepeatedField<::int64_t>&
2597VariablesProto::_internal_ids()
const {
2598 ::google::protobuf::internal::TSanRead(&
_impl_);
2601inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2602VariablesProto::_internal_mutable_ids() {
2603 ::google::protobuf::internal::TSanRead(&
_impl_);
2608inline int VariablesProto::_internal_lower_bounds_size()
const {
2609 return _internal_lower_bounds().size();
2612 return _internal_lower_bounds_size();
2615 ::google::protobuf::internal::TSanWrite(&_impl_);
2616 _impl_.lower_bounds_.Clear();
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);
2632 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2634 return _internal_lower_bounds();
2637 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2639 ::google::protobuf::internal::TSanWrite(&
_impl_);
2640 return _internal_mutable_lower_bounds();
2642inline const ::google::protobuf::RepeatedField<double>&
2643VariablesProto::_internal_lower_bounds()
const {
2644 ::google::protobuf::internal::TSanRead(&
_impl_);
2645 return _impl_.lower_bounds_;
2647inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2648VariablesProto::_internal_mutable_lower_bounds() {
2649 ::google::protobuf::internal::TSanRead(&
_impl_);
2650 return &
_impl_.lower_bounds_;
2654inline int VariablesProto::_internal_upper_bounds_size()
const {
2655 return _internal_upper_bounds().size();
2658 return _internal_upper_bounds_size();
2661 ::google::protobuf::internal::TSanWrite(&_impl_);
2662 _impl_.upper_bounds_.Clear();
2666 return _internal_upper_bounds().Get(index);
2669 _internal_mutable_upper_bounds()->Set(index, value);
2673 ::google::protobuf::internal::TSanWrite(&_impl_);
2674 _internal_mutable_upper_bounds()->Add(value);
2678 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2680 return _internal_upper_bounds();
2683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2685 ::google::protobuf::internal::TSanWrite(&
_impl_);
2686 return _internal_mutable_upper_bounds();
2688inline const ::google::protobuf::RepeatedField<double>&
2689VariablesProto::_internal_upper_bounds()
const {
2690 ::google::protobuf::internal::TSanRead(&
_impl_);
2691 return _impl_.upper_bounds_;
2693inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2694VariablesProto::_internal_mutable_upper_bounds() {
2695 ::google::protobuf::internal::TSanRead(&
_impl_);
2696 return &
_impl_.upper_bounds_;
2700inline int VariablesProto::_internal_integers_size()
const {
2701 return _internal_integers().size();
2704 return _internal_integers_size();
2707 ::google::protobuf::internal::TSanWrite(&_impl_);
2708 _impl_.integers_.Clear();
2712 return _internal_integers().Get(index);
2715 _internal_mutable_integers()->Set(index, value);
2719 ::google::protobuf::internal::TSanWrite(&_impl_);
2720 _internal_mutable_integers()->Add(value);
2724 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2726 return _internal_integers();
2729 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2731 ::google::protobuf::internal::TSanWrite(&
_impl_);
2732 return _internal_mutable_integers();
2734inline const ::google::protobuf::RepeatedField<bool>&
2735VariablesProto::_internal_integers()
const {
2736 ::google::protobuf::internal::TSanRead(&
_impl_);
2739inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
2740VariablesProto::_internal_mutable_integers() {
2741 ::google::protobuf::internal::TSanRead(&
_impl_);
2742 return &
_impl_.integers_;
2746inline int VariablesProto::_internal_names_size()
const {
2747 return _internal_names().size();
2750 return _internal_names_size();
2753 ::google::protobuf::internal::TSanWrite(&_impl_);
2754 _impl_.names_.Clear();
2757 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2758 ::google::protobuf::internal::TSanWrite(&_impl_);
2759 ::std::string* _s = _internal_mutable_names()->Add();
2764 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2766 return _internal_names().Get(index);
2769 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2771 return _internal_mutable_names()->Mutable(index);
2773template <
typename Arg_,
typename... Args_>
2775 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
2779template <
typename Arg_,
typename... Args_>
2781 ::google::protobuf::internal::TSanWrite(&
_impl_);
2782 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_names(),
2783 ::std::forward<Arg_>(value),
2788 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2790 return _internal_names();
2792inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2795 ::google::protobuf::internal::TSanWrite(&
_impl_);
2796 return _internal_mutable_names();
2798inline const ::google::protobuf::RepeatedPtrField<::std::string>&
2799VariablesProto::_internal_names()
const {
2800 ::google::protobuf::internal::TSanRead(&
_impl_);
2803inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2804VariablesProto::_internal_mutable_names() {
2805 ::google::protobuf::internal::TSanRead(&
_impl_);
2815 ::google::protobuf::internal::TSanWrite(&
_impl_);
2816 _impl_.maximize_ =
false;
2817 _impl_._has_bits_[0] &= ~0x00000020u;
2821 return _internal_maximize();
2824 _internal_set_maximize(value);
2825 _impl_._has_bits_[0] |= 0x00000020u;
2828inline bool ObjectiveProto::_internal_maximize()
const {
2829 ::google::protobuf::internal::TSanRead(&_impl_);
2830 return _impl_.maximize_;
2832inline void ObjectiveProto::_internal_set_maximize(
bool value) {
2833 ::google::protobuf::internal::TSanWrite(&
_impl_);
2834 _impl_.maximize_ = value;
2839 ::google::protobuf::internal::TSanWrite(&
_impl_);
2841 _impl_._has_bits_[0] &= ~0x00000008u;
2845 return _internal_offset();
2848 _internal_set_offset(value);
2849 _impl_._has_bits_[0] |= 0x00000008u;
2852inline double ObjectiveProto::_internal_offset()
const {
2853 ::google::protobuf::internal::TSanRead(&_impl_);
2854 return _impl_.offset_;
2856inline void ObjectiveProto::_internal_set_offset(
double value) {
2857 ::google::protobuf::internal::TSanWrite(&
_impl_);
2863 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
2864 PROTOBUF_ASSUME(!value ||
_impl_.linear_coefficients_ !=
nullptr);
2867inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveProto::_internal_linear_coefficients()
const {
2868 ::google::protobuf::internal::TSanRead(&_impl_);
2869 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_coefficients_;
2874 return _internal_linear_coefficients();
2878 ::google::protobuf::internal::TSanWrite(&_impl_);
2879 if (GetArena() ==
nullptr) {
2880 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_coefficients_);
2883 if (value !=
nullptr) {
2884 _impl_._has_bits_[0] |= 0x00000002u;
2886 _impl_._has_bits_[0] &= ~0x00000002u;
2891 ::google::protobuf::internal::TSanWrite(&
_impl_);
2893 _impl_._has_bits_[0] &= ~0x00000002u;
2896 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2897 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2898 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2899 if (GetArena() ==
nullptr) {
2903 if (GetArena() !=
nullptr) {
2904 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2910 ::google::protobuf::internal::TSanWrite(&
_impl_);
2913 _impl_._has_bits_[0] &= ~0x00000002u;
2915 _impl_.linear_coefficients_ =
nullptr;
2918inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_linear_coefficients() {
2919 ::google::protobuf::internal::TSanWrite(&_impl_);
2920 if (_impl_.linear_coefficients_ ==
nullptr) {
2921 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2924 return _impl_.linear_coefficients_;
2927 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2934 ::google::protobuf::Arena* message_arena = GetArena();
2935 ::google::protobuf::internal::TSanWrite(&_impl_);
2936 if (message_arena ==
nullptr) {
2937 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_coefficients_);
2940 if (value !=
nullptr) {
2941 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2942 if (message_arena != submessage_arena) {
2943 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2947 _impl_._has_bits_[0] &= ~0x00000002u;
2956 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2957 PROTOBUF_ASSUME(!value || _impl_.quadratic_coefficients_ !=
nullptr);
2960inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveProto::_internal_quadratic_coefficients()
const {
2961 ::google::protobuf::internal::TSanRead(&_impl_);
2962 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_coefficients_;
2967 return _internal_quadratic_coefficients();
2970 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE value) {
2971 ::google::protobuf::internal::TSanWrite(&_impl_);
2972 if (GetArena() ==
nullptr) {
2973 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_coefficients_);
2976 if (value !=
nullptr) {
2977 _impl_._has_bits_[0] |= 0x00000004u;
2979 _impl_._has_bits_[0] &= ~0x00000004u;
2984 ::google::protobuf::internal::TSanWrite(&
_impl_);
2986 _impl_._has_bits_[0] &= ~0x00000004u;
2989 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2990 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2991 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2992 if (GetArena() ==
nullptr) {
2996 if (GetArena() !=
nullptr) {
2997 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3003 ::google::protobuf::internal::TSanWrite(&
_impl_);
3006 _impl_._has_bits_[0] &= ~0x00000004u;
3008 _impl_.quadratic_coefficients_ =
nullptr;
3011inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_quadratic_coefficients() {
3012 ::google::protobuf::internal::TSanWrite(&_impl_);
3013 if (_impl_.quadratic_coefficients_ ==
nullptr) {
3014 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3017 return _impl_.quadratic_coefficients_;
3020 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3027 ::google::protobuf::Arena* message_arena = GetArena();
3028 ::google::protobuf::internal::TSanWrite(&_impl_);
3029 if (message_arena ==
nullptr) {
3030 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_coefficients_);
3033 if (value !=
nullptr) {
3034 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3035 if (message_arena != submessage_arena) {
3036 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3040 _impl_._has_bits_[0] &= ~0x00000004u;
3049 ::google::protobuf::internal::TSanWrite(&_impl_);
3050 _impl_.name_.ClearToEmpty();
3051 _impl_._has_bits_[0] &= ~0x00000001u;
3054 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3056 return _internal_name();
3058template <
typename Arg_,
typename... Args_>
3060 ::google::protobuf::internal::TSanWrite(&_impl_);
3061 _impl_._has_bits_[0] |= 0x00000001u;
3062 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3066 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3067 ::std::string* _s = _internal_mutable_name();
3071inline const ::std::string& ObjectiveProto::_internal_name()
const {
3072 ::google::protobuf::internal::TSanRead(&
_impl_);
3073 return _impl_.name_.Get();
3075inline void ObjectiveProto::_internal_set_name(const ::std::string& value) {
3076 ::google::protobuf::internal::TSanWrite(&_impl_);
3077 _impl_._has_bits_[0] |= 0x00000001u;
3080inline ::std::string* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_name() {
3081 ::google::protobuf::internal::TSanWrite(&_impl_);
3082 _impl_._has_bits_[0] |= 0x00000001u;
3083 return _impl_.name_.Mutable( GetArena());
3086 ::google::protobuf::internal::TSanWrite(&_impl_);
3088 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
3091 _impl_._has_bits_[0] &= ~0x00000001u;
3092 auto* released = _impl_.name_.Release();
3093 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3094 _impl_.name_.Set(
"", GetArena());
3099 ::google::protobuf::internal::TSanWrite(&_impl_);
3100 if (value !=
nullptr) {
3101 _impl_._has_bits_[0] |= 0x00000001u;
3103 _impl_._has_bits_[0] &= ~0x00000001u;
3105 _impl_.name_.SetAllocated(value, GetArena());
3106 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3107 _impl_.name_.Set(
"", GetArena());
3114 ::google::protobuf::internal::TSanWrite(&_impl_);
3115 _impl_.priority_ = ::int64_t{0};
3116 _impl_._has_bits_[0] &= ~0x00000010u;
3120 return _internal_priority();
3123 _internal_set_priority(value);
3124 _impl_._has_bits_[0] |= 0x00000010u;
3127inline ::int64_t ObjectiveProto::_internal_priority()
const {
3128 ::google::protobuf::internal::TSanRead(&_impl_);
3129 return _impl_.priority_;
3131inline void ObjectiveProto::_internal_set_priority(::int64_t value) {
3132 ::google::protobuf::internal::TSanWrite(&
_impl_);
3133 _impl_.priority_ = value;
3141inline int LinearConstraintsProto::_internal_ids_size()
const {
3142 return _internal_ids().size();
3145 return _internal_ids_size();
3148 ::google::protobuf::internal::TSanWrite(&_impl_);
3149 _impl_.ids_.Clear();
3153 return _internal_ids().Get(index);
3156 _internal_mutable_ids()->Set(index, value);
3160 ::google::protobuf::internal::TSanWrite(&_impl_);
3161 _internal_mutable_ids()->Add(value);
3165 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3167 return _internal_ids();
3170 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3172 ::google::protobuf::internal::TSanWrite(&
_impl_);
3173 return _internal_mutable_ids();
3175inline const ::google::protobuf::RepeatedField<::int64_t>&
3176LinearConstraintsProto::_internal_ids()
const {
3177 ::google::protobuf::internal::TSanRead(&
_impl_);
3180inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3181LinearConstraintsProto::_internal_mutable_ids() {
3182 ::google::protobuf::internal::TSanRead(&_impl_);
3183 return &_impl_.ids_;
3187inline int LinearConstraintsProto::_internal_lower_bounds_size()
const {
3188 return _internal_lower_bounds().size();
3191 return _internal_lower_bounds_size();
3194 ::google::protobuf::internal::TSanWrite(&_impl_);
3195 _impl_.lower_bounds_.Clear();
3199 return _internal_lower_bounds().Get(index);
3202 _internal_mutable_lower_bounds()->Set(index, value);
3206 ::google::protobuf::internal::TSanWrite(&_impl_);
3207 _internal_mutable_lower_bounds()->Add(value);
3211 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3213 return _internal_lower_bounds();
3216 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3218 ::google::protobuf::internal::TSanWrite(&
_impl_);
3219 return _internal_mutable_lower_bounds();
3221inline const ::google::protobuf::RepeatedField<double>&
3222LinearConstraintsProto::_internal_lower_bounds()
const {
3223 ::google::protobuf::internal::TSanRead(&
_impl_);
3224 return _impl_.lower_bounds_;
3226inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3227LinearConstraintsProto::_internal_mutable_lower_bounds() {
3228 ::google::protobuf::internal::TSanRead(&_impl_);
3229 return &_impl_.lower_bounds_;
3233inline int LinearConstraintsProto::_internal_upper_bounds_size()
const {
3234 return _internal_upper_bounds().size();
3237 return _internal_upper_bounds_size();
3240 ::google::protobuf::internal::TSanWrite(&_impl_);
3241 _impl_.upper_bounds_.Clear();
3245 return _internal_upper_bounds().Get(index);
3248 _internal_mutable_upper_bounds()->Set(index, value);
3252 ::google::protobuf::internal::TSanWrite(&_impl_);
3253 _internal_mutable_upper_bounds()->Add(value);
3257 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3259 return _internal_upper_bounds();
3262 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3264 ::google::protobuf::internal::TSanWrite(&
_impl_);
3265 return _internal_mutable_upper_bounds();
3267inline const ::google::protobuf::RepeatedField<double>&
3268LinearConstraintsProto::_internal_upper_bounds()
const {
3269 ::google::protobuf::internal::TSanRead(&
_impl_);
3270 return _impl_.upper_bounds_;
3272inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3273LinearConstraintsProto::_internal_mutable_upper_bounds() {
3274 ::google::protobuf::internal::TSanRead(&_impl_);
3275 return &_impl_.upper_bounds_;
3279inline int LinearConstraintsProto::_internal_names_size()
const {
3280 return _internal_names().size();
3283 return _internal_names_size();
3286 ::google::protobuf::internal::TSanWrite(&_impl_);
3287 _impl_.names_.Clear();
3290 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3291 ::google::protobuf::internal::TSanWrite(&_impl_);
3292 ::std::string* _s = _internal_mutable_names()->Add();
3297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3299 return _internal_names().Get(index);
3302 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3304 return _internal_mutable_names()->Mutable(index);
3306template <
typename Arg_,
typename... Args_>
3308 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
3312template <
typename Arg_,
typename... Args_>
3314 ::google::protobuf::internal::TSanWrite(&_impl_);
3315 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_names(),
3316 ::std::forward<Arg_>(value),
3321 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3323 return _internal_names();
3325inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3328 ::google::protobuf::internal::TSanWrite(&
_impl_);
3329 return _internal_mutable_names();
3331inline const ::google::protobuf::RepeatedPtrField<::std::string>&
3332LinearConstraintsProto::_internal_names()
const {
3333 ::google::protobuf::internal::TSanRead(&
_impl_);
3336inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3337LinearConstraintsProto::_internal_mutable_names() {
3338 ::google::protobuf::internal::TSanRead(&_impl_);
3339 return &_impl_.names_;
3348 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
3349 PROTOBUF_ASSUME(!value ||
_impl_.linear_terms_ !=
nullptr);
3352inline const ::operations_research::math_opt::SparseDoubleVectorProto& QuadraticConstraintProto::_internal_linear_terms()
const {
3353 ::google::protobuf::internal::TSanRead(&_impl_);
3354 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_terms_;
3359 return _internal_linear_terms();
3363 ::google::protobuf::internal::TSanWrite(&_impl_);
3364 if (GetArena() ==
nullptr) {
3365 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_terms_);
3367 _impl_.linear_terms_ =
reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*
>(value);
3368 if (value !=
nullptr) {
3369 _impl_._has_bits_[0] |= 0x00000002u;
3371 _impl_._has_bits_[0] &= ~0x00000002u;
3376 ::google::protobuf::internal::TSanWrite(&_impl_);
3380 _impl_.linear_terms_ =
nullptr;
3381 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3382 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3383 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3384 if (GetArena() ==
nullptr) {
3388 if (GetArena() !=
nullptr) {
3389 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3395 ::google::protobuf::internal::TSanWrite(&_impl_);
3398 _impl_._has_bits_[0] &= ~0x00000002u;
3400 _impl_.linear_terms_ =
nullptr;
3403inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_linear_terms() {
3404 ::google::protobuf::internal::TSanWrite(&_impl_);
3405 if (_impl_.linear_terms_ ==
nullptr) {
3406 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3409 return _impl_.linear_terms_;
3412 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3413 _impl_._has_bits_[0] |= 0x00000002u;
3419 ::google::protobuf::Arena* message_arena = GetArena();
3420 ::google::protobuf::internal::TSanWrite(&_impl_);
3421 if (message_arena ==
nullptr) {
3422 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_terms_);
3425 if (value !=
nullptr) {
3426 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3427 if (message_arena != submessage_arena) {
3428 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3430 _impl_._has_bits_[0] |= 0x00000002u;
3441 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
3442 PROTOBUF_ASSUME(!value ||
_impl_.quadratic_terms_ !=
nullptr);
3445inline const ::operations_research::math_opt::SparseDoubleMatrixProto& QuadraticConstraintProto::_internal_quadratic_terms()
const {
3446 ::google::protobuf::internal::TSanRead(&_impl_);
3447 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_terms_;
3452 return _internal_quadratic_terms();
3456 ::google::protobuf::internal::TSanWrite(&_impl_);
3457 if (GetArena() ==
nullptr) {
3458 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_terms_);
3460 _impl_.quadratic_terms_ =
reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*
>(value);
3461 if (value !=
nullptr) {
3462 _impl_._has_bits_[0] |= 0x00000004u;
3464 _impl_._has_bits_[0] &= ~0x00000004u;
3469 ::google::protobuf::internal::TSanWrite(&_impl_);
3473 _impl_.quadratic_terms_ =
nullptr;
3474 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3475 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3476 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3477 if (GetArena() ==
nullptr) {
3481 if (GetArena() !=
nullptr) {
3482 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3488 ::google::protobuf::internal::TSanWrite(&_impl_);
3491 _impl_._has_bits_[0] &= ~0x00000004u;
3493 _impl_.quadratic_terms_ =
nullptr;
3496inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_quadratic_terms() {
3497 ::google::protobuf::internal::TSanWrite(&_impl_);
3498 if (_impl_.quadratic_terms_ ==
nullptr) {
3499 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3502 return _impl_.quadratic_terms_;
3505 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3506 _impl_._has_bits_[0] |= 0x00000004u;
3512 ::google::protobuf::Arena* message_arena = GetArena();
3513 ::google::protobuf::internal::TSanWrite(&_impl_);
3514 if (message_arena ==
nullptr) {
3515 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_terms_);
3518 if (value !=
nullptr) {
3519 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3520 if (message_arena != submessage_arena) {
3521 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3523 _impl_._has_bits_[0] |= 0x00000004u;
3534 ::google::protobuf::internal::TSanWrite(&
_impl_);
3536 _impl_._has_bits_[0] &= ~0x00000008u;
3540 return _internal_lower_bound();
3543 _internal_set_lower_bound(value);
3544 _impl_._has_bits_[0] |= 0x00000008u;
3547inline double QuadraticConstraintProto::_internal_lower_bound()
const {
3548 ::google::protobuf::internal::TSanRead(&_impl_);
3549 return _impl_.lower_bound_;
3551inline void QuadraticConstraintProto::_internal_set_lower_bound(
double value) {
3552 ::google::protobuf::internal::TSanWrite(&_impl_);
3553 _impl_.lower_bound_ = value;
3558 ::google::protobuf::internal::TSanWrite(&_impl_);
3560 _impl_._has_bits_[0] &= ~0x00000010u;
3564 return _internal_upper_bound();
3567 _internal_set_upper_bound(value);
3568 _impl_._has_bits_[0] |= 0x00000010u;
3571inline double QuadraticConstraintProto::_internal_upper_bound()
const {
3572 ::google::protobuf::internal::TSanRead(&_impl_);
3573 return _impl_.upper_bound_;
3575inline void QuadraticConstraintProto::_internal_set_upper_bound(
double value) {
3576 ::google::protobuf::internal::TSanWrite(&_impl_);
3577 _impl_.upper_bound_ = value;
3582 ::google::protobuf::internal::TSanWrite(&_impl_);
3584 _impl_._has_bits_[0] &= ~0x00000001u;
3587 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3589 return _internal_name();
3591template <
typename Arg_,
typename... Args_>
3593 ::google::protobuf::internal::TSanWrite(&_impl_);
3594 _impl_._has_bits_[0] |= 0x00000001u;
3595 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3599 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3600 ::std::string* _s = _internal_mutable_name();
3604inline const ::std::string& QuadraticConstraintProto::_internal_name()
const {
3605 ::google::protobuf::internal::TSanRead(&_impl_);
3606 return _impl_.name_.Get();
3608inline void QuadraticConstraintProto::_internal_set_name(const ::std::string& value) {
3609 ::google::protobuf::internal::TSanWrite(&_impl_);
3610 _impl_._has_bits_[0] |= 0x00000001u;
3611 _impl_.name_.Set(value, GetArena());
3613inline ::std::string* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_name() {
3614 ::google::protobuf::internal::TSanWrite(&
_impl_);
3615 _impl_._has_bits_[0] |= 0x00000001u;
3616 return _impl_.name_.Mutable( GetArena());
3619 ::google::protobuf::internal::TSanWrite(&
_impl_);
3621 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3624 _impl_._has_bits_[0] &= ~0x00000001u;
3625 auto* released = _impl_.name_.Release();
3626 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3627 _impl_.name_.Set(
"", GetArena());
3632 ::google::protobuf::internal::TSanWrite(&_impl_);
3633 if (value !=
nullptr) {
3634 _impl_._has_bits_[0] |= 0x00000001u;
3636 _impl_._has_bits_[0] &= ~0x00000001u;
3638 _impl_.name_.SetAllocated(value, GetArena());
3639 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.name_.IsDefault()) {
3640 _impl_.name_.Set(
"", GetArena());
3651 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3652 PROTOBUF_ASSUME(!value ||
_impl_.upper_bound_ !=
nullptr);
3655inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::_internal_upper_bound()
const {
3656 ::google::protobuf::internal::TSanRead(&_impl_);
3657 const ::operations_research::math_opt::LinearExpressionProto* p = _impl_.upper_bound_;
3662 return _internal_upper_bound();
3666 ::google::protobuf::internal::TSanWrite(&_impl_);
3667 if (GetArena() ==
nullptr) {
3668 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.upper_bound_);
3670 _impl_.upper_bound_ =
reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*
>(value);
3671 if (value !=
nullptr) {
3674 _impl_._has_bits_[0] &= ~0x00000002u;
3679 ::google::protobuf::internal::TSanWrite(&_impl_);
3681 _impl_._has_bits_[0] &= ~0x00000002u;
3683 _impl_.upper_bound_ =
nullptr;
3684 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3685 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
3686 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3687 if (GetArena() ==
nullptr) {
3691 if (GetArena() !=
nullptr) {
3692 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3698 ::google::protobuf::internal::TSanWrite(&_impl_);
3701 _impl_._has_bits_[0] &= ~0x00000002u;
3703 _impl_.upper_bound_ =
nullptr;
3706inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_upper_bound() {
3707 ::google::protobuf::internal::TSanWrite(&_impl_);
3708 if (_impl_.upper_bound_ ==
nullptr) {
3709 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearExpressionProto>(GetArena());
3712 return _impl_.upper_bound_;
3715 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3716 _impl_._has_bits_[0] |= 0x00000002u;
3722 ::google::protobuf::Arena* message_arena = GetArena();
3723 ::google::protobuf::internal::TSanWrite(&_impl_);
3724 if (message_arena ==
nullptr) {
3725 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.upper_bound_);
3728 if (value !=
nullptr) {
3729 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
3730 if (message_arena != submessage_arena) {
3731 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3733 _impl_._has_bits_[0] |= 0x00000002u;
3735 _impl_._has_bits_[0] &= ~0x00000002u;
3743inline int SecondOrderConeConstraintProto::_internal_arguments_to_norm_size()
const {
3744 return _internal_arguments_to_norm().size();
3747 return _internal_arguments_to_norm_size();
3750 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3752 return _internal_mutable_arguments_to_norm()->Mutable(index);
3755 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3757 ::google::protobuf::internal::TSanWrite(&_impl_);
3758 return _internal_mutable_arguments_to_norm();
3761 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3763 return _internal_arguments_to_norm().Get(index);
3766 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3767 ::google::protobuf::internal::TSanWrite(&_impl_);
3773 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3775 return _internal_arguments_to_norm();
3777inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3778SecondOrderConeConstraintProto::_internal_arguments_to_norm()
const {
3779 ::google::protobuf::internal::TSanRead(&_impl_);
3780 return _impl_.arguments_to_norm_;
3782inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3783SecondOrderConeConstraintProto::_internal_mutable_arguments_to_norm() {
3784 ::google::protobuf::internal::TSanRead(&
_impl_);
3785 return &
_impl_.arguments_to_norm_;
3790 ::google::protobuf::internal::TSanWrite(&
_impl_);
3791 _impl_.name_.ClearToEmpty();
3792 _impl_._has_bits_[0] &= ~0x00000001u;
3795 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3797 return _internal_name();
3799template <
typename Arg_,
typename... Args_>
3801 ::google::protobuf::internal::TSanWrite(&_impl_);
3802 _impl_._has_bits_[0] |= 0x00000001u;
3803 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3807 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3808 ::std::string* _s = _internal_mutable_name();
3812inline const ::std::string& SecondOrderConeConstraintProto::_internal_name()
const {
3813 ::google::protobuf::internal::TSanRead(&_impl_);
3814 return _impl_.name_.Get();
3816inline void SecondOrderConeConstraintProto::_internal_set_name(const ::std::string& value) {
3817 ::google::protobuf::internal::TSanWrite(&
_impl_);
3818 _impl_._has_bits_[0] |= 0x00000001u;
3819 _impl_.name_.Set(value, GetArena());
3821inline ::std::string* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_name() {
3822 ::google::protobuf::internal::TSanWrite(&
_impl_);
3823 _impl_._has_bits_[0] |= 0x00000001u;
3824 return _impl_.name_.Mutable( GetArena());
3827 ::google::protobuf::internal::TSanWrite(&_impl_);
3829 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3832 _impl_._has_bits_[0] &= ~0x00000001u;
3833 auto* released = _impl_.name_.Release();
3834 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3835 _impl_.name_.Set(
"", GetArena());
3840 ::google::protobuf::internal::TSanWrite(&_impl_);
3841 if (value !=
nullptr) {
3842 _impl_._has_bits_[0] |= 0x00000001u;
3844 _impl_._has_bits_[0] &= ~0x00000001u;
3846 _impl_.name_.SetAllocated(value, GetArena());
3847 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3858inline int SosConstraintProto::_internal_expressions_size()
const {
3859 return _internal_expressions().size();
3862 return _internal_expressions_size();
3865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3867 return _internal_mutable_expressions()->Mutable(index);
3870 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3872 ::google::protobuf::internal::TSanWrite(&_impl_);
3873 return _internal_mutable_expressions();
3876 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3878 return _internal_expressions().Get(index);
3881 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3882 ::google::protobuf::internal::TSanWrite(&_impl_);
3883 ::operations_research::math_opt::LinearExpressionProto* _add = _internal_mutable_expressions()->Add();
3888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3890 return _internal_expressions();
3892inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3893SosConstraintProto::_internal_expressions()
const {
3894 ::google::protobuf::internal::TSanRead(&
_impl_);
3895 return _impl_.expressions_;
3897inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3898SosConstraintProto::_internal_mutable_expressions() {
3899 ::google::protobuf::internal::TSanRead(&
_impl_);
3900 return &
_impl_.expressions_;
3904inline int SosConstraintProto::_internal_weights_size()
const {
3905 return _internal_weights().size();
3908 return _internal_weights_size();
3911 ::google::protobuf::internal::TSanWrite(&
_impl_);
3916 return _internal_weights().Get(index);
3919 _internal_mutable_weights()->Set(index, value);
3923 ::google::protobuf::internal::TSanWrite(&_impl_);
3924 _internal_mutable_weights()->Add(value);
3928 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3930 return _internal_weights();
3933 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3935 ::google::protobuf::internal::TSanWrite(&
_impl_);
3936 return _internal_mutable_weights();
3938inline const ::google::protobuf::RepeatedField<double>&
3939SosConstraintProto::_internal_weights()
const {
3940 ::google::protobuf::internal::TSanRead(&_impl_);
3943inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3944SosConstraintProto::_internal_mutable_weights() {
3945 ::google::protobuf::internal::TSanRead(&
_impl_);
3951 ::google::protobuf::internal::TSanWrite(&
_impl_);
3952 _impl_.name_.ClearToEmpty();
3953 _impl_._has_bits_[0] &= ~0x00000001u;
3956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3958 return _internal_name();
3960template <
typename Arg_,
typename... Args_>
3962 ::google::protobuf::internal::TSanWrite(&_impl_);
3963 _impl_._has_bits_[0] |= 0x00000001u;
3964 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
3968 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3969 ::std::string* _s = _internal_mutable_name();
3973inline const ::std::string& SosConstraintProto::_internal_name()
const {
3974 ::google::protobuf::internal::TSanRead(&
_impl_);
3975 return _impl_.name_.Get();
3977inline void SosConstraintProto::_internal_set_name(const ::std::string& value) {
3978 ::google::protobuf::internal::TSanWrite(&
_impl_);
3979 _impl_._has_bits_[0] |= 0x00000001u;
3980 _impl_.name_.Set(value, GetArena());
3982inline ::std::string* PROTOBUF_NONNULL SosConstraintProto::_internal_mutable_name() {
3983 ::google::protobuf::internal::TSanWrite(&_impl_);
3985 return _impl_.name_.Mutable( GetArena());
3988 ::google::protobuf::internal::TSanWrite(&_impl_);
3990 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
3993 _impl_._has_bits_[0] &= ~0x00000001u;
3994 auto* released = _impl_.name_.Release();
3995 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3996 _impl_.name_.Set(
"", GetArena());
4001 ::google::protobuf::internal::TSanWrite(&_impl_);
4002 if (value !=
nullptr) {
4003 _impl_._has_bits_[0] |= 0x00000001u;
4005 _impl_._has_bits_[0] &= ~0x00000001u;
4007 _impl_.name_.SetAllocated(value, GetArena());
4008 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4009 _impl_.name_.Set(
"", GetArena());
4020 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4024 ::google::protobuf::internal::TSanWrite(&
_impl_);
4025 _impl_.indicator_id_ = ::int64_t{0};
4026 _impl_._has_bits_[0] &= ~0x00000004u;
4030 return _internal_indicator_id();
4033 _internal_set_indicator_id(value);
4034 _impl_._has_bits_[0] |= 0x00000004u;
4037inline ::int64_t IndicatorConstraintProto::_internal_indicator_id()
const {
4038 ::google::protobuf::internal::TSanRead(&_impl_);
4039 return _impl_.indicator_id_;
4041inline void IndicatorConstraintProto::_internal_set_indicator_id(::int64_t value) {
4042 ::google::protobuf::internal::TSanWrite(&_impl_);
4048 ::google::protobuf::internal::TSanWrite(&
_impl_);
4049 _impl_.activate_on_zero_ =
false;
4050 _impl_._has_bits_[0] &= ~0x00000020u;
4054 return _internal_activate_on_zero();
4057 _internal_set_activate_on_zero(value);
4058 _impl_._has_bits_[0] |= 0x00000020u;
4061inline bool IndicatorConstraintProto::_internal_activate_on_zero()
const {
4062 ::google::protobuf::internal::TSanRead(&_impl_);
4063 return _impl_.activate_on_zero_;
4065inline void IndicatorConstraintProto::_internal_set_activate_on_zero(
bool value) {
4066 ::google::protobuf::internal::TSanWrite(&_impl_);
4067 _impl_.activate_on_zero_ = value;
4072 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
4073 PROTOBUF_ASSUME(!value ||
_impl_.expression_ !=
nullptr);
4076inline const ::operations_research::math_opt::SparseDoubleVectorProto& IndicatorConstraintProto::_internal_expression()
const {
4077 ::google::protobuf::internal::TSanRead(&
_impl_);
4078 const ::operations_research::math_opt::SparseDoubleVectorProto* p =
_impl_.expression_;
4083 return _internal_expression();
4087 ::google::protobuf::internal::TSanWrite(&_impl_);
4088 if (GetArena() ==
nullptr) {
4089 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.expression_);
4092 if (value !=
nullptr) {
4093 _impl_._has_bits_[0] |= 0x00000002u;
4100 ::google::protobuf::internal::TSanWrite(&_impl_);
4102 _impl_._has_bits_[0] &= ~0x00000002u;
4104 _impl_.expression_ =
nullptr;
4105 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4106 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4107 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4108 if (GetArena() ==
nullptr) {
4112 if (GetArena() !=
nullptr) {
4113 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4119 ::google::protobuf::internal::TSanWrite(&_impl_);
4122 _impl_._has_bits_[0] &= ~0x00000002u;
4124 _impl_.expression_ =
nullptr;
4127inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_expression() {
4128 ::google::protobuf::internal::TSanWrite(&_impl_);
4129 if (_impl_.expression_ ==
nullptr) {
4130 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
4133 return _impl_.expression_;
4136 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4137 _impl_._has_bits_[0] |= 0x00000002u;
4143 ::google::protobuf::Arena* message_arena = GetArena();
4144 ::google::protobuf::internal::TSanWrite(&
_impl_);
4145 if (message_arena ==
nullptr) {
4146 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.expression_);
4149 if (value !=
nullptr) {
4150 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
4151 if (message_arena != submessage_arena) {
4152 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4154 _impl_._has_bits_[0] |= 0x00000002u;
4156 _impl_._has_bits_[0] &= ~0x00000002u;
4165 ::google::protobuf::internal::TSanWrite(&_impl_);
4167 _impl_._has_bits_[0] &= ~0x00000008u;
4171 return _internal_lower_bound();
4174 _internal_set_lower_bound(value);
4175 _impl_._has_bits_[0] |= 0x00000008u;
4178inline double IndicatorConstraintProto::_internal_lower_bound()
const {
4179 ::google::protobuf::internal::TSanRead(&_impl_);
4180 return _impl_.lower_bound_;
4182inline void IndicatorConstraintProto::_internal_set_lower_bound(
double value) {
4183 ::google::protobuf::internal::TSanWrite(&_impl_);
4184 _impl_.lower_bound_ = value;
4189 ::google::protobuf::internal::TSanWrite(&
_impl_);
4191 _impl_._has_bits_[0] &= ~0x00000010u;
4195 return _internal_upper_bound();
4198 _internal_set_upper_bound(value);
4199 _impl_._has_bits_[0] |= 0x00000010u;
4202inline double IndicatorConstraintProto::_internal_upper_bound()
const {
4203 ::google::protobuf::internal::TSanRead(&_impl_);
4204 return _impl_.upper_bound_;
4206inline void IndicatorConstraintProto::_internal_set_upper_bound(
double value) {
4207 ::google::protobuf::internal::TSanWrite(&_impl_);
4208 _impl_.upper_bound_ = value;
4213 ::google::protobuf::internal::TSanWrite(&
_impl_);
4214 _impl_.name_.ClearToEmpty();
4215 _impl_._has_bits_[0] &= ~0x00000001u;
4218 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4220 return _internal_name();
4222template <
typename Arg_,
typename... Args_>
4224 ::google::protobuf::internal::TSanWrite(&_impl_);
4225 _impl_._has_bits_[0] |= 0x00000001u;
4226 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
4230 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4231 ::std::string* _s = _internal_mutable_name();
4235inline const ::std::string& IndicatorConstraintProto::_internal_name()
const {
4236 ::google::protobuf::internal::TSanRead(&
_impl_);
4237 return _impl_.name_.Get();
4239inline void IndicatorConstraintProto::_internal_set_name(const ::std::string& value) {
4240 ::google::protobuf::internal::TSanWrite(&_impl_);
4242 _impl_.name_.Set(value, GetArena());
4244inline ::std::string* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_name() {
4245 ::google::protobuf::internal::TSanWrite(&_impl_);
4246 _impl_._has_bits_[0] |= 0x00000001u;
4250 ::google::protobuf::internal::TSanWrite(&_impl_);
4252 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
4255 _impl_._has_bits_[0] &= ~0x00000001u;
4256 auto* released = _impl_.name_.Release();
4257 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4258 _impl_.name_.Set(
"", GetArena());
4263 ::google::protobuf::internal::TSanWrite(&_impl_);
4264 if (value !=
nullptr) {
4265 _impl_._has_bits_[0] |= 0x00000001u;
4267 _impl_._has_bits_[0] &= ~0x00000001u;
4269 _impl_.name_.SetAllocated(value, GetArena());
4270 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4271 _impl_.name_.Set(
"", GetArena());
4294 ::google::protobuf::internal::TSanWrite(&
_impl_);
4295 _impl_.name_.ClearToEmpty();
4296 _impl_._has_bits_[0] &= ~0x00000001u;
4299 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4301 return _internal_name();
4303template <
typename Arg_,
typename... Args_>
4305 ::google::protobuf::internal::TSanWrite(&_impl_);
4306 _impl_._has_bits_[0] |= 0x00000001u;
4307 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
4311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4312 ::std::string* _s = _internal_mutable_name();
4316inline const ::std::string& ModelProto::_internal_name()
const {
4317 ::google::protobuf::internal::TSanRead(&_impl_);
4318 return _impl_.name_.Get();
4320inline void ModelProto::_internal_set_name(const ::std::string& value) {
4321 ::google::protobuf::internal::TSanWrite(&_impl_);
4322 _impl_._has_bits_[0] |= 0x00000001u;
4323 _impl_.name_.Set(value, GetArena());
4325inline ::std::string* PROTOBUF_NONNULL ModelProto::_internal_mutable_name() {
4326 ::google::protobuf::internal::TSanWrite(&_impl_);
4327 _impl_._has_bits_[0] |= 0x00000001u;
4328 return _impl_.name_.Mutable( GetArena());
4331 ::google::protobuf::internal::TSanWrite(&_impl_);
4333 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
4336 _impl_._has_bits_[0] &= ~0x00000001u;
4337 auto* released = _impl_.name_.Release();
4338 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4339 _impl_.name_.Set(
"", GetArena());
4344 ::google::protobuf::internal::TSanWrite(&_impl_);
4345 if (value !=
nullptr) {
4346 _impl_._has_bits_[0] |= 0x00000001u;
4348 _impl_._has_bits_[0] &= ~0x00000001u;
4350 _impl_.name_.SetAllocated(value, GetArena());
4351 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4352 _impl_.name_.Set(
"", GetArena());
4359 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4360 PROTOBUF_ASSUME(!value || _impl_.variables_ !=
nullptr);
4364 ::google::protobuf::internal::TSanWrite(&_impl_);
4365 if (_impl_.variables_ !=
nullptr) _impl_.variables_->Clear();
4366 _impl_._has_bits_[0] &= ~0x00000002u;
4368inline const ::operations_research::math_opt::VariablesProto& ModelProto::_internal_variables()
const {
4369 ::google::protobuf::internal::TSanRead(&_impl_);
4370 const ::operations_research::math_opt::VariablesProto* p = _impl_.variables_;
4373inline const ::operations_research::math_opt::VariablesProto&
ModelProto::variables() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4375 return _internal_variables();
4379 ::google::protobuf::internal::TSanWrite(&_impl_);
4380 if (GetArena() ==
nullptr) {
4381 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.variables_);
4384 if (value !=
nullptr) {
4385 _impl_._has_bits_[0] |= 0x00000002u;
4387 _impl_._has_bits_[0] &= ~0x00000002u;
4392 ::google::protobuf::internal::TSanWrite(&_impl_);
4396 _impl_.variables_ =
nullptr;
4397 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4398 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4399 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4400 if (GetArena() ==
nullptr) {
4404 if (GetArena() !=
nullptr) {
4405 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4411 ::google::protobuf::internal::TSanWrite(&_impl_);
4414 _impl_._has_bits_[0] &= ~0x00000002u;
4416 _impl_.variables_ =
nullptr;
4419inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_variables() {
4420 ::google::protobuf::internal::TSanWrite(&_impl_);
4421 if (_impl_.variables_ ==
nullptr) {
4422 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariablesProto>(GetArena());
4425 return _impl_.variables_;
4428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4429 _impl_._has_bits_[0] |= 0x00000002u;
4435 ::google::protobuf::Arena* message_arena = GetArena();
4436 ::google::protobuf::internal::TSanWrite(&_impl_);
4437 if (message_arena ==
nullptr) {
4438 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.variables_);
4441 if (value !=
nullptr) {
4442 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4443 if (message_arena != submessage_arena) {
4444 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4446 _impl_._has_bits_[0] |= 0x00000002u;
4448 _impl_._has_bits_[0] &= ~0x00000002u;
4457 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4458 PROTOBUF_ASSUME(!value ||
_impl_.objective_ !=
nullptr);
4462 ::google::protobuf::internal::TSanWrite(&_impl_);
4463 if (_impl_.objective_ !=
nullptr) _impl_.objective_->Clear();
4464 _impl_._has_bits_[0] &= ~0x00000004u;
4466inline const ::operations_research::math_opt::ObjectiveProto& ModelProto::_internal_objective()
const {
4467 ::google::protobuf::internal::TSanRead(&_impl_);
4468 const ::operations_research::math_opt::ObjectiveProto* p = _impl_.objective_;
4471inline const ::operations_research::math_opt::ObjectiveProto&
ModelProto::objective() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4473 return _internal_objective();
4477 ::google::protobuf::internal::TSanWrite(&_impl_);
4478 if (GetArena() ==
nullptr) {
4479 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.objective_);
4481 _impl_.objective_ =
reinterpret_cast<::operations_research::math_opt::ObjectiveProto*
>(value);
4482 if (value !=
nullptr) {
4483 _impl_._has_bits_[0] |= 0x00000004u;
4485 _impl_._has_bits_[0] &= ~0x00000004u;
4490 ::google::protobuf::internal::TSanWrite(&_impl_);
4494 _impl_.objective_ =
nullptr;
4495 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4496 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4497 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4498 if (GetArena() ==
nullptr) {
4502 if (GetArena() !=
nullptr) {
4503 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4509 ::google::protobuf::internal::TSanWrite(&_impl_);
4512 _impl_._has_bits_[0] &= ~0x00000004u;
4514 _impl_.objective_ =
nullptr;
4517inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_objective() {
4518 ::google::protobuf::internal::TSanWrite(&_impl_);
4519 if (_impl_.objective_ ==
nullptr) {
4520 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveProto>(GetArena());
4523 return _impl_.objective_;
4526 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4527 _impl_._has_bits_[0] |= 0x00000004u;
4533 ::google::protobuf::Arena* message_arena = GetArena();
4534 ::google::protobuf::internal::TSanWrite(&_impl_);
4535 if (message_arena ==
nullptr) {
4536 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.objective_);
4539 if (value !=
nullptr) {
4540 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4541 if (message_arena != submessage_arena) {
4542 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4544 _impl_._has_bits_[0] |= 0x00000004u;
4546 _impl_._has_bits_[0] &= ~0x00000004u;
4554inline int ModelProto::_internal_auxiliary_objectives_size()
const {
4555 return _internal_auxiliary_objectives().size();
4558 return _internal_auxiliary_objectives_size();
4561 ::google::protobuf::internal::TSanWrite(&_impl_);
4562 _impl_.auxiliary_objectives_.Clear();
4564inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& ModelProto::_internal_auxiliary_objectives()
const {
4565 ::google::protobuf::internal::TSanRead(&_impl_);
4566 return _impl_.auxiliary_objectives_.GetMap();
4568inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>&
ModelProto::auxiliary_objectives() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4570 return _internal_auxiliary_objectives();
4572inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_auxiliary_objectives() {
4573 ::google::protobuf::internal::TSanWrite(&_impl_);
4574 return _impl_.auxiliary_objectives_.MutableMap();
4577 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4579 return _internal_mutable_auxiliary_objectives();
4584 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4585 PROTOBUF_ASSUME(!value || _impl_.linear_constraints_ !=
nullptr);
4589 ::google::protobuf::internal::TSanWrite(&
_impl_);
4590 if (
_impl_.linear_constraints_ !=
nullptr)
_impl_.linear_constraints_->Clear();
4593inline const ::operations_research::math_opt::LinearConstraintsProto& ModelProto::_internal_linear_constraints()
const {
4594 ::google::protobuf::internal::TSanRead(&_impl_);
4595 const ::operations_research::math_opt::LinearConstraintsProto* p = _impl_.linear_constraints_;
4600 return _internal_linear_constraints();
4604 ::google::protobuf::internal::TSanWrite(&_impl_);
4605 if (GetArena() ==
nullptr) {
4606 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraints_);
4609 if (value !=
nullptr) {
4610 _impl_._has_bits_[0] |= 0x00000008u;
4612 _impl_._has_bits_[0] &= ~0x00000008u;
4617 ::google::protobuf::internal::TSanWrite(&_impl_);
4621 _impl_.linear_constraints_ =
nullptr;
4622 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4623 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4624 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4625 if (GetArena() ==
nullptr) {
4629 if (GetArena() !=
nullptr) {
4630 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4636 ::google::protobuf::internal::TSanWrite(&_impl_);
4639 _impl_._has_bits_[0] &= ~0x00000008u;
4641 _impl_.linear_constraints_ =
nullptr;
4644inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraints() {
4645 ::google::protobuf::internal::TSanWrite(&_impl_);
4646 if (_impl_.linear_constraints_ ==
nullptr) {
4647 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintsProto>(GetArena());
4650 return _impl_.linear_constraints_;
4653 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4654 _impl_._has_bits_[0] |= 0x00000008u;
4660 ::google::protobuf::Arena* message_arena = GetArena();
4661 ::google::protobuf::internal::TSanWrite(&_impl_);
4662 if (message_arena ==
nullptr) {
4663 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraints_);
4666 if (value !=
nullptr) {
4667 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4668 if (message_arena != submessage_arena) {
4669 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4671 _impl_._has_bits_[0] |= 0x00000008u;
4673 _impl_._has_bits_[0] &= ~0x00000008u;
4682 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4683 PROTOBUF_ASSUME(!value ||
_impl_.linear_constraint_matrix_ !=
nullptr);
4686inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelProto::_internal_linear_constraint_matrix()
const {
4687 ::google::protobuf::internal::TSanRead(&_impl_);
4688 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.linear_constraint_matrix_;
4693 return _internal_linear_constraint_matrix();
4697 ::google::protobuf::internal::TSanWrite(&_impl_);
4698 if (GetArena() ==
nullptr) {
4699 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraint_matrix_);
4702 if (value !=
nullptr) {
4703 _impl_._has_bits_[0] |= 0x00000010u;
4705 _impl_._has_bits_[0] &= ~0x00000010u;
4710 ::google::protobuf::internal::TSanWrite(&_impl_);
4714 _impl_.linear_constraint_matrix_ =
nullptr;
4715 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4716 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
4717 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4718 if (GetArena() ==
nullptr) {
4722 if (GetArena() !=
nullptr) {
4723 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4729 ::google::protobuf::internal::TSanWrite(&_impl_);
4732 _impl_._has_bits_[0] &= ~0x00000010u;
4734 _impl_.linear_constraint_matrix_ =
nullptr;
4737inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraint_matrix() {
4738 ::google::protobuf::internal::TSanWrite(&_impl_);
4739 if (_impl_.linear_constraint_matrix_ ==
nullptr) {
4740 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
4743 return _impl_.linear_constraint_matrix_;
4746 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4747 _impl_._has_bits_[0] |= 0x00000010u;
4753 ::google::protobuf::Arena* message_arena = GetArena();
4754 ::google::protobuf::internal::TSanWrite(&_impl_);
4755 if (message_arena ==
nullptr) {
4756 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.linear_constraint_matrix_);
4759 if (value !=
nullptr) {
4760 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
4761 if (message_arena != submessage_arena) {
4762 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4764 _impl_._has_bits_[0] |= 0x00000010u;
4766 _impl_._has_bits_[0] &= ~0x00000010u;
4774inline int ModelProto::_internal_quadratic_constraints_size()
const {
4775 return _internal_quadratic_constraints().size();
4778 return _internal_quadratic_constraints_size();
4781 ::google::protobuf::internal::TSanWrite(&_impl_);
4782 _impl_.quadratic_constraints_.Clear();
4784inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& ModelProto::_internal_quadratic_constraints()
const {
4785 ::google::protobuf::internal::TSanRead(&_impl_);
4786 return _impl_.quadratic_constraints_.GetMap();
4788inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>&
ModelProto::quadratic_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4790 return _internal_quadratic_constraints();
4792inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_quadratic_constraints() {
4793 ::google::protobuf::internal::TSanWrite(&_impl_);
4794 return _impl_.quadratic_constraints_.MutableMap();
4797 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4799 return _internal_mutable_quadratic_constraints();
4803inline int ModelProto::_internal_second_order_cone_constraints_size()
const {
4804 return _internal_second_order_cone_constraints().size();
4807 return _internal_second_order_cone_constraints_size();
4810 ::google::protobuf::internal::TSanWrite(&_impl_);
4811 _impl_.second_order_cone_constraints_.Clear();
4813inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& ModelProto::_internal_second_order_cone_constraints()
const {
4814 ::google::protobuf::internal::TSanRead(&_impl_);
4815 return _impl_.second_order_cone_constraints_.GetMap();
4819 return _internal_second_order_cone_constraints();
4821inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_second_order_cone_constraints() {
4822 ::google::protobuf::internal::TSanWrite(&_impl_);
4823 return _impl_.second_order_cone_constraints_.MutableMap();
4826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4828 return _internal_mutable_second_order_cone_constraints();
4832inline int ModelProto::_internal_sos1_constraints_size()
const {
4833 return _internal_sos1_constraints().size();
4836 return _internal_sos1_constraints_size();
4839 ::google::protobuf::internal::TSanWrite(&_impl_);
4842inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos1_constraints()
const {
4843 ::google::protobuf::internal::TSanRead(&_impl_);
4844 return _impl_.sos1_constraints_.GetMap();
4846inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
ModelProto::sos1_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4848 return _internal_sos1_constraints();
4850inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos1_constraints() {
4851 ::google::protobuf::internal::TSanWrite(&_impl_);
4852 return _impl_.sos1_constraints_.MutableMap();
4855 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4857 return _internal_mutable_sos1_constraints();
4861inline int ModelProto::_internal_sos2_constraints_size()
const {
4862 return _internal_sos2_constraints().size();
4865 return _internal_sos2_constraints_size();
4868 ::google::protobuf::internal::TSanWrite(&_impl_);
4871inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos2_constraints()
const {
4872 ::google::protobuf::internal::TSanRead(&_impl_);
4873 return _impl_.sos2_constraints_.GetMap();
4875inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>&
ModelProto::sos2_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4877 return _internal_sos2_constraints();
4879inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos2_constraints() {
4880 ::google::protobuf::internal::TSanWrite(&_impl_);
4881 return _impl_.sos2_constraints_.MutableMap();
4884 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4886 return _internal_mutable_sos2_constraints();
4890inline int ModelProto::_internal_indicator_constraints_size()
const {
4891 return _internal_indicator_constraints().size();
4894 return _internal_indicator_constraints_size();
4897 ::google::protobuf::internal::TSanWrite(&_impl_);
4900inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& ModelProto::_internal_indicator_constraints()
const {
4901 ::google::protobuf::internal::TSanRead(&_impl_);
4902 return _impl_.indicator_constraints_.GetMap();
4904inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>&
ModelProto::indicator_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4906 return _internal_indicator_constraints();
4908inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_indicator_constraints() {
4909 ::google::protobuf::internal::TSanWrite(&_impl_);
4910 return _impl_.indicator_constraints_.MutableMap();
4913 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4915 return _internal_mutable_indicator_constraints();
4919#pragma GCC diagnostic pop
4929#include "google/protobuf/port_undef.inc"
void set_indicator_id(::int64_t value)
void clear_indicator_id()
void clear_name()
string name = 5;
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
static constexpr auto InternalNewImpl_()
void UnsafeArenaSwap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
void set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
::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
@ kIndicatorIdFieldNumber
@ kActivateOnZeroFieldNumber
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
.operations_research.math_opt.SparseDoubleVectorProto expression = 2;
double upper_bound() const
void clear_upper_bound()
double upper_bound = 4;
double lower_bound() const
static constexpr auto InternalGenerateClassData_()
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
implements Message -------------------------------------------—
::std::string *PROTOBUF_NONNULL mutable_name()
bool activate_on_zero() const
void set_activate_on_zero(bool value)
bool has_indicator_id() const
optional int64 indicator_id = 1;
void clear_activate_on_zero()
bool activate_on_zero = 6;
void clear_lower_bound()
double lower_bound = 3;
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::Arena
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
repeated double lower_bounds = 2;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool IsInitialized() const
int ids_size() const
repeated int64 ids = 1;
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
repeated double upper_bounds = 3;
void clear_lower_bounds()
int names_size() const
repeated string names = 4;
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
map<int64, .operations_research.math_opt.SosConstraintProto> sos1_constraints = 7;
@ kIndicatorConstraintsFieldNumber
@ kSos1ConstraintsFieldNumber
@ kAuxiliaryObjectivesFieldNumber
@ kLinearConstraintMatrixFieldNumber
@ kQuadraticConstraintsFieldNumber
@ kSecondOrderConeConstraintsFieldNumber
@ kLinearConstraintsFieldNumber
@ kSos2ConstraintsFieldNumber
int second_order_cone_constraints_size() const
map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> second_order_cone_constraint...
void clear_linear_constraints()
void clear_name()
string name = 1;
::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
map<int64, .operations_research.math_opt.ObjectiveProto> auxiliary_objectives = 10;
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
implements Message -------------------------------------------—
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
map<int64, .operations_research.math_opt.QuadraticConstraintProto> quadratic_constraints = 6;
bool has_objective() const
.operations_research.math_opt.ObjectiveProto objective = 3;
::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
map<int64, .operations_research.math_opt.IndicatorConstraintProto> indicator_constraints = 9;
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE unsafe_arena_release_variables()
bool has_linear_constraints() const
.operations_research.math_opt.LinearConstraintsProto linear_constraints = 4;
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
.operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix = 5;
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
.operations_research.math_opt.VariablesProto variables = 2;
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
map<int64, .operations_research.math_opt.SosConstraintProto> sos2_constraints = 8;
::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
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
void clear_offset()
double offset = 2;
friend void swap(ObjectiveProto &a, ObjectiveProto &b)
bool has_linear_coefficients() const
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_coefficients()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
::std::string *PROTOBUF_NULLABLE release_name()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_coefficients()
void clear_priority()
int64 priority = 6;
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 clear_name()
string name = 5;
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)
static constexpr auto InternalGenerateClassData_()
void clear_maximize()
bool maximize = 1;
static constexpr auto InternalNewImpl_()
::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()
@ kLinearCoefficientsFieldNumber
@ kQuadraticCoefficientsFieldNumber
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_coefficients()
friend class ::google::protobuf::Arena
ObjectiveProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void MergeFrom(const QuadraticConstraintProto &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
double lower_bound() const
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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
.operations_research.math_opt.SparseDoubleVectorProto linear_terms = 1;
QuadraticConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
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
static constexpr auto InternalGenerateClassData_()
void unsafe_arena_set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void clear_name()
string name = 5;
::size_t ByteSizeLong() const final
void clear_lower_bound()
double lower_bound = 3;
static constexpr auto InternalNewImpl_()
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
@ kLinearTermsFieldNumber
@ kQuadraticTermsFieldNumber
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_terms()
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_terms()
::google::protobuf::Metadata GetMetadata() const
void set_lower_bound(double value)
void clear_upper_bound()
double upper_bound = 4;
::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
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_terms = 2;
void set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
bool IsInitialized() const
friend class ::google::protobuf::Arena
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)
::google::protobuf::Metadata GetMetadata() const
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
implements Message -------------------------------------------—
void clear_name()
string name = 3;
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
repeated .operations_research.math_opt.LinearExpressionProto arguments_to_norm = 2;
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_arguments_to_norm(int index)
@ kArgumentsToNormFieldNumber
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void CopyFrom(const SecondOrderConeConstraintProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
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
static constexpr auto InternalNewImpl_()
static constexpr auto InternalGenerateClassData_()
::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
.operations_research.math_opt.LinearExpressionProto upper_bound = 1;
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)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::Arena
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
repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
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 clear_name()
string name = 3;
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)
int weights_size() const
repeated double weights = 2;
::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)
VariablesProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, VariablesProto &&from) noexcept
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
repeated bool integers = 4;
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
repeated double upper_bounds = 3;
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
repeated double lower_bounds = 2;
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
int ids_size() const
repeated int64 ids = 1;
int names_size() const
repeated string names = 5;
PROTOBUF_CONSTEXPR VariablesProto(::google::protobuf::internal::ConstantInitialized)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto
::absl::string_view GetAnyMessageName()
An object oriented wrapper for quadratic constraints in ModelStorage.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 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_
In SWIG mode, we don't want anything besides these top-level includes.