6#ifndef ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto_2epb_2eh
7#define ortools_2flinear_5fsolver_2flinear_5fsolver_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/generated_enum_reflection.h"
36#include "google/protobuf/unknown_field_set.h"
41#include "google/protobuf/port_def.inc"
43#define PROTOBUF_INTERNAL_EXPORT_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto OR_PROTO_DLL
164internal::EnumTraitsT<::operations_research::MPModelProto_Annotation_TargetType_internal_data_>
165 internal::EnumTraitsImpl::value<::operations_research::MPModelProto_Annotation_TargetType>;
167internal::EnumTraitsT<::operations_research::MPModelRequest_SolverType_internal_data_>
168 internal::EnumTraitsImpl::value<::operations_research::MPModelRequest_SolverType>;
170internal::EnumTraitsT<::operations_research::MPSolverCommonParameters_LPAlgorithmValues_internal_data_>
171 internal::EnumTraitsImpl::value<::operations_research::MPSolverCommonParameters_LPAlgorithmValues>;
173internal::EnumTraitsT<::operations_research::MPSolverResponseStatus_internal_data_>
174 internal::EnumTraitsImpl::value<::operations_research::MPSolverResponseStatus>;
176internal::EnumTraitsT<::operations_research::MPSosConstraint_Type_internal_data_>
177 internal::EnumTraitsImpl::value<::operations_research::MPSosConstraint_Type>;
193 return 0 <= value && value <= 1;
199 static_assert(::std::is_same<T, MPSosConstraint_Type>::value ||
200 ::std::is_integral<T>::value,
201 "Incorrect type passed to Type_Name().");
206 return ::google::protobuf::internal::NameOfDenseEnum<MPSosConstraint_Type_descriptor, 0, 1>(
207 static_cast<int>(value));
226 return 0 <= value && value <= 2;
232 static_assert(::std::is_same<T, MPModelProto_Annotation_TargetType>::value ||
233 ::std::is_integral<T>::value,
234 "Incorrect type passed to TargetType_Name().");
239 return ::google::protobuf::internal::NameOfDenseEnum<MPModelProto_Annotation_TargetType_descriptor, 0, 2>(
240 static_cast<int>(value));
260 return 0 <= value && value <= 3;
266 static_assert(::std::is_same<T, MPSolverCommonParameters_LPAlgorithmValues>::value ||
267 ::std::is_integral<T>::value,
268 "Incorrect type passed to LPAlgorithmValues_Name().");
273 return ::google::protobuf::internal::NameOfDenseEnum<MPSolverCommonParameters_LPAlgorithmValues_descriptor, 0, 3>(
274 static_cast<int>(value));
314 static_assert(::std::is_same<T, MPModelRequest_SolverType>::value ||
315 ::std::is_integral<T>::value,
316 "Incorrect type passed to SolverType_Name().");
353 static_assert(::std::is_same<T, MPSolverResponseStatus>::value ||
354 ::std::is_integral<T>::value,
355 "Incorrect type passed to MPSolverResponseStatus_Name().");
369class OR_PROTO_DLL PartialVariableAssignment final :
public ::google::protobuf::Message
375#if defined(PROTOBUF_CUSTOM_VTABLE)
382 template <
typename =
void>
393 if (
this == &from)
return *
this;
394 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
402 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
403 ABSL_ATTRIBUTE_LIFETIME_BOUND {
404 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
406 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
407 ABSL_ATTRIBUTE_LIFETIME_BOUND {
408 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
411 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
412 return GetDescriptor();
414 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
415 return default_instance().GetMetadata().descriptor;
417 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
418 return default_instance().GetMetadata().reflection;
424 static constexpr int kIndexInFileMessages = 10;
427 if (other ==
this)
return;
428 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
431 ::google::protobuf::internal::GenericSwap(
this, other);
434 void UnsafeArenaSwap(PartialVariableAssignment* PROTOBUF_NONNULL other) {
435 if (other ==
this)
return;
436 ABSL_DCHECK(GetArena() == other->GetArena());
443 return ::google::protobuf::Message::DefaultConstruct<PartialVariableAssignment>(arena);
445 using ::google::protobuf::Message::CopyFrom;
447 using ::google::protobuf::Message::MergeFrom;
451 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
452 const ::google::protobuf::MessageLite& from_msg);
458 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
459 #if defined(PROTOBUF_CUSTOM_VTABLE)
461 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
462 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
463 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
464 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
467 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
468 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
469 ::uint8_t* PROTOBUF_NONNULL target,
470 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
471 return _InternalSerialize(*
this, target, stream);
474 ::size_t ByteSizeLong() const final;
475 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
476 ::uint8_t* PROTOBUF_NONNULL target,
477 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
479 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
482 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
486 template <
typename T>
488 static ::absl::string_view FullMessageName() {
return "operations_research.PartialVariableAssignment"; }
496 *
this = ::std::move(from);
498 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
499 static
void* PROTOBUF_NONNULL PlacementNew_(
500 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
501 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
502 static constexpr auto InternalNewImpl_();
505 static constexpr auto InternalGenerateClassData_();
507 ::
google::protobuf::Metadata GetMetadata() const;
512 kVarIndexFieldNumber = 1,
513 kVarValueFieldNumber = 2,
518 int _internal_var_index_size()
const;
525 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
526 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
529 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
530 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
536 int _internal_var_value_size()
const;
543 const ::google::protobuf::RepeatedField<double>&
var_value()
const;
547 const ::google::protobuf::RepeatedField<double>& _internal_var_value()
const;
548 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_var_value();
554 friend class ::google::protobuf::internal::TcParser;
555 static const ::google::protobuf::internal::TcParseTable<1, 2,
560 friend class ::google::protobuf::MessageLite;
561 friend class ::google::protobuf::Arena;
562 template <
typename T>
563 friend class ::google::protobuf::Arena::InternalHelper;
564 using InternalArenaConstructable_ = void;
565 using DestructorSkippable_ = void;
567 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
568 inline explicit Impl_(
569 ::google::protobuf::internal::InternalVisibility visibility,
570 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
571 inline explicit Impl_(
572 ::google::protobuf::internal::InternalVisibility visibility,
573 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
575 ::google::protobuf::RepeatedField<::int32_t> var_index_;
576 ::google::protobuf::internal::CachedSize _var_index_cached_byte_size_;
577 ::google::protobuf::RepeatedField<double> var_value_;
578 ::google::protobuf::internal::CachedSize _cached_size_;
579 PROTOBUF_TSAN_DECLARE_MEMBER
581 union { Impl_ _impl_; };
582 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
588class OR_PROTO_DLL
OptionalDouble final :
public ::google::protobuf::Message
594#if defined(PROTOBUF_CUSTOM_VTABLE)
595 void operator delete(
OptionalDouble* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
597 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
OptionalDouble));
601 template <
typename =
void>
602 explicit PROTOBUF_CONSTEXPR
OptionalDouble(::google::protobuf::internal::ConstantInitialized);
612 if (
this == &from)
return *
this;
613 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
621 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
622 ABSL_ATTRIBUTE_LIFETIME_BOUND {
623 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
625 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
626 ABSL_ATTRIBUTE_LIFETIME_BOUND {
627 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
630 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
631 return GetDescriptor();
633 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
636 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
643 static constexpr int kIndexInFileMessages = 13;
645 inline void Swap(OptionalDouble* PROTOBUF_NONNULL other) {
646 if (other ==
this)
return;
647 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
650 ::google::protobuf::internal::GenericSwap(
this, other);
653 void UnsafeArenaSwap(OptionalDouble* PROTOBUF_NONNULL other) {
654 if (other ==
this)
return;
655 ABSL_DCHECK(GetArena() == other->GetArena());
661 OptionalDouble* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
662 return ::google::protobuf::Message::DefaultConstruct<OptionalDouble>(arena);
664 using ::google::protobuf::Message::CopyFrom;
666 using ::google::protobuf::Message::MergeFrom;
670 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
671 const ::google::protobuf::MessageLite& from_msg);
677 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
678 #if defined(PROTOBUF_CUSTOM_VTABLE)
680 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
682 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
683 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
687 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
688 ::uint8_t* PROTOBUF_NONNULL target,
689 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
690 return _InternalSerialize(*
this, target, stream);
693 ::size_t ByteSizeLong() const final;
694 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
695 ::uint8_t* PROTOBUF_NONNULL target,
696 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
698 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
701 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
705 template <
typename T>
707 static ::absl::string_view FullMessageName() {
return "operations_research.OptionalDouble"; }
710 explicit OptionalDouble(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
713 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
OptionalDouble&& from) noexcept
715 *
this = ::std::move(from);
717 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
718 static
void* PROTOBUF_NONNULL PlacementNew_(
719 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
720 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
721 static constexpr auto InternalNewImpl_();
724 static constexpr auto InternalGenerateClassData_();
726 ::
google::protobuf::Metadata GetMetadata() const;
731 kValueFieldNumber = 1,
736 double value()
const;
740 double _internal_value()
const;
741 void _internal_set_value(
double value);
747 friend class ::google::protobuf::internal::TcParser;
748 static const ::google::protobuf::internal::TcParseTable<0, 1,
753 friend class ::google::protobuf::MessageLite;
754 friend class ::google::protobuf::Arena;
755 template <
typename T>
756 friend class ::google::protobuf::Arena::InternalHelper;
757 using InternalArenaConstructable_ = void;
758 using DestructorSkippable_ = void;
760 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
761 inline explicit Impl_(
762 ::google::protobuf::internal::InternalVisibility visibility,
763 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
764 inline explicit Impl_(
765 ::google::protobuf::internal::InternalVisibility visibility,
766 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
768 ::google::protobuf::internal::HasBits<1> _has_bits_;
769 ::google::protobuf::internal::CachedSize _cached_size_;
771 PROTOBUF_TSAN_DECLARE_MEMBER
773 union { Impl_ _impl_; };
774 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
780class OR_PROTO_DLL
MPVariableProto final :
public ::google::protobuf::Message
786#if defined(PROTOBUF_CUSTOM_VTABLE)
787 void operator delete(
MPVariableProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
789 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPVariableProto));
793 template <
typename =
void>
794 explicit PROTOBUF_CONSTEXPR
MPVariableProto(::google::protobuf::internal::ConstantInitialized);
797 inline MPVariableProto(MPVariableProto&& from) noexcept
804 if (
this == &from)
return *
this;
805 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
813 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
814 ABSL_ATTRIBUTE_LIFETIME_BOUND {
815 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
818 ABSL_ATTRIBUTE_LIFETIME_BOUND {
819 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
822 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
825 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
828 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
838 if (other ==
this)
return;
839 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
842 ::google::protobuf::internal::GenericSwap(
this, other);
845 void UnsafeArenaSwap(MPVariableProto* PROTOBUF_NONNULL other) {
846 if (other ==
this)
return;
847 ABSL_DCHECK(GetArena() == other->GetArena());
853 MPVariableProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
854 return ::google::protobuf::Message::DefaultConstruct<MPVariableProto>(arena);
856 using ::google::protobuf::Message::CopyFrom;
858 using ::google::protobuf::Message::MergeFrom;
862 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
863 const ::google::protobuf::MessageLite& from_msg);
869 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
870 #if defined(PROTOBUF_CUSTOM_VTABLE)
872 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
874 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
875 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
879 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
880 ::uint8_t* PROTOBUF_NONNULL target,
881 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
882 return _InternalSerialize(*
this, target, stream);
885 ::size_t ByteSizeLong() const final;
886 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
887 ::uint8_t* PROTOBUF_NONNULL target,
888 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
890 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
893 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
897 template <
typename T>
899 static ::absl::string_view FullMessageName() {
return "operations_research.MPVariableProto"; }
902 explicit MPVariableProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
905 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPVariableProto&& from) noexcept
907 *
this = ::std::move(from);
909 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
910 static
void* PROTOBUF_NONNULL PlacementNew_(
911 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
912 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
913 static constexpr auto InternalNewImpl_();
916 static constexpr auto InternalGenerateClassData_();
918 ::
google::protobuf::Metadata GetMetadata() const;
923 kNameFieldNumber = 5,
924 kObjectiveCoefficientFieldNumber = 3,
925 kIsIntegerFieldNumber = 4,
926 kBranchingPriorityFieldNumber = 6,
933 const ::std::string&
name()
const;
934 template <
typename Arg_ = const ::std::string&,
typename... Args_>
935 void set_name(Arg_&& arg, Args_... args);
937 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
941 const ::std::string& _internal_name()
const;
942 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
943 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
953 double _internal_objective_coefficient()
const;
954 void _internal_set_objective_coefficient(
double value);
964 bool _internal_is_integer()
const;
965 void _internal_set_is_integer(
bool value);
975 ::int32_t _internal_branching_priority()
const;
976 void _internal_set_branching_priority(::int32_t value);
986 double _internal_lower_bound()
const;
987 void _internal_set_lower_bound(
double value);
997 double _internal_upper_bound()
const;
998 void _internal_set_upper_bound(
double value);
1004 friend class ::google::protobuf::internal::TcParser;
1005 static const ::google::protobuf::internal::TcParseTable<3, 6,
1010 friend class ::google::protobuf::MessageLite;
1011 friend class ::google::protobuf::Arena;
1012 template <
typename T>
1013 friend class ::google::protobuf::Arena::InternalHelper;
1014 using InternalArenaConstructable_ = void;
1015 using DestructorSkippable_ = void;
1017 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1018 inline explicit Impl_(
1019 ::google::protobuf::internal::InternalVisibility visibility,
1020 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1021 inline explicit Impl_(
1022 ::google::protobuf::internal::InternalVisibility visibility,
1023 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1025 ::google::protobuf::internal::HasBits<1> _has_bits_;
1026 ::google::protobuf::internal::CachedSize _cached_size_;
1027 ::google::protobuf::internal::ArenaStringPtr name_;
1028 double objective_coefficient_;
1030 ::int32_t branching_priority_;
1031 double lower_bound_;
1032 double upper_bound_;
1033 PROTOBUF_TSAN_DECLARE_MEMBER
1035 union { Impl_ _impl_; };
1036 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1042class OR_PROTO_DLL
MPSosConstraint final :
public ::google::protobuf::Message
1048#if defined(PROTOBUF_CUSTOM_VTABLE)
1049 void operator delete(
MPSosConstraint* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1051 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPSosConstraint));
1055 template <
typename =
void>
1056 explicit PROTOBUF_CONSTEXPR
MPSosConstraint(::google::protobuf::internal::ConstantInitialized);
1059 inline MPSosConstraint(MPSosConstraint&& from) noexcept
1060 : MPSosConstraint(
nullptr, ::std::move(from)) {}
1066 if (
this == &from)
return *
this;
1067 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1068 InternalSwap(&from);
1075 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1076 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1077 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1079 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1080 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1081 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1084 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1087 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1088 return default_instance().GetMetadata().descriptor;
1090 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1091 return default_instance().GetMetadata().reflection;
1097 static constexpr int kIndexInFileMessages = 4;
1100 if (other ==
this)
return;
1101 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1102 InternalSwap(other);
1104 ::google::protobuf::internal::GenericSwap(
this, other);
1107 void UnsafeArenaSwap(MPSosConstraint* PROTOBUF_NONNULL other) {
1108 if (other ==
this)
return;
1109 ABSL_DCHECK(GetArena() == other->GetArena());
1110 InternalSwap(other);
1115 MPSosConstraint* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1116 return ::google::protobuf::Message::DefaultConstruct<MPSosConstraint>(arena);
1118 using ::google::protobuf::Message::CopyFrom;
1120 using ::google::protobuf::Message::MergeFrom;
1124 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1125 const ::google::protobuf::MessageLite& from_msg);
1131 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1132 #if defined(PROTOBUF_CUSTOM_VTABLE)
1134 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1136 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1137 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1141 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1142 ::uint8_t* PROTOBUF_NONNULL target,
1143 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1144 return _InternalSerialize(*
this, target, stream);
1147 ::size_t ByteSizeLong() const final;
1148 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1149 ::uint8_t* PROTOBUF_NONNULL target,
1150 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1152 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1155 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1156 static void SharedDtor(MessageLite& self);
1159 template <
typename T>
1161 static ::absl::string_view FullMessageName() {
return "operations_research.MPSosConstraint"; }
1164 explicit MPSosConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1167 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPSosConstraint&& from) noexcept
1169 *
this = ::std::move(from);
1171 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
1173 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1174 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1191 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL
Type_descriptor() {
1194 template <
typename T>
1198 static inline bool Type_Parse(
1199 ::absl::string_view name, Type* PROTOBUF_NONNULL value) {
1212 int _internal_var_index_size()
const;
1219 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
1220 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
1223 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
1224 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
1230 int _internal_weight_size()
const;
1234 double weight(
int index)
const;
1237 const ::google::protobuf::RepeatedField<double>&
weight()
const;
1238 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
mutable_weight();
1241 const ::google::protobuf::RepeatedField<double>& _internal_weight()
const;
1242 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_weight();
1259 friend class ::google::protobuf::internal::TcParser;
1260 static const ::google::protobuf::internal::TcParseTable<2, 3,
1265 friend class ::google::protobuf::MessageLite;
1266 friend class ::google::protobuf::Arena;
1267 template <
typename T>
1268 friend class ::google::protobuf::Arena::InternalHelper;
1269 using InternalArenaConstructable_ = void;
1270 using DestructorSkippable_ = void;
1272 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1273 inline explicit Impl_(
1274 ::google::protobuf::internal::InternalVisibility visibility,
1275 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1276 inline explicit Impl_(
1277 ::google::protobuf::internal::InternalVisibility visibility,
1278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1280 ::google::protobuf::internal::HasBits<1> _has_bits_;
1281 ::google::protobuf::internal::CachedSize _cached_size_;
1282 ::google::protobuf::RepeatedField<::int32_t> var_index_;
1283 ::google::protobuf::RepeatedField<double> weight_;
1285 PROTOBUF_TSAN_DECLARE_MEMBER
1287 union { Impl_ _impl_; };
1288 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1294class OR_PROTO_DLL
MPSolveInfo final :
public ::google::protobuf::Message
1300#if defined(PROTOBUF_CUSTOM_VTABLE)
1301 void operator delete(
MPSolveInfo* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1307 template <
typename =
void>
1308 explicit PROTOBUF_CONSTEXPR
MPSolveInfo(::google::protobuf::internal::ConstantInitialized);
1311 inline MPSolveInfo(MPSolveInfo&& from) noexcept
1312 : MPSolveInfo(
nullptr, ::std::move(from)) {}
1313 inline MPSolveInfo& operator=(
const MPSolveInfo& from) {
1318 if (
this == &from)
return *
this;
1319 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1320 InternalSwap(&from);
1327 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1328 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1329 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1331 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1332 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1333 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1336 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1339 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1340 return default_instance().GetMetadata().descriptor;
1349 static constexpr int kIndexInFileMessages = 20;
1352 if (other ==
this)
return;
1353 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1354 InternalSwap(other);
1356 ::google::protobuf::internal::GenericSwap(
this, other);
1359 void UnsafeArenaSwap(MPSolveInfo* PROTOBUF_NONNULL other) {
1360 if (other ==
this)
return;
1361 ABSL_DCHECK(GetArena() == other->GetArena());
1362 InternalSwap(other);
1367 MPSolveInfo* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1368 return ::google::protobuf::Message::DefaultConstruct<MPSolveInfo>(arena);
1370 using ::google::protobuf::Message::CopyFrom;
1372 using ::google::protobuf::Message::MergeFrom;
1376 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1377 const ::google::protobuf::MessageLite& from_msg);
1383 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1384 #if defined(PROTOBUF_CUSTOM_VTABLE)
1388 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1389 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1393 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1394 ::uint8_t* PROTOBUF_NONNULL target,
1395 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1396 return _InternalSerialize(*
this, target, stream);
1399 ::size_t ByteSizeLong() const final;
1400 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1401 ::uint8_t* PROTOBUF_NONNULL target,
1402 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1404 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1407 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1408 static void SharedDtor(MessageLite& self);
1409 void InternalSwap(MPSolveInfo* PROTOBUF_NONNULL other);
1411 template <
typename T>
1413 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolveInfo"; }
1416 explicit MPSolveInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1419 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPSolveInfo&& from) noexcept
1421 *
this = ::std::move(from);
1423 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1425 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1426 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1441 bool has_solve_wall_time_seconds()
const;
1442 void clear_solve_wall_time_seconds() ;
1447 double _internal_solve_wall_time_seconds()
const;
1448 void _internal_set_solve_wall_time_seconds(
double value);
1458 double _internal_solve_user_time_seconds()
const;
1459 void _internal_set_solve_user_time_seconds(
double value);
1465 friend class ::google::protobuf::internal::TcParser;
1466 static const ::google::protobuf::internal::TcParseTable<1, 2,
1471 friend class ::google::protobuf::MessageLite;
1472 friend class ::google::protobuf::Arena;
1473 template <
typename T>
1474 friend class ::google::protobuf::Arena::InternalHelper;
1475 using InternalArenaConstructable_ = void;
1476 using DestructorSkippable_ = void;
1478 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1479 inline explicit Impl_(
1480 ::google::protobuf::internal::InternalVisibility visibility,
1481 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1482 inline explicit Impl_(
1483 ::google::protobuf::internal::InternalVisibility visibility,
1484 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1486 ::google::protobuf::internal::HasBits<1> _has_bits_;
1487 ::google::protobuf::internal::CachedSize _cached_size_;
1488 double solve_wall_time_seconds_;
1489 double solve_user_time_seconds_;
1490 PROTOBUF_TSAN_DECLARE_MEMBER
1492 union { Impl_ _impl_; };
1493 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1499class OR_PROTO_DLL
MPSolution final :
public ::google::protobuf::Message
1505#if defined(PROTOBUF_CUSTOM_VTABLE)
1506 void operator delete(
MPSolution* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1508 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPSolution));
1512 template <
typename =
void>
1513 explicit PROTOBUF_CONSTEXPR
MPSolution(::google::protobuf::internal::ConstantInitialized);
1516 inline MPSolution(MPSolution&& from) noexcept
1517 : MPSolution(
nullptr, ::std::move(from)) {}
1518 inline MPSolution& operator=(
const MPSolution& from) {
1523 if (
this == &from)
return *
this;
1524 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1525 InternalSwap(&from);
1532 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1533 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1534 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1536 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1537 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1538 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1541 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1542 return GetDescriptor();
1544 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1545 return default_instance().GetMetadata().descriptor;
1547 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1550 static const MPSolution& default_instance() {
1556 inline void Swap(
MPSolution* PROTOBUF_NONNULL other) {
1557 if (other ==
this)
return;
1558 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1559 InternalSwap(other);
1561 ::google::protobuf::internal::GenericSwap(
this, other);
1564 void UnsafeArenaSwap(
MPSolution* PROTOBUF_NONNULL other) {
1565 if (other ==
this)
return;
1566 ABSL_DCHECK(GetArena() == other->GetArena());
1567 InternalSwap(other);
1572 MPSolution* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1573 return ::google::protobuf::Message::DefaultConstruct<MPSolution>(arena);
1575 using ::google::protobuf::Message::CopyFrom;
1577 using ::google::protobuf::Message::MergeFrom;
1578 void MergeFrom(
const MPSolution& from) { MPSolution::MergeImpl(*
this, from); }
1581 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1582 const ::google::protobuf::MessageLite& from_msg);
1588 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1589 #if defined(PROTOBUF_CUSTOM_VTABLE)
1591 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1593 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1594 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1598 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1599 ::uint8_t* PROTOBUF_NONNULL target,
1600 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1601 return _InternalSerialize(*
this, target, stream);
1604 ::size_t ByteSizeLong() const final;
1605 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1606 ::uint8_t* PROTOBUF_NONNULL target,
1607 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1609 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1612 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1613 static void SharedDtor(MessageLite& self);
1614 void InternalSwap(MPSolution* PROTOBUF_NONNULL other);
1616 template <
typename T>
1618 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolution"; }
1621 explicit MPSolution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPSolution&& from) noexcept
1626 *
this = ::std::move(from);
1628 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1629 static
void* PROTOBUF_NONNULL PlacementNew_(
1630 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1631 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
1646 int variable_value_size()
const;
1648 int _internal_variable_value_size()
const;
1655 const ::google::protobuf::RepeatedField<double>&
variable_value()
const;
1659 const ::google::protobuf::RepeatedField<double>& _internal_variable_value()
const;
1660 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_variable_value();
1670 double _internal_objective_value()
const;
1671 void _internal_set_objective_value(
double value);
1677 friend class ::google::protobuf::internal::TcParser;
1678 static const ::google::protobuf::internal::TcParseTable<1, 2,
1683 friend class ::google::protobuf::MessageLite;
1684 friend class ::google::protobuf::Arena;
1685 template <
typename T>
1686 friend class ::google::protobuf::Arena::InternalHelper;
1687 using InternalArenaConstructable_ = void;
1688 using DestructorSkippable_ = void;
1690 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1691 inline explicit Impl_(
1692 ::google::protobuf::internal::InternalVisibility visibility,
1693 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1694 inline explicit Impl_(
1695 ::google::protobuf::internal::InternalVisibility visibility,
1696 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1698 ::google::protobuf::internal::HasBits<1> _has_bits_;
1699 ::google::protobuf::internal::CachedSize _cached_size_;
1700 ::google::protobuf::RepeatedField<double> variable_value_;
1701 double objective_value_;
1702 PROTOBUF_TSAN_DECLARE_MEMBER
1704 union { Impl_ _impl_; };
1705 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1717#if defined(PROTOBUF_CUSTOM_VTABLE)
1724 template <
typename =
void>
1725 explicit PROTOBUF_CONSTEXPR
MPQuadraticObjective(::google::protobuf::internal::ConstantInitialized);
1730 inline MPQuadraticObjective& operator=(
const MPQuadraticObjective& from) {
1735 if (
this == &from)
return *
this;
1736 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1737 InternalSwap(&from);
1744 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1745 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1746 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1748 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1750 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1753 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1759 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1760 return default_instance().GetMetadata().reflection;
1766 static constexpr int kIndexInFileMessages = 9;
1769 if (other ==
this)
return;
1770 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1771 InternalSwap(other);
1773 ::google::protobuf::internal::GenericSwap(
this, other);
1777 if (other ==
this)
return;
1778 ABSL_DCHECK(GetArena() == other->GetArena());
1779 InternalSwap(other);
1785 return ::google::protobuf::Message::DefaultConstruct<MPQuadraticObjective>(arena);
1787 using ::google::protobuf::Message::CopyFrom;
1789 using ::google::protobuf::Message::MergeFrom;
1790 void MergeFrom(
const MPQuadraticObjective& from) { MPQuadraticObjective::MergeImpl(*
this, from); }
1793 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1794 const ::google::protobuf::MessageLite& from_msg);
1800 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1801 #if defined(PROTOBUF_CUSTOM_VTABLE)
1803 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1804 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1805 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1806 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1810 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1811 ::uint8_t* PROTOBUF_NONNULL target,
1812 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1813 return _InternalSerialize(*
this, target, stream);
1816 ::size_t ByteSizeLong() const final;
1817 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1818 ::uint8_t* PROTOBUF_NONNULL target,
1819 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1821 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1824 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1825 static void SharedDtor(MessageLite& self);
1826 void InternalSwap(MPQuadraticObjective* PROTOBUF_NONNULL other);
1828 template <
typename T>
1830 static ::absl::string_view FullMessageName() {
return "operations_research.MPQuadraticObjective"; }
1838 *
this = ::std::move(from);
1840 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1841 static
void* PROTOBUF_NONNULL PlacementNew_(
1842 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1859 int qvar1_index_size()
const;
1861 int _internal_qvar1_index_size()
const;
1868 const ::google::protobuf::RepeatedField<::int32_t>&
qvar1_index()
const;
1872 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar1_index()
const;
1873 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar1_index();
1879 int _internal_qvar2_index_size()
const;
1886 const ::google::protobuf::RepeatedField<::int32_t>&
qvar2_index()
const;
1890 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar2_index()
const;
1891 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar2_index();
1897 int _internal_coefficient_size()
const;
1904 const ::google::protobuf::RepeatedField<double>&
coefficient()
const;
1908 const ::google::protobuf::RepeatedField<double>& _internal_coefficient()
const;
1909 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficient();
1915 friend class ::google::protobuf::internal::TcParser;
1916 static const ::google::protobuf::internal::TcParseTable<2, 3,
1921 friend class ::google::protobuf::MessageLite;
1922 friend class ::google::protobuf::Arena;
1923 template <
typename T>
1924 friend class ::google::protobuf::Arena::InternalHelper;
1925 using InternalArenaConstructable_ = void;
1926 using DestructorSkippable_ = void;
1928 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1929 inline explicit Impl_(
1930 ::google::protobuf::internal::InternalVisibility visibility,
1931 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1932 inline explicit Impl_(
1933 ::google::protobuf::internal::InternalVisibility visibility,
1934 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1936 ::google::protobuf::RepeatedField<::int32_t> qvar1_index_;
1937 ::google::protobuf::RepeatedField<::int32_t> qvar2_index_;
1938 ::google::protobuf::RepeatedField<double> coefficient_;
1939 ::google::protobuf::internal::CachedSize _cached_size_;
1940 PROTOBUF_TSAN_DECLARE_MEMBER
1942 union { Impl_ _impl_; };
1943 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1955#if defined(PROTOBUF_CUSTOM_VTABLE)
1962 template <
typename =
void>
1963 explicit PROTOBUF_CONSTEXPR
MPQuadraticConstraint(::google::protobuf::internal::ConstantInitialized);
1968 inline MPQuadraticConstraint& operator=(
const MPQuadraticConstraint& from) {
1973 if (
this == &from)
return *
this;
1974 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1975 InternalSwap(&from);
1982 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1983 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1984 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1986 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1987 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1988 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1991 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1994 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1997 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1998 return default_instance().GetMetadata().reflection;
2004 static constexpr int kIndexInFileMessages = 5;
2007 if (other ==
this)
return;
2008 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2009 InternalSwap(other);
2011 ::google::protobuf::internal::GenericSwap(
this, other);
2015 if (other ==
this)
return;
2016 ABSL_DCHECK(GetArena() == other->GetArena());
2017 InternalSwap(other);
2022 MPQuadraticConstraint* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2023 return ::google::protobuf::Message::DefaultConstruct<MPQuadraticConstraint>(arena);
2025 using ::google::protobuf::Message::CopyFrom;
2027 using ::google::protobuf::Message::MergeFrom;
2028 void MergeFrom(
const MPQuadraticConstraint& from) { MPQuadraticConstraint::MergeImpl(*
this, from); }
2031 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2032 const ::google::protobuf::MessageLite& from_msg);
2038 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2039 #if defined(PROTOBUF_CUSTOM_VTABLE)
2041 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2042 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2043 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2044 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2048 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2049 ::uint8_t* PROTOBUF_NONNULL target,
2050 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2051 return _InternalSerialize(*
this, target, stream);
2054 ::size_t ByteSizeLong() const final;
2055 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2056 ::uint8_t* PROTOBUF_NONNULL target,
2057 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2059 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2062 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2063 static void SharedDtor(MessageLite& self);
2064 void InternalSwap(MPQuadraticConstraint* PROTOBUF_NONNULL other);
2066 template <
typename T>
2068 static ::absl::string_view FullMessageName() {
return "operations_research.MPQuadraticConstraint"; }
2076 *
this = ::std::move(from);
2078 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2079 static
void* PROTOBUF_NONNULL PlacementNew_(
2080 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2081 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2103 int _internal_var_index_size()
const;
2110 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
2111 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
2114 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
2115 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
2121 int _internal_coefficient_size()
const;
2128 const ::google::protobuf::RepeatedField<double>&
coefficient()
const;
2132 const ::google::protobuf::RepeatedField<double>& _internal_coefficient()
const;
2133 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficient();
2139 int _internal_qvar1_index_size()
const;
2146 const ::google::protobuf::RepeatedField<::int32_t>&
qvar1_index()
const;
2150 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar1_index()
const;
2151 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar1_index();
2157 int _internal_qvar2_index_size()
const;
2164 const ::google::protobuf::RepeatedField<::int32_t>&
qvar2_index()
const;
2168 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar2_index()
const;
2169 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar2_index();
2175 int _internal_qcoefficient_size()
const;
2182 const ::google::protobuf::RepeatedField<double>&
qcoefficient()
const;
2186 const ::google::protobuf::RepeatedField<double>& _internal_qcoefficient()
const;
2187 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_qcoefficient();
2197 double _internal_lower_bound()
const;
2198 void _internal_set_lower_bound(
double value);
2208 double _internal_upper_bound()
const;
2209 void _internal_set_upper_bound(
double value);
2215 friend class ::google::protobuf::internal::TcParser;
2216 static const ::google::protobuf::internal::TcParseTable<3, 7,
2221 friend class ::google::protobuf::MessageLite;
2222 friend class ::google::protobuf::Arena;
2223 template <
typename T>
2224 friend class ::google::protobuf::Arena::InternalHelper;
2225 using InternalArenaConstructable_ = void;
2226 using DestructorSkippable_ = void;
2228 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2229 inline explicit Impl_(
2230 ::google::protobuf::internal::InternalVisibility visibility,
2231 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2232 inline explicit Impl_(
2233 ::google::protobuf::internal::InternalVisibility visibility,
2234 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2236 ::google::protobuf::internal::HasBits<1> _has_bits_;
2237 ::google::protobuf::internal::CachedSize _cached_size_;
2238 ::google::protobuf::RepeatedField<::int32_t> var_index_;
2239 ::google::protobuf::RepeatedField<double> coefficient_;
2240 ::google::protobuf::RepeatedField<::int32_t> qvar1_index_;
2241 ::google::protobuf::RepeatedField<::int32_t> qvar2_index_;
2242 ::google::protobuf::RepeatedField<double> qcoefficient_;
2243 double lower_bound_;
2244 double upper_bound_;
2245 PROTOBUF_TSAN_DECLARE_MEMBER
2247 union { Impl_ _impl_; };
2248 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
2260#if defined(PROTOBUF_CUSTOM_VTABLE)
2267 template <
typename =
void>
2273 inline MPModelProto_Annotation& operator=(
const MPModelProto_Annotation& from) {
2277 inline MPModelProto_Annotation& operator=(MPModelProto_Annotation&& from)
noexcept {
2278 if (
this == &from)
return *
this;
2279 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2280 InternalSwap(&from);
2288 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2289 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2291 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2292 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2293 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2296 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2299 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2300 return default_instance().GetMetadata().descriptor;
2302 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2303 return default_instance().GetMetadata().reflection;
2305 static const MPModelProto_Annotation& default_instance() {
2312 if (other ==
this)
return;
2313 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2314 InternalSwap(other);
2316 ::google::protobuf::internal::GenericSwap(
this, other);
2320 if (other ==
this)
return;
2321 ABSL_DCHECK(GetArena() == other->GetArena());
2322 InternalSwap(other);
2327 MPModelProto_Annotation* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2328 return ::google::protobuf::Message::DefaultConstruct<MPModelProto_Annotation>(arena);
2330 using ::google::protobuf::Message::CopyFrom;
2332 using ::google::protobuf::Message::MergeFrom;
2336 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2337 const ::google::protobuf::MessageLite& from_msg);
2343 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2344 #if defined(PROTOBUF_CUSTOM_VTABLE)
2346 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2348 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2349 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2353 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2354 ::uint8_t* PROTOBUF_NONNULL target,
2355 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2356 return _InternalSerialize(*
this, target, stream);
2359 ::size_t ByteSizeLong() const final;
2360 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2361 ::uint8_t* PROTOBUF_NONNULL target,
2362 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2364 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2367 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2368 static void SharedDtor(MessageLite& self);
2369 void InternalSwap(MPModelProto_Annotation* PROTOBUF_NONNULL other);
2371 template <
typename T>
2373 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelProto.Annotation"; }
2381 *
this = ::std::move(from);
2383 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2384 static
void* PROTOBUF_NONNULL PlacementNew_(
2385 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2386 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2387 static constexpr auto InternalNewImpl_();
2407 template <
typename T>
2425 bool has_target_name()
const;
2426 void clear_target_name() ;
2427 const ::std::string& target_name()
const;
2428 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2435 const ::std::string& _internal_target_name()
const;
2436 PROTOBUF_ALWAYS_INLINE
void _internal_set_target_name(const ::std::string& value);
2437 ::std::string* PROTOBUF_NONNULL _internal_mutable_target_name();
2444 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2451 const ::std::string& _internal_payload_key()
const;
2452 PROTOBUF_ALWAYS_INLINE
void _internal_set_payload_key(const ::std::string& value);
2453 ::std::string* PROTOBUF_NONNULL _internal_mutable_payload_key();
2460 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2467 const ::std::string& _internal_payload_value()
const;
2468 PROTOBUF_ALWAYS_INLINE
void _internal_set_payload_value(const ::std::string& value);
2469 ::std::string* PROTOBUF_NONNULL _internal_mutable_payload_value();
2490 ::int32_t _internal_target_index()
const;
2491 void _internal_set_target_index(::int32_t value);
2497 friend class ::google::protobuf::internal::TcParser;
2498 static const ::google::protobuf::internal::TcParseTable<3, 5,
2503 friend class ::google::protobuf::MessageLite;
2504 friend class ::google::protobuf::Arena;
2505 template <
typename T>
2506 friend class ::google::protobuf::Arena::InternalHelper;
2507 using InternalArenaConstructable_ = void;
2508 using DestructorSkippable_ = void;
2510 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2511 inline explicit Impl_(
2512 ::google::protobuf::internal::InternalVisibility visibility,
2513 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2514 inline explicit Impl_(
2515 ::google::protobuf::internal::InternalVisibility visibility,
2516 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2518 ::google::protobuf::internal::HasBits<1> _has_bits_;
2519 ::google::protobuf::internal::CachedSize _cached_size_;
2520 ::google::protobuf::internal::ArenaStringPtr target_name_;
2521 ::google::protobuf::internal::ArenaStringPtr payload_key_;
2522 ::google::protobuf::internal::ArenaStringPtr payload_value_;
2524 ::int32_t target_index_;
2525 PROTOBUF_TSAN_DECLARE_MEMBER
2527 union { Impl_ _impl_; };
2528 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
2540#if defined(PROTOBUF_CUSTOM_VTABLE)
2541 void operator delete(
MPConstraintProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
2547 template <
typename =
void>
2553 inline MPConstraintProto& operator=(
const MPConstraintProto& from) {
2557 inline MPConstraintProto& operator=(MPConstraintProto&& from)
noexcept {
2558 if (
this == &from)
return *
this;
2559 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2560 InternalSwap(&from);
2567 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2568 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2569 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2571 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2572 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2573 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2576 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2577 return GetDescriptor();
2579 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2580 return default_instance().GetMetadata().descriptor;
2589 static constexpr int kIndexInFileMessages = 1;
2592 if (other ==
this)
return;
2593 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2594 InternalSwap(other);
2596 ::google::protobuf::internal::GenericSwap(
this, other);
2599 void UnsafeArenaSwap(MPConstraintProto* PROTOBUF_NONNULL other) {
2600 if (other ==
this)
return;
2601 ABSL_DCHECK(GetArena() == other->GetArena());
2602 InternalSwap(other);
2607 MPConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2608 return ::google::protobuf::Message::DefaultConstruct<MPConstraintProto>(arena);
2610 using ::google::protobuf::Message::CopyFrom;
2612 using ::google::protobuf::Message::MergeFrom;
2616 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2617 const ::google::protobuf::MessageLite& from_msg);
2623 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2624 #if defined(PROTOBUF_CUSTOM_VTABLE)
2626 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2628 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2629 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2633 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2634 ::uint8_t* PROTOBUF_NONNULL target,
2635 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2636 return _InternalSerialize(*
this, target, stream);
2639 ::size_t ByteSizeLong() const final;
2640 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2641 ::uint8_t* PROTOBUF_NONNULL target,
2642 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2644 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2647 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2648 static void SharedDtor(MessageLite& self);
2649 void InternalSwap(MPConstraintProto* PROTOBUF_NONNULL other);
2651 template <
typename T>
2653 static ::absl::string_view FullMessageName() {
return "operations_research.MPConstraintProto"; }
2659 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPConstraintProto&& from) noexcept
2661 *
this = ::std::move(from);
2663 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2664 static
void* PROTOBUF_NONNULL PlacementNew_(
2665 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2666 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2667 static constexpr auto InternalNewImpl_();
2685 int var_index_size()
const;
2687 int _internal_var_index_size()
const;
2694 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
2695 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
2698 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
2699 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
2705 int _internal_coefficient_size()
const;
2712 const ::google::protobuf::RepeatedField<double>&
coefficient()
const;
2716 const ::google::protobuf::RepeatedField<double>& _internal_coefficient()
const;
2717 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficient();
2723 const ::std::string&
name()
const;
2724 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2725 void set_name(Arg_&& arg, Args_... args);
2727 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
2731 const ::std::string& _internal_name()
const;
2732 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
2733 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2743 bool _internal_is_lazy()
const;
2744 void _internal_set_is_lazy(
bool value);
2754 double _internal_lower_bound()
const;
2755 void _internal_set_lower_bound(
double value);
2765 double _internal_upper_bound()
const;
2766 void _internal_set_upper_bound(
double value);
2772 friend class ::google::protobuf::internal::TcParser;
2773 static const ::google::protobuf::internal::TcParseTable<3, 6,
2778 friend class ::google::protobuf::MessageLite;
2779 friend class ::google::protobuf::Arena;
2780 template <
typename T>
2781 friend class ::google::protobuf::Arena::InternalHelper;
2782 using InternalArenaConstructable_ = void;
2783 using DestructorSkippable_ = void;
2785 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2786 inline explicit Impl_(
2787 ::google::protobuf::internal::InternalVisibility visibility,
2788 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2789 inline explicit Impl_(
2790 ::google::protobuf::internal::InternalVisibility visibility,
2791 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2793 ::google::protobuf::internal::HasBits<1> _has_bits_;
2794 ::google::protobuf::internal::CachedSize _cached_size_;
2795 ::google::protobuf::RepeatedField<::int32_t> var_index_;
2796 ::google::protobuf::internal::CachedSize _var_index_cached_byte_size_;
2797 ::google::protobuf::RepeatedField<double> coefficient_;
2798 ::google::protobuf::internal::ArenaStringPtr name_;
2800 double lower_bound_;
2801 double upper_bound_;
2802 PROTOBUF_TSAN_DECLARE_MEMBER
2804 union { Impl_ _impl_; };
2805 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
2814 inline MPArrayWithConstantConstraint() : MPArrayWithConstantConstraint(nullptr) {}
2817#if defined(PROTOBUF_CUSTOM_VTABLE)
2824 template <
typename =
void>
2830 inline MPArrayWithConstantConstraint& operator=(
const MPArrayWithConstantConstraint& from) {
2834 inline MPArrayWithConstantConstraint& operator=(MPArrayWithConstantConstraint&& from)
noexcept {
2835 if (
this == &from)
return *
this;
2836 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2837 InternalSwap(&from);
2844 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2845 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2846 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2848 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2849 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2850 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2853 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2854 return GetDescriptor();
2859 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2866 static constexpr int kIndexInFileMessages = 8;
2869 if (other ==
this)
return;
2870 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2871 InternalSwap(other);
2873 ::google::protobuf::internal::GenericSwap(
this, other);
2876 void UnsafeArenaSwap(MPArrayWithConstantConstraint* PROTOBUF_NONNULL other) {
2877 if (other ==
this)
return;
2878 ABSL_DCHECK(GetArena() == other->GetArena());
2879 InternalSwap(other);
2885 return ::google::protobuf::Message::DefaultConstruct<MPArrayWithConstantConstraint>(arena);
2887 using ::google::protobuf::Message::CopyFrom;
2889 using ::google::protobuf::Message::MergeFrom;
2893 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2894 const ::google::protobuf::MessageLite& from_msg);
2900 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2901 #if defined(PROTOBUF_CUSTOM_VTABLE)
2903 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2905 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2906 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2910 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2911 ::uint8_t* PROTOBUF_NONNULL target,
2912 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2913 return _InternalSerialize(*
this, target, stream);
2916 ::size_t ByteSizeLong() const final;
2917 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2918 ::uint8_t* PROTOBUF_NONNULL target,
2919 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2921 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2924 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2925 static void SharedDtor(MessageLite& self);
2926 void InternalSwap(MPArrayWithConstantConstraint* PROTOBUF_NONNULL other);
2928 template <
typename T>
2930 static ::absl::string_view FullMessageName() {
return "operations_research.MPArrayWithConstantConstraint"; }
2938 *
this = ::std::move(from);
2940 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2941 static
void* PROTOBUF_NONNULL PlacementNew_(
2942 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2943 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2944 static constexpr auto InternalNewImpl_();
2959 int var_index_size()
const;
2961 int _internal_var_index_size()
const;
2964 void clear_var_index() ;
2965 ::int32_t var_index(
int index)
const;
2968 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
2969 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
2972 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
2973 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
2983 double _internal_constant()
const;
2984 void _internal_set_constant(
double value);
2994 ::int32_t _internal_resultant_var_index()
const;
2995 void _internal_set_resultant_var_index(::int32_t value);
3001 friend class ::google::protobuf::internal::TcParser;
3002 static const ::google::protobuf::internal::TcParseTable<2, 3,
3007 friend class ::google::protobuf::MessageLite;
3008 friend class ::google::protobuf::Arena;
3009 template <
typename T>
3010 friend class ::google::protobuf::Arena::InternalHelper;
3011 using InternalArenaConstructable_ = void;
3012 using DestructorSkippable_ = void;
3014 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3015 inline explicit Impl_(
3016 ::google::protobuf::internal::InternalVisibility visibility,
3017 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3018 inline explicit Impl_(
3019 ::google::protobuf::internal::InternalVisibility visibility,
3020 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3022 ::google::protobuf::internal::HasBits<1> _has_bits_;
3023 ::google::protobuf::internal::CachedSize _cached_size_;
3024 ::google::protobuf::RepeatedField<::int32_t> var_index_;
3026 ::int32_t resultant_var_index_;
3027 PROTOBUF_TSAN_DECLARE_MEMBER
3029 union { Impl_ _impl_; };
3030 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3039 inline MPArrayConstraint() : MPArrayConstraint(nullptr) {}
3040 ~MPArrayConstraint() PROTOBUF_FINAL;
3042#if defined(PROTOBUF_CUSTOM_VTABLE)
3043 void operator delete(
MPArrayConstraint* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
3049 template <
typename =
void>
3050 explicit PROTOBUF_CONSTEXPR
MPArrayConstraint(::google::protobuf::internal::ConstantInitialized);
3055 inline MPArrayConstraint& operator=(
const MPArrayConstraint& from) {
3059 inline MPArrayConstraint& operator=(MPArrayConstraint&& from)
noexcept {
3060 if (
this == &from)
return *
this;
3061 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3062 InternalSwap(&from);
3069 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
3070 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3071 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3073 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3074 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3075 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3078 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3079 return GetDescriptor();
3081 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3084 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3085 return default_instance().GetMetadata().reflection;
3094 if (other ==
this)
return;
3095 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3096 InternalSwap(other);
3098 ::google::protobuf::internal::GenericSwap(
this, other);
3102 if (other ==
this)
return;
3103 ABSL_DCHECK(GetArena() == other->GetArena());
3104 InternalSwap(other);
3109 MPArrayConstraint* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
3110 return ::google::protobuf::Message::DefaultConstruct<MPArrayConstraint>(arena);
3112 using ::google::protobuf::Message::CopyFrom;
3114 using ::google::protobuf::Message::MergeFrom;
3118 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3119 const ::google::protobuf::MessageLite& from_msg);
3125 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3126 #if defined(PROTOBUF_CUSTOM_VTABLE)
3130 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3131 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3136 ::uint8_t* PROTOBUF_NONNULL target,
3137 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3141 ::size_t ByteSizeLong() const final;
3142 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3143 ::uint8_t* PROTOBUF_NONNULL target,
3144 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3146 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3149 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3150 static void SharedDtor(MessageLite& self);
3151 void InternalSwap(MPArrayConstraint* PROTOBUF_NONNULL other);
3153 template <
typename T>
3155 static ::absl::string_view FullMessageName() {
return "operations_research.MPArrayConstraint"; }
3158 explicit MPArrayConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3161 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPArrayConstraint&& from) noexcept
3163 *
this = ::std::move(from);
3165 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3166 static
void* PROTOBUF_NONNULL PlacementNew_(
3167 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3168 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3169 static constexpr auto InternalNewImpl_();
3172 static constexpr auto InternalGenerateClassData_();
3183 int var_index_size()
const;
3185 int _internal_var_index_size()
const;
3188 void clear_var_index() ;
3189 ::int32_t var_index(
int index)
const;
3190 void set_var_index(
int index, ::int32_t value);
3191 void add_var_index(::int32_t value);
3192 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
3196 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
3197 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
3207 ::int32_t _internal_resultant_var_index()
const;
3208 void _internal_set_resultant_var_index(::int32_t value);
3214 friend class ::google::protobuf::internal::TcParser;
3215 static const ::google::protobuf::internal::TcParseTable<1, 2,
3220 friend class ::google::protobuf::MessageLite;
3221 friend class ::google::protobuf::Arena;
3222 template <
typename T>
3223 friend class ::google::protobuf::Arena::InternalHelper;
3224 using InternalArenaConstructable_ = void;
3225 using DestructorSkippable_ = void;
3227 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3228 inline explicit Impl_(
3229 ::google::protobuf::internal::InternalVisibility visibility,
3230 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3231 inline explicit Impl_(
3232 ::google::protobuf::internal::InternalVisibility visibility,
3233 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3235 ::google::protobuf::internal::HasBits<1> _has_bits_;
3236 ::google::protobuf::internal::CachedSize _cached_size_;
3237 ::google::protobuf::RepeatedField<::int32_t> var_index_;
3238 ::int32_t resultant_var_index_;
3239 PROTOBUF_TSAN_DECLARE_MEMBER
3241 union { Impl_ _impl_; };
3242 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3248class OR_PROTO_DLL
MPAbsConstraint final :
public ::google::protobuf::Message
3251 inline MPAbsConstraint() : MPAbsConstraint(nullptr) {}
3252 ~MPAbsConstraint() PROTOBUF_FINAL;
3254#if defined(PROTOBUF_CUSTOM_VTABLE)
3257 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPAbsConstraint));
3261 template <
typename =
void>
3262 explicit PROTOBUF_CONSTEXPR
MPAbsConstraint(::google::protobuf::internal::ConstantInitialized);
3271 inline MPAbsConstraint& operator=(MPAbsConstraint&& from)
noexcept {
3272 if (
this == &from)
return *
this;
3273 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3274 InternalSwap(&from);
3282 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3283 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3286 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3287 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3290 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3291 return GetDescriptor();
3293 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3294 return default_instance().GetMetadata().descriptor;
3296 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3297 return default_instance().GetMetadata().reflection;
3303 static constexpr int kIndexInFileMessages = 6;
3306 if (other ==
this)
return;
3307 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3308 InternalSwap(other);
3310 ::google::protobuf::internal::GenericSwap(
this, other);
3314 if (other ==
this)
return;
3315 ABSL_DCHECK(GetArena() == other->GetArena());
3316 InternalSwap(other);
3321 MPAbsConstraint* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
3322 return ::google::protobuf::Message::DefaultConstruct<MPAbsConstraint>(arena);
3324 using ::google::protobuf::Message::CopyFrom;
3326 using ::google::protobuf::Message::MergeFrom;
3330 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3331 const ::google::protobuf::MessageLite& from_msg);
3334 bool IsInitialized()
const {
3337 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3338 #if defined(PROTOBUF_CUSTOM_VTABLE)
3340 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3342 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3343 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3347 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3348 ::uint8_t* PROTOBUF_NONNULL target,
3349 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3353 ::size_t ByteSizeLong() const final;
3354 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3355 ::uint8_t* PROTOBUF_NONNULL target,
3356 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3358 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3361 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3362 static void SharedDtor(MessageLite& self);
3363 void InternalSwap(MPAbsConstraint* PROTOBUF_NONNULL other);
3365 template <
typename T>
3367 static ::absl::string_view FullMessageName() {
return "operations_research.MPAbsConstraint"; }
3370 explicit MPAbsConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3371 MPAbsConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPAbsConstraint& from);
3373 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPAbsConstraint&& from) noexcept
3375 *
this = ::std::move(from);
3377 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3378 static
void* PROTOBUF_NONNULL PlacementNew_(
3379 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3380 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3381 static constexpr auto InternalNewImpl_();
3384 static constexpr auto InternalGenerateClassData_();
3395 bool has_var_index()
const;
3396 void clear_var_index() ;
3397 ::int32_t var_index()
const;
3398 void set_var_index(::int32_t value);
3401 ::int32_t _internal_var_index()
const;
3402 void _internal_set_var_index(::int32_t value);
3412 ::int32_t _internal_resultant_var_index()
const;
3413 void _internal_set_resultant_var_index(::int32_t value);
3419 friend class ::google::protobuf::internal::TcParser;
3420 static const ::google::protobuf::internal::TcParseTable<1, 2,
3425 friend class ::google::protobuf::MessageLite;
3426 friend class ::google::protobuf::Arena;
3427 template <
typename T>
3428 friend class ::google::protobuf::Arena::InternalHelper;
3429 using InternalArenaConstructable_ = void;
3430 using DestructorSkippable_ = void;
3432 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3433 inline explicit Impl_(
3434 ::google::protobuf::internal::InternalVisibility visibility,
3435 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3436 inline explicit Impl_(
3437 ::google::protobuf::internal::InternalVisibility visibility,
3438 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3440 ::google::protobuf::internal::HasBits<1> _has_bits_;
3441 ::google::protobuf::internal::CachedSize _cached_size_;
3442 ::int32_t var_index_;
3443 ::int32_t resultant_var_index_;
3444 PROTOBUF_TSAN_DECLARE_MEMBER
3446 union { Impl_ _impl_; };
3447 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3456 inline MPSolverCommonParameters() : MPSolverCommonParameters(nullptr) {}
3457 ~MPSolverCommonParameters() PROTOBUF_FINAL;
3459#if defined(PROTOBUF_CUSTOM_VTABLE)
3466 template <
typename =
void>
3476 inline MPSolverCommonParameters& operator=(MPSolverCommonParameters&& from)
noexcept {
3477 if (
this == &from)
return *
this;
3478 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3479 InternalSwap(&from);
3486 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
3487 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3488 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3490 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3491 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3492 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3495 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3496 return GetDescriptor();
3498 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3499 return default_instance().GetMetadata().descriptor;
3508 static constexpr int kIndexInFileMessages = 14;
3511 if (other ==
this)
return;
3512 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3513 InternalSwap(other);
3515 ::google::protobuf::internal::GenericSwap(
this, other);
3518 void UnsafeArenaSwap(MPSolverCommonParameters* PROTOBUF_NONNULL other) {
3519 if (other ==
this)
return;
3520 ABSL_DCHECK(GetArena() == other->GetArena());
3521 InternalSwap(other);
3527 return ::google::protobuf::Message::DefaultConstruct<MPSolverCommonParameters>(arena);
3529 using ::google::protobuf::Message::CopyFrom;
3531 using ::google::protobuf::Message::MergeFrom;
3535 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3536 const ::google::protobuf::MessageLite& from_msg);
3542 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3543 #if defined(PROTOBUF_CUSTOM_VTABLE)
3545 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3546 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3547 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3548 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3552 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3553 ::uint8_t* PROTOBUF_NONNULL target,
3554 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3558 ::size_t ByteSizeLong() const final;
3559 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3560 ::uint8_t* PROTOBUF_NONNULL target,
3561 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3563 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3566 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3567 static void SharedDtor(MessageLite& self);
3568 void InternalSwap(MPSolverCommonParameters* PROTOBUF_NONNULL other);
3570 template <
typename T>
3572 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolverCommonParameters"; }
3575 explicit MPSolverCommonParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3576 MPSolverCommonParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPSolverCommonParameters& from);
3577 MPSolverCommonParameters(
3580 *
this = ::std::move(from);
3582 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3583 static
void* PROTOBUF_NONNULL PlacementNew_(
3584 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3585 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3586 static constexpr auto InternalNewImpl_();
3589 static constexpr auto InternalGenerateClassData_();
3591 ::
google::protobuf::Metadata GetMetadata() const;
3604 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LPAlgorithmValues_descriptor() {
3607 template <
typename T>
3636 const ::operations_research::OptionalDouble& _internal_relative_mip_gap()
const;
3651 const ::operations_research::OptionalDouble& _internal_primal_tolerance()
const;
3658 const ::operations_research::OptionalDouble&
dual_tolerance()
const;
3666 const ::operations_research::OptionalDouble& _internal_dual_tolerance()
const;
3706 friend class ::google::protobuf::internal::TcParser;
3707 static const ::google::protobuf::internal::TcParseTable<3, 6,
3712 friend class ::google::protobuf::MessageLite;
3713 friend class ::google::protobuf::Arena;
3714 template <
typename T>
3715 friend class ::google::protobuf::Arena::InternalHelper;
3716 using InternalArenaConstructable_ = void;
3717 using DestructorSkippable_ = void;
3719 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3720 inline explicit Impl_(
3721 ::google::protobuf::internal::InternalVisibility visibility,
3722 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3723 inline explicit Impl_(
3724 ::google::protobuf::internal::InternalVisibility visibility,
3725 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3727 ::google::protobuf::internal::HasBits<1> _has_bits_;
3728 ::google::protobuf::internal::CachedSize _cached_size_;
3735 PROTOBUF_TSAN_DECLARE_MEMBER
3737 union { Impl_ _impl_; };
3738 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3747 inline MPSolutionResponse() : MPSolutionResponse(nullptr) {}
3748 ~MPSolutionResponse() PROTOBUF_FINAL;
3750#if defined(PROTOBUF_CUSTOM_VTABLE)
3751 void operator delete(MPSolutionResponse* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
3757 template <
typename =
void>
3758 explicit PROTOBUF_CONSTEXPR
MPSolutionResponse(::google::protobuf::internal::ConstantInitialized);
3768 if (
this == &from)
return *
this;
3769 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3770 InternalSwap(&from);
3778 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3779 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3781 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3782 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3783 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3786 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3787 return GetDescriptor();
3789 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3790 return default_instance().GetMetadata().descriptor;
3792 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3799 static constexpr int kIndexInFileMessages = 21;
3801 inline void Swap(MPSolutionResponse* PROTOBUF_NONNULL other) {
3802 if (other ==
this)
return;
3803 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3804 InternalSwap(other);
3806 ::google::protobuf::internal::GenericSwap(
this, other);
3810 if (other ==
this)
return;
3811 ABSL_DCHECK(GetArena() == other->GetArena());
3812 InternalSwap(other);
3818 return ::google::protobuf::Message::DefaultConstruct<MPSolutionResponse>(arena);
3820 using ::google::protobuf::Message::CopyFrom;
3822 using ::google::protobuf::Message::MergeFrom;
3823 void MergeFrom(
const MPSolutionResponse& from) { MPSolutionResponse::MergeImpl(*
this, from); }
3826 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3827 const ::google::protobuf::MessageLite& from_msg);
3833 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3834 #if defined(PROTOBUF_CUSTOM_VTABLE)
3836 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3838 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3839 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3843 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3844 ::uint8_t* PROTOBUF_NONNULL target,
3845 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3849 ::size_t ByteSizeLong() const final;
3850 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3851 ::uint8_t* PROTOBUF_NONNULL target,
3852 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3854 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3857 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3858 static void SharedDtor(MessageLite& self);
3859 void InternalSwap(MPSolutionResponse* PROTOBUF_NONNULL other);
3861 template <
typename T>
3863 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolutionResponse"; }
3866 explicit MPSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3867 MPSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPSolutionResponse& from);
3869 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPSolutionResponse&& from) noexcept
3871 *
this = ::std::move(from);
3873 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3874 static
void* PROTOBUF_NONNULL PlacementNew_(
3875 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3876 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3877 static constexpr auto InternalNewImpl_();
3880 static constexpr auto InternalGenerateClassData_();
3882 ::
google::protobuf::Metadata GetMetadata() const;
3899 int variable_value_size()
const;
3901 int _internal_variable_value_size()
const;
3912 const ::google::protobuf::RepeatedField<double>& _internal_variable_value()
const;
3913 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_variable_value();
3919 int _internal_dual_value_size()
const;
3926 const ::google::protobuf::RepeatedField<double>&
dual_value()
const;
3930 const ::google::protobuf::RepeatedField<double>& _internal_dual_value()
const;
3931 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_dual_value();
3937 int _internal_reduced_cost_size()
const;
3944 const ::google::protobuf::RepeatedField<double>&
reduced_cost()
const;
3948 const ::google::protobuf::RepeatedField<double>& _internal_reduced_cost()
const;
3949 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_reduced_cost();
3955 int _internal_additional_solutions_size()
const;
3963 const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>& _internal_additional_solutions()
const;
3964 ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>* PROTOBUF_NONNULL _internal_mutable_additional_solutions();
3968 const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>&
additional_solutions()
const;
3973 template <
typename Arg_ = const ::std::string&,
typename... Args_>
3980 const ::std::string& _internal_status_str()
const;
3981 PROTOBUF_ALWAYS_INLINE
void _internal_set_status_str(const ::std::string& value);
3982 ::std::string* PROTOBUF_NONNULL _internal_mutable_status_str();
3989 template <
typename Arg_ = const ::std::string&,
typename... Args_>
3996 const ::std::string& _internal_solver_specific_info()
const;
3997 PROTOBUF_ALWAYS_INLINE
void _internal_set_solver_specific_info(const ::std::string& value);
3998 ::std::string* PROTOBUF_NONNULL _internal_mutable_solver_specific_info();
4004 const ::operations_research::MPSolveInfo&
solve_info()
const;
4012 const ::operations_research::MPSolveInfo& _internal_solve_info()
const;
4023 double _internal_objective_value()
const;
4024 void _internal_set_objective_value(
double value);
4034 double _internal_best_objective_bound()
const;
4035 void _internal_set_best_objective_bound(
double value);
4052 friend class ::google::protobuf::internal::TcParser;
4053 static const ::google::protobuf::internal::TcParseTable<4, 10,
4058 friend class ::google::protobuf::MessageLite;
4059 friend class ::google::protobuf::Arena;
4060 template <
typename T>
4061 friend class ::google::protobuf::Arena::InternalHelper;
4062 using InternalArenaConstructable_ = void;
4063 using DestructorSkippable_ = void;
4065 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4066 inline explicit Impl_(
4067 ::google::protobuf::internal::InternalVisibility visibility,
4068 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4069 inline explicit Impl_(
4070 ::google::protobuf::internal::InternalVisibility visibility,
4071 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4073 ::google::protobuf::internal::HasBits<1> _has_bits_;
4074 ::google::protobuf::internal::CachedSize _cached_size_;
4075 ::google::protobuf::RepeatedField<double> variable_value_;
4076 ::google::protobuf::RepeatedField<double> dual_value_;
4077 ::google::protobuf::RepeatedField<double> reduced_cost_;
4078 ::google::protobuf::RepeatedPtrField< ::operations_research::MPSolution > additional_solutions_;
4079 ::google::protobuf::internal::ArenaStringPtr status_str_;
4080 ::google::protobuf::internal::ArenaStringPtr solver_specific_info_;
4082 double objective_value_;
4083 double best_objective_bound_;
4085 PROTOBUF_TSAN_DECLARE_MEMBER
4087 union { Impl_ _impl_; };
4088 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4095 :
public ::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message,
4096 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4097 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
4100 ::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message,
4101 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4102 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
4104 template <
typename =
void>
4115 friend class ::google::protobuf::MessageLite;
4116 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4118 friend class ::google::protobuf::internal::TcParser;
4119 static const ::google::protobuf::internal::TcParseTable<1, 2,
4124 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4125 static
void* PROTOBUF_NONNULL PlacementNew_(
4126 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4127 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4128 static constexpr auto InternalNewImpl_();
4139 ::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message,
4140 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4141 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
4143 template <
typename =
void>
4154 friend class ::google::protobuf::MessageLite;
4155 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4157 friend class ::google::protobuf::internal::TcParser;
4158 static const ::google::protobuf::internal::TcParseTable<1, 2,
4163 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4164 static
void* PROTOBUF_NONNULL PlacementNew_(
4165 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4166 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4167 static constexpr auto InternalNewImpl_();
4178#if defined(PROTOBUF_CUSTOM_VTABLE)
4185 template <
typename =
void>
4186 explicit PROTOBUF_CONSTEXPR MPIndicatorConstraint(::google::protobuf::internal::ConstantInitialized);
4188 inline MPIndicatorConstraint(
const MPIndicatorConstraint& from) : MPIndicatorConstraint(nullptr, from) {}
4189 inline MPIndicatorConstraint(MPIndicatorConstraint&& from) noexcept
4190 : MPIndicatorConstraint(
nullptr, ::std::move(from)) {}
4196 if (
this == &from)
return *
this;
4197 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4198 InternalSwap(&from);
4206 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4207 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4209 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
4210 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4211 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4214 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
4217 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
4218 return default_instance().GetMetadata().descriptor;
4220 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
4221 return default_instance().GetMetadata().reflection;
4223 static const MPIndicatorConstraint& default_instance() {
4227 static constexpr int kIndexInFileMessages = 3;
4230 if (other ==
this)
return;
4231 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4232 InternalSwap(other);
4234 ::google::protobuf::internal::GenericSwap(
this, other);
4238 if (other ==
this)
return;
4239 ABSL_DCHECK(GetArena() == other->GetArena());
4240 InternalSwap(other);
4246 return ::google::protobuf::Message::DefaultConstruct<MPIndicatorConstraint>(arena);
4248 using ::google::protobuf::Message::CopyFrom;
4250 using ::google::protobuf::Message::MergeFrom;
4254 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
4255 const ::google::protobuf::MessageLite& from_msg);
4261 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
4262 #if defined(PROTOBUF_CUSTOM_VTABLE)
4266 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
4267 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
4271 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4272 ::uint8_t* PROTOBUF_NONNULL target,
4273 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4274 return _InternalSerialize(*
this, target, stream);
4279 ::uint8_t* PROTOBUF_NONNULL target,
4280 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
4285 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4289 template <
typename T>
4291 static ::absl::string_view FullMessageName() {
return "operations_research.MPIndicatorConstraint"; }
4294 explicit MPIndicatorConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4295 MPIndicatorConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPIndicatorConstraint& from);
4296 MPIndicatorConstraint(
4297 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPIndicatorConstraint&& from) noexcept
4298 : MPIndicatorConstraint(arena) {
4299 *
this = ::std::move(from);
4301 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
GetClassData() const PROTOBUF_FINAL;
4303 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4304 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
4320 bool has_constraint()
const;
4321 void clear_constraint() ;
4322 const ::operations_research::MPConstraintProto& constraint()
const;
4330 const ::operations_research::MPConstraintProto& _internal_constraint()
const;
4341 ::int32_t _internal_var_index()
const;
4342 void _internal_set_var_index(::int32_t value);
4352 ::int32_t _internal_var_value()
const;
4353 void _internal_set_var_value(::int32_t value);
4359 friend class ::google::protobuf::internal::TcParser;
4360 static const ::google::protobuf::internal::TcParseTable<2, 3,
4365 friend class ::google::protobuf::MessageLite;
4366 friend class ::google::protobuf::Arena;
4367 template <
typename T>
4368 friend class ::google::protobuf::Arena::InternalHelper;
4369 using InternalArenaConstructable_ = void;
4370 using DestructorSkippable_ = void;
4372 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4373 inline explicit Impl_(
4374 ::google::protobuf::internal::InternalVisibility visibility,
4375 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4376 inline explicit Impl_(
4377 ::google::protobuf::internal::InternalVisibility visibility,
4378 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4380 ::google::protobuf::internal::HasBits<1> _has_bits_;
4381 ::google::protobuf::internal::CachedSize _cached_size_;
4383 ::int32_t var_index_;
4384 ::int32_t var_value_;
4385 PROTOBUF_TSAN_DECLARE_MEMBER
4388 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4394class OR_PROTO_DLL MPModelDeltaProto final :
public ::google::protobuf::Message
4397 inline MPModelDeltaProto() : MPModelDeltaProto(nullptr) {}
4398 ~MPModelDeltaProto() PROTOBUF_FINAL;
4400#if defined(PROTOBUF_CUSTOM_VTABLE)
4401 void operator delete(MPModelDeltaProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
4403 ::google::protobuf::internal::SizedDelete(msg,
sizeof(MPModelDeltaProto));
4407 template <
typename =
void>
4408 explicit PROTOBUF_CONSTEXPR
MPModelDeltaProto(::google::protobuf::internal::ConstantInitialized);
4413 inline MPModelDeltaProto& operator=(
const MPModelDeltaProto& from) {
4418 if (
this == &from)
return *
this;
4419 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4420 InternalSwap(&from);
4427 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4429 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4432 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4433 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4436 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
4439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
4440 return default_instance().GetMetadata().descriptor;
4442 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
4443 return default_instance().GetMetadata().reflection;
4445 static const MPModelDeltaProto& default_instance() {
4446 return *
reinterpret_cast<const MPModelDeltaProto*
>(
4449 static constexpr int kIndexInFileMessages = 17;
4452 if (other ==
this)
return;
4453 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4454 InternalSwap(other);
4456 ::google::protobuf::internal::GenericSwap(
this, other);
4460 if (other ==
this)
return;
4461 ABSL_DCHECK(GetArena() == other->GetArena());
4462 InternalSwap(other);
4467 MPModelDeltaProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
4468 return ::google::protobuf::Message::DefaultConstruct<MPModelDeltaProto>(arena);
4470 using ::google::protobuf::Message::CopyFrom;
4472 using ::google::protobuf::Message::MergeFrom;
4476 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
4477 const ::google::protobuf::MessageLite& from_msg);
4483 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
4484 #if defined(PROTOBUF_CUSTOM_VTABLE)
4486 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4488 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
4489 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
4494 ::uint8_t* PROTOBUF_NONNULL target,
4495 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4499 ::size_t ByteSizeLong() const final;
4501 ::uint8_t* PROTOBUF_NONNULL target,
4502 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
4507 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4508 static void SharedDtor(MessageLite& self);
4511 template <
typename T>
4513 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelDeltaProto"; }
4516 explicit MPModelDeltaProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4517 MPModelDeltaProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPModelDeltaProto& from);
4519 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPModelDeltaProto&& from) noexcept
4520 : MPModelDeltaProto(arena) {
4521 *
this = ::std::move(from);
4523 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4525 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4526 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
4542 int variable_overrides_size()
const;
4544 int _internal_variable_overrides_size()
const;
4547 void clear_variable_overrides() ;
4548 const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>& variable_overrides()
const;
4549 ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>* PROTOBUF_NONNULL mutable_variable_overrides();
4552 const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>& _internal_variable_overrides()
const;
4553 ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>* PROTOBUF_NONNULL _internal_mutable_variable_overrides();
4559 int _internal_constraint_overrides_size()
const;
4563 const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>&
constraint_overrides()
const;
4567 const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>& _internal_constraint_overrides()
const;
4568 ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>* PROTOBUF_NONNULL _internal_mutable_constraint_overrides();
4575 template <
typename Arg_ = const ::std::string&,
typename... Args_>
4582 const ::std::string& _internal_baseline_model_file_path()
const;
4583 PROTOBUF_ALWAYS_INLINE
void _internal_set_baseline_model_file_path(const ::std::string& value);
4584 ::std::string* PROTOBUF_NONNULL _internal_mutable_baseline_model_file_path();
4590 friend class ::google::protobuf::internal::TcParser;
4591 static const ::google::protobuf::internal::TcParseTable<0, 3,
4596 friend class ::google::protobuf::MessageLite;
4597 friend class ::google::protobuf::Arena;
4598 template <
typename T>
4599 friend class ::google::protobuf::Arena::InternalHelper;
4600 using InternalArenaConstructable_ = void;
4601 using DestructorSkippable_ = void;
4603 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4604 inline explicit Impl_(
4605 ::google::protobuf::internal::InternalVisibility visibility,
4606 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4607 inline explicit Impl_(
4608 ::google::protobuf::internal::InternalVisibility visibility,
4609 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4611 ::google::protobuf::internal::HasBits<1> _has_bits_;
4612 ::google::protobuf::internal::CachedSize _cached_size_;
4614 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4615 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
4616 variable_overrides_;
4618 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4619 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
4620 constraint_overrides_;
4621 ::google::protobuf::internal::ArenaStringPtr baseline_model_file_path_;
4622 PROTOBUF_TSAN_DECLARE_MEMBER
4624 union { Impl_ _impl_; };
4625 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4631class OR_PROTO_DLL MPGeneralConstraintProto final :
public ::google::protobuf::Message
4634 inline MPGeneralConstraintProto() : MPGeneralConstraintProto(nullptr) {}
4635 ~MPGeneralConstraintProto() PROTOBUF_FINAL;
4637#if defined(PROTOBUF_CUSTOM_VTABLE)
4638 void operator delete(MPGeneralConstraintProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
4640 ::google::protobuf::internal::SizedDelete(msg,
sizeof(MPGeneralConstraintProto));
4644 template <
typename =
void>
4650 inline MPGeneralConstraintProto& operator=(
const MPGeneralConstraintProto& from) {
4655 if (
this == &from)
return *
this;
4656 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4657 InternalSwap(&from);
4664 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4665 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4666 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4669 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4670 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4673 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
4674 return GetDescriptor();
4676 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
4677 return default_instance().GetMetadata().descriptor;
4679 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
4680 return default_instance().GetMetadata().reflection;
4682 static const MPGeneralConstraintProto& default_instance() {
4683 return *
reinterpret_cast<const MPGeneralConstraintProto*
>(
4686 enum GeneralConstraintCase {
4687 kIndicatorConstraint = 2,
4700 if (other ==
this)
return;
4701 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4702 InternalSwap(other);
4704 ::google::protobuf::internal::GenericSwap(
this, other);
4708 if (other ==
this)
return;
4709 ABSL_DCHECK(GetArena() == other->GetArena());
4710 InternalSwap(other);
4716 return ::google::protobuf::Message::DefaultConstruct<MPGeneralConstraintProto>(arena);
4718 using ::google::protobuf::Message::CopyFrom;
4720 using ::google::protobuf::Message::MergeFrom;
4724 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
4725 const ::google::protobuf::MessageLite& from_msg);
4731 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
4732 #if defined(PROTOBUF_CUSTOM_VTABLE)
4734 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4735 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4736 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
4737 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
4741 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4742 ::uint8_t* PROTOBUF_NONNULL target,
4743 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4747 ::size_t ByteSizeLong() const final;
4748 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4749 ::uint8_t* PROTOBUF_NONNULL target,
4750 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
4755 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4756 static void SharedDtor(MessageLite& self);
4759 template <
typename T>
4761 static ::absl::string_view FullMessageName() {
return "operations_research.MPGeneralConstraintProto"; }
4764 explicit MPGeneralConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4765 MPGeneralConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPGeneralConstraintProto& from);
4766 MPGeneralConstraintProto(
4767 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPGeneralConstraintProto&& from) noexcept
4768 : MPGeneralConstraintProto(arena) {
4769 *
this = ::std::move(from);
4771 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4772 static
void* PROTOBUF_NONNULL PlacementNew_(
4773 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4774 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
4796 bool has_name()
const;
4798 const ::std::string& name()
const;
4799 template <
typename Arg_ = const ::std::string&,
typename... Args_>
4800 void set_name(Arg_&& arg, Args_... args);
4801 ::std::string* PROTOBUF_NONNULL mutable_name();
4802 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
4803 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
4806 const ::std::string& _internal_name()
const;
4807 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
4808 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
4814 bool _internal_has_indicator_constraint()
const;
4826 const ::operations_research::MPIndicatorConstraint& _internal_indicator_constraint()
const;
4833 bool _internal_has_sos_constraint()
const;
4837 const ::operations_research::MPSosConstraint&
sos_constraint()
const;
4845 const ::operations_research::MPSosConstraint& _internal_sos_constraint()
const;
4852 bool _internal_has_quadratic_constraint()
const;
4864 const ::operations_research::MPQuadraticConstraint& _internal_quadratic_constraint()
const;
4871 bool _internal_has_abs_constraint()
const;
4875 const ::operations_research::MPAbsConstraint&
abs_constraint()
const;
4883 const ::operations_research::MPAbsConstraint& _internal_abs_constraint()
const;
4890 bool _internal_has_and_constraint()
const;
4894 const ::operations_research::MPArrayConstraint&
and_constraint()
const;
4902 const ::operations_research::MPArrayConstraint& _internal_and_constraint()
const;
4909 bool _internal_has_or_constraint()
const;
4913 const ::operations_research::MPArrayConstraint&
or_constraint()
const;
4921 const ::operations_research::MPArrayConstraint& _internal_or_constraint()
const;
4928 bool _internal_has_min_constraint()
const;
4932 const ::operations_research::MPArrayWithConstantConstraint&
min_constraint()
const;
4940 const ::operations_research::MPArrayWithConstantConstraint& _internal_min_constraint()
const;
4947 bool _internal_has_max_constraint()
const;
4951 const ::operations_research::MPArrayWithConstantConstraint&
max_constraint()
const;
4959 const ::operations_research::MPArrayWithConstantConstraint& _internal_max_constraint()
const;
4968 void set_has_indicator_constraint();
4969 void set_has_sos_constraint();
4970 void set_has_quadratic_constraint();
4971 void set_has_abs_constraint();
4972 void set_has_and_constraint();
4973 void set_has_or_constraint();
4974 void set_has_min_constraint();
4975 void set_has_max_constraint();
4976 inline bool has_general_constraint()
const;
4977 inline void clear_has_general_constraint();
4978 friend class ::google::protobuf::internal::TcParser;
4979 static const ::google::protobuf::internal::TcParseTable<0, 9,
4984 friend class ::google::protobuf::MessageLite;
4985 friend class ::google::protobuf::Arena;
4986 template <
typename T>
4987 friend class ::google::protobuf::Arena::InternalHelper;
4988 using InternalArenaConstructable_ = void;
4989 using DestructorSkippable_ = void;
4991 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4992 inline explicit Impl_(
4993 ::google::protobuf::internal::InternalVisibility visibility,
4994 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4995 inline explicit Impl_(
4996 ::google::protobuf::internal::InternalVisibility visibility,
4997 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4999 ::google::protobuf::internal::HasBits<1> _has_bits_;
5000 ::google::protobuf::internal::CachedSize _cached_size_;
5001 ::google::protobuf::internal::ArenaStringPtr name_;
5002 union GeneralConstraintUnion {
5003 constexpr GeneralConstraintUnion() : _constinit_{} {}
5004 ::google::protobuf::internal::ConstantInitialized _constinit_;
5005 ::google::protobuf::Message* PROTOBUF_NULLABLE indicator_constraint_;
5006 ::google::protobuf::Message* PROTOBUF_NULLABLE sos_constraint_;
5007 ::google::protobuf::Message* PROTOBUF_NULLABLE quadratic_constraint_;
5008 ::google::protobuf::Message* PROTOBUF_NULLABLE abs_constraint_;
5009 ::google::protobuf::Message* PROTOBUF_NULLABLE and_constraint_;
5010 ::google::protobuf::Message* PROTOBUF_NULLABLE or_constraint_;
5011 ::google::protobuf::Message* PROTOBUF_NULLABLE min_constraint_;
5012 ::google::protobuf::Message* PROTOBUF_NULLABLE max_constraint_;
5013 } general_constraint_;
5014 ::uint32_t _oneof_case_[1];
5015 PROTOBUF_TSAN_DECLARE_MEMBER
5017 union { Impl_ _impl_; };
5018 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
5030#if defined(PROTOBUF_CUSTOM_VTABLE)
5031 void operator delete(
MPModelProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
5037 template <
typename =
void>
5038 explicit PROTOBUF_CONSTEXPR
MPModelProto(::google::protobuf::internal::ConstantInitialized);
5043 inline MPModelProto& operator=(
const MPModelProto& from) {
5048 if (
this == &from)
return *
this;
5049 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
5050 InternalSwap(&from);
5057 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
5058 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5059 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
5061 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
5062 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5063 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
5066 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
5072 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
5073 return default_instance().GetMetadata().reflection;
5075 static const MPModelProto& default_instance() {
5076 return *
reinterpret_cast<const MPModelProto*
>(
5077 &_MPModelProto_default_instance_);
5081 inline void Swap(
MPModelProto* PROTOBUF_NONNULL other) {
5082 if (other ==
this)
return;
5083 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
5084 InternalSwap(other);
5086 ::google::protobuf::internal::GenericSwap(
this, other);
5089 void UnsafeArenaSwap(
MPModelProto* PROTOBUF_NONNULL other) {
5090 if (other ==
this)
return;
5091 ABSL_DCHECK(GetArena() == other->GetArena());
5092 InternalSwap(other);
5097 MPModelProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
5098 return ::google::protobuf::Message::DefaultConstruct<MPModelProto>(arena);
5100 using ::google::protobuf::Message::CopyFrom;
5102 using ::google::protobuf::Message::MergeFrom;
5106 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
5107 const ::google::protobuf::MessageLite& from_msg);
5110 bool IsInitialized()
const {
5113 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
5114 #if defined(PROTOBUF_CUSTOM_VTABLE)
5116 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
5117 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5118 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
5119 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
5123 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5124 ::uint8_t* PROTOBUF_NONNULL target,
5125 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5129 ::size_t ByteSizeLong() const final;
5130 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5131 ::uint8_t* PROTOBUF_NONNULL target,
5132 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
5137 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5138 static void SharedDtor(MessageLite& self);
5139 void InternalSwap(
MPModelProto* PROTOBUF_NONNULL other);
5141 template <
typename T>
5143 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelProto"; }
5146 explicit MPModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5147 MPModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPModelProto& from);
5149 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPModelProto&& from) noexcept
5150 : MPModelProto(arena) {
5151 *
this = ::std::move(from);
5153 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
5154 static
void* PROTOBUF_NONNULL PlacementNew_(
5155 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5179 int variable_size()
const;
5181 int _internal_variable_size()
const;
5184 void clear_variable() ;
5186 ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>* PROTOBUF_NONNULL
mutable_variable();
5189 const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>& _internal_variable()
const;
5190 ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>* PROTOBUF_NONNULL _internal_mutable_variable();
5192 const ::operations_research::MPVariableProto&
variable(
int index)
const;
5194 const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>&
variable()
const;
5198 int _internal_constraint_size()
const;
5203 ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>* PROTOBUF_NONNULL
mutable_constraint();
5206 const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>& _internal_constraint()
const;
5207 ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>* PROTOBUF_NONNULL _internal_mutable_constraint();
5209 const ::operations_research::MPConstraintProto&
constraint(
int index)
const;
5211 const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>&
constraint()
const;
5215 int _internal_general_constraint_size()
const;
5220 ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>* PROTOBUF_NONNULL
mutable_general_constraint();
5223 const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>& _internal_general_constraint()
const;
5224 ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>* PROTOBUF_NONNULL _internal_mutable_general_constraint();
5226 const ::operations_research::MPGeneralConstraintProto&
general_constraint(
int index)
const;
5228 const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>&
general_constraint()
const;
5232 int _internal_annotation_size()
const;
5237 ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>* PROTOBUF_NONNULL
mutable_annotation();
5240 const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>& _internal_annotation()
const;
5241 ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>* PROTOBUF_NONNULL _internal_mutable_annotation();
5243 const ::operations_research::MPModelProto_Annotation&
annotation(
int index)
const;
5245 const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>&
annotation()
const;
5249 const ::std::string&
name()
const;
5250 template <
typename Arg_ = const ::std::string&,
typename... Args_>
5251 void set_name(Arg_&& arg, Args_... args);
5253 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
5257 const ::std::string& _internal_name()
const;
5258 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
5259 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
5265 const ::operations_research::PartialVariableAssignment&
solution_hint()
const;
5273 const ::operations_research::PartialVariableAssignment& _internal_solution_hint()
const;
5288 const ::operations_research::MPQuadraticObjective& _internal_quadratic_objective()
const;
5299 double _internal_objective_offset()
const;
5300 void _internal_set_objective_offset(
double value);
5310 bool _internal_maximize()
const;
5311 void _internal_set_maximize(
bool value);
5317 friend class ::google::protobuf::internal::TcParser;
5318 static const ::google::protobuf::internal::TcParseTable<4, 9,
5323 friend class ::google::protobuf::MessageLite;
5324 friend class ::google::protobuf::Arena;
5325 template <
typename T>
5326 friend class ::google::protobuf::Arena::InternalHelper;
5327 using InternalArenaConstructable_ = void;
5328 using DestructorSkippable_ = void;
5330 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
5331 inline explicit Impl_(
5332 ::google::protobuf::internal::InternalVisibility visibility,
5333 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5334 inline explicit Impl_(
5335 ::google::protobuf::internal::InternalVisibility visibility,
5336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5338 ::google::protobuf::internal::HasBits<1> _has_bits_;
5339 ::google::protobuf::internal::CachedSize _cached_size_;
5340 ::google::protobuf::RepeatedPtrField< ::operations_research::MPVariableProto > variable_;
5341 ::google::protobuf::RepeatedPtrField< ::operations_research::MPConstraintProto > constraint_;
5342 ::google::protobuf::RepeatedPtrField< ::operations_research::MPGeneralConstraintProto > general_constraint_;
5343 ::google::protobuf::RepeatedPtrField< ::operations_research::MPModelProto_Annotation > annotation_;
5344 ::google::protobuf::internal::ArenaStringPtr name_;
5347 double objective_offset_;
5349 PROTOBUF_TSAN_DECLARE_MEMBER
5351 union { Impl_ _impl_; };
5352 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
5358class OR_PROTO_DLL MPModelRequest final :
public ::google::protobuf::Message
5361 inline MPModelRequest() : MPModelRequest(nullptr) {}
5362 ~MPModelRequest() PROTOBUF_FINAL;
5364#if defined(PROTOBUF_CUSTOM_VTABLE)
5365 void operator delete(MPModelRequest* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
5367 ::google::protobuf::internal::SizedDelete(msg,
sizeof(MPModelRequest));
5371 template <
typename =
void>
5372 explicit PROTOBUF_CONSTEXPR MPModelRequest(::google::protobuf::internal::ConstantInitialized);
5377 inline MPModelRequest& operator=(
const MPModelRequest& from) {
5382 if (
this == &from)
return *
this;
5383 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
5384 InternalSwap(&from);
5391 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
5392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5393 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
5396 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5397 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
5400 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
5403 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
5406 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
5407 return default_instance().GetMetadata().reflection;
5409 static const MPModelRequest& default_instance() {
5410 return *
reinterpret_cast<const MPModelRequest*
>(
5411 &_MPModelRequest_default_instance_);
5413 static constexpr int kIndexInFileMessages = 18;
5416 if (other ==
this)
return;
5417 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
5418 InternalSwap(other);
5420 ::google::protobuf::internal::GenericSwap(
this, other);
5424 if (other ==
this)
return;
5425 ABSL_DCHECK(GetArena() == other->GetArena());
5426 InternalSwap(other);
5431 MPModelRequest* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
5432 return ::google::protobuf::Message::DefaultConstruct<MPModelRequest>(arena);
5434 using ::google::protobuf::Message::CopyFrom;
5436 using ::google::protobuf::Message::MergeFrom;
5440 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
5441 const ::google::protobuf::MessageLite& from_msg);
5447 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
5448 #if defined(PROTOBUF_CUSTOM_VTABLE)
5450 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
5451 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5452 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
5453 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
5457 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5458 ::uint8_t* PROTOBUF_NONNULL target,
5459 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5463 ::size_t ByteSizeLong() const final;
5464 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5465 ::uint8_t* PROTOBUF_NONNULL target,
5466 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
5471 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5472 static void SharedDtor(MessageLite& self);
5475 template <
typename T>
5477 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelRequest"; }
5480 explicit MPModelRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5481 MPModelRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPModelRequest& from);
5483 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPModelRequest&& from) noexcept
5484 : MPModelRequest(arena) {
5485 *
this = ::std::move(from);
5487 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
5488 static
void* PROTOBUF_NONNULL PlacementNew_(
5489 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5490 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5526 template <
typename T>
5550 template <
typename Arg_ = const ::std::string&,
typename... Args_>
5557 const ::std::string& _internal_solver_specific_parameters()
const;
5558 PROTOBUF_ALWAYS_INLINE
void _internal_set_solver_specific_parameters(const ::std::string& value);
5559 ::std::string* PROTOBUF_NONNULL _internal_mutable_solver_specific_parameters();
5565 const ::operations_research::MPModelProto&
model()
const;
5573 const ::operations_research::MPModelProto& _internal_model()
const;
5580 const ::operations_research::MPModelDeltaProto&
model_delta()
const;
5588 const ::operations_research::MPModelDeltaProto& _internal_model_delta()
const;
5599 double _internal_solver_time_limit_seconds()
const;
5600 void _internal_set_solver_time_limit_seconds(
double value);
5610 bool _internal_enable_internal_solver_output()
const;
5611 void _internal_set_enable_internal_solver_output(
bool value);
5621 bool _internal_ignore_solver_specific_parameters_failure()
const;
5622 void _internal_set_ignore_solver_specific_parameters_failure(
bool value);
5632 ::int32_t _internal_populate_additional_solutions_up_to()
const;
5633 void _internal_set_populate_additional_solutions_up_to(::int32_t value);
5650 friend class ::google::protobuf::internal::TcParser;
5651 static const ::google::protobuf::internal::TcParseTable<4, 8,
5656 friend class ::google::protobuf::MessageLite;
5657 friend class ::google::protobuf::Arena;
5658 template <
typename T>
5659 friend class ::google::protobuf::Arena::InternalHelper;
5660 using InternalArenaConstructable_ = void;
5661 using DestructorSkippable_ = void;
5663 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
5664 inline explicit Impl_(
5665 ::google::protobuf::internal::InternalVisibility visibility,
5666 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5667 inline explicit Impl_(
5668 ::google::protobuf::internal::InternalVisibility visibility,
5669 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5671 ::google::protobuf::internal::HasBits<1> _has_bits_;
5672 ::google::protobuf::internal::CachedSize _cached_size_;
5673 ::google::protobuf::internal::ArenaStringPtr solver_specific_parameters_;
5676 double solver_time_limit_seconds_;
5677 bool enable_internal_solver_output_;
5678 bool ignore_solver_specific_parameters_failure_;
5679 ::int32_t populate_additional_solutions_up_to_;
5681 PROTOBUF_TSAN_DECLARE_MEMBER
5683 union { Impl_ _impl_; };
5684 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
5698#pragma GCC diagnostic push
5699#pragma GCC diagnostic ignored "-Wstrict-aliasing"
5707 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
5711 ::google::protobuf::internal::TSanWrite(&_impl_);
5712 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
5713 _impl_._has_bits_[0] &= ~0x00000010u;
5717 return _internal_lower_bound();
5720 _internal_set_lower_bound(value);
5721 _impl_._has_bits_[0] |= 0x00000010u;
5724inline double MPVariableProto::_internal_lower_bound()
const {
5725 ::google::protobuf::internal::TSanRead(&_impl_);
5726 return _impl_.lower_bound_;
5728inline void MPVariableProto::_internal_set_lower_bound(
double value) {
5729 ::google::protobuf::internal::TSanWrite(&_impl_);
5730 _impl_.lower_bound_ = value;
5735 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
5739 ::google::protobuf::internal::TSanWrite(&_impl_);
5740 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
5745 return _internal_upper_bound();
5748 _internal_set_upper_bound(value);
5749 _impl_._has_bits_[0] |= 0x00000020u;
5752inline double MPVariableProto::_internal_upper_bound()
const {
5753 ::google::protobuf::internal::TSanRead(&_impl_);
5754 return _impl_.upper_bound_;
5756inline void MPVariableProto::_internal_set_upper_bound(
double value) {
5757 ::google::protobuf::internal::TSanWrite(&_impl_);
5758 _impl_.upper_bound_ = value;
5763 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
5767 ::google::protobuf::internal::TSanWrite(&_impl_);
5768 _impl_.objective_coefficient_ = 0;
5773 return _internal_objective_coefficient();
5776 _internal_set_objective_coefficient(value);
5777 _impl_._has_bits_[0] |= 0x00000002u;
5780inline double MPVariableProto::_internal_objective_coefficient()
const {
5781 ::google::protobuf::internal::TSanRead(&_impl_);
5782 return _impl_.objective_coefficient_;
5784inline void MPVariableProto::_internal_set_objective_coefficient(
double value) {
5785 ::google::protobuf::internal::TSanWrite(&_impl_);
5786 _impl_.objective_coefficient_ = value;
5791 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
5795 ::google::protobuf::internal::TSanWrite(&_impl_);
5796 _impl_.is_integer_ =
false;
5801 return _internal_is_integer();
5804 _internal_set_is_integer(value);
5805 _impl_._has_bits_[0] |= 0x00000004u;
5808inline bool MPVariableProto::_internal_is_integer()
const {
5809 ::google::protobuf::internal::TSanRead(&_impl_);
5810 return _impl_.is_integer_;
5812inline void MPVariableProto::_internal_set_is_integer(
bool value) {
5813 ::google::protobuf::internal::TSanWrite(&_impl_);
5814 _impl_.is_integer_ = value;
5819 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
5823 ::google::protobuf::internal::TSanWrite(&_impl_);
5824 _impl_.name_.ClearToEmpty();
5828 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5830 return _internal_name();
5832template <
typename Arg_,
typename... Args_>
5834 ::google::protobuf::internal::TSanWrite(&_impl_);
5835 _impl_._has_bits_[0] |= 0x00000001u;
5836 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
5840 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5841 ::std::string* _s = _internal_mutable_name();
5845inline const ::std::string& MPVariableProto::_internal_name()
const {
5846 ::google::protobuf::internal::TSanRead(&_impl_);
5847 return _impl_.name_.Get();
5849inline void MPVariableProto::_internal_set_name(const ::std::string& value) {
5850 ::google::protobuf::internal::TSanWrite(&_impl_);
5851 _impl_._has_bits_[0] |= 0x00000001u;
5852 _impl_.name_.Set(value, GetArena());
5854inline ::std::string* PROTOBUF_NONNULL MPVariableProto::_internal_mutable_name() {
5855 ::google::protobuf::internal::TSanWrite(&_impl_);
5856 _impl_._has_bits_[0] |= 0x00000001u;
5857 return _impl_.name_.Mutable( GetArena());
5860 ::google::protobuf::internal::TSanWrite(&
_impl_);
5862 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
5866 auto* released =
_impl_.name_.Release();
5867 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
5868 _impl_.name_.Set(
"", GetArena());
5873 ::google::protobuf::internal::TSanWrite(&_impl_);
5874 if (value !=
nullptr) {
5875 _impl_._has_bits_[0] |= 0x00000001u;
5877 _impl_._has_bits_[0] &= ~0x00000001u;
5879 _impl_.name_.SetAllocated(value, GetArena());
5880 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
5881 _impl_.name_.Set(
"", GetArena());
5888 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
5892 ::google::protobuf::internal::TSanWrite(&_impl_);
5893 _impl_.branching_priority_ = 0;
5894 _impl_._has_bits_[0] &= ~0x00000008u;
5898 return _internal_branching_priority();
5901 _internal_set_branching_priority(value);
5902 _impl_._has_bits_[0] |= 0x00000008u;
5905inline ::int32_t MPVariableProto::_internal_branching_priority()
const {
5906 ::google::protobuf::internal::TSanRead(&_impl_);
5907 return _impl_.branching_priority_;
5909inline void MPVariableProto::_internal_set_branching_priority(::int32_t value) {
5910 ::google::protobuf::internal::TSanWrite(&_impl_);
5911 _impl_.branching_priority_ = value;
5919inline int MPConstraintProto::_internal_var_index_size()
const {
5920 return _internal_var_index().size();
5923 return _internal_var_index_size();
5926 ::google::protobuf::internal::TSanWrite(&
_impl_);
5927 _impl_.var_index_.Clear();
5931 return _internal_var_index().Get(index);
5934 _internal_mutable_var_index()->Set(index, value);
5938 ::google::protobuf::internal::TSanWrite(&_impl_);
5939 _internal_mutable_var_index()->Add(value);
5943 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5945 return _internal_var_index();
5948 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5950 ::google::protobuf::internal::TSanWrite(&
_impl_);
5951 return _internal_mutable_var_index();
5953inline const ::google::protobuf::RepeatedField<::int32_t>&
5954MPConstraintProto::_internal_var_index()
const {
5955 ::google::protobuf::internal::TSanRead(&_impl_);
5958inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
5959MPConstraintProto::_internal_mutable_var_index() {
5960 ::google::protobuf::internal::TSanRead(&
_impl_);
5961 return &
_impl_.var_index_;
5965inline int MPConstraintProto::_internal_coefficient_size()
const {
5966 return _internal_coefficient().size();
5969 return _internal_coefficient_size();
5972 ::google::protobuf::internal::TSanWrite(&_impl_);
5973 _impl_.coefficient_.Clear();
5977 return _internal_coefficient().Get(index);
5980 _internal_mutable_coefficient()->Set(index, value);
5984 ::google::protobuf::internal::TSanWrite(&_impl_);
5985 _internal_mutable_coefficient()->Add(value);
5989 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5991 return _internal_coefficient();
5994 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5996 ::google::protobuf::internal::TSanWrite(&
_impl_);
5997 return _internal_mutable_coefficient();
5999inline const ::google::protobuf::RepeatedField<double>&
6000MPConstraintProto::_internal_coefficient()
const {
6001 ::google::protobuf::internal::TSanRead(&_impl_);
6004inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
6005MPConstraintProto::_internal_mutable_coefficient() {
6006 ::google::protobuf::internal::TSanRead(&
_impl_);
6007 return &
_impl_.coefficient_;
6012 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
6016 ::google::protobuf::internal::TSanWrite(&
_impl_);
6017 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
6018 _impl_._has_bits_[0] &= ~0x00000004u;
6022 return _internal_lower_bound();
6025 _internal_set_lower_bound(value);
6026 _impl_._has_bits_[0] |= 0x00000004u;
6029inline double MPConstraintProto::_internal_lower_bound()
const {
6030 ::google::protobuf::internal::TSanRead(&_impl_);
6031 return _impl_.lower_bound_;
6033inline void MPConstraintProto::_internal_set_lower_bound(
double value) {
6034 ::google::protobuf::internal::TSanWrite(&_impl_);
6035 _impl_.lower_bound_ = value;
6040 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
6044 ::google::protobuf::internal::TSanWrite(&_impl_);
6045 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
6046 _impl_._has_bits_[0] &= ~0x00000008u;
6050 return _internal_upper_bound();
6053 _internal_set_upper_bound(value);
6054 _impl_._has_bits_[0] |= 0x00000008u;
6057inline double MPConstraintProto::_internal_upper_bound()
const {
6058 ::google::protobuf::internal::TSanRead(&_impl_);
6059 return _impl_.upper_bound_;
6061inline void MPConstraintProto::_internal_set_upper_bound(
double value) {
6062 ::google::protobuf::internal::TSanWrite(&_impl_);
6063 _impl_.upper_bound_ = value;
6068 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
6072 ::google::protobuf::internal::TSanWrite(&_impl_);
6073 _impl_.name_.ClearToEmpty();
6074 _impl_._has_bits_[0] &= ~0x00000001u;
6077 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6079 return _internal_name();
6081template <
typename Arg_,
typename... Args_>
6083 ::google::protobuf::internal::TSanWrite(&_impl_);
6084 _impl_._has_bits_[0] |= 0x00000001u;
6085 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
6089 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6090 ::std::string* _s = _internal_mutable_name();
6094inline const ::std::string& MPConstraintProto::_internal_name()
const {
6095 ::google::protobuf::internal::TSanRead(&
_impl_);
6096 return _impl_.name_.Get();
6098inline void MPConstraintProto::_internal_set_name(const ::std::string& value) {
6099 ::google::protobuf::internal::TSanWrite(&
_impl_);
6100 _impl_._has_bits_[0] |= 0x00000001u;
6101 _impl_.name_.Set(value, GetArena());
6103inline ::std::string* PROTOBUF_NONNULL MPConstraintProto::_internal_mutable_name() {
6104 ::google::protobuf::internal::TSanWrite(&
_impl_);
6105 _impl_._has_bits_[0] |= 0x00000001u;
6106 return _impl_.name_.Mutable( GetArena());
6109 ::google::protobuf::internal::TSanWrite(&
_impl_);
6111 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
6114 _impl_._has_bits_[0] &= ~0x00000001u;
6116 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
6117 _impl_.name_.Set(
"", GetArena());
6122 ::google::protobuf::internal::TSanWrite(&_impl_);
6123 if (value !=
nullptr) {
6124 _impl_._has_bits_[0] |= 0x00000001u;
6126 _impl_._has_bits_[0] &= ~0x00000001u;
6128 _impl_.name_.SetAllocated(value, GetArena());
6129 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
6130 _impl_.name_.Set(
"", GetArena());
6137 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
6141 ::google::protobuf::internal::TSanWrite(&_impl_);
6142 _impl_.is_lazy_ =
false;
6143 _impl_._has_bits_[0] &= ~0x00000002u;
6147 return _internal_is_lazy();
6150 _internal_set_is_lazy(value);
6151 _impl_._has_bits_[0] |= 0x00000002u;
6154inline bool MPConstraintProto::_internal_is_lazy()
const {
6155 ::google::protobuf::internal::TSanRead(&_impl_);
6156 return _impl_.is_lazy_;
6158inline void MPConstraintProto::_internal_set_is_lazy(
bool value) {
6159 ::google::protobuf::internal::TSanWrite(&_impl_);
6160 _impl_.is_lazy_ = value;
6169 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
6173 ::google::protobuf::internal::TSanWrite(&
_impl_);
6174 _impl_.name_.ClearToEmpty();
6175 _impl_._has_bits_[0] &= ~0x00000001u;
6178 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6180 return _internal_name();
6182template <
typename Arg_,
typename... Args_>
6184 ::google::protobuf::internal::TSanWrite(&_impl_);
6185 _impl_._has_bits_[0] |= 0x00000001u;
6186 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
6190 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6191 ::std::string* _s = _internal_mutable_name();
6195inline const ::std::string& MPGeneralConstraintProto::_internal_name()
const {
6196 ::google::protobuf::internal::TSanRead(&
_impl_);
6197 return _impl_.name_.Get();
6199inline void MPGeneralConstraintProto::_internal_set_name(const ::std::string& value) {
6200 ::google::protobuf::internal::TSanWrite(&
_impl_);
6201 _impl_._has_bits_[0] |= 0x00000001u;
6202 _impl_.name_.Set(value, GetArena());
6204inline ::std::string* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_name() {
6205 ::google::protobuf::internal::TSanWrite(&
_impl_);
6206 _impl_._has_bits_[0] |= 0x00000001u;
6207 return _impl_.name_.Mutable( GetArena());
6210 ::google::protobuf::internal::TSanWrite(&_impl_);
6212 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
6215 _impl_._has_bits_[0] &= ~0x00000001u;
6216 auto* released = _impl_.name_.Release();
6217 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
6218 _impl_.name_.Set(
"", GetArena());
6223 ::google::protobuf::internal::TSanWrite(&_impl_);
6224 if (value !=
nullptr) {
6225 _impl_._has_bits_[0] |= 0x00000001u;
6227 _impl_._has_bits_[0] &= ~0x00000001u;
6229 _impl_.name_.SetAllocated(value, GetArena());
6230 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
6231 _impl_.name_.Set(
"", GetArena());
6240inline bool MPGeneralConstraintProto::_internal_has_indicator_constraint()
const {
6241 return general_constraint_case() == kIndicatorConstraint;
6243inline void MPGeneralConstraintProto::set_has_indicator_constraint() {
6244 _impl_._oneof_case_[0] = kIndicatorConstraint;
6247 ::google::protobuf::internal::TSanWrite(&_impl_);
6248 if (general_constraint_case() == kIndicatorConstraint) {
6249 if (GetArena() ==
nullptr) {
6250 delete _impl_.general_constraint_.indicator_constraint_;
6251 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6252 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.indicator_constraint_);
6254 clear_has_general_constraint();
6259 if (general_constraint_case() == kIndicatorConstraint) {
6260 clear_has_general_constraint();
6261 auto* temp =
reinterpret_cast<::operations_research::MPIndicatorConstraint*
>(_impl_.general_constraint_.indicator_constraint_);
6262 if (GetArena() !=
nullptr) {
6263 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6265 _impl_.general_constraint_.indicator_constraint_ =
nullptr;
6271inline const ::operations_research::MPIndicatorConstraint& MPGeneralConstraintProto::_internal_indicator_constraint()
const {
6272 return general_constraint_case() ==
kIndicatorConstraint ? *
reinterpret_cast<::operations_research::MPIndicatorConstraint*
>(_impl_.general_constraint_.indicator_constraint_) : reinterpret_cast<::operations_research::MPIndicatorConstraint&>(::operations_research::
_MPIndicatorConstraint_default_instance_);
6276 return _internal_indicator_constraint();
6280 if (general_constraint_case() == kIndicatorConstraint) {
6281 clear_has_general_constraint();
6283 _impl_.general_constraint_.indicator_constraint_ =
nullptr;
6290 ::operations_research::MPIndicatorConstraint* PROTOBUF_NULLABLE value) {
6294 clear_general_constraint();
6296 set_has_indicator_constraint();
6297 _impl_.general_constraint_.indicator_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6301inline ::operations_research::MPIndicatorConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_indicator_constraint() {
6304 set_has_indicator_constraint();
6305 _impl_.general_constraint_.indicator_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6306 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPIndicatorConstraint>(GetArena()));
6311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6321inline bool MPGeneralConstraintProto::_internal_has_sos_constraint()
const {
6322 return general_constraint_case() == kSosConstraint;
6324inline void MPGeneralConstraintProto::set_has_sos_constraint() {
6325 _impl_._oneof_case_[0] = kSosConstraint;
6328 ::google::protobuf::internal::TSanWrite(&_impl_);
6329 if (general_constraint_case() == kSosConstraint) {
6330 if (GetArena() ==
nullptr) {
6331 delete _impl_.general_constraint_.sos_constraint_;
6332 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6333 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.sos_constraint_);
6335 clear_has_general_constraint();
6341 clear_has_general_constraint();
6343 if (GetArena() !=
nullptr) {
6344 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6346 _impl_.general_constraint_.sos_constraint_ =
nullptr;
6352inline const ::operations_research::MPSosConstraint& MPGeneralConstraintProto::_internal_sos_constraint()
const {
6353 return general_constraint_case() == kSosConstraint ? *
reinterpret_cast<::operations_research::MPSosConstraint*
>(_impl_.general_constraint_.sos_constraint_) : reinterpret_cast<::operations_research::MPSosConstraint&>(::operations_research::
_MPSosConstraint_default_instance_);
6357 return _internal_sos_constraint();
6361 if (general_constraint_case() == kSosConstraint) {
6362 clear_has_general_constraint();
6364 _impl_.general_constraint_.sos_constraint_ =
nullptr;
6371 ::operations_research::MPSosConstraint* PROTOBUF_NULLABLE value) {
6375 clear_general_constraint();
6377 set_has_sos_constraint();
6378 _impl_.general_constraint_.sos_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6382inline ::operations_research::MPSosConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_sos_constraint() {
6385 set_has_sos_constraint();
6386 _impl_.general_constraint_.sos_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6387 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPSosConstraint>(GetArena()));
6392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6402inline bool MPGeneralConstraintProto::_internal_has_quadratic_constraint()
const {
6403 return general_constraint_case() == kQuadraticConstraint;
6405inline void MPGeneralConstraintProto::set_has_quadratic_constraint() {
6406 _impl_._oneof_case_[0] = kQuadraticConstraint;
6409 ::google::protobuf::internal::TSanWrite(&_impl_);
6410 if (general_constraint_case() == kQuadraticConstraint) {
6411 if (GetArena() ==
nullptr) {
6412 delete _impl_.general_constraint_.quadratic_constraint_;
6413 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6414 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.quadratic_constraint_);
6416 clear_has_general_constraint();
6422 clear_has_general_constraint();
6424 if (GetArena() !=
nullptr) {
6425 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6427 _impl_.general_constraint_.quadratic_constraint_ =
nullptr;
6433inline const ::operations_research::MPQuadraticConstraint& MPGeneralConstraintProto::_internal_quadratic_constraint()
const {
6434 return general_constraint_case() ==
kQuadraticConstraint ? *
reinterpret_cast<::operations_research::MPQuadraticConstraint*
>(_impl_.general_constraint_.quadratic_constraint_) : reinterpret_cast<::operations_research::MPQuadraticConstraint&>(::operations_research::
_MPQuadraticConstraint_default_instance_);
6438 return _internal_quadratic_constraint();
6442 if (general_constraint_case() == kQuadraticConstraint) {
6443 clear_has_general_constraint();
6445 _impl_.general_constraint_.quadratic_constraint_ =
nullptr;
6452 ::operations_research::MPQuadraticConstraint* PROTOBUF_NULLABLE value) {
6456 clear_general_constraint();
6458 set_has_quadratic_constraint();
6459 _impl_.general_constraint_.quadratic_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6463inline ::operations_research::MPQuadraticConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_quadratic_constraint() {
6466 set_has_quadratic_constraint();
6467 _impl_.general_constraint_.quadratic_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6468 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPQuadraticConstraint>(GetArena()));
6473 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6483inline bool MPGeneralConstraintProto::_internal_has_abs_constraint()
const {
6484 return general_constraint_case() == kAbsConstraint;
6486inline void MPGeneralConstraintProto::set_has_abs_constraint() {
6487 _impl_._oneof_case_[0] = kAbsConstraint;
6490 ::google::protobuf::internal::TSanWrite(&_impl_);
6491 if (general_constraint_case() == kAbsConstraint) {
6492 if (GetArena() ==
nullptr) {
6493 delete _impl_.general_constraint_.abs_constraint_;
6494 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6495 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.abs_constraint_);
6497 clear_has_general_constraint();
6503 clear_has_general_constraint();
6505 if (GetArena() !=
nullptr) {
6506 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6508 _impl_.general_constraint_.abs_constraint_ =
nullptr;
6514inline const ::operations_research::MPAbsConstraint& MPGeneralConstraintProto::_internal_abs_constraint()
const {
6515 return general_constraint_case() == kAbsConstraint ? *
reinterpret_cast<::operations_research::MPAbsConstraint*
>(_impl_.general_constraint_.abs_constraint_) : reinterpret_cast<::operations_research::MPAbsConstraint&>(::operations_research::
_MPAbsConstraint_default_instance_);
6519 return _internal_abs_constraint();
6523 if (general_constraint_case() == kAbsConstraint) {
6524 clear_has_general_constraint();
6526 _impl_.general_constraint_.abs_constraint_ =
nullptr;
6533 ::operations_research::MPAbsConstraint* PROTOBUF_NULLABLE value) {
6537 clear_general_constraint();
6539 set_has_abs_constraint();
6540 _impl_.general_constraint_.abs_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6544inline ::operations_research::MPAbsConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_abs_constraint() {
6547 set_has_abs_constraint();
6548 _impl_.general_constraint_.abs_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6549 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPAbsConstraint>(GetArena()));
6554 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6564inline bool MPGeneralConstraintProto::_internal_has_and_constraint()
const {
6565 return general_constraint_case() == kAndConstraint;
6567inline void MPGeneralConstraintProto::set_has_and_constraint() {
6568 _impl_._oneof_case_[0] = kAndConstraint;
6571 ::google::protobuf::internal::TSanWrite(&_impl_);
6572 if (general_constraint_case() == kAndConstraint) {
6573 if (GetArena() ==
nullptr) {
6574 delete _impl_.general_constraint_.and_constraint_;
6575 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6576 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.and_constraint_);
6578 clear_has_general_constraint();
6584 clear_has_general_constraint();
6586 if (GetArena() !=
nullptr) {
6587 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6589 _impl_.general_constraint_.and_constraint_ =
nullptr;
6595inline const ::operations_research::MPArrayConstraint& MPGeneralConstraintProto::_internal_and_constraint()
const {
6596 return general_constraint_case() == kAndConstraint ? *
reinterpret_cast<::operations_research::MPArrayConstraint*
>(_impl_.general_constraint_.and_constraint_) : reinterpret_cast<::operations_research::MPArrayConstraint&>(::operations_research::
_MPArrayConstraint_default_instance_);
6600 return _internal_and_constraint();
6604 if (general_constraint_case() == kAndConstraint) {
6605 clear_has_general_constraint();
6607 _impl_.general_constraint_.and_constraint_ =
nullptr;
6614 ::operations_research::MPArrayConstraint* PROTOBUF_NULLABLE value) {
6618 clear_general_constraint();
6620 set_has_and_constraint();
6621 _impl_.general_constraint_.and_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6625inline ::operations_research::MPArrayConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_and_constraint() {
6628 set_has_and_constraint();
6629 _impl_.general_constraint_.and_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6630 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayConstraint>(GetArena()));
6635 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6645inline bool MPGeneralConstraintProto::_internal_has_or_constraint()
const {
6646 return general_constraint_case() == kOrConstraint;
6648inline void MPGeneralConstraintProto::set_has_or_constraint() {
6649 _impl_._oneof_case_[0] = kOrConstraint;
6652 ::google::protobuf::internal::TSanWrite(&_impl_);
6653 if (general_constraint_case() == kOrConstraint) {
6654 if (GetArena() ==
nullptr) {
6655 delete _impl_.general_constraint_.or_constraint_;
6656 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6657 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.or_constraint_);
6659 clear_has_general_constraint();
6665 clear_has_general_constraint();
6667 if (GetArena() !=
nullptr) {
6668 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6670 _impl_.general_constraint_.or_constraint_ =
nullptr;
6676inline const ::operations_research::MPArrayConstraint& MPGeneralConstraintProto::_internal_or_constraint()
const {
6677 return general_constraint_case() == kOrConstraint ? *
reinterpret_cast<::operations_research::MPArrayConstraint*
>(_impl_.general_constraint_.or_constraint_) : reinterpret_cast<::operations_research::MPArrayConstraint&>(::operations_research::
_MPArrayConstraint_default_instance_);
6681 return _internal_or_constraint();
6685 if (general_constraint_case() == kOrConstraint) {
6686 clear_has_general_constraint();
6688 _impl_.general_constraint_.or_constraint_ =
nullptr;
6695 ::operations_research::MPArrayConstraint* PROTOBUF_NULLABLE value) {
6699 clear_general_constraint();
6701 set_has_or_constraint();
6702 _impl_.general_constraint_.or_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6706inline ::operations_research::MPArrayConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_or_constraint() {
6709 set_has_or_constraint();
6710 _impl_.general_constraint_.or_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6711 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayConstraint>(GetArena()));
6716 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6726inline bool MPGeneralConstraintProto::_internal_has_min_constraint()
const {
6727 return general_constraint_case() == kMinConstraint;
6729inline void MPGeneralConstraintProto::set_has_min_constraint() {
6730 _impl_._oneof_case_[0] = kMinConstraint;
6733 ::google::protobuf::internal::TSanWrite(&_impl_);
6734 if (general_constraint_case() == kMinConstraint) {
6735 if (GetArena() ==
nullptr) {
6736 delete _impl_.general_constraint_.min_constraint_;
6737 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6738 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.min_constraint_);
6740 clear_has_general_constraint();
6746 clear_has_general_constraint();
6748 if (GetArena() !=
nullptr) {
6749 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6751 _impl_.general_constraint_.min_constraint_ =
nullptr;
6757inline const ::operations_research::MPArrayWithConstantConstraint& MPGeneralConstraintProto::_internal_min_constraint()
const {
6758 return general_constraint_case() == kMinConstraint ? *
reinterpret_cast<::operations_research::MPArrayWithConstantConstraint*
>(_impl_.general_constraint_.min_constraint_) : reinterpret_cast<::operations_research::MPArrayWithConstantConstraint&>(::operations_research::
_MPArrayWithConstantConstraint_default_instance_);
6762 return _internal_min_constraint();
6766 if (general_constraint_case() == kMinConstraint) {
6767 clear_has_general_constraint();
6769 _impl_.general_constraint_.min_constraint_ =
nullptr;
6776 ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NULLABLE value) {
6780 clear_general_constraint();
6782 set_has_min_constraint();
6783 _impl_.general_constraint_.min_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6787inline ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_min_constraint() {
6790 set_has_min_constraint();
6791 _impl_.general_constraint_.min_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6792 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayWithConstantConstraint>(GetArena()));
6797 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6807inline bool MPGeneralConstraintProto::_internal_has_max_constraint()
const {
6808 return general_constraint_case() == kMaxConstraint;
6810inline void MPGeneralConstraintProto::set_has_max_constraint() {
6811 _impl_._oneof_case_[0] = kMaxConstraint;
6814 ::google::protobuf::internal::TSanWrite(&_impl_);
6815 if (general_constraint_case() == kMaxConstraint) {
6816 if (GetArena() ==
nullptr) {
6817 delete _impl_.general_constraint_.max_constraint_;
6818 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6819 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.max_constraint_);
6821 clear_has_general_constraint();
6827 clear_has_general_constraint();
6829 if (GetArena() !=
nullptr) {
6830 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6832 _impl_.general_constraint_.max_constraint_ =
nullptr;
6838inline const ::operations_research::MPArrayWithConstantConstraint& MPGeneralConstraintProto::_internal_max_constraint()
const {
6839 return general_constraint_case() == kMaxConstraint ? *
reinterpret_cast<::operations_research::MPArrayWithConstantConstraint*
>(_impl_.general_constraint_.max_constraint_) : reinterpret_cast<::operations_research::MPArrayWithConstantConstraint&>(::operations_research::
_MPArrayWithConstantConstraint_default_instance_);
6843 return _internal_max_constraint();
6847 if (general_constraint_case() == kMaxConstraint) {
6848 clear_has_general_constraint();
6850 _impl_.general_constraint_.max_constraint_ =
nullptr;
6857 ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NULLABLE value) {
6861 clear_general_constraint();
6863 set_has_max_constraint();
6864 _impl_.general_constraint_.max_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6868inline ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_max_constraint() {
6871 set_has_max_constraint();
6872 _impl_.general_constraint_.max_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6873 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayWithConstantConstraint>(GetArena()));
6878 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6884inline bool MPGeneralConstraintProto::has_general_constraint()
const {
6887inline void MPGeneralConstraintProto::clear_has_general_constraint() {
6888 _impl_._oneof_case_[0] = GENERAL_CONSTRAINT_NOT_SET;
6899 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6903 ::google::protobuf::internal::TSanWrite(&_impl_);
6904 _impl_.var_index_ = 0;
6909 return _internal_var_index();
6912 _internal_set_var_index(value);
6913 _impl_._has_bits_[0] |= 0x00000002u;
6916inline ::int32_t MPIndicatorConstraint::_internal_var_index()
const {
6917 ::google::protobuf::internal::TSanRead(&_impl_);
6920inline void MPIndicatorConstraint::_internal_set_var_index(::int32_t value) {
6921 ::google::protobuf::internal::TSanWrite(&_impl_);
6922 _impl_.var_index_ = value;
6927 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
6931 ::google::protobuf::internal::TSanWrite(&
_impl_);
6933 _impl_._has_bits_[0] &= ~0x00000004u;
6937 return _internal_var_value();
6940 _internal_set_var_value(value);
6941 _impl_._has_bits_[0] |= 0x00000004u;
6944inline ::int32_t MPIndicatorConstraint::_internal_var_value()
const {
6945 ::google::protobuf::internal::TSanRead(&_impl_);
6946 return _impl_.var_value_;
6948inline void MPIndicatorConstraint::_internal_set_var_value(::int32_t value) {
6949 ::google::protobuf::internal::TSanWrite(&_impl_);
6950 _impl_.var_value_ = value;
6955 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
6956 PROTOBUF_ASSUME(!value ||
_impl_.constraint_ !=
nullptr);
6960 ::google::protobuf::internal::TSanWrite(&
_impl_);
6961 if (
_impl_.constraint_ !=
nullptr)
_impl_.constraint_->Clear();
6962 _impl_._has_bits_[0] &= ~0x00000001u;
6964inline const ::operations_research::MPConstraintProto& MPIndicatorConstraint::_internal_constraint()
const {
6965 ::google::protobuf::internal::TSanRead(&
_impl_);
6966 const ::operations_research::MPConstraintProto* p =
_impl_.constraint_;
6971 return _internal_constraint();
6975 ::google::protobuf::internal::TSanWrite(&_impl_);
6976 if (GetArena() ==
nullptr) {
6977 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.constraint_);
6979 _impl_.constraint_ =
reinterpret_cast<::operations_research::MPConstraintProto*
>(value);
6980 if (value !=
nullptr) {
6981 _impl_._has_bits_[0] |= 0x00000001u;
6988 ::google::protobuf::internal::TSanWrite(&
_impl_);
6990 _impl_._has_bits_[0] &= ~0x00000001u;
6992 _impl_.constraint_ =
nullptr;
6993 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
6994 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
6995 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
6996 if (GetArena() ==
nullptr) {
7000 if (GetArena() !=
nullptr) {
7001 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
7007 ::google::protobuf::internal::TSanWrite(&_impl_);
7010 _impl_._has_bits_[0] &= ~0x00000001u;
7011 ::operations_research::MPConstraintProto* temp = _impl_.constraint_;
7012 _impl_.constraint_ =
nullptr;
7015inline ::operations_research::MPConstraintProto* PROTOBUF_NONNULL MPIndicatorConstraint::_internal_mutable_constraint() {
7016 ::google::protobuf::internal::TSanWrite(&
_impl_);
7017 if (
_impl_.constraint_ ==
nullptr) {
7018 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPConstraintProto>(GetArena());
7021 return _impl_.constraint_;
7024 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7025 _impl_._has_bits_[0] |= 0x00000001u;
7031 ::google::protobuf::Arena* message_arena = GetArena();
7032 ::google::protobuf::internal::TSanWrite(&_impl_);
7033 if (message_arena ==
nullptr) {
7034 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.constraint_);
7037 if (value !=
nullptr) {
7038 ::google::protobuf::Arena* submessage_arena = value->GetArena();
7039 if (message_arena != submessage_arena) {
7040 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
7042 _impl_._has_bits_[0] |= 0x00000001u;
7044 _impl_._has_bits_[0] &= ~0x00000001u;
7047 _impl_.constraint_ =
reinterpret_cast<::operations_research::MPConstraintProto*
>(value);
7057 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
7061 ::google::protobuf::internal::TSanWrite(&_impl_);
7063 _impl_._has_bits_[0] &= ~0x00000001u;
7067 return _internal_type();
7070 _internal_set_type(value);
7071 _impl_._has_bits_[0] |= 0x00000001u;
7074inline ::operations_research::MPSosConstraint_Type MPSosConstraint::_internal_type()
const {
7075 ::google::protobuf::internal::TSanRead(&_impl_);
7079 ::google::protobuf::internal::TSanWrite(&_impl_);
7081 assert(::google::protobuf::internal::ValidateEnum(
7083 _impl_.type_ = value;
7087inline int MPSosConstraint::_internal_var_index_size()
const {
7088 return _internal_var_index().size();
7091 return _internal_var_index_size();
7094 ::google::protobuf::internal::TSanWrite(&_impl_);
7099 return _internal_var_index().Get(index);
7102 _internal_mutable_var_index()->Set(index, value);
7106 ::google::protobuf::internal::TSanWrite(&_impl_);
7107 _internal_mutable_var_index()->Add(value);
7111 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7113 return _internal_var_index();
7116 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7118 ::google::protobuf::internal::TSanWrite(&_impl_);
7119 return _internal_mutable_var_index();
7121inline const ::google::protobuf::RepeatedField<::int32_t>&
7122MPSosConstraint::_internal_var_index()
const {
7123 ::google::protobuf::internal::TSanRead(&
_impl_);
7124 return _impl_.var_index_;
7126inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7127MPSosConstraint::_internal_mutable_var_index() {
7128 ::google::protobuf::internal::TSanRead(&
_impl_);
7129 return &
_impl_.var_index_;
7133inline int MPSosConstraint::_internal_weight_size()
const {
7134 return _internal_weight().size();
7137 return _internal_weight_size();
7140 ::google::protobuf::internal::TSanWrite(&
_impl_);
7145 return _internal_weight().Get(index);
7148 _internal_mutable_weight()->Set(index, value);
7152 ::google::protobuf::internal::TSanWrite(&_impl_);
7153 _internal_mutable_weight()->Add(value);
7157 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7159 return _internal_weight();
7162 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7164 ::google::protobuf::internal::TSanWrite(&_impl_);
7165 return _internal_mutable_weight();
7167inline const ::google::protobuf::RepeatedField<double>&
7168MPSosConstraint::_internal_weight()
const {
7169 ::google::protobuf::internal::TSanRead(&
_impl_);
7172inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7173MPSosConstraint::_internal_mutable_weight() {
7174 ::google::protobuf::internal::TSanRead(&
_impl_);
7183inline int MPQuadraticConstraint::_internal_var_index_size()
const {
7184 return _internal_var_index().size();
7187 return _internal_var_index_size();
7190 ::google::protobuf::internal::TSanWrite(&_impl_);
7195 return _internal_var_index().Get(index);
7198 _internal_mutable_var_index()->Set(index, value);
7202 ::google::protobuf::internal::TSanWrite(&_impl_);
7203 _internal_mutable_var_index()->Add(value);
7207 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7209 return _internal_var_index();
7212 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7214 ::google::protobuf::internal::TSanWrite(&_impl_);
7215 return _internal_mutable_var_index();
7217inline const ::google::protobuf::RepeatedField<::int32_t>&
7218MPQuadraticConstraint::_internal_var_index()
const {
7219 ::google::protobuf::internal::TSanRead(&
_impl_);
7222inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7223MPQuadraticConstraint::_internal_mutable_var_index() {
7224 ::google::protobuf::internal::TSanRead(&
_impl_);
7225 return &
_impl_.var_index_;
7229inline int MPQuadraticConstraint::_internal_coefficient_size()
const {
7230 return _internal_coefficient().size();
7233 return _internal_coefficient_size();
7236 ::google::protobuf::internal::TSanWrite(&_impl_);
7241 return _internal_coefficient().Get(index);
7244 _internal_mutable_coefficient()->Set(index, value);
7248 ::google::protobuf::internal::TSanWrite(&_impl_);
7249 _internal_mutable_coefficient()->Add(value);
7253 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7255 return _internal_coefficient();
7258 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7260 ::google::protobuf::internal::TSanWrite(&_impl_);
7261 return _internal_mutable_coefficient();
7263inline const ::google::protobuf::RepeatedField<double>&
7264MPQuadraticConstraint::_internal_coefficient()
const {
7265 ::google::protobuf::internal::TSanRead(&
_impl_);
7268inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7269MPQuadraticConstraint::_internal_mutable_coefficient() {
7270 ::google::protobuf::internal::TSanRead(&
_impl_);
7271 return &
_impl_.coefficient_;
7275inline int MPQuadraticConstraint::_internal_qvar1_index_size()
const {
7276 return _internal_qvar1_index().size();
7279 return _internal_qvar1_index_size();
7282 ::google::protobuf::internal::TSanWrite(&_impl_);
7287 return _internal_qvar1_index().Get(index);
7290 _internal_mutable_qvar1_index()->Set(index, value);
7294 ::google::protobuf::internal::TSanWrite(&_impl_);
7295 _internal_mutable_qvar1_index()->Add(value);
7299 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7301 return _internal_qvar1_index();
7304 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7306 ::google::protobuf::internal::TSanWrite(&_impl_);
7307 return _internal_mutable_qvar1_index();
7309inline const ::google::protobuf::RepeatedField<::int32_t>&
7310MPQuadraticConstraint::_internal_qvar1_index()
const {
7311 ::google::protobuf::internal::TSanRead(&
_impl_);
7314inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7315MPQuadraticConstraint::_internal_mutable_qvar1_index() {
7316 ::google::protobuf::internal::TSanRead(&
_impl_);
7317 return &
_impl_.qvar1_index_;
7321inline int MPQuadraticConstraint::_internal_qvar2_index_size()
const {
7322 return _internal_qvar2_index().size();
7325 return _internal_qvar2_index_size();
7328 ::google::protobuf::internal::TSanWrite(&_impl_);
7333 return _internal_qvar2_index().Get(index);
7336 _internal_mutable_qvar2_index()->Set(index, value);
7340 ::google::protobuf::internal::TSanWrite(&_impl_);
7341 _internal_mutable_qvar2_index()->Add(value);
7345 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7347 return _internal_qvar2_index();
7350 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7352 ::google::protobuf::internal::TSanWrite(&_impl_);
7353 return _internal_mutable_qvar2_index();
7355inline const ::google::protobuf::RepeatedField<::int32_t>&
7356MPQuadraticConstraint::_internal_qvar2_index()
const {
7357 ::google::protobuf::internal::TSanRead(&
_impl_);
7360inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7361MPQuadraticConstraint::_internal_mutable_qvar2_index() {
7362 ::google::protobuf::internal::TSanRead(&
_impl_);
7363 return &
_impl_.qvar2_index_;
7367inline int MPQuadraticConstraint::_internal_qcoefficient_size()
const {
7368 return _internal_qcoefficient().size();
7371 return _internal_qcoefficient_size();
7374 ::google::protobuf::internal::TSanWrite(&_impl_);
7379 return _internal_qcoefficient().Get(index);
7382 _internal_mutable_qcoefficient()->Set(index, value);
7386 ::google::protobuf::internal::TSanWrite(&_impl_);
7387 _internal_mutable_qcoefficient()->Add(value);
7391 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7393 return _internal_qcoefficient();
7396 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7398 ::google::protobuf::internal::TSanWrite(&_impl_);
7399 return _internal_mutable_qcoefficient();
7401inline const ::google::protobuf::RepeatedField<double>&
7402MPQuadraticConstraint::_internal_qcoefficient()
const {
7403 ::google::protobuf::internal::TSanRead(&
_impl_);
7406inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7407MPQuadraticConstraint::_internal_mutable_qcoefficient() {
7408 ::google::protobuf::internal::TSanRead(&
_impl_);
7409 return &
_impl_.qcoefficient_;
7414 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
7418 ::google::protobuf::internal::TSanWrite(&_impl_);
7419 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
7420 _impl_._has_bits_[0] &= ~0x00000001u;
7424 return _internal_lower_bound();
7427 _internal_set_lower_bound(value);
7428 _impl_._has_bits_[0] |= 0x00000001u;
7431inline double MPQuadraticConstraint::_internal_lower_bound()
const {
7432 ::google::protobuf::internal::TSanRead(&_impl_);
7433 return _impl_.lower_bound_;
7435inline void MPQuadraticConstraint::_internal_set_lower_bound(
double value) {
7436 ::google::protobuf::internal::TSanWrite(&_impl_);
7437 _impl_.lower_bound_ = value;
7442 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7446 ::google::protobuf::internal::TSanWrite(&_impl_);
7447 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
7452 return _internal_upper_bound();
7455 _internal_set_upper_bound(value);
7456 _impl_._has_bits_[0] |= 0x00000002u;
7459inline double MPQuadraticConstraint::_internal_upper_bound()
const {
7460 ::google::protobuf::internal::TSanRead(&_impl_);
7461 return _impl_.upper_bound_;
7463inline void MPQuadraticConstraint::_internal_set_upper_bound(
double value) {
7464 ::google::protobuf::internal::TSanWrite(&_impl_);
7465 _impl_.upper_bound_ = value;
7474 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
7478 ::google::protobuf::internal::TSanWrite(&_impl_);
7479 _impl_.var_index_ = 0;
7480 _impl_._has_bits_[0] &= ~0x00000001u;
7484 return _internal_var_index();
7487 _internal_set_var_index(value);
7488 _impl_._has_bits_[0] |= 0x00000001u;
7491inline ::int32_t MPAbsConstraint::_internal_var_index()
const {
7492 ::google::protobuf::internal::TSanRead(&_impl_);
7493 return _impl_.var_index_;
7495inline void MPAbsConstraint::_internal_set_var_index(::int32_t value) {
7496 ::google::protobuf::internal::TSanWrite(&_impl_);
7497 _impl_.var_index_ = value;
7502 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7506 ::google::protobuf::internal::TSanWrite(&
_impl_);
7507 _impl_.resultant_var_index_ = 0;
7508 _impl_._has_bits_[0] &= ~0x00000002u;
7512 return _internal_resultant_var_index();
7515 _internal_set_resultant_var_index(value);
7516 _impl_._has_bits_[0] |= 0x00000002u;
7519inline ::int32_t MPAbsConstraint::_internal_resultant_var_index()
const {
7520 ::google::protobuf::internal::TSanRead(&_impl_);
7521 return _impl_.resultant_var_index_;
7523inline void MPAbsConstraint::_internal_set_resultant_var_index(::int32_t value) {
7524 ::google::protobuf::internal::TSanWrite(&_impl_);
7525 _impl_.resultant_var_index_ = value;
7533inline int MPArrayConstraint::_internal_var_index_size()
const {
7534 return _internal_var_index().size();
7537 return _internal_var_index_size();
7540 ::google::protobuf::internal::TSanWrite(&_impl_);
7541 _impl_.var_index_.Clear();
7545 return _internal_var_index().Get(index);
7548 _internal_mutable_var_index()->Set(index, value);
7552 ::google::protobuf::internal::TSanWrite(&_impl_);
7553 _internal_mutable_var_index()->Add(value);
7557 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7559 return _internal_var_index();
7562 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7564 ::google::protobuf::internal::TSanWrite(&_impl_);
7565 return _internal_mutable_var_index();
7567inline const ::google::protobuf::RepeatedField<::int32_t>&
7568MPArrayConstraint::_internal_var_index()
const {
7569 ::google::protobuf::internal::TSanRead(&
_impl_);
7570 return _impl_.var_index_;
7572inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7573MPArrayConstraint::_internal_mutable_var_index() {
7574 ::google::protobuf::internal::TSanRead(&
_impl_);
7575 return &
_impl_.var_index_;
7580 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
7584 ::google::protobuf::internal::TSanWrite(&
_impl_);
7585 _impl_.resultant_var_index_ = 0;
7586 _impl_._has_bits_[0] &= ~0x00000001u;
7590 return _internal_resultant_var_index();
7593 _internal_set_resultant_var_index(value);
7597inline ::int32_t MPArrayConstraint::_internal_resultant_var_index()
const {
7598 ::google::protobuf::internal::TSanRead(&_impl_);
7599 return _impl_.resultant_var_index_;
7601inline void MPArrayConstraint::_internal_set_resultant_var_index(::int32_t value) {
7602 ::google::protobuf::internal::TSanWrite(&_impl_);
7603 _impl_.resultant_var_index_ = value;
7611inline int MPArrayWithConstantConstraint::_internal_var_index_size()
const {
7612 return _internal_var_index().size();
7615 return _internal_var_index_size();
7618 ::google::protobuf::internal::TSanWrite(&_impl_);
7619 _impl_.var_index_.Clear();
7623 return _internal_var_index().Get(index);
7626 _internal_mutable_var_index()->Set(index, value);
7630 ::google::protobuf::internal::TSanWrite(&_impl_);
7631 _internal_mutable_var_index()->Add(value);
7635 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7637 return _internal_var_index();
7640 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7642 ::google::protobuf::internal::TSanWrite(&_impl_);
7643 return _internal_mutable_var_index();
7645inline const ::google::protobuf::RepeatedField<::int32_t>&
7646MPArrayWithConstantConstraint::_internal_var_index()
const {
7647 ::google::protobuf::internal::TSanRead(&_impl_);
7650inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7651MPArrayWithConstantConstraint::_internal_mutable_var_index() {
7652 ::google::protobuf::internal::TSanRead(&
_impl_);
7653 return &
_impl_.var_index_;
7658 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
7662 ::google::protobuf::internal::TSanWrite(&_impl_);
7664 _impl_._has_bits_[0] &= ~0x00000001u;
7668 return _internal_constant();
7671 _internal_set_constant(value);
7672 _impl_._has_bits_[0] |= 0x00000001u;
7675inline double MPArrayWithConstantConstraint::_internal_constant()
const {
7676 ::google::protobuf::internal::TSanRead(&_impl_);
7677 return _impl_.constant_;
7679inline void MPArrayWithConstantConstraint::_internal_set_constant(
double value) {
7680 ::google::protobuf::internal::TSanWrite(&_impl_);
7681 _impl_.constant_ = value;
7686 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7690 ::google::protobuf::internal::TSanWrite(&_impl_);
7692 _impl_._has_bits_[0] &= ~0x00000002u;
7696 return _internal_resultant_var_index();
7699 _internal_set_resultant_var_index(value);
7703inline ::int32_t MPArrayWithConstantConstraint::_internal_resultant_var_index()
const {
7704 ::google::protobuf::internal::TSanRead(&
_impl_);
7705 return _impl_.resultant_var_index_;
7707inline void MPArrayWithConstantConstraint::_internal_set_resultant_var_index(::int32_t value) {
7708 ::google::protobuf::internal::TSanWrite(&_impl_);
7709 _impl_.resultant_var_index_ = value;
7717inline int MPQuadraticObjective::_internal_qvar1_index_size()
const {
7718 return _internal_qvar1_index().size();
7721 return _internal_qvar1_index_size();
7724 ::google::protobuf::internal::TSanWrite(&
_impl_);
7725 _impl_.qvar1_index_.Clear();
7729 return _internal_qvar1_index().Get(index);
7732 _internal_mutable_qvar1_index()->Set(index, value);
7736 ::google::protobuf::internal::TSanWrite(&_impl_);
7737 _internal_mutable_qvar1_index()->Add(value);
7741 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7743 return _internal_qvar1_index();
7746 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7748 ::google::protobuf::internal::TSanWrite(&_impl_);
7749 return _internal_mutable_qvar1_index();
7751inline const ::google::protobuf::RepeatedField<::int32_t>&
7752MPQuadraticObjective::_internal_qvar1_index()
const {
7753 ::google::protobuf::internal::TSanRead(&_impl_);
7754 return _impl_.qvar1_index_;
7756inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7757MPQuadraticObjective::_internal_mutable_qvar1_index() {
7758 ::google::protobuf::internal::TSanRead(&
_impl_);
7759 return &
_impl_.qvar1_index_;
7763inline int MPQuadraticObjective::_internal_qvar2_index_size()
const {
7764 return _internal_qvar2_index().size();
7767 return _internal_qvar2_index_size();
7770 ::google::protobuf::internal::TSanWrite(&
_impl_);
7771 _impl_.qvar2_index_.Clear();
7775 return _internal_qvar2_index().Get(index);
7778 _internal_mutable_qvar2_index()->Set(index, value);
7782 ::google::protobuf::internal::TSanWrite(&_impl_);
7783 _internal_mutable_qvar2_index()->Add(value);
7787 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7789 return _internal_qvar2_index();
7792 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7794 ::google::protobuf::internal::TSanWrite(&_impl_);
7795 return _internal_mutable_qvar2_index();
7797inline const ::google::protobuf::RepeatedField<::int32_t>&
7798MPQuadraticObjective::_internal_qvar2_index()
const {
7799 ::google::protobuf::internal::TSanRead(&_impl_);
7800 return _impl_.qvar2_index_;
7802inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7803MPQuadraticObjective::_internal_mutable_qvar2_index() {
7804 ::google::protobuf::internal::TSanRead(&
_impl_);
7805 return &
_impl_.qvar2_index_;
7809inline int MPQuadraticObjective::_internal_coefficient_size()
const {
7810 return _internal_coefficient().size();
7813 return _internal_coefficient_size();
7816 ::google::protobuf::internal::TSanWrite(&
_impl_);
7817 _impl_.coefficient_.Clear();
7821 return _internal_coefficient().Get(index);
7824 _internal_mutable_coefficient()->Set(index, value);
7828 ::google::protobuf::internal::TSanWrite(&_impl_);
7829 _internal_mutable_coefficient()->Add(value);
7833 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7835 return _internal_coefficient();
7838 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7840 ::google::protobuf::internal::TSanWrite(&_impl_);
7841 return _internal_mutable_coefficient();
7843inline const ::google::protobuf::RepeatedField<double>&
7844MPQuadraticObjective::_internal_coefficient()
const {
7845 ::google::protobuf::internal::TSanRead(&_impl_);
7846 return _impl_.coefficient_;
7848inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7849MPQuadraticObjective::_internal_mutable_coefficient() {
7850 ::google::protobuf::internal::TSanRead(&
_impl_);
7851 return &
_impl_.coefficient_;
7859inline int PartialVariableAssignment::_internal_var_index_size()
const {
7860 return _internal_var_index().size();
7863 return _internal_var_index_size();
7866 ::google::protobuf::internal::TSanWrite(&_impl_);
7871 return _internal_var_index().Get(index);
7874 _internal_mutable_var_index()->Set(index, value);
7878 ::google::protobuf::internal::TSanWrite(&_impl_);
7879 _internal_mutable_var_index()->Add(value);
7883 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7885 return _internal_var_index();
7888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7890 ::google::protobuf::internal::TSanWrite(&_impl_);
7891 return _internal_mutable_var_index();
7893inline const ::google::protobuf::RepeatedField<::int32_t>&
7894PartialVariableAssignment::_internal_var_index()
const {
7895 ::google::protobuf::internal::TSanRead(&_impl_);
7896 return _impl_.var_index_;
7898inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7899PartialVariableAssignment::_internal_mutable_var_index() {
7900 ::google::protobuf::internal::TSanRead(&
_impl_);
7905inline int PartialVariableAssignment::_internal_var_value_size()
const {
7906 return _internal_var_value().size();
7909 return _internal_var_value_size();
7912 ::google::protobuf::internal::TSanWrite(&_impl_);
7917 return _internal_var_value().Get(index);
7920 _internal_mutable_var_value()->Set(index, value);
7924 ::google::protobuf::internal::TSanWrite(&
_impl_);
7925 _internal_mutable_var_value()->Add(value);
7929 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7931 return _internal_var_value();
7934 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7936 ::google::protobuf::internal::TSanWrite(&_impl_);
7937 return _internal_mutable_var_value();
7939inline const ::google::protobuf::RepeatedField<double>&
7940PartialVariableAssignment::_internal_var_value()
const {
7941 ::google::protobuf::internal::TSanRead(&_impl_);
7942 return _impl_.var_value_;
7944inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7945PartialVariableAssignment::_internal_mutable_var_value() {
7946 ::google::protobuf::internal::TSanRead(&
_impl_);
7956 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
7960 ::google::protobuf::internal::TSanWrite(&
_impl_);
7962 _impl_._has_bits_[0] &= ~0x00000008u;
7966 return _internal_target_type();
7969 _internal_set_target_type(value);
7970 _impl_._has_bits_[0] |= 0x00000008u;
7973inline ::operations_research::MPModelProto_Annotation_TargetType MPModelProto_Annotation::_internal_target_type()
const {
7974 ::google::protobuf::internal::TSanRead(&_impl_);
7978 ::google::protobuf::internal::TSanWrite(&_impl_);
7980 assert(::google::protobuf::internal::ValidateEnum(
7982 _impl_.target_type_ = value;
7987 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7991 ::google::protobuf::internal::TSanWrite(&_impl_);
7993 _impl_._has_bits_[0] &= ~0x00000010u;
7997 return _internal_target_index();
8000 _internal_set_target_index(value);
8004inline ::int32_t MPModelProto_Annotation::_internal_target_index()
const {
8005 ::google::protobuf::internal::TSanRead(&
_impl_);
8006 return _impl_.target_index_;
8008inline void MPModelProto_Annotation::_internal_set_target_index(::int32_t value) {
8009 ::google::protobuf::internal::TSanWrite(&_impl_);
8010 _impl_.target_index_ = value;
8015 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8019 ::google::protobuf::internal::TSanWrite(&_impl_);
8020 _impl_.target_name_.ClearToEmpty();
8021 _impl_._has_bits_[0] &= ~0x00000001u;
8024 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8026 return _internal_target_name();
8028template <
typename Arg_,
typename... Args_>
8030 ::google::protobuf::internal::TSanWrite(&_impl_);
8031 _impl_._has_bits_[0] |= 0x00000001u;
8032 _impl_.target_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8036 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8037 ::std::string* _s = _internal_mutable_target_name();
8041inline const ::std::string& MPModelProto_Annotation::_internal_target_name()
const {
8042 ::google::protobuf::internal::TSanRead(&_impl_);
8043 return _impl_.target_name_.Get();
8045inline void MPModelProto_Annotation::_internal_set_target_name(const ::std::string& value) {
8046 ::google::protobuf::internal::TSanWrite(&_impl_);
8047 _impl_._has_bits_[0] |= 0x00000001u;
8048 _impl_.target_name_.Set(value, GetArena());
8050inline ::std::string* PROTOBUF_NONNULL MPModelProto_Annotation::_internal_mutable_target_name() {
8051 ::google::protobuf::internal::TSanWrite(&
_impl_);
8052 _impl_._has_bits_[0] |= 0x00000001u;
8053 return _impl_.target_name_.Mutable( GetArena());
8056 ::google::protobuf::internal::TSanWrite(&
_impl_);
8058 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
8061 _impl_._has_bits_[0] &= ~0x00000001u;
8062 auto* released = _impl_.target_name_.Release();
8063 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8064 _impl_.target_name_.Set(
"", GetArena());
8069 ::google::protobuf::internal::TSanWrite(&_impl_);
8070 if (value !=
nullptr) {
8071 _impl_._has_bits_[0] |= 0x00000001u;
8073 _impl_._has_bits_[0] &= ~0x00000001u;
8075 _impl_.target_name_.SetAllocated(value, GetArena());
8076 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_name_.IsDefault()) {
8077 _impl_.target_name_.Set(
"", GetArena());
8084 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8088 ::google::protobuf::internal::TSanWrite(&_impl_);
8089 _impl_.payload_key_.ClearToEmpty();
8090 _impl_._has_bits_[0] &= ~0x00000002u;
8093 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8095 return _internal_payload_key();
8097template <
typename Arg_,
typename... Args_>
8099 ::google::protobuf::internal::TSanWrite(&_impl_);
8100 _impl_._has_bits_[0] |= 0x00000002u;
8101 _impl_.payload_key_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8105 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8106 ::std::string* _s = _internal_mutable_payload_key();
8110inline const ::std::string& MPModelProto_Annotation::_internal_payload_key()
const {
8111 ::google::protobuf::internal::TSanRead(&_impl_);
8112 return _impl_.payload_key_.Get();
8114inline void MPModelProto_Annotation::_internal_set_payload_key(const ::std::string& value) {
8115 ::google::protobuf::internal::TSanWrite(&_impl_);
8116 _impl_._has_bits_[0] |= 0x00000002u;
8117 _impl_.payload_key_.Set(value, GetArena());
8119inline ::std::string* PROTOBUF_NONNULL MPModelProto_Annotation::_internal_mutable_payload_key() {
8120 ::google::protobuf::internal::TSanWrite(&
_impl_);
8121 _impl_._has_bits_[0] |= 0x00000002u;
8122 return _impl_.payload_key_.Mutable( GetArena());
8125 ::google::protobuf::internal::TSanWrite(&
_impl_);
8127 if ((
_impl_._has_bits_[0] & 0x00000002u) == 0) {
8130 _impl_._has_bits_[0] &= ~0x00000002u;
8131 auto* released = _impl_.payload_key_.Release();
8132 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8133 _impl_.payload_key_.Set(
"", GetArena());
8138 ::google::protobuf::internal::TSanWrite(&_impl_);
8139 if (value !=
nullptr) {
8140 _impl_._has_bits_[0] |= 0x00000002u;
8142 _impl_._has_bits_[0] &= ~0x00000002u;
8144 _impl_.payload_key_.SetAllocated(value, GetArena());
8145 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_key_.IsDefault()) {
8146 _impl_.payload_key_.Set(
"", GetArena());
8153 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8157 ::google::protobuf::internal::TSanWrite(&_impl_);
8158 _impl_.payload_value_.ClearToEmpty();
8159 _impl_._has_bits_[0] &= ~0x00000004u;
8162 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8164 return _internal_payload_value();
8166template <
typename Arg_,
typename... Args_>
8168 ::google::protobuf::internal::TSanWrite(&_impl_);
8169 _impl_._has_bits_[0] |= 0x00000004u;
8170 _impl_.payload_value_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8174 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8175 ::std::string* _s = _internal_mutable_payload_value();
8179inline const ::std::string& MPModelProto_Annotation::_internal_payload_value()
const {
8180 ::google::protobuf::internal::TSanRead(&_impl_);
8181 return _impl_.payload_value_.Get();
8183inline void MPModelProto_Annotation::_internal_set_payload_value(const ::std::string& value) {
8184 ::google::protobuf::internal::TSanWrite(&_impl_);
8185 _impl_._has_bits_[0] |= 0x00000004u;
8186 _impl_.payload_value_.Set(value, GetArena());
8188inline ::std::string* PROTOBUF_NONNULL MPModelProto_Annotation::_internal_mutable_payload_value() {
8189 ::google::protobuf::internal::TSanWrite(&
_impl_);
8190 _impl_._has_bits_[0] |= 0x00000004u;
8191 return _impl_.payload_value_.Mutable( GetArena());
8194 ::google::protobuf::internal::TSanWrite(&
_impl_);
8196 if ((
_impl_._has_bits_[0] & 0x00000004u) == 0) {
8199 _impl_._has_bits_[0] &= ~0x00000004u;
8200 auto* released = _impl_.payload_value_.Release();
8201 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8202 _impl_.payload_value_.Set(
"", GetArena());
8207 ::google::protobuf::internal::TSanWrite(&_impl_);
8208 if (value !=
nullptr) {
8209 _impl_._has_bits_[0] |= 0x00000004u;
8211 _impl_._has_bits_[0] &= ~0x00000004u;
8213 _impl_.payload_value_.SetAllocated(value, GetArena());
8214 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_value_.IsDefault()) {
8215 _impl_.payload_value_.Set(
"", GetArena());
8225inline int MPModelProto::_internal_variable_size()
const {
8226 return _internal_variable().size();
8229 return _internal_variable_size();
8232 ::google::protobuf::internal::TSanWrite(&_impl_);
8233 _impl_.variable_.Clear();
8236 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8238 return _internal_mutable_variable()->Mutable(index);
8241 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8243 ::google::protobuf::internal::TSanWrite(&
_impl_);
8244 return _internal_mutable_variable();
8247 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8249 return _internal_variable().Get(index);
8252 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8253 ::google::protobuf::internal::TSanWrite(&_impl_);
8258inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>&
MPModelProto::variable() const
8259 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8261 return _internal_variable();
8263inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>&
8264MPModelProto::_internal_variable()
const {
8265 ::google::protobuf::internal::TSanRead(&_impl_);
8268inline ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>* PROTOBUF_NONNULL
8269MPModelProto::_internal_mutable_variable() {
8270 ::google::protobuf::internal::TSanRead(&
_impl_);
8271 return &
_impl_.variable_;
8275inline int MPModelProto::_internal_constraint_size()
const {
8276 return _internal_constraint().size();
8279 return _internal_constraint_size();
8282 ::google::protobuf::internal::TSanWrite(&_impl_);
8283 _impl_.constraint_.Clear();
8286 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8288 return _internal_mutable_constraint()->Mutable(index);
8291 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8293 ::google::protobuf::internal::TSanWrite(&_impl_);
8294 return _internal_mutable_constraint();
8297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8299 return _internal_constraint().Get(index);
8302 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8303 ::google::protobuf::internal::TSanWrite(&_impl_);
8308inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>&
MPModelProto::constraint() const
8309 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8311 return _internal_constraint();
8313inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>&
8314MPModelProto::_internal_constraint()
const {
8315 ::google::protobuf::internal::TSanRead(&_impl_);
8318inline ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>* PROTOBUF_NONNULL
8319MPModelProto::_internal_mutable_constraint() {
8320 ::google::protobuf::internal::TSanRead(&
_impl_);
8321 return &
_impl_.constraint_;
8325inline int MPModelProto::_internal_general_constraint_size()
const {
8326 return _internal_general_constraint().size();
8329 return _internal_general_constraint_size();
8332 ::google::protobuf::internal::TSanWrite(&_impl_);
8333 _impl_.general_constraint_.Clear();
8336 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8338 return _internal_mutable_general_constraint()->Mutable(index);
8341 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8343 ::google::protobuf::internal::TSanWrite(&_impl_);
8344 return _internal_mutable_general_constraint();
8347 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8349 return _internal_general_constraint().Get(index);
8352 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8353 ::google::protobuf::internal::TSanWrite(&_impl_);
8359 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8361 return _internal_general_constraint();
8363inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>&
8364MPModelProto::_internal_general_constraint()
const {
8365 ::google::protobuf::internal::TSanRead(&_impl_);
8368inline ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>* PROTOBUF_NONNULL
8369MPModelProto::_internal_mutable_general_constraint() {
8370 ::google::protobuf::internal::TSanRead(&
_impl_);
8371 return &
_impl_.general_constraint_;
8376 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
8380 ::google::protobuf::internal::TSanWrite(&_impl_);
8381 _impl_.maximize_ =
false;
8382 _impl_._has_bits_[0] &= ~0x00000010u;
8386 return _internal_maximize();
8389 _internal_set_maximize(value);
8390 _impl_._has_bits_[0] |= 0x00000010u;
8393inline bool MPModelProto::_internal_maximize()
const {
8394 ::google::protobuf::internal::TSanRead(&_impl_);
8395 return _impl_.maximize_;
8397inline void MPModelProto::_internal_set_maximize(
bool value) {
8398 ::google::protobuf::internal::TSanWrite(&_impl_);
8399 _impl_.maximize_ = value;
8404 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8408 ::google::protobuf::internal::TSanWrite(&_impl_);
8409 _impl_.objective_offset_ = 0;
8410 _impl_._has_bits_[0] &= ~0x00000008u;
8414 return _internal_objective_offset();
8417 _internal_set_objective_offset(value);
8418 _impl_._has_bits_[0] |= 0x00000008u;
8421inline double MPModelProto::_internal_objective_offset()
const {
8422 ::google::protobuf::internal::TSanRead(&
_impl_);
8423 return _impl_.objective_offset_;
8425inline void MPModelProto::_internal_set_objective_offset(
double value) {
8426 ::google::protobuf::internal::TSanWrite(&
_impl_);
8427 _impl_.objective_offset_ = value;
8432 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8433 PROTOBUF_ASSUME(!value || _impl_.quadratic_objective_ !=
nullptr);
8437 ::google::protobuf::internal::TSanWrite(&_impl_);
8438 if (_impl_.quadratic_objective_ !=
nullptr) _impl_.quadratic_objective_->Clear();
8439 _impl_._has_bits_[0] &= ~0x00000004u;
8441inline const ::operations_research::MPQuadraticObjective& MPModelProto::_internal_quadratic_objective()
const {
8442 ::google::protobuf::internal::TSanRead(&
_impl_);
8443 const ::operations_research::MPQuadraticObjective* p =
_impl_.quadratic_objective_;
8448 return _internal_quadratic_objective();
8452 ::google::protobuf::internal::TSanWrite(&
_impl_);
8453 if (GetArena() ==
nullptr) {
8454 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.quadratic_objective_);
8457 if (value !=
nullptr) {
8458 _impl_._has_bits_[0] |= 0x00000004u;
8460 _impl_._has_bits_[0] &= ~0x00000004u;
8465 ::google::protobuf::internal::TSanWrite(&_impl_);
8467 _impl_._has_bits_[0] &= ~0x00000004u;
8468 ::operations_research::MPQuadraticObjective* released = _impl_.quadratic_objective_;
8470 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8471 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8472 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8473 if (GetArena() ==
nullptr) {
8477 if (GetArena() !=
nullptr) {
8478 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8484 ::google::protobuf::internal::TSanWrite(&
_impl_);
8487 _impl_._has_bits_[0] &= ~0x00000004u;
8489 _impl_.quadratic_objective_ =
nullptr;
8492inline ::operations_research::MPQuadraticObjective* PROTOBUF_NONNULL MPModelProto::_internal_mutable_quadratic_objective() {
8493 ::google::protobuf::internal::TSanWrite(&_impl_);
8494 if (_impl_.quadratic_objective_ ==
nullptr) {
8495 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPQuadraticObjective>(GetArena());
8498 return _impl_.quadratic_objective_;
8501 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8508 ::google::protobuf::Arena* message_arena = GetArena();
8509 ::google::protobuf::internal::TSanWrite(&_impl_);
8510 if (message_arena ==
nullptr) {
8511 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_objective_);
8514 if (value !=
nullptr) {
8515 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8516 if (message_arena != submessage_arena) {
8517 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8519 _impl_._has_bits_[0] |= 0x00000004u;
8530 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8534 ::google::protobuf::internal::TSanWrite(&_impl_);
8535 _impl_.name_.ClearToEmpty();
8536 _impl_._has_bits_[0] &= ~0x00000001u;
8539 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8541 return _internal_name();
8543template <
typename Arg_,
typename... Args_>
8545 ::google::protobuf::internal::TSanWrite(&
_impl_);
8546 _impl_._has_bits_[0] |= 0x00000001u;
8547 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8551 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8552 ::std::string* _s = _internal_mutable_name();
8556inline const ::std::string& MPModelProto::_internal_name()
const {
8557 ::google::protobuf::internal::TSanRead(&_impl_);
8558 return _impl_.name_.Get();
8560inline void MPModelProto::_internal_set_name(const ::std::string& value) {
8561 ::google::protobuf::internal::TSanWrite(&_impl_);
8562 _impl_._has_bits_[0] |= 0x00000001u;
8563 _impl_.name_.Set(value, GetArena());
8565inline ::std::string* PROTOBUF_NONNULL MPModelProto::_internal_mutable_name() {
8566 ::google::protobuf::internal::TSanWrite(&_impl_);
8568 return _impl_.name_.Mutable( GetArena());
8571 ::google::protobuf::internal::TSanWrite(&
_impl_);
8573 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
8577 auto* released =
_impl_.name_.Release();
8578 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8579 _impl_.name_.Set(
"", GetArena());
8584 ::google::protobuf::internal::TSanWrite(&_impl_);
8585 if (value !=
nullptr) {
8586 _impl_._has_bits_[0] |= 0x00000001u;
8590 _impl_.name_.SetAllocated(value, GetArena());
8591 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
8592 _impl_.name_.Set(
"", GetArena());
8599 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8600 PROTOBUF_ASSUME(!value || _impl_.solution_hint_ !=
nullptr);
8604 ::google::protobuf::internal::TSanWrite(&_impl_);
8605 if (_impl_.solution_hint_ !=
nullptr) _impl_.solution_hint_->Clear();
8606 _impl_._has_bits_[0] &= ~0x00000002u;
8608inline const ::operations_research::PartialVariableAssignment& MPModelProto::_internal_solution_hint()
const {
8609 ::google::protobuf::internal::TSanRead(&
_impl_);
8610 const ::operations_research::PartialVariableAssignment* p =
_impl_.solution_hint_;
8615 return _internal_solution_hint();
8619 ::google::protobuf::internal::TSanWrite(&_impl_);
8620 if (GetArena() ==
nullptr) {
8621 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solution_hint_);
8624 if (value !=
nullptr) {
8625 _impl_._has_bits_[0] |= 0x00000002u;
8627 _impl_._has_bits_[0] &= ~0x00000002u;
8632 ::google::protobuf::internal::TSanWrite(&_impl_);
8634 _impl_._has_bits_[0] &= ~0x00000002u;
8635 ::operations_research::PartialVariableAssignment* released = _impl_.solution_hint_;
8637 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8638 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8639 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8640 if (GetArena() ==
nullptr) {
8644 if (GetArena() !=
nullptr) {
8645 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8651 ::google::protobuf::internal::TSanWrite(&
_impl_);
8654 _impl_._has_bits_[0] &= ~0x00000002u;
8656 _impl_.solution_hint_ =
nullptr;
8659inline ::operations_research::PartialVariableAssignment* PROTOBUF_NONNULL MPModelProto::_internal_mutable_solution_hint() {
8660 ::google::protobuf::internal::TSanWrite(&_impl_);
8661 if (_impl_.solution_hint_ ==
nullptr) {
8662 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::PartialVariableAssignment>(GetArena());
8665 return _impl_.solution_hint_;
8668 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8675 ::google::protobuf::Arena* message_arena = GetArena();
8676 ::google::protobuf::internal::TSanWrite(&_impl_);
8677 if (message_arena ==
nullptr) {
8678 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.solution_hint_);
8681 if (value !=
nullptr) {
8682 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8683 if (message_arena != submessage_arena) {
8684 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8686 _impl_._has_bits_[0] |= 0x00000002u;
8696inline int MPModelProto::_internal_annotation_size()
const {
8697 return _internal_annotation().size();
8700 return _internal_annotation_size();
8703 ::google::protobuf::internal::TSanWrite(&_impl_);
8704 _impl_.annotation_.Clear();
8707 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8709 return _internal_mutable_annotation()->Mutable(index);
8712 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8714 ::google::protobuf::internal::TSanWrite(&
_impl_);
8715 return _internal_mutable_annotation();
8718 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8720 return _internal_annotation().Get(index);
8723 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8724 ::google::protobuf::internal::TSanWrite(&_impl_);
8729inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>&
MPModelProto::annotation() const
8730 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8732 return _internal_annotation();
8734inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>&
8735MPModelProto::_internal_annotation()
const {
8736 ::google::protobuf::internal::TSanRead(&_impl_);
8739inline ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>* PROTOBUF_NONNULL
8740MPModelProto::_internal_mutable_annotation() {
8741 ::google::protobuf::internal::TSanRead(&
_impl_);
8742 return &
_impl_.annotation_;
8751 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
8755 ::google::protobuf::internal::TSanWrite(&
_impl_);
8757 _impl_._has_bits_[0] &= ~0x00000001u;
8761 return _internal_value();
8764 _internal_set_value(value);
8765 _impl_._has_bits_[0] |= 0x00000001u;
8768inline double OptionalDouble::_internal_value()
const {
8769 ::google::protobuf::internal::TSanRead(&_impl_);
8770 return _impl_.value_;
8772inline void OptionalDouble::_internal_set_value(
double value) {
8773 ::google::protobuf::internal::TSanWrite(&_impl_);
8774 _impl_.value_ = value;
8783 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8784 PROTOBUF_ASSUME(!value || _impl_.relative_mip_gap_ !=
nullptr);
8788 ::google::protobuf::internal::TSanWrite(&_impl_);
8789 if (
_impl_.relative_mip_gap_ !=
nullptr)
_impl_.relative_mip_gap_->Clear();
8790 _impl_._has_bits_[0] &= ~0x00000001u;
8792inline const ::operations_research::OptionalDouble& MPSolverCommonParameters::_internal_relative_mip_gap()
const {
8793 ::google::protobuf::internal::TSanRead(&
_impl_);
8794 const ::operations_research::OptionalDouble* p =
_impl_.relative_mip_gap_;
8799 return _internal_relative_mip_gap();
8803 ::google::protobuf::internal::TSanWrite(&
_impl_);
8804 if (GetArena() ==
nullptr) {
8805 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.relative_mip_gap_);
8808 if (
value !=
nullptr) {
8809 _impl_._has_bits_[0] |= 0x00000001u;
8811 _impl_._has_bits_[0] &= ~0x00000001u;
8816 ::google::protobuf::internal::TSanWrite(&_impl_);
8818 _impl_._has_bits_[0] &= ~0x00000001u;
8820 _impl_.relative_mip_gap_ =
nullptr;
8821 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8822 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8823 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8824 if (GetArena() ==
nullptr) {
8828 if (GetArena() !=
nullptr) {
8829 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8835 ::google::protobuf::internal::TSanWrite(&_impl_);
8838 _impl_._has_bits_[0] &= ~0x00000001u;
8840 _impl_.relative_mip_gap_ =
nullptr;
8843inline ::operations_research::OptionalDouble* PROTOBUF_NONNULL MPSolverCommonParameters::_internal_mutable_relative_mip_gap() {
8844 ::google::protobuf::internal::TSanWrite(&_impl_);
8845 if (_impl_.relative_mip_gap_ ==
nullptr) {
8846 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::OptionalDouble>(GetArena());
8849 return _impl_.relative_mip_gap_;
8852 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8853 _impl_._has_bits_[0] |= 0x00000001u;
8854 ::operations_research::OptionalDouble* _msg = _internal_mutable_relative_mip_gap();
8859 ::google::protobuf::Arena* message_arena = GetArena();
8860 ::google::protobuf::internal::TSanWrite(&_impl_);
8861 if (message_arena ==
nullptr) {
8862 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.relative_mip_gap_);
8865 if (value !=
nullptr) {
8866 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8867 if (message_arena != submessage_arena) {
8868 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8870 _impl_._has_bits_[0] |= 0x00000001u;
8872 _impl_._has_bits_[0] &= ~0x00000001u;
8881 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8882 PROTOBUF_ASSUME(!value || _impl_.primal_tolerance_ !=
nullptr);
8886 ::google::protobuf::internal::TSanWrite(&_impl_);
8887 if (_impl_.primal_tolerance_ !=
nullptr) _impl_.primal_tolerance_->Clear();
8888 _impl_._has_bits_[0] &= ~0x00000002u;
8890inline const ::operations_research::OptionalDouble& MPSolverCommonParameters::_internal_primal_tolerance()
const {
8891 ::google::protobuf::internal::TSanRead(&
_impl_);
8892 const ::operations_research::OptionalDouble* p =
_impl_.primal_tolerance_;
8897 return _internal_primal_tolerance();
8901 ::google::protobuf::internal::TSanWrite(&_impl_);
8902 if (GetArena() ==
nullptr) {
8903 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.primal_tolerance_);
8906 if (value !=
nullptr) {
8907 _impl_._has_bits_[0] |= 0x00000002u;
8909 _impl_._has_bits_[0] &= ~0x00000002u;
8914 ::google::protobuf::internal::TSanWrite(&_impl_);
8916 _impl_._has_bits_[0] &= ~0x00000002u;
8917 ::operations_research::OptionalDouble* released = _impl_.primal_tolerance_;
8918 _impl_.primal_tolerance_ =
nullptr;
8919 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8920 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8921 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8922 if (GetArena() ==
nullptr) {
8926 if (GetArena() !=
nullptr) {
8927 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8933 ::google::protobuf::internal::TSanWrite(&_impl_);
8936 _impl_._has_bits_[0] &= ~0x00000002u;
8938 _impl_.primal_tolerance_ =
nullptr;
8941inline ::operations_research::OptionalDouble* PROTOBUF_NONNULL MPSolverCommonParameters::_internal_mutable_primal_tolerance() {
8942 ::google::protobuf::internal::TSanWrite(&_impl_);
8943 if (_impl_.primal_tolerance_ ==
nullptr) {
8944 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::OptionalDouble>(GetArena());
8947 return _impl_.primal_tolerance_;
8950 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8951 _impl_._has_bits_[0] |= 0x00000002u;
8952 ::operations_research::OptionalDouble* _msg = _internal_mutable_primal_tolerance();
8957 ::google::protobuf::Arena* message_arena = GetArena();
8958 ::google::protobuf::internal::TSanWrite(&_impl_);
8959 if (message_arena ==
nullptr) {
8960 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.primal_tolerance_);
8963 if (value !=
nullptr) {
8964 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8965 if (message_arena != submessage_arena) {
8966 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8968 _impl_._has_bits_[0] |= 0x00000002u;
8970 _impl_._has_bits_[0] &= ~0x00000002u;
8979 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8980 PROTOBUF_ASSUME(!value || _impl_.dual_tolerance_ !=
nullptr);
8984 ::google::protobuf::internal::TSanWrite(&_impl_);
8985 if (_impl_.dual_tolerance_ !=
nullptr) _impl_.dual_tolerance_->Clear();
8986 _impl_._has_bits_[0] &= ~0x00000004u;
8988inline const ::operations_research::OptionalDouble& MPSolverCommonParameters::_internal_dual_tolerance()
const {
8989 ::google::protobuf::internal::TSanRead(&
_impl_);
8990 const ::operations_research::OptionalDouble* p =
_impl_.dual_tolerance_;
8995 return _internal_dual_tolerance();
8999 ::google::protobuf::internal::TSanWrite(&_impl_);
9000 if (GetArena() ==
nullptr) {
9001 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.dual_tolerance_);
9004 if (value !=
nullptr) {
9005 _impl_._has_bits_[0] |= 0x00000004u;
9007 _impl_._has_bits_[0] &= ~0x00000004u;
9012 ::google::protobuf::internal::TSanWrite(&_impl_);
9014 _impl_._has_bits_[0] &= ~0x00000004u;
9015 ::operations_research::OptionalDouble* released = _impl_.dual_tolerance_;
9016 _impl_.dual_tolerance_ =
nullptr;
9017 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9018 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9019 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9020 if (GetArena() ==
nullptr) {
9024 if (GetArena() !=
nullptr) {
9025 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9031 ::google::protobuf::internal::TSanWrite(&_impl_);
9034 _impl_._has_bits_[0] &= ~0x00000004u;
9036 _impl_.dual_tolerance_ =
nullptr;
9039inline ::operations_research::OptionalDouble* PROTOBUF_NONNULL MPSolverCommonParameters::_internal_mutable_dual_tolerance() {
9040 ::google::protobuf::internal::TSanWrite(&_impl_);
9041 if (_impl_.dual_tolerance_ ==
nullptr) {
9042 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::OptionalDouble>(GetArena());
9045 return _impl_.dual_tolerance_;
9048 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9049 _impl_._has_bits_[0] |= 0x00000004u;
9050 ::operations_research::OptionalDouble* _msg = _internal_mutable_dual_tolerance();
9055 ::google::protobuf::Arena* message_arena = GetArena();
9056 ::google::protobuf::internal::TSanWrite(&_impl_);
9057 if (message_arena ==
nullptr) {
9058 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.dual_tolerance_);
9061 if (value !=
nullptr) {
9062 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9063 if (message_arena != submessage_arena) {
9064 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9066 _impl_._has_bits_[0] |= 0x00000004u;
9068 _impl_._has_bits_[0] &= ~0x00000004u;
9077 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
9081 ::google::protobuf::internal::TSanWrite(&_impl_);
9082 _impl_.lp_algorithm_ = 0;
9083 _impl_._has_bits_[0] &= ~0x00000008u;
9087 return _internal_lp_algorithm();
9090 _internal_set_lp_algorithm(value);
9091 _impl_._has_bits_[0] |= 0x00000008u;
9094inline ::operations_research::MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters::_internal_lp_algorithm()
const {
9095 ::google::protobuf::internal::TSanRead(&
_impl_);
9099 ::google::protobuf::internal::TSanWrite(&_impl_);
9101 assert(::google::protobuf::internal::ValidateEnum(
9103 _impl_.lp_algorithm_ = value;
9108 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
9112 ::google::protobuf::internal::TSanWrite(&_impl_);
9113 _impl_.presolve_ = 0;
9114 _impl_._has_bits_[0] &= ~0x00000010u;
9118 return _internal_presolve();
9121 _internal_set_presolve(value);
9122 _impl_._has_bits_[0] |= 0x00000010u;
9125inline ::operations_research::OptionalBoolean MPSolverCommonParameters::_internal_presolve()
const {
9126 ::google::protobuf::internal::TSanRead(&
_impl_);
9130 ::google::protobuf::internal::TSanWrite(&
_impl_);
9132 assert(::google::protobuf::internal::ValidateEnum(
9134 _impl_.presolve_ = value;
9139 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
9143 ::google::protobuf::internal::TSanWrite(&_impl_);
9144 _impl_.scaling_ = 0;
9145 _impl_._has_bits_[0] &= ~0x00000020u;
9149 return _internal_scaling();
9152 _internal_set_scaling(value);
9153 _impl_._has_bits_[0] |= 0x00000020u;
9156inline ::operations_research::OptionalBoolean MPSolverCommonParameters::_internal_scaling()
const {
9157 ::google::protobuf::internal::TSanRead(&
_impl_);
9161 ::google::protobuf::internal::TSanWrite(&
_impl_);
9163 assert(::google::protobuf::internal::ValidateEnum(
9178 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
9182 ::google::protobuf::internal::TSanWrite(&
_impl_);
9183 _impl_.baseline_model_file_path_.ClearToEmpty();
9184 _impl_._has_bits_[0] &= ~0x00000001u;
9187 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9189 return _internal_baseline_model_file_path();
9191template <
typename Arg_,
typename... Args_>
9193 ::google::protobuf::internal::TSanWrite(&
_impl_);
9194 _impl_._has_bits_[0] |= 0x00000001u;
9195 _impl_.baseline_model_file_path_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
9199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9200 ::std::string* _s = _internal_mutable_baseline_model_file_path();
9204inline const ::std::string& MPModelDeltaProto::_internal_baseline_model_file_path()
const {
9205 ::google::protobuf::internal::TSanRead(&_impl_);
9206 return _impl_.baseline_model_file_path_.Get();
9208inline void MPModelDeltaProto::_internal_set_baseline_model_file_path(const ::std::string& value) {
9209 ::google::protobuf::internal::TSanWrite(&_impl_);
9210 _impl_._has_bits_[0] |= 0x00000001u;
9211 _impl_.baseline_model_file_path_.Set(value, GetArena());
9213inline ::std::string* PROTOBUF_NONNULL MPModelDeltaProto::_internal_mutable_baseline_model_file_path() {
9214 ::google::protobuf::internal::TSanWrite(&_impl_);
9215 _impl_._has_bits_[0] |= 0x00000001u;
9216 return _impl_.baseline_model_file_path_.Mutable( GetArena());
9219 ::google::protobuf::internal::TSanWrite(&_impl_);
9221 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
9225 auto* released =
_impl_.baseline_model_file_path_.Release();
9226 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
9227 _impl_.baseline_model_file_path_.Set(
"", GetArena());
9232 ::google::protobuf::internal::TSanWrite(&_impl_);
9233 if (value !=
nullptr) {
9234 _impl_._has_bits_[0] |= 0x00000001u;
9236 _impl_._has_bits_[0] &= ~0x00000001u;
9238 _impl_.baseline_model_file_path_.SetAllocated(value, GetArena());
9239 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.baseline_model_file_path_.IsDefault()) {
9240 _impl_.baseline_model_file_path_.Set(
"", GetArena());
9246inline int MPModelDeltaProto::_internal_variable_overrides_size()
const {
9247 return _internal_variable_overrides().size();
9250 return _internal_variable_overrides_size();
9253 ::google::protobuf::internal::TSanWrite(&_impl_);
9254 _impl_.variable_overrides_.Clear();
9256inline const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>& MPModelDeltaProto::_internal_variable_overrides()
const {
9257 ::google::protobuf::internal::TSanRead(&_impl_);
9258 return _impl_.variable_overrides_.GetMap();
9262 return _internal_variable_overrides();
9264inline ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>* PROTOBUF_NONNULL MPModelDeltaProto::_internal_mutable_variable_overrides() {
9265 ::google::protobuf::internal::TSanWrite(&_impl_);
9266 return _impl_.variable_overrides_.MutableMap();
9269 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9271 return _internal_mutable_variable_overrides();
9275inline int MPModelDeltaProto::_internal_constraint_overrides_size()
const {
9276 return _internal_constraint_overrides().size();
9279 return _internal_constraint_overrides_size();
9282 ::google::protobuf::internal::TSanWrite(&_impl_);
9283 _impl_.constraint_overrides_.Clear();
9285inline const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>& MPModelDeltaProto::_internal_constraint_overrides()
const {
9286 ::google::protobuf::internal::TSanRead(&_impl_);
9287 return _impl_.constraint_overrides_.GetMap();
9291 return _internal_constraint_overrides();
9293inline ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>* PROTOBUF_NONNULL MPModelDeltaProto::_internal_mutable_constraint_overrides() {
9294 ::google::protobuf::internal::TSanWrite(&_impl_);
9295 return _impl_.constraint_overrides_.MutableMap();
9298 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9300 return _internal_mutable_constraint_overrides();
9309 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
9310 PROTOBUF_ASSUME(!value ||
_impl_.model_ !=
nullptr);
9314 ::google::protobuf::internal::TSanWrite(&_impl_);
9315 if (_impl_.model_ !=
nullptr) _impl_.model_->Clear();
9316 _impl_._has_bits_[0] &= ~0x00000002u;
9318inline const ::operations_research::MPModelProto& MPModelRequest::_internal_model()
const {
9319 ::google::protobuf::internal::TSanRead(&_impl_);
9320 const ::operations_research::MPModelProto* p = _impl_.model_;
9323inline const ::operations_research::MPModelProto&
MPModelRequest::model() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
9325 return _internal_model();
9329 ::google::protobuf::internal::TSanWrite(&_impl_);
9330 if (GetArena() ==
nullptr) {
9331 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.model_);
9334 if (value !=
nullptr) {
9335 _impl_._has_bits_[0] |= 0x00000002u;
9337 _impl_._has_bits_[0] &= ~0x00000002u;
9342 ::google::protobuf::internal::TSanWrite(&_impl_);
9344 _impl_._has_bits_[0] &= ~0x00000002u;
9346 _impl_.model_ =
nullptr;
9347 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9348 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9349 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9350 if (GetArena() ==
nullptr) {
9354 if (GetArena() !=
nullptr) {
9355 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9361 ::google::protobuf::internal::TSanWrite(&_impl_);
9364 _impl_._has_bits_[0] &= ~0x00000002u;
9366 _impl_.model_ =
nullptr;
9369inline ::operations_research::MPModelProto* PROTOBUF_NONNULL MPModelRequest::_internal_mutable_model() {
9370 ::google::protobuf::internal::TSanWrite(&_impl_);
9372 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPModelProto>(GetArena());
9375 return _impl_.model_;
9378 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9379 _impl_._has_bits_[0] |= 0x00000002u;
9385 ::google::protobuf::Arena* message_arena = GetArena();
9386 ::google::protobuf::internal::TSanWrite(&
_impl_);
9387 if (message_arena ==
nullptr) {
9388 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.model_);
9391 if (value !=
nullptr) {
9392 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9393 if (message_arena != submessage_arena) {
9394 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9396 _impl_._has_bits_[0] |= 0x00000002u;
9398 _impl_._has_bits_[0] &= ~0x00000002u;
9401 _impl_.model_ =
reinterpret_cast<::operations_research::MPModelProto*
>(value);
9407 bool value = (
_impl_._has_bits_[0] & 0x00000080u) != 0;
9411 ::google::protobuf::internal::TSanWrite(&_impl_);
9412 _impl_.solver_type_ = 2;
9413 _impl_._has_bits_[0] &= ~0x00000080u;
9417 return _internal_solver_type();
9420 _internal_set_solver_type(value);
9424inline ::operations_research::MPModelRequest_SolverType MPModelRequest::_internal_solver_type()
const {
9425 ::google::protobuf::internal::TSanRead(&_impl_);
9429 ::google::protobuf::internal::TSanWrite(&
_impl_);
9431 assert(::google::protobuf::internal::ValidateEnum(
9433 _impl_.solver_type_ = value;
9438 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
9442 ::google::protobuf::internal::TSanWrite(&_impl_);
9443 _impl_.solver_time_limit_seconds_ = 0;
9444 _impl_._has_bits_[0] &= ~0x00000008u;
9448 return _internal_solver_time_limit_seconds();
9451 _internal_set_solver_time_limit_seconds(value);
9452 _impl_._has_bits_[0] |= 0x00000008u;
9455inline double MPModelRequest::_internal_solver_time_limit_seconds()
const {
9456 ::google::protobuf::internal::TSanRead(&_impl_);
9457 return _impl_.solver_time_limit_seconds_;
9459inline void MPModelRequest::_internal_set_solver_time_limit_seconds(
double value) {
9460 ::google::protobuf::internal::TSanWrite(&
_impl_);
9461 _impl_.solver_time_limit_seconds_ = value;
9466 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
9470 ::google::protobuf::internal::TSanWrite(&_impl_);
9471 _impl_.enable_internal_solver_output_ =
false;
9472 _impl_._has_bits_[0] &= ~0x00000010u;
9476 return _internal_enable_internal_solver_output();
9479 _internal_set_enable_internal_solver_output(value);
9480 _impl_._has_bits_[0] |= 0x00000010u;
9483inline bool MPModelRequest::_internal_enable_internal_solver_output()
const {
9484 ::google::protobuf::internal::TSanRead(&_impl_);
9485 return _impl_.enable_internal_solver_output_;
9487inline void MPModelRequest::_internal_set_enable_internal_solver_output(
bool value) {
9488 ::google::protobuf::internal::TSanWrite(&_impl_);
9489 _impl_.enable_internal_solver_output_ = value;
9494 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
9498 ::google::protobuf::internal::TSanWrite(&_impl_);
9499 _impl_.solver_specific_parameters_.ClearToEmpty();
9500 _impl_._has_bits_[0] &= ~0x00000001u;
9503 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9505 return _internal_solver_specific_parameters();
9507template <
typename Arg_,
typename... Args_>
9509 ::google::protobuf::internal::TSanWrite(&
_impl_);
9510 _impl_._has_bits_[0] |= 0x00000001u;
9511 _impl_.solver_specific_parameters_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
9515 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9516 ::std::string* _s = _internal_mutable_solver_specific_parameters();
9520inline const ::std::string& MPModelRequest::_internal_solver_specific_parameters()
const {
9521 ::google::protobuf::internal::TSanRead(&_impl_);
9522 return _impl_.solver_specific_parameters_.Get();
9524inline void MPModelRequest::_internal_set_solver_specific_parameters(const ::std::string& value) {
9525 ::google::protobuf::internal::TSanWrite(&_impl_);
9526 _impl_._has_bits_[0] |= 0x00000001u;
9527 _impl_.solver_specific_parameters_.Set(value, GetArena());
9529inline ::std::string* PROTOBUF_NONNULL MPModelRequest::_internal_mutable_solver_specific_parameters() {
9530 ::google::protobuf::internal::TSanWrite(&_impl_);
9531 _impl_._has_bits_[0] |= 0x00000001u;
9532 return _impl_.solver_specific_parameters_.Mutable( GetArena());
9535 ::google::protobuf::internal::TSanWrite(&_impl_);
9537 if ((
_impl_._has_bits_[0] & 0x00000001u) == 0) {
9540 _impl_._has_bits_[0] &= ~0x00000001u;
9541 auto* released =
_impl_.solver_specific_parameters_.Release();
9542 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
9543 _impl_.solver_specific_parameters_.Set(
"", GetArena());
9548 ::google::protobuf::internal::TSanWrite(&_impl_);
9549 if (value !=
nullptr) {
9550 _impl_._has_bits_[0] |= 0x00000001u;
9554 _impl_.solver_specific_parameters_.SetAllocated(value, GetArena());
9555 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.solver_specific_parameters_.IsDefault()) {
9556 _impl_.solver_specific_parameters_.Set(
"", GetArena());
9563 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
9567 ::google::protobuf::internal::TSanWrite(&_impl_);
9568 _impl_.ignore_solver_specific_parameters_failure_ =
false;
9569 _impl_._has_bits_[0] &= ~0x00000020u;
9573 return _internal_ignore_solver_specific_parameters_failure();
9576 _internal_set_ignore_solver_specific_parameters_failure(value);
9577 _impl_._has_bits_[0] |= 0x00000020u;
9580inline bool MPModelRequest::_internal_ignore_solver_specific_parameters_failure()
const {
9581 ::google::protobuf::internal::TSanRead(&_impl_);
9582 return _impl_.ignore_solver_specific_parameters_failure_;
9584inline void MPModelRequest::_internal_set_ignore_solver_specific_parameters_failure(
bool value) {
9585 ::google::protobuf::internal::TSanWrite(&_impl_);
9586 _impl_.ignore_solver_specific_parameters_failure_ = value;
9591 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
9592 PROTOBUF_ASSUME(!value ||
_impl_.model_delta_ !=
nullptr);
9596 ::google::protobuf::internal::TSanWrite(&_impl_);
9597 if (_impl_.model_delta_ !=
nullptr) _impl_.model_delta_->Clear();
9598 _impl_._has_bits_[0] &= ~0x00000004u;
9600inline const ::operations_research::MPModelDeltaProto& MPModelRequest::_internal_model_delta()
const {
9601 ::google::protobuf::internal::TSanRead(&_impl_);
9602 const ::operations_research::MPModelDeltaProto* p = _impl_.model_delta_;
9607 return _internal_model_delta();
9611 ::google::protobuf::internal::TSanWrite(&
_impl_);
9612 if (GetArena() ==
nullptr) {
9613 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.model_delta_);
9616 if (value !=
nullptr) {
9617 _impl_._has_bits_[0] |= 0x00000004u;
9624 ::google::protobuf::internal::TSanWrite(&_impl_);
9626 _impl_._has_bits_[0] &= ~0x00000004u;
9628 _impl_.model_delta_ =
nullptr;
9629 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9630 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9631 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9632 if (GetArena() ==
nullptr) {
9636 if (GetArena() !=
nullptr) {
9637 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9643 ::google::protobuf::internal::TSanWrite(&_impl_);
9646 _impl_._has_bits_[0] &= ~0x00000004u;
9648 _impl_.model_delta_ =
nullptr;
9651inline ::operations_research::MPModelDeltaProto* PROTOBUF_NONNULL MPModelRequest::_internal_mutable_model_delta() {
9652 ::google::protobuf::internal::TSanWrite(&_impl_);
9654 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPModelDeltaProto>(GetArena());
9657 return _impl_.model_delta_;
9660 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9661 _impl_._has_bits_[0] |= 0x00000004u;
9667 ::google::protobuf::Arena* message_arena = GetArena();
9668 ::google::protobuf::internal::TSanWrite(&
_impl_);
9669 if (message_arena ==
nullptr) {
9670 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.model_delta_);
9673 if (value !=
nullptr) {
9674 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9675 if (message_arena != submessage_arena) {
9676 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9678 _impl_._has_bits_[0] |= 0x00000004u;
9680 _impl_._has_bits_[0] &= ~0x00000004u;
9683 _impl_.model_delta_ =
reinterpret_cast<::operations_research::MPModelDeltaProto*
>(value);
9689 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
9693 ::google::protobuf::internal::TSanWrite(&_impl_);
9694 _impl_.populate_additional_solutions_up_to_ = 0;
9695 _impl_._has_bits_[0] &= ~0x00000040u;
9699 return _internal_populate_additional_solutions_up_to();
9702 _internal_set_populate_additional_solutions_up_to(value);
9706inline ::int32_t MPModelRequest::_internal_populate_additional_solutions_up_to()
const {
9707 ::google::protobuf::internal::TSanRead(&_impl_);
9708 return _impl_.populate_additional_solutions_up_to_;
9710inline void MPModelRequest::_internal_set_populate_additional_solutions_up_to(::int32_t value) {
9711 ::google::protobuf::internal::TSanWrite(&
_impl_);
9712 _impl_.populate_additional_solutions_up_to_ = value;
9721 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9725 ::google::protobuf::internal::TSanWrite(&_impl_);
9726 _impl_.objective_value_ = 0;
9727 _impl_._has_bits_[0] &= ~0x00000001u;
9731 return _internal_objective_value();
9734 _internal_set_objective_value(value);
9735 _impl_._has_bits_[0] |= 0x00000001u;
9738inline double MPSolution::_internal_objective_value()
const {
9739 ::google::protobuf::internal::TSanRead(&_impl_);
9740 return _impl_.objective_value_;
9742inline void MPSolution::_internal_set_objective_value(
double value) {
9743 ::google::protobuf::internal::TSanWrite(&_impl_);
9744 _impl_.objective_value_ = value;
9748inline int MPSolution::_internal_variable_value_size()
const {
9749 return _internal_variable_value().size();
9752 return _internal_variable_value_size();
9755 ::google::protobuf::internal::TSanWrite(&_impl_);
9756 _impl_.variable_value_.Clear();
9760 return _internal_variable_value().Get(index);
9763 _internal_mutable_variable_value()->Set(index, value);
9767 ::google::protobuf::internal::TSanWrite(&_impl_);
9768 _internal_mutable_variable_value()->Add(value);
9772 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9774 return _internal_variable_value();
9777 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9779 ::google::protobuf::internal::TSanWrite(&
_impl_);
9780 return _internal_mutable_variable_value();
9782inline const ::google::protobuf::RepeatedField<double>&
9783MPSolution::_internal_variable_value()
const {
9784 ::google::protobuf::internal::TSanRead(&_impl_);
9785 return _impl_.variable_value_;
9787inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
9788MPSolution::_internal_mutable_variable_value() {
9789 ::google::protobuf::internal::TSanRead(&_impl_);
9790 return &_impl_.variable_value_;
9799 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
9803 ::google::protobuf::internal::TSanWrite(&
_impl_);
9804 _impl_.solve_wall_time_seconds_ = 0;
9805 _impl_._has_bits_[0] &= ~0x00000001u;
9809 return _internal_solve_wall_time_seconds();
9812 _internal_set_solve_wall_time_seconds(value);
9813 _impl_._has_bits_[0] |= 0x00000001u;
9816inline double MPSolveInfo::_internal_solve_wall_time_seconds()
const {
9817 ::google::protobuf::internal::TSanRead(&
_impl_);
9818 return _impl_.solve_wall_time_seconds_;
9820inline void MPSolveInfo::_internal_set_solve_wall_time_seconds(
double value) {
9821 ::google::protobuf::internal::TSanWrite(&
_impl_);
9822 _impl_.solve_wall_time_seconds_ = value;
9827 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9831 ::google::protobuf::internal::TSanWrite(&_impl_);
9832 _impl_.solve_user_time_seconds_ = 0;
9833 _impl_._has_bits_[0] &= ~0x00000002u;
9837 return _internal_solve_user_time_seconds();
9840 _internal_set_solve_user_time_seconds(value);
9841 _impl_._has_bits_[0] |= 0x00000002u;
9844inline double MPSolveInfo::_internal_solve_user_time_seconds()
const {
9845 ::google::protobuf::internal::TSanRead(&
_impl_);
9846 return _impl_.solve_user_time_seconds_;
9848inline void MPSolveInfo::_internal_set_solve_user_time_seconds(
double value) {
9849 ::google::protobuf::internal::TSanWrite(&
_impl_);
9850 _impl_.solve_user_time_seconds_ = value;
9859 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
9863 ::google::protobuf::internal::TSanWrite(&_impl_);
9864 _impl_.status_ = 99;
9865 _impl_._has_bits_[0] &= ~0x00000020u;
9869 return _internal_status();
9872 _internal_set_status(value);
9873 _impl_._has_bits_[0] |= 0x00000020u;
9876inline ::operations_research::MPSolverResponseStatus MPSolutionResponse::_internal_status()
const {
9877 ::google::protobuf::internal::TSanRead(&
_impl_);
9881 ::google::protobuf::internal::TSanWrite(&
_impl_);
9883 assert(::google::protobuf::internal::ValidateEnum(
9890 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9894 ::google::protobuf::internal::TSanWrite(&_impl_);
9895 _impl_.status_str_.ClearToEmpty();
9896 _impl_._has_bits_[0] &= ~0x00000001u;
9899 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9901 return _internal_status_str();
9903template <
typename Arg_,
typename... Args_>
9905 ::google::protobuf::internal::TSanWrite(&
_impl_);
9906 _impl_._has_bits_[0] |= 0x00000001u;
9907 _impl_.status_str_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
9911 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9912 ::std::string* _s = _internal_mutable_status_str();
9916inline const ::std::string& MPSolutionResponse::_internal_status_str()
const {
9917 ::google::protobuf::internal::TSanRead(&_impl_);
9920inline void MPSolutionResponse::_internal_set_status_str(const ::std::string& value) {
9921 ::google::protobuf::internal::TSanWrite(&_impl_);
9922 _impl_._has_bits_[0] |= 0x00000001u;
9923 _impl_.status_str_.Set(value, GetArena());
9925inline ::std::string* PROTOBUF_NONNULL MPSolutionResponse::_internal_mutable_status_str() {
9926 ::google::protobuf::internal::TSanWrite(&_impl_);
9927 _impl_._has_bits_[0] |= 0x00000001u;
9928 return _impl_.status_str_.Mutable( GetArena());
9931 ::google::protobuf::internal::TSanWrite(&_impl_);
9933 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
9937 auto* released =
_impl_.status_str_.Release();
9938 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
9939 _impl_.status_str_.Set(
"", GetArena());
9944 ::google::protobuf::internal::TSanWrite(&_impl_);
9945 if (value !=
nullptr) {
9946 _impl_._has_bits_[0] |= 0x00000001u;
9948 _impl_._has_bits_[0] &= ~0x00000001u;
9950 _impl_.status_str_.SetAllocated(value, GetArena());
9951 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.status_str_.IsDefault()) {
9952 _impl_.status_str_.Set(
"", GetArena());
9959 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
9963 ::google::protobuf::internal::TSanWrite(&_impl_);
9964 _impl_.objective_value_ = 0;
9965 _impl_._has_bits_[0] &= ~0x00000008u;
9969 return _internal_objective_value();
9972 _internal_set_objective_value(value);
9973 _impl_._has_bits_[0] |= 0x00000008u;
9976inline double MPSolutionResponse::_internal_objective_value()
const {
9977 ::google::protobuf::internal::TSanRead(&
_impl_);
9978 return _impl_.objective_value_;
9980inline void MPSolutionResponse::_internal_set_objective_value(
double value) {
9981 ::google::protobuf::internal::TSanWrite(&_impl_);
9982 _impl_.objective_value_ = value;
9987 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
9991 ::google::protobuf::internal::TSanWrite(&
_impl_);
9992 _impl_.best_objective_bound_ = 0;
9993 _impl_._has_bits_[0] &= ~0x00000010u;
9997 return _internal_best_objective_bound();
10000 _internal_set_best_objective_bound(value);
10001 _impl_._has_bits_[0] |= 0x00000010u;
10004inline double MPSolutionResponse::_internal_best_objective_bound()
const {
10006 return _impl_.best_objective_bound_;
10008inline void MPSolutionResponse::_internal_set_best_objective_bound(
double value) {
10009 ::google::protobuf::internal::TSanWrite(&
_impl_);
10010 _impl_.best_objective_bound_ = value;
10014inline int MPSolutionResponse::_internal_variable_value_size()
const {
10015 return _internal_variable_value().size();
10018 return _internal_variable_value_size();
10021 ::google::protobuf::internal::TSanWrite(&_impl_);
10022 _impl_.variable_value_.Clear();
10026 return _internal_variable_value().Get(index);
10029 _internal_mutable_variable_value()->Set(index, value);
10033 ::google::protobuf::internal::TSanWrite(&
_impl_);
10034 _internal_mutable_variable_value()->Add(value);
10038 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10040 return _internal_variable_value();
10043 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10045 ::google::protobuf::internal::TSanWrite(&
_impl_);
10046 return _internal_mutable_variable_value();
10048inline const ::google::protobuf::RepeatedField<double>&
10049MPSolutionResponse::_internal_variable_value()
const {
10050 ::google::protobuf::internal::TSanRead(&_impl_);
10051 return _impl_.variable_value_;
10053inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
10054MPSolutionResponse::_internal_mutable_variable_value() {
10055 ::google::protobuf::internal::TSanRead(&_impl_);
10056 return &_impl_.variable_value_;
10061 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
10062 PROTOBUF_ASSUME(!value || _impl_.solve_info_ !=
nullptr);
10066 ::google::protobuf::internal::TSanWrite(&_impl_);
10068 _impl_._has_bits_[0] &= ~0x00000004u;
10070inline const ::operations_research::MPSolveInfo& MPSolutionResponse::_internal_solve_info()
const {
10072 const ::operations_research::MPSolveInfo* p =
_impl_.solve_info_;
10077 return _internal_solve_info();
10081 ::google::protobuf::internal::TSanWrite(&
_impl_);
10082 if (GetArena() ==
nullptr) {
10083 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_info_);
10086 if (value !=
nullptr) {
10087 _impl_._has_bits_[0] |= 0x00000004u;
10094 ::google::protobuf::internal::TSanWrite(&_impl_);
10096 _impl_._has_bits_[0] &= ~0x00000004u;
10098 _impl_.solve_info_ =
nullptr;
10099 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
10100 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
10101 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
10102 if (GetArena() ==
nullptr) {
10106 if (GetArena() !=
nullptr) {
10107 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
10113 ::google::protobuf::internal::TSanWrite(&
_impl_);
10116 _impl_._has_bits_[0] &= ~0x00000004u;
10118 _impl_.solve_info_ =
nullptr;
10121inline ::operations_research::MPSolveInfo* PROTOBUF_NONNULL MPSolutionResponse::_internal_mutable_solve_info() {
10122 ::google::protobuf::internal::TSanWrite(&
_impl_);
10123 if (
_impl_.solve_info_ ==
nullptr) {
10124 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPSolveInfo>(GetArena());
10127 return _impl_.solve_info_;
10130 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10131 _impl_._has_bits_[0] |= 0x00000004u;
10137 ::google::protobuf::Arena* message_arena = GetArena();
10138 ::google::protobuf::internal::TSanWrite(&_impl_);
10139 if (message_arena ==
nullptr) {
10140 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_info_);
10143 if (value !=
nullptr) {
10144 ::google::protobuf::Arena* submessage_arena = value->GetArena();
10145 if (message_arena != submessage_arena) {
10146 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
10148 _impl_._has_bits_[0] |= 0x00000004u;
10150 _impl_._has_bits_[0] &= ~0x00000004u;
10153 _impl_.solve_info_ =
reinterpret_cast<::operations_research::MPSolveInfo*
>(value);
10159 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
10163 ::google::protobuf::internal::TSanWrite(&_impl_);
10164 _impl_.solver_specific_info_.ClearToEmpty();
10165 _impl_._has_bits_[0] &= ~0x00000002u;
10168 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10170 return _internal_solver_specific_info();
10172template <
typename Arg_,
typename... Args_>
10174 ::google::protobuf::internal::TSanWrite(&_impl_);
10175 _impl_._has_bits_[0] |= 0x00000002u;
10176 _impl_.solver_specific_info_.SetBytes(
static_cast<Arg_&&
>(arg), args..., GetArena());
10180 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10181 ::std::string* _s = _internal_mutable_solver_specific_info();
10185inline const ::std::string& MPSolutionResponse::_internal_solver_specific_info()
const {
10186 ::google::protobuf::internal::TSanRead(&_impl_);
10187 return _impl_.solver_specific_info_.Get();
10189inline void MPSolutionResponse::_internal_set_solver_specific_info(const ::std::string& value) {
10190 ::google::protobuf::internal::TSanWrite(&_impl_);
10191 _impl_._has_bits_[0] |= 0x00000002u;
10192 _impl_.solver_specific_info_.Set(value, GetArena());
10194inline ::std::string* PROTOBUF_NONNULL MPSolutionResponse::_internal_mutable_solver_specific_info() {
10195 ::google::protobuf::internal::TSanWrite(&_impl_);
10196 _impl_._has_bits_[0] |= 0x00000002u;
10197 return _impl_.solver_specific_info_.Mutable( GetArena());
10200 ::google::protobuf::internal::TSanWrite(&_impl_);
10202 if ((_impl_._has_bits_[0] & 0x00000002u) == 0) {
10206 auto* released =
_impl_.solver_specific_info_.Release();
10207 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
10208 _impl_.solver_specific_info_.Set(
"", GetArena());
10213 ::google::protobuf::internal::TSanWrite(&_impl_);
10214 if (value !=
nullptr) {
10215 _impl_._has_bits_[0] |= 0x00000002u;
10217 _impl_._has_bits_[0] &= ~0x00000002u;
10219 _impl_.solver_specific_info_.SetAllocated(value, GetArena());
10220 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() &&
_impl_.solver_specific_info_.IsDefault()) {
10221 _impl_.solver_specific_info_.Set(
"", GetArena());
10227inline int MPSolutionResponse::_internal_dual_value_size()
const {
10228 return _internal_dual_value().size();
10231 return _internal_dual_value_size();
10234 ::google::protobuf::internal::TSanWrite(&_impl_);
10235 _impl_.dual_value_.Clear();
10239 return _internal_dual_value().Get(index);
10242 _internal_mutable_dual_value()->Set(index, value);
10246 ::google::protobuf::internal::TSanWrite(&
_impl_);
10247 _internal_mutable_dual_value()->Add(value);
10251 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10253 return _internal_dual_value();
10256 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10258 ::google::protobuf::internal::TSanWrite(&_impl_);
10259 return _internal_mutable_dual_value();
10261inline const ::google::protobuf::RepeatedField<double>&
10262MPSolutionResponse::_internal_dual_value()
const {
10263 ::google::protobuf::internal::TSanRead(&_impl_);
10264 return _impl_.dual_value_;
10266inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
10267MPSolutionResponse::_internal_mutable_dual_value() {
10268 ::google::protobuf::internal::TSanRead(&_impl_);
10269 return &_impl_.dual_value_;
10273inline int MPSolutionResponse::_internal_reduced_cost_size()
const {
10274 return _internal_reduced_cost().size();
10277 return _internal_reduced_cost_size();
10280 ::google::protobuf::internal::TSanWrite(&
_impl_);
10281 _impl_.reduced_cost_.Clear();
10285 return _internal_reduced_cost().Get(index);
10288 _internal_mutable_reduced_cost()->Set(index, value);
10292 ::google::protobuf::internal::TSanWrite(&
_impl_);
10293 _internal_mutable_reduced_cost()->Add(value);
10297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10299 return _internal_reduced_cost();
10302 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10304 ::google::protobuf::internal::TSanWrite(&
_impl_);
10305 return _internal_mutable_reduced_cost();
10307inline const ::google::protobuf::RepeatedField<double>&
10308MPSolutionResponse::_internal_reduced_cost()
const {
10309 ::google::protobuf::internal::TSanRead(&_impl_);
10310 return _impl_.reduced_cost_;
10312inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
10313MPSolutionResponse::_internal_mutable_reduced_cost() {
10314 ::google::protobuf::internal::TSanRead(&_impl_);
10315 return &_impl_.reduced_cost_;
10319inline int MPSolutionResponse::_internal_additional_solutions_size()
const {
10320 return _internal_additional_solutions().size();
10323 return _internal_additional_solutions_size();
10326 ::google::protobuf::internal::TSanWrite(&
_impl_);
10327 _impl_.additional_solutions_.Clear();
10330 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10332 return _internal_mutable_additional_solutions()->Mutable(index);
10335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10337 ::google::protobuf::internal::TSanWrite(&
_impl_);
10338 return _internal_mutable_additional_solutions();
10341 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10343 return _internal_additional_solutions().Get(index);
10346 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10347 ::google::protobuf::internal::TSanWrite(&_impl_);
10353 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10355 return _internal_additional_solutions();
10357inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>&
10358MPSolutionResponse::_internal_additional_solutions()
const {
10359 ::google::protobuf::internal::TSanRead(&_impl_);
10360 return _impl_.additional_solutions_;
10362inline ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>* PROTOBUF_NONNULL
10363MPSolutionResponse::_internal_mutable_additional_solutions() {
10364 ::google::protobuf::internal::TSanRead(&_impl_);
10365 return &_impl_.additional_solutions_;
10369#pragma GCC diagnostic pop
10377namespace protobuf {
10382inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPSosConstraint_Type>() {
10383 return ::operations_research::MPSosConstraint_Type_descriptor();
10388inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPModelProto_Annotation_TargetType>() {
10389 return ::operations_research::MPModelProto_Annotation_TargetType_descriptor();
10394inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPSolverCommonParameters_LPAlgorithmValues>() {
10395 return ::operations_research::MPSolverCommonParameters_LPAlgorithmValues_descriptor();
10400inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPModelRequest_SolverType>() {
10401 return ::operations_research::MPModelRequest_SolverType_descriptor();
10406inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPSolverResponseStatus>() {
10407 return ::operations_research::MPSolverResponseStatus_descriptor();
10415#include "google/protobuf/port_undef.inc"
void UnsafeArenaSwap(MPAbsConstraint *PROTOBUF_NONNULL other)
::size_t ByteSizeLong() const final
void CopyFrom(const MPAbsConstraint &from)
::google::protobuf::Metadata GetMetadata() const
bool has_resultant_var_index() const
optional int32 resultant_var_index = 2;
::int32_t resultant_var_index() const
bool has_var_index() const
optional int32 var_index = 1;
static const MPAbsConstraint & default_instance()
friend void swap(MPAbsConstraint &a, MPAbsConstraint &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_resultant_var_index()
::int32_t var_index() const
void set_var_index(::int32_t value)
void set_resultant_var_index(::int32_t value)
@ kResultantVarIndexFieldNumber
MPAbsConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void MergeFrom(const MPAbsConstraint &from)
void Swap(MPAbsConstraint *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField<::int32_t > & var_index() const
void clear_resultant_var_index()
@ kResultantVarIndexFieldNumber
void add_var_index(::int32_t value)
void MergeFrom(const MPArrayConstraint &from)
static const MPArrayConstraint & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::int32_t resultant_var_index() const
::google::protobuf::Metadata GetMetadata() const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
::int32_t var_index(int index) const
static constexpr int kIndexInFileMessages
bool IsInitialized() const
void Swap(MPArrayConstraint *PROTOBUF_NONNULL other)
void set_resultant_var_index(::int32_t value)
MPArrayConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
friend void swap(MPArrayConstraint &a, MPArrayConstraint &b)
bool has_resultant_var_index() const
optional int32 resultant_var_index = 2;
void set_var_index(int index, ::int32_t value)
int var_index_size() const
repeated int32 var_index = 1;
::size_t ByteSizeLong() const final
void set_constant(double value)
void add_var_index(::int32_t value)
void Swap(MPArrayWithConstantConstraint *PROTOBUF_NONNULL other)
static const MPArrayWithConstantConstraint & default_instance()
::int32_t var_index(int index) const
void clear_resultant_var_index()
::size_t ByteSizeLong() const final
void set_resultant_var_index(::int32_t value)
void set_var_index(int index, ::int32_t value)
int var_index_size() const
repeated int32 var_index = 1;
@ kResultantVarIndexFieldNumber
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
static constexpr auto InternalGenerateClassData_()
bool has_constant() const
optional double constant = 2;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const MPArrayWithConstantConstraint &from)
bool has_resultant_var_index() const
optional int32 resultant_var_index = 3;
const ::google::protobuf::RepeatedField<::int32_t > & var_index() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const MPArrayWithConstantConstraint &from)
MPArrayWithConstantConstraint()
::int32_t resultant_var_index() const
bool IsInitialized() const
::google::protobuf::Metadata GetMetadata() const
bool has_name() const
optional string name = 4 [default = ""];
void set_name(Arg_ &&arg, Args_... args)
void set_var_index(int index, ::int32_t value)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficient()
double lower_bound() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
bool has_upper_bound() const
optional double upper_bound = 3 [default = inf];
const ::std::string & name() const
const ::google::protobuf::RepeatedField< double > & coefficient() const
bool has_is_lazy() const
optional bool is_lazy = 5 [default = false];
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const MPConstraintProto &from)
int var_index_size() const
repeated int32 var_index = 6 [packed = true];
void set_lower_bound(double value)
void Swap(MPConstraintProto *PROTOBUF_NONNULL other)
int coefficient_size() const
repeated double coefficient = 7 [packed = true];
void set_is_lazy(bool value)
void CopyFrom(const MPConstraintProto &from)
static const MPConstraintProto & default_instance()
void add_coefficient(double value)
void set_upper_bound(double value)
bool IsInitialized() const
bool has_lower_bound() const
optional double lower_bound = 2 [default = -inf];
friend void swap(MPConstraintProto &a, MPConstraintProto &b)
double coefficient(int index) const
::size_t ByteSizeLong() const final
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
@ kCoefficientFieldNumber
void set_coefficient(int index, double value)
::std::string *PROTOBUF_NULLABLE release_name()
void add_var_index(::int32_t value)
::int32_t var_index(int index) const
double upper_bound() const
::std::string *PROTOBUF_NONNULL mutable_name()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedField<::int32_t > & var_index() const
::std::string *PROTOBUF_NONNULL mutable_name()
void unsafe_arena_set_allocated_sos_constraint(::operations_research::MPSosConstraint *PROTOBUF_NULLABLE value)
bool has_quadratic_constraint() const
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
void set_allocated_abs_constraint(::operations_research::MPAbsConstraint *PROTOBUF_NULLABLE value)
bool has_min_constraint() const
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
void set_allocated_indicator_constraint(::operations_research::MPIndicatorConstraint *PROTOBUF_NULLABLE value)
::operations_research::MPAbsConstraint *PROTOBUF_NULLABLE unsafe_arena_release_abs_constraint()
::operations_research::MPAbsConstraint *PROTOBUF_NONNULL mutable_abs_constraint()
void set_allocated_or_constraint(::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE value)
void clear_or_constraint()
GeneralConstraintCase general_constraint_case() const
void MergeFrom(const MPGeneralConstraintProto &from)
bool has_max_constraint() const
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE unsafe_arena_release_min_constraint()
@ GENERAL_CONSTRAINT_NOT_SET
::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NONNULL mutable_max_constraint()
void unsafe_arena_set_allocated_and_constraint(::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE value)
static constexpr auto InternalGenerateClassData_()
void unsafe_arena_set_allocated_quadratic_constraint(::operations_research::MPQuadraticConstraint *PROTOBUF_NULLABLE value)
const ::std::string & name() const
::size_t ByteSizeLong() const final
void clear_quadratic_constraint()
::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE unsafe_arena_release_or_constraint()
void clear_max_constraint()
MPGeneralConstraintProto()
::operations_research::MPAbsConstraint *PROTOBUF_NULLABLE release_abs_constraint()
void clear_general_constraint()
::operations_research::MPIndicatorConstraint *PROTOBUF_NONNULL mutable_indicator_constraint()
::operations_research::MPSosConstraint *PROTOBUF_NULLABLE release_sos_constraint()
void unsafe_arena_set_allocated_or_constraint(::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_min_constraint(::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_indicator_constraint(::operations_research::MPIndicatorConstraint *PROTOBUF_NULLABLE value)
::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE release_and_constraint()
void clear_min_constraint()
bool has_or_constraint() const
.operations_research.MPArrayConstraint or_constraint = 7;
void set_allocated_sos_constraint(::operations_research::MPSosConstraint *PROTOBUF_NULLABLE value)
void UnsafeArenaSwap(MPGeneralConstraintProto *PROTOBUF_NONNULL other)
::operations_research::MPIndicatorConstraint *PROTOBUF_NULLABLE release_indicator_constraint()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::operations_research::MPAbsConstraint & abs_constraint() const
::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE release_or_constraint()
::operations_research::MPSosConstraint *PROTOBUF_NONNULL mutable_sos_constraint()
void set_allocated_min_constraint(::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE value)
void clear_abs_constraint()
::operations_research::MPQuadraticConstraint *PROTOBUF_NULLABLE release_quadratic_constraint()
void unsafe_arena_set_allocated_max_constraint(::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE value)
void set_allocated_and_constraint(::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE value)
::operations_research::MPIndicatorConstraint *PROTOBUF_NULLABLE unsafe_arena_release_indicator_constraint()
bool has_name() const
optional string name = 1 [default = ""];
const ::operations_research::MPArrayWithConstantConstraint & max_constraint() const
::operations_research::MPArrayConstraint *PROTOBUF_NONNULL mutable_and_constraint()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NONNULL mutable_min_constraint()
friend void swap(MPGeneralConstraintProto &a, MPGeneralConstraintProto &b)
const ::operations_research::MPIndicatorConstraint & indicator_constraint() const
void clear_and_constraint()
void clear_sos_constraint()
static constexpr auto InternalNewImpl_()
void set_allocated_quadratic_constraint(::operations_research::MPQuadraticConstraint *PROTOBUF_NULLABLE value)
bool has_sos_constraint() const
.operations_research.MPSosConstraint sos_constraint = 3;
bool has_indicator_constraint() const
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE release_max_constraint()
::operations_research::MPQuadraticConstraint *PROTOBUF_NONNULL mutable_quadratic_constraint()
const ::operations_research::MPArrayConstraint & and_constraint() const
::std::string *PROTOBUF_NULLABLE release_name()
::operations_research::MPSosConstraint *PROTOBUF_NULLABLE unsafe_arena_release_sos_constraint()
::google::protobuf::Metadata GetMetadata() const
const ::operations_research::MPArrayWithConstantConstraint & min_constraint() const
void clear_indicator_constraint()
bool IsInitialized() const
::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE unsafe_arena_release_and_constraint()
int GetCachedSize() const
bool has_abs_constraint() const
.operations_research.MPAbsConstraint abs_constraint = 5;
const ::operations_research::MPArrayConstraint & or_constraint() const
void set_allocated_max_constraint(::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE value)
::operations_research::MPArrayConstraint *PROTOBUF_NONNULL mutable_or_constraint()
@ kMaxConstraintFieldNumber
@ kAbsConstraintFieldNumber
@ kQuadraticConstraintFieldNumber
@ kMinConstraintFieldNumber
@ kAndConstraintFieldNumber
@ kOrConstraintFieldNumber
@ kIndicatorConstraintFieldNumber
@ kSosConstraintFieldNumber
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE unsafe_arena_release_max_constraint()
const ::operations_research::MPQuadraticConstraint & quadratic_constraint() const
void set_name(Arg_ &&arg, Args_... args)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void unsafe_arena_set_allocated_abs_constraint(::operations_research::MPAbsConstraint *PROTOBUF_NULLABLE value)
::operations_research::MPQuadraticConstraint *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_constraint()
bool has_and_constraint() const
.operations_research.MPArrayConstraint and_constraint = 6;
::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE release_min_constraint()
static constexpr int kIndexInFileMessages
void Swap(MPGeneralConstraintProto *PROTOBUF_NONNULL other)
friend class ::google::protobuf::Arena
void CopyFrom(const MPGeneralConstraintProto &from)
MPGeneralConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
const ::operations_research::MPSosConstraint & sos_constraint() const
void set_var_index(::int32_t value)
void set_var_value(::int32_t value)
friend void swap(MPIndicatorConstraint &a, MPIndicatorConstraint &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const MPIndicatorConstraint &from)
::int32_t var_index() const
bool has_var_value() const
optional int32 var_value = 2;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_allocated_constraint(::operations_research::MPConstraintProto *PROTOBUF_NULLABLE value)
static constexpr auto InternalNewImpl_()
::operations_research::MPConstraintProto *PROTOBUF_NULLABLE release_constraint()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void unsafe_arena_set_allocated_constraint(::operations_research::MPConstraintProto *PROTOBUF_NULLABLE value)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::operations_research::MPConstraintProto *PROTOBUF_NONNULL mutable_constraint()
MPIndicatorConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::size_t ByteSizeLong() const final
int GetCachedSize() const
void Swap(MPIndicatorConstraint *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
bool IsInitialized() const
::int32_t var_value() const
const ::operations_research::MPConstraintProto & constraint() const
::operations_research::MPConstraintProto *PROTOBUF_NULLABLE unsafe_arena_release_constraint()
void CopyFrom(const MPIndicatorConstraint &from)
bool has_constraint() const
optional .operations_research.MPConstraintProto constraint = 3;
::google::protobuf::Metadata GetMetadata() const
MPIndicatorConstraint & operator=(const MPIndicatorConstraint &from)
bool has_var_index() const
optional int32 var_index = 1;
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT32, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
MPModelDeltaProto_VariableOverridesEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
static constexpr const void *PROTOBUF_NONNULL internal_default_instance()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
MPModelDeltaProto & operator=(const MPModelDeltaProto &from)
const ::std::string & baseline_model_file_path() const
int constraint_overrides_size() const
map<int32, .operations_research.MPConstraintProto> constraint_overrides = 3;
void set_allocated_baseline_model_file_path(::std::string *PROTOBUF_NULLABLE value)
MPModelDeltaProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto > & variable_overrides() const
@ kConstraintOverridesFieldNumber
@ kBaselineModelFilePathFieldNumber
@ kVariableOverridesFieldNumber
void Swap(MPModelDeltaProto *PROTOBUF_NONNULL other)
::std::string *PROTOBUF_NULLABLE release_baseline_model_file_path()
void MergeFrom(const MPModelDeltaProto &from)
int GetCachedSize() const
bool IsInitialized() const
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalNewImpl_()
void clear_variable_overrides()
int variable_overrides_size() const
map<int32, .operations_research.MPVariableProto> variable_overrides = 2;
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const MPModelDeltaProto &from)
::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto > *PROTOBUF_NONNULL mutable_constraint_overrides()
::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto > *PROTOBUF_NONNULL mutable_variable_overrides()
void clear_constraint_overrides()
void clear_baseline_model_file_path()
::std::string *PROTOBUF_NONNULL mutable_baseline_model_file_path()
const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto > & constraint_overrides() const
void set_baseline_model_file_path(Arg_ &&arg, Args_... args)
void UnsafeArenaSwap(MPModelDeltaProto *PROTOBUF_NONNULL other)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_baseline_model_file_path() const
optional string baseline_model_file_path = 1;
friend class ::google::protobuf::Arena
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(MPModelProto_Annotation &a, MPModelProto_Annotation &b)
bool has_payload_value() const
optional string payload_value = 5;
const ::std::string & payload_value() const
void set_payload_value(Arg_ &&arg, Args_... args)
void clear_payload_value()
static bool TargetType_Parse(::absl::string_view name, TargetType *PROTOBUF_NONNULL value)
void clear_target_index()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
MPModelProto_Annotation()
::std::string *PROTOBUF_NONNULL mutable_payload_key()
void set_target_name(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NULLABLE release_target_name()
static constexpr int kIndexInFileMessages
bool has_target_type() const
optional .operations_research.MPModelProto.Annotation.TargetType target_type = 1;
bool IsInitialized() const
const ::std::string & payload_key() const
void set_allocated_payload_value(::std::string *PROTOBUF_NULLABLE value)
@ kPayloadValueFieldNumber
@ kTargetIndexFieldNumber
static const ::std::string & TargetType_Name(T value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static bool TargetType_IsValid(int value)
bool has_payload_key() const
optional string payload_key = 4;
::std::string *PROTOBUF_NONNULL mutable_payload_value()
::std::string *PROTOBUF_NULLABLE release_payload_value()
::int32_t target_index() const
void set_payload_key(Arg_ &&arg, Args_... args)
const ::std::string & target_name() const
::operations_research::MPModelProto_Annotation_TargetType target_type() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::std::string *PROTOBUF_NONNULL mutable_target_name()
static constexpr TargetType VARIABLE_DEFAULT
static constexpr TargetType CONSTRAINT
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TargetType_descriptor()
bool has_target_index() const
optional int32 target_index = 2;
bool has_target_name() const
optional string target_name = 3;
MPModelProto_Annotation_TargetType TargetType
nested types -------------------------------------------------—
void set_allocated_target_name(::std::string *PROTOBUF_NULLABLE value)
static constexpr auto InternalGenerateClassData_()
static constexpr TargetType GENERAL_CONSTRAINT
void Swap(MPModelProto_Annotation *PROTOBUF_NONNULL other)
::std::string *PROTOBUF_NULLABLE release_payload_key()
void set_allocated_payload_key(::std::string *PROTOBUF_NULLABLE value)
void UnsafeArenaSwap(MPModelProto_Annotation *PROTOBUF_NONNULL other)
::size_t ByteSizeLong() const final
void set_target_index(::int32_t value)
void set_target_type(::operations_research::MPModelProto_Annotation_TargetType value)
::google::protobuf::Metadata GetMetadata() const
bool has_objective_offset() const
optional double objective_offset = 2 [default = 0];
const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto > & general_constraint() const
::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation > *PROTOBUF_NONNULL mutable_annotation()
void MergeFrom(const MPModelProto &from)
const ::operations_research::MPVariableProto & variable(int index) const
::operations_research::PartialVariableAssignment *PROTOBUF_NULLABLE release_solution_hint()
int variable_size() const
repeated .operations_research.MPVariableProto variable = 3;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
@ kGeneralConstraintFieldNumber
@ kSolutionHintFieldNumber
@ kObjectiveOffsetFieldNumber
@ kQuadraticObjectiveFieldNumber
::operations_research::PartialVariableAssignment *PROTOBUF_NULLABLE unsafe_arena_release_solution_hint()
void set_maximize(bool value)
MPModelProto_Annotation Annotation
nested types -------------------------------------------------—
void set_allocated_solution_hint(::operations_research::PartialVariableAssignment *PROTOBUF_NULLABLE value)
void CopyFrom(const MPModelProto &from)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto > & constraint() const
friend void swap(MPModelProto &a, MPModelProto &b)
int GetCachedSize() const
const ::operations_research::MPGeneralConstraintProto & general_constraint(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_allocated_quadratic_objective(::operations_research::MPQuadraticObjective *PROTOBUF_NULLABLE value)
const ::operations_research::MPQuadraticObjective & quadratic_objective() const
static constexpr auto InternalNewImpl_()
::std::string *PROTOBUF_NONNULL mutable_name()
int annotation_size() const
repeated .operations_research.MPModelProto.Annotation annotation = 9;
::operations_research::MPConstraintProto *PROTOBUF_NONNULL add_constraint()
void clear_objective_offset()
void clear_general_constraint()
void clear_solution_hint()
::operations_research::MPConstraintProto *PROTOBUF_NONNULL mutable_constraint(int index)
::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto > *PROTOBUF_NONNULL mutable_general_constraint()
::operations_research::MPVariableProto *PROTOBUF_NONNULL add_variable()
MPModelProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::operations_research::MPGeneralConstraintProto *PROTOBUF_NONNULL add_general_constraint()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_solution_hint(::operations_research::PartialVariableAssignment *PROTOBUF_NULLABLE value)
::operations_research::PartialVariableAssignment *PROTOBUF_NONNULL mutable_solution_hint()
const ::operations_research::MPConstraintProto & constraint(int index) const
void set_objective_offset(double value)
int general_constraint_size() const
repeated .operations_research.MPGeneralConstraintProto general_constraint = 7;
static constexpr auto InternalGenerateClassData_()
::operations_research::MPModelProto_Annotation *PROTOBUF_NONNULL add_annotation()
::operations_research::MPQuadraticObjective *PROTOBUF_NONNULL mutable_quadratic_objective()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool has_name() const
optional string name = 5 [default = ""];
::size_t ByteSizeLong() const final
void set_name(Arg_ &&arg, Args_... args)
::std::string *PROTOBUF_NULLABLE release_name()
const ::operations_research::MPModelProto_Annotation & annotation(int index) const
::operations_research::MPQuadraticObjective *PROTOBUF_NULLABLE release_quadratic_objective()
void Swap(MPModelProto *PROTOBUF_NONNULL other)
::operations_research::MPVariableProto *PROTOBUF_NONNULL mutable_variable(int index)
::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto > *PROTOBUF_NONNULL mutable_constraint()
const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation > & annotation() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const MPModelProto & default_instance()
const ::operations_research::PartialVariableAssignment & solution_hint() const
::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto > *PROTOBUF_NONNULL mutable_variable()
bool has_quadratic_objective() const
optional .operations_research.MPQuadraticObjective quadratic_objective = 8;
void unsafe_arena_set_allocated_quadratic_objective(::operations_research::MPQuadraticObjective *PROTOBUF_NULLABLE value)
bool has_solution_hint() const
optional .operations_research.PartialVariableAssignment solution_hint = 6;
static constexpr int kIndexInFileMessages
const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto > & variable() const
void clear_quadratic_objective()
bool has_maximize() const
optional bool maximize = 1 [default = false];
::operations_research::MPQuadraticObjective *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_objective()
const ::std::string & name() const
::operations_research::MPGeneralConstraintProto *PROTOBUF_NONNULL mutable_general_constraint(int index)
::operations_research::MPModelProto_Annotation *PROTOBUF_NONNULL mutable_annotation(int index)
int constraint_size() const
repeated .operations_research.MPConstraintProto constraint = 4;
friend class ::google::protobuf::Arena
double objective_offset() const
MPModelRequest *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr SolverType CPLEX_LINEAR_PROGRAMMING
void MergeFrom(const MPModelRequest &from)
@ kSolverTimeLimitSecondsFieldNumber
@ kSolverSpecificParametersFieldNumber
@ kIgnoreSolverSpecificParametersFailureFieldNumber
@ kEnableInternalSolverOutputFieldNumber
@ kPopulateAdditionalSolutionsUpToFieldNumber
static constexpr SolverType CBC_MIXED_INTEGER_PROGRAMMING
void set_allocated_model_delta(::operations_research::MPModelDeltaProto *PROTOBUF_NULLABLE value)
bool has_solver_specific_parameters() const
optional string solver_specific_parameters = 5;
::operations_research::MPModelDeltaProto *PROTOBUF_NULLABLE unsafe_arena_release_model_delta()
void set_enable_internal_solver_output(bool value)
bool enable_internal_solver_output() const
MPModelRequest_SolverType SolverType
nested types -------------------------------------------------—
void clear_populate_additional_solutions_up_to()
double solver_time_limit_seconds() const
::std::string *PROTOBUF_NONNULL mutable_solver_specific_parameters()
static constexpr SolverType CLP_LINEAR_PROGRAMMING
MPModelRequest & operator=(const MPModelRequest &from)
void set_solver_specific_parameters(Arg_ &&arg, Args_... args)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static constexpr SolverType HIGHS_LINEAR_PROGRAMMING
static bool SolverType_IsValid(int value)
::operations_research::MPModelProto *PROTOBUF_NULLABLE unsafe_arena_release_model()
int GetCachedSize() const
static constexpr SolverType SolverType_MAX
void UnsafeArenaSwap(MPModelRequest *PROTOBUF_NONNULL other)
static constexpr SolverType SAT_INTEGER_PROGRAMMING
static const ::std::string & SolverType_Name(T value)
void set_allocated_model(::operations_research::MPModelProto *PROTOBUF_NULLABLE value)
const ::operations_research::MPModelDeltaProto & model_delta() const
static constexpr SolverType HIGHS_MIXED_INTEGER_PROGRAMMING
void clear_solver_time_limit_seconds()
static constexpr auto InternalNewImpl_()
static constexpr SolverType BOP_INTEGER_PROGRAMMING
void clear_ignore_solver_specific_parameters_failure()
static constexpr SolverType GUROBI_MIXED_INTEGER_PROGRAMMING
::int32_t populate_additional_solutions_up_to() const
::operations_research::MPModelProto *PROTOBUF_NONNULL mutable_model()
bool has_populate_additional_solutions_up_to() const
optional int32 populate_additional_solutions_up_to = 11 [default = 0];
static constexpr SolverType PDLP_LINEAR_PROGRAMMING
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
void set_solver_type(::operations_research::MPModelRequest_SolverType value)
bool has_solver_time_limit_seconds() const
optional double solver_time_limit_seconds = 3;
void Swap(MPModelRequest *PROTOBUF_NONNULL other)
bool has_ignore_solver_specific_parameters_failure() const
optional bool ignore_solver_specific_parameters_failure = 9 [default = false];
static constexpr SolverType XPRESS_LINEAR_PROGRAMMING
void clear_enable_internal_solver_output()
::operations_research::MPModelDeltaProto *PROTOBUF_NONNULL mutable_model_delta()
bool has_solver_type() const
optional .operations_research.MPModelRequest.SolverType solver_type = 2 [default = GLOP_LINEAR_PROGRA...
::google::protobuf::Metadata GetMetadata() const
static constexpr SolverType KNAPSACK_MIXED_INTEGER_PROGRAMMING
static constexpr SolverType GLPK_MIXED_INTEGER_PROGRAMMING
::operations_research::MPModelDeltaProto *PROTOBUF_NULLABLE release_model_delta()
bool ignore_solver_specific_parameters_failure() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_ignore_solver_specific_parameters_failure(bool value)
::std::string *PROTOBUF_NULLABLE release_solver_specific_parameters()
::operations_research::MPModelRequest_SolverType solver_type() const
static bool SolverType_Parse(::absl::string_view name, SolverType *PROTOBUF_NONNULL value)
static constexpr SolverType GLPK_LINEAR_PROGRAMMING
void set_populate_additional_solutions_up_to(::int32_t value)
bool has_enable_internal_solver_output() const
optional bool enable_internal_solver_output = 4 [default = false];
static constexpr SolverType GUROBI_LINEAR_PROGRAMMING
void set_solver_time_limit_seconds(double value)
bool IsInitialized() const
void clear_solver_specific_parameters()
static constexpr SolverType CPLEX_MIXED_INTEGER_PROGRAMMING
bool has_model_delta() const
optional .operations_research.MPModelDeltaProto model_delta = 8;
static const MPModelRequest & default_instance()
static constexpr int SolverType_ARRAYSIZE
void set_allocated_solver_specific_parameters(::std::string *PROTOBUF_NULLABLE value)
const ::std::string & solver_specific_parameters() const
::size_t ByteSizeLong() const final
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SolverType_descriptor()
void unsafe_arena_set_allocated_model_delta(::operations_research::MPModelDeltaProto *PROTOBUF_NULLABLE value)
const ::operations_research::MPModelProto & model() const
static constexpr SolverType GLOP_LINEAR_PROGRAMMING
void unsafe_arena_set_allocated_model(::operations_research::MPModelProto *PROTOBUF_NULLABLE value)
static constexpr SolverType SCIP_MIXED_INTEGER_PROGRAMMING
bool has_model() const
optional .operations_research.MPModelProto model = 1;
static constexpr SolverType XPRESS_MIXED_INTEGER_PROGRAMMING
friend void swap(MPModelRequest &a, MPModelRequest &b)
::operations_research::MPModelProto *PROTOBUF_NULLABLE release_model()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
double qcoefficient(int index) const
int qcoefficient_size() const
repeated double qcoefficient = 5;
int qvar2_index_size() const
repeated int32 qvar2_index = 4;
double coefficient(int index) const
void add_var_index(::int32_t value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_var_index(int index, ::int32_t value)
void Swap(MPQuadraticConstraint *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void add_qvar1_index(::int32_t value)
bool IsInitialized() const
void add_coefficient(double value)
::int32_t qvar2_index(int index) const
double lower_bound() const
const ::google::protobuf::RepeatedField<::int32_t > & qvar2_index() const
MPQuadraticConstraint & operator=(const MPQuadraticConstraint &from)
void add_qcoefficient(double value)
static const MPQuadraticConstraint & default_instance()
::size_t ByteSizeLong() const final
void set_lower_bound(double value)
void set_qvar2_index(int index, ::int32_t value)
void set_qcoefficient(int index, double value)
void set_coefficient(int index, double value)
void UnsafeArenaSwap(MPQuadraticConstraint *PROTOBUF_NONNULL other)
const ::google::protobuf::RepeatedField<::int32_t > & var_index() const
const ::google::protobuf::RepeatedField< double > & coefficient() const
const ::google::protobuf::RepeatedField< double > & qcoefficient() const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficient()
int qvar1_index_size() const
repeated int32 qvar1_index = 3;
int var_index_size() const
repeated int32 var_index = 1;
@ kCoefficientFieldNumber
@ kQcoefficientFieldNumber
void set_upper_bound(double value)
int coefficient_size() const
repeated double coefficient = 2;
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_qcoefficient()
void add_qvar2_index(::int32_t value)
::int32_t var_index(int index) const
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
double upper_bound() const
bool has_upper_bound() const
optional double upper_bound = 7 [default = inf];
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::RepeatedField<::int32_t > & qvar1_index() const
void clear_qcoefficient()
bool has_lower_bound() const
optional double lower_bound = 6 [default = -inf];
::int32_t qvar1_index(int index) const
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
void CopyFrom(const MPQuadraticConstraint &from)
void set_qvar1_index(int index, ::int32_t value)
static constexpr auto InternalGenerateClassData_()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_qvar1_index()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_qvar2_index()
void Swap(MPQuadraticObjective *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::Metadata GetMetadata() const
::int32_t qvar1_index(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int qvar1_index_size() const
repeated int32 qvar1_index = 1;
void add_coefficient(double value)
int qvar2_index_size() const
repeated int32 qvar2_index = 2;
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficient()
void set_qvar1_index(int index, ::int32_t value)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::RepeatedField<::int32_t > & qvar1_index() const
void set_qvar2_index(int index, ::int32_t value)
double coefficient(int index) const
::int32_t qvar2_index(int index) const
const ::google::protobuf::RepeatedField<::int32_t > & qvar2_index() const
friend void swap(MPQuadraticObjective &a, MPQuadraticObjective &b)
bool IsInitialized() const
const ::google::protobuf::RepeatedField< double > & coefficient() const
@ kCoefficientFieldNumber
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_qvar2_index()
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_qvar1_index()
void set_coefficient(int index, double value)
int coefficient_size() const
repeated double coefficient = 3;
static const MPQuadraticObjective & default_instance()
void add_qvar2_index(::int32_t value)
void UnsafeArenaSwap(MPQuadraticObjective *PROTOBUF_NONNULL other)
static constexpr auto InternalNewImpl_()
MPQuadraticObjective *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void add_qvar1_index(::int32_t value)
friend class ::google::protobuf::Arena
void set_variable_value(int index, double value)
MPSolutionResponse & operator=(const MPSolutionResponse &from)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_reduced_cost()
::std::string *PROTOBUF_NULLABLE release_solver_specific_info()
bool has_solver_specific_info() const
optional bytes solver_specific_info = 11;
void add_variable_value(double value)
::operations_research::MPSolveInfo *PROTOBUF_NONNULL mutable_solve_info()
static const MPSolutionResponse & default_instance()
::google::protobuf::RepeatedPtrField<::operations_research::MPSolution > *PROTOBUF_NONNULL mutable_additional_solutions()
bool has_best_objective_bound() const
optional double best_objective_bound = 5;
double dual_value(int index) const
void set_allocated_solve_info(::operations_research::MPSolveInfo *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_solve_info(::operations_research::MPSolveInfo *PROTOBUF_NULLABLE value)
::operations_research::MPSolverResponseStatus status() const
const ::std::string & status_str() const
void CopyFrom(const MPSolutionResponse &from)
double best_objective_bound() const
int reduced_cost_size() const
repeated double reduced_cost = 6 [packed = true];
::std::string *PROTOBUF_NONNULL mutable_status_str()
void clear_reduced_cost()
const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution > & additional_solutions() const
int additional_solutions_size() const
repeated .operations_research.MPSolution additional_solutions = 8;
void add_reduced_cost(double value)
const ::google::protobuf::RepeatedField< double > & reduced_cost() const
void set_objective_value(double value)
void set_dual_value(int index, double value)
void clear_variable_value()
double variable_value(int index) const
bool has_objective_value() const
optional double objective_value = 2;
void clear_objective_value()
void set_best_objective_bound(double value)
double reduced_cost(int index) const
::operations_research::MPSolveInfo *PROTOBUF_NULLABLE release_solve_info()
::std::string *PROTOBUF_NULLABLE release_status_str()
void set_status_str(Arg_ &&arg, Args_... args)
const ::google::protobuf::RepeatedField< double > & dual_value() const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_variable_value()
void set_solver_specific_info(Arg_ &&arg, Args_... args)
void set_allocated_status_str(::std::string *PROTOBUF_NULLABLE value)
const ::operations_research::MPSolveInfo & solve_info() const
void clear_best_objective_bound()
@ kBestObjectiveBoundFieldNumber
@ kSolverSpecificInfoFieldNumber
@ kObjectiveValueFieldNumber
@ kAdditionalSolutionsFieldNumber
@ kVariableValueFieldNumber
@ kReducedCostFieldNumber
bool has_status_str() const
optional string status_str = 7;
double objective_value() const
::operations_research::MPSolution *PROTOBUF_NONNULL mutable_additional_solutions(int index)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::operations_research::MPSolution *PROTOBUF_NONNULL add_additional_solutions()
const ::google::protobuf::RepeatedField< double > & variable_value() const
void clear_solver_specific_info()
void add_dual_value(double value)
void Swap(MPSolutionResponse *PROTOBUF_NONNULL other)
int dual_value_size() const
repeated double dual_value = 4 [packed = true];
bool IsInitialized() const
void set_allocated_solver_specific_info(::std::string *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
bool has_status() const
optional .operations_research.MPSolverResponseStatus status = 1 [default = MPSOLVER_UNKNOWN_STATUS];
void clear_additional_solutions()
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_dual_value()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_status(::operations_research::MPSolverResponseStatus value)
MPSolutionResponse *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
int variable_value_size() const
repeated double variable_value = 3 [packed = true];
bool has_solve_info() const
optional .operations_research.MPSolveInfo solve_info = 10;
void set_reduced_cost(int index, double value)
::std::string *PROTOBUF_NONNULL mutable_solver_specific_info()
const ::std::string & solver_specific_info() const
::operations_research::MPSolveInfo *PROTOBUF_NULLABLE unsafe_arena_release_solve_info()
const ::operations_research::MPSolution & additional_solutions(int index) const
int variable_value_size() const
repeated double variable_value = 2 [packed = true];
void clear_variable_value()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_variable_value()
void set_variable_value(int index, double value)
static constexpr auto InternalGenerateClassData_()
void Swap(MPSolution *PROTOBUF_NONNULL other)
@ kVariableValueFieldNumber
@ kObjectiveValueFieldNumber
void clear_objective_value()
MPSolution & operator=(const MPSolution &from)
double variable_value(int index) const
::size_t ByteSizeLong() const final
MPSolution *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static constexpr int kIndexInFileMessages
friend void swap(MPSolution &a, MPSolution &b)
::google::protobuf::Metadata GetMetadata() const
void add_variable_value(double value)
void set_objective_value(double value)
const ::google::protobuf::RepeatedField< double > & variable_value() const
bool IsInitialized() const
bool has_objective_value() const
optional double objective_value = 1;
double objective_value() const
static constexpr auto InternalNewImpl_()
static const MPSolution & default_instance()
friend class ::google::protobuf::Arena
void Swap(MPSolveInfo *PROTOBUF_NONNULL other)
static constexpr auto InternalNewImpl_()
bool has_solve_wall_time_seconds() const
optional double solve_wall_time_seconds = 1;
double solve_user_time_seconds() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void clear_solve_user_time_seconds()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
MPSolveInfo *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_solve_wall_time_seconds(double value)
void CopyFrom(const MPSolveInfo &from)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool has_solve_user_time_seconds() const
optional double solve_user_time_seconds = 2;
bool IsInitialized() const
double solve_wall_time_seconds() const
static const MPSolveInfo & default_instance()
@ kSolveUserTimeSecondsFieldNumber
@ kSolveWallTimeSecondsFieldNumber
void set_solve_user_time_seconds(double value)
void clear_solve_wall_time_seconds()
MPSolveInfo & operator=(const MPSolveInfo &from)
void MergeFrom(const MPSolveInfo &from)
friend class ::google::protobuf::Arena
static bool LPAlgorithmValues_IsValid(int value)
static constexpr LPAlgorithmValues LP_ALGO_DUAL
void set_presolve(::operations_research::OptionalBoolean value)
::operations_research::OptionalDouble *PROTOBUF_NULLABLE release_dual_tolerance()
const ::operations_research::OptionalDouble & primal_tolerance() const
::operations_research::OptionalDouble *PROTOBUF_NONNULL mutable_relative_mip_gap()
static const MPSolverCommonParameters & default_instance()
::operations_research::OptionalBoolean presolve() const
::operations_research::OptionalDouble *PROTOBUF_NONNULL mutable_dual_tolerance()
::size_t ByteSizeLong() const final
::operations_research::MPSolverCommonParameters_LPAlgorithmValues lp_algorithm() const
@ kLpAlgorithmFieldNumber
@ kDualToleranceFieldNumber
@ kPrimalToleranceFieldNumber
@ kRelativeMipGapFieldNumber
bool IsInitialized() const
static constexpr LPAlgorithmValues LP_ALGO_UNSPECIFIED
::operations_research::OptionalDouble *PROTOBUF_NONNULL mutable_primal_tolerance()
void set_allocated_dual_tolerance(::operations_research::OptionalDouble *PROTOBUF_NULLABLE value)
::operations_research::OptionalDouble *PROTOBUF_NULLABLE release_relative_mip_gap()
const ::operations_research::OptionalDouble & relative_mip_gap() const
void set_allocated_relative_mip_gap(::operations_research::OptionalDouble *PROTOBUF_NULLABLE value)
const ::operations_research::OptionalDouble & dual_tolerance() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void clear_primal_tolerance()
::operations_research::OptionalDouble *PROTOBUF_NULLABLE unsafe_arena_release_dual_tolerance()
MPSolverCommonParameters()
MPSolverCommonParameters *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
void set_lp_algorithm(::operations_research::MPSolverCommonParameters_LPAlgorithmValues value)
void clear_relative_mip_gap()
bool has_primal_tolerance() const
optional .operations_research.OptionalDouble primal_tolerance = 2;
void set_allocated_primal_tolerance(::operations_research::OptionalDouble *PROTOBUF_NULLABLE value)
::operations_research::OptionalBoolean scaling() const
::operations_research::OptionalDouble *PROTOBUF_NULLABLE unsafe_arena_release_primal_tolerance()
static constexpr LPAlgorithmValues LP_ALGO_PRIMAL
::operations_research::OptionalDouble *PROTOBUF_NULLABLE unsafe_arena_release_relative_mip_gap()
::operations_research::OptionalDouble *PROTOBUF_NULLABLE release_primal_tolerance()
void unsafe_arena_set_allocated_dual_tolerance(::operations_research::OptionalDouble *PROTOBUF_NULLABLE value)
static constexpr LPAlgorithmValues LP_ALGO_BARRIER
MPSolverCommonParameters_LPAlgorithmValues LPAlgorithmValues
nested types -------------------------------------------------—
bool has_relative_mip_gap() const
optional .operations_research.OptionalDouble relative_mip_gap = 1;
bool has_presolve() const
optional .operations_research.OptionalBoolean presolve = 5 [default = BOOL_UNSPECIFIED];
bool has_dual_tolerance() const
optional .operations_research.OptionalDouble dual_tolerance = 3;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_scaling() const
optional .operations_research.OptionalBoolean scaling = 7 [default = BOOL_UNSPECIFIED];
static const ::std::string & LPAlgorithmValues_Name(T value)
void set_scaling(::operations_research::OptionalBoolean value)
void clear_lp_algorithm()
void unsafe_arena_set_allocated_primal_tolerance(::operations_research::OptionalDouble *PROTOBUF_NULLABLE value)
bool has_lp_algorithm() const
optional .operations_research.MPSolverCommonParameters.LPAlgorithmValues lp_algorithm = 4 [default = ...
void unsafe_arena_set_allocated_relative_mip_gap(::operations_research::OptionalDouble *PROTOBUF_NULLABLE value)
void clear_dual_tolerance()
void Swap(MPSolverCommonParameters *PROTOBUF_NONNULL other)
static bool LPAlgorithmValues_Parse(::absl::string_view name, LPAlgorithmValues *PROTOBUF_NONNULL value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void add_var_index(::int32_t value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::RepeatedField<::int32_t > & var_index() const
static constexpr auto InternalNewImpl_()
bool has_type() const
optional .operations_research.MPSosConstraint.Type type = 1 [default = SOS1_DEFAULT];
double weight(int index) const
::operations_research::MPSosConstraint_Type type() const
void add_weight(double value)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(MPSosConstraint &a, MPSosConstraint &b)
static constexpr Type Type_MAX
void set_weight(int index, double value)
void CopyFrom(const MPSosConstraint &from)
::int32_t var_index(int index) const
int weight_size() const
repeated double weight = 3;
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Type_descriptor()
static constexpr int Type_ARRAYSIZE
MPSosConstraint_Type Type
nested types -------------------------------------------------—
static constexpr Type Type_MIN
void MergeFrom(const MPSosConstraint &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
MPSosConstraint & operator=(const MPSosConstraint &from)
const ::google::protobuf::RepeatedField< double > & weight() const
static const ::std::string & Type_Name(T value)
static constexpr Type SOS1_DEFAULT
void Swap(MPSosConstraint *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_weight()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::Metadata GetMetadata() const
void set_type(::operations_research::MPSosConstraint_Type value)
bool IsInitialized() const
static constexpr Type SOS2
int var_index_size() const
repeated int32 var_index = 2;
void set_var_index(int index, ::int32_t value)
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
MPSosConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static bool Type_IsValid(int value)
friend class ::google::protobuf::Arena
::std::string *PROTOBUF_NONNULL mutable_name()
friend class ::google::protobuf::MessageLite
void set_upper_bound(double value)
void CopyFrom(const MPVariableProto &from)
bool has_upper_bound() const
optional double upper_bound = 2 [default = inf];
void MergeFrom(const MPVariableProto &from)
void set_name(Arg_ &&arg, Args_... args)
bool IsInitialized() const
::int32_t branching_priority() const
PROTOBUF_CONSTEXPR MPVariableProto(::google::protobuf::internal::ConstantInitialized)
void set_is_integer(bool value)
void set_objective_coefficient(double value)
double lower_bound() const
bool has_lower_bound() const
optional double lower_bound = 1 [default = -inf];
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
bool has_is_integer() const
optional bool is_integer = 4 [default = false];
MPVariableProto & operator=(const MPVariableProto &from)
bool has_branching_priority() const
optional int32 branching_priority = 6 [default = 0];
double upper_bound() const
friend void swap(MPVariableProto &a, MPVariableProto &b)
bool has_name() const
optional string name = 5 [default = ""];
void set_branching_priority(::int32_t value)
void clear_objective_coefficient()
void set_lower_bound(double value)
const ::std::string & name() const
static const MPVariableProto & default_instance()
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::std::string *PROTOBUF_NULLABLE release_name()
bool has_objective_coefficient() const
optional double objective_coefficient = 3 [default = 0];
void clear_branching_priority()
static constexpr int kIndexInFileMessages
void Swap(MPVariableProto *PROTOBUF_NONNULL other)
::size_t ByteSizeLong() const final
double objective_coefficient() const
void Swap(OptionalDouble *PROTOBUF_NONNULL other)
friend class ::google::protobuf::MessageLite
bool has_value() const
optional double value = 1;
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::size_t ByteSizeLong() const final
bool IsInitialized() const
void CopyFrom(const OptionalDouble &from)
static const OptionalDouble & default_instance()
void MergeFrom(const OptionalDouble &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
OptionalDouble & operator=(const OptionalDouble &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void set_value(double value)
PROTOBUF_CONSTEXPR OptionalDouble(::google::protobuf::internal::ConstantInitialized)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend class ::google::protobuf::MessageLite
void add_var_index(::int32_t value)
::int32_t var_index(int index) const
PartialVariableAssignment & operator=(const PartialVariableAssignment &from)
PartialVariableAssignment(const PartialVariableAssignment &from)
bool IsInitialized() const
PartialVariableAssignment(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, PartialVariableAssignment &&from) noexcept
void set_var_value(int index, double value)
void Swap(PartialVariableAssignment *PROTOBUF_NONNULL other)
double var_value(int index) const
void set_var_index(int index, ::int32_t value)
void CopyFrom(const PartialVariableAssignment &from)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_var_value()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedField< double > & var_value() const
int var_index_size() const
repeated int32 var_index = 1 [packed = true];
void add_var_value(double value)
PROTOBUF_CONSTEXPR PartialVariableAssignment(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
int var_value_size() const
repeated double var_value = 2 [packed = true];
PartialVariableAssignment()
const ::google::protobuf::RepeatedField<::int32_t > & var_index() const
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
::absl::string_view GetAnyMessageName()
In SWIG mode, we don't want anything besides these top-level includes.
const ::std::string & MPModelRequest_SolverType_Name(T value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPQuadraticObjectiveDefaultTypeInternal _MPQuadraticObjective_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelProto_AnnotationDefaultTypeInternal _MPModelProto_Annotation_default_instance_
PROTOBUF_CONSTINIT const uint32_t MPModelProto_Annotation_TargetType_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OptionalDouble_class_data_
constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX
constexpr MPSolverResponseStatus MPSolverResponseStatus_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPArrayWithConstantConstraintDefaultTypeInternal _MPArrayWithConstantConstraint_default_instance_
MPModelRequest_SolverType
@ MPModelRequest_SolverType_CLP_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_CBC_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_XPRESS_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_CPLEX_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_GUROBI_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_CPLEX_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_XPRESS_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_BOP_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_GLOP_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_HIGHS_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_PDLP_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_GLPK_LINEAR_PROGRAMMING
@ MPModelRequest_SolverType_HIGHS_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_KNAPSACK_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_SAT_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_SCIP_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_GUROBI_MIXED_INTEGER_PROGRAMMING
@ MPModelRequest_SolverType_GLPK_MIXED_INTEGER_PROGRAMMING
bool MPModelRequest_SolverType_Parse(::absl::string_view name, MPModelRequest_SolverType *PROTOBUF_NONNULL value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPArrayConstraintDefaultTypeInternal _MPArrayConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelProto_Annotation_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelRequest_class_data_
constexpr int MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPGeneralConstraintProtoDefaultTypeInternal _MPGeneralConstraintProto_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPModelProto_Annotation_TargetType_descriptor()
constexpr MPModelRequest_SolverType MPModelRequest_SolverType_SolverType_MAX
constexpr int MPSosConstraint_Type_Type_ARRAYSIZE
MPSolverCommonParameters_LPAlgorithmValues
@ MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_DUAL
@ MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_UNSPECIFIED
@ MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_PRIMAL
@ MPSolverCommonParameters_LPAlgorithmValues_LP_ALGO_BARRIER
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPAbsConstraint_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPQuadraticConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolutionResponseDefaultTypeInternal _MPSolutionResponse_default_instance_
constexpr MPSosConstraint_Type MPSosConstraint_Type_Type_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPVariableProtoDefaultTypeInternal _MPVariableProto_default_instance_
const ::std::string & MPSolverCommonParameters_LPAlgorithmValues_Name(T value)
constexpr MPSolverResponseStatus MPSolverResponseStatus_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPAbsConstraintDefaultTypeInternal _MPAbsConstraint_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolutionDefaultTypeInternal _MPSolution_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPVariableProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPGeneralConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_VariableOverridesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSosConstraintDefaultTypeInternal _MPSosConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolveInfo_class_data_
const ::std::string & MPSolverResponseStatus_Name(T value)
bool MPSosConstraint_Type_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolverCommonParameters_class_data_
PROTOBUF_CONSTINIT const uint32_t MPModelRequest_SolverType_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolutionResponse_class_data_
bool MPSolverCommonParameters_LPAlgorithmValues_Parse(::absl::string_view name, MPSolverCommonParameters_LPAlgorithmValues *PROTOBUF_NONNULL value)
bool MPSolverResponseStatus_IsValid(int value)
constexpr int MPModelRequest_SolverType_SolverType_ARRAYSIZE
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelDeltaProto_VariableOverridesEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPConstraintProtoDefaultTypeInternal _MPConstraintProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t OptionalBoolean_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelProto_class_data_
constexpr int MPModelProto_Annotation_TargetType_TargetType_ARRAYSIZE
bool MPModelProto_Annotation_TargetType_Parse(::absl::string_view name, MPModelProto_Annotation_TargetType *PROTOBUF_NONNULL value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPSolverResponseStatus_descriptor()
MPModelProto_Annotation_TargetType
@ MPModelProto_Annotation_TargetType_VARIABLE_DEFAULT
@ MPModelProto_Annotation_TargetType_CONSTRAINT
@ MPModelProto_Annotation_TargetType_GENERAL_CONSTRAINT
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartialVariableAssignmentDefaultTypeInternal _PartialVariableAssignment_default_instance_
constexpr MPSosConstraint_Type MPSosConstraint_Type_Type_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSosConstraint_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPModelRequest_SolverType_descriptor()
@ MPSOLVER_CANCELLED_BY_USER
@ MPSOLVER_MODEL_INVALID_SOLUTION_HINT
@ MPSOLVER_UNKNOWN_STATUS
@ MPSOLVER_MODEL_IS_VALID
@ MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS
@ MPSOLVER_INCOMPATIBLE_OPTIONS
@ MPSOLVER_SOLVER_TYPE_UNAVAILABLE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPIndicatorConstraintDefaultTypeInternal _MPIndicatorConstraint_default_instance_
bool MPSolverResponseStatus_Parse(::absl::string_view name, MPSolverResponseStatus *PROTOBUF_NONNULL value)
constexpr MPModelProto_Annotation_TargetType MPModelProto_Annotation_TargetType_TargetType_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OptionalDoubleDefaultTypeInternal _OptionalDouble_default_instance_
bool MPSosConstraint_Type_Parse(::absl::string_view name, MPSosConstraint_Type *PROTOBUF_NONNULL value)
constexpr MPModelRequest_SolverType MPModelRequest_SolverType_SolverType_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPArrayWithConstantConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelRequestDefaultTypeInternal _MPModelRequest_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPQuadraticObjective_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPQuadraticConstraintDefaultTypeInternal _MPQuadraticConstraint_default_instance_
PROTOBUF_CONSTINIT const uint32_t MPSolverResponseStatus_internal_data_[]
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPSosConstraint_Type_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolverCommonParametersDefaultTypeInternal _MPSolverCommonParameters_default_instance_
bool MPSolverCommonParameters_LPAlgorithmValues_IsValid(int value)
constexpr MPModelProto_Annotation_TargetType MPModelProto_Annotation_TargetType_TargetType_MAX
const ::std::string & MPModelProto_Annotation_TargetType_Name(T value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelProtoDefaultTypeInternal _MPModelProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t MPSosConstraint_Type_internal_data_[]
constexpr int MPSolverResponseStatus_ARRAYSIZE
constexpr MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MIN
@ MPSosConstraint_Type_SOS1_DEFAULT
@ MPSosConstraint_Type_SOS2
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPArrayConstraint_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPSolverCommonParameters_LPAlgorithmValues_descriptor()
bool MPModelRequest_SolverType_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PartialVariableAssignment_class_data_
const ::std::string & MPSosConstraint_Type_Name(T value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolveInfoDefaultTypeInternal _MPSolveInfo_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelDeltaProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelDeltaProtoDefaultTypeInternal _MPModelDeltaProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPIndicatorConstraint_class_data_
PROTOBUF_CONSTINIT const uint32_t MPSolverCommonParameters_LPAlgorithmValues_internal_data_[]
bool MPModelProto_Annotation_TargetType_IsValid(int value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolution_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_class_data_