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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/map.h"
32#include "google/protobuf/map_type_handler.h"
33#include "google/protobuf/map_entry.h"
34#include "google/protobuf/map_field.h"
35#include "google/protobuf/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"; }
495 *
this = ::std::move(from);
497 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
498 static
void* PROTOBUF_NONNULL PlacementNew_(
499 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
500 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
501 static constexpr auto InternalNewImpl_();
504 static constexpr auto InternalGenerateClassData_();
506 ::
google::protobuf::Metadata GetMetadata() const;
511 kVarIndexFieldNumber = 1,
512 kVarValueFieldNumber = 2,
517 int _internal_var_index_size()
const;
524 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
525 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
528 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
529 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
535 int _internal_var_value_size()
const;
542 const ::google::protobuf::RepeatedField<double>&
var_value()
const;
546 const ::google::protobuf::RepeatedField<double>& _internal_var_value()
const;
547 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_var_value();
553 friend class ::google::protobuf::internal::TcParser;
554 static const ::google::protobuf::internal::TcParseTable<1, 2,
559 friend class ::google::protobuf::MessageLite;
560 friend class ::google::protobuf::Arena;
561 template <
typename T>
562 friend class ::google::protobuf::Arena::InternalHelper;
563 using InternalArenaConstructable_ = void;
564 using DestructorSkippable_ = void;
566 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
567 inline explicit Impl_(
568 ::google::protobuf::internal::InternalVisibility visibility,
569 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
570 inline explicit Impl_(
571 ::google::protobuf::internal::InternalVisibility visibility,
572 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
574 ::google::protobuf::internal::HasBits<1> _has_bits_;
575 ::google::protobuf::internal::CachedSize _cached_size_;
576 ::google::protobuf::RepeatedField<::int32_t> var_index_;
577 ::google::protobuf::internal::CachedSize _var_index_cached_byte_size_;
578 ::google::protobuf::RepeatedField<double> var_value_;
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"; }
709 explicit OptionalDouble(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
712 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
OptionalDouble&& from) noexcept
714 *
this = ::std::move(from);
716 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
717 static
void* PROTOBUF_NONNULL PlacementNew_(
718 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
719 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
720 static constexpr auto InternalNewImpl_();
723 static constexpr auto InternalGenerateClassData_();
725 ::
google::protobuf::Metadata GetMetadata() const;
730 kValueFieldNumber = 1,
735 double value()
const;
739 double _internal_value()
const;
740 void _internal_set_value(
double value);
746 friend class ::google::protobuf::internal::TcParser;
747 static const ::google::protobuf::internal::TcParseTable<0, 1,
752 friend class ::google::protobuf::MessageLite;
753 friend class ::google::protobuf::Arena;
754 template <
typename T>
755 friend class ::google::protobuf::Arena::InternalHelper;
756 using InternalArenaConstructable_ = void;
757 using DestructorSkippable_ = void;
759 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
760 inline explicit Impl_(
761 ::google::protobuf::internal::InternalVisibility visibility,
762 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
763 inline explicit Impl_(
764 ::google::protobuf::internal::InternalVisibility visibility,
765 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
767 ::google::protobuf::internal::HasBits<1> _has_bits_;
768 ::google::protobuf::internal::CachedSize _cached_size_;
770 PROTOBUF_TSAN_DECLARE_MEMBER
772 union { Impl_ _impl_; };
773 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
779class OR_PROTO_DLL
MPVariableProto final :
public ::google::protobuf::Message
785#if defined(PROTOBUF_CUSTOM_VTABLE)
786 void operator delete(
MPVariableProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
788 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPVariableProto));
792 template <
typename =
void>
793 explicit PROTOBUF_CONSTEXPR
MPVariableProto(::google::protobuf::internal::ConstantInitialized);
796 inline MPVariableProto(MPVariableProto&& from) noexcept
803 if (
this == &from)
return *
this;
804 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
812 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
813 ABSL_ATTRIBUTE_LIFETIME_BOUND {
814 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
817 ABSL_ATTRIBUTE_LIFETIME_BOUND {
818 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
821 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
824 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
827 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
837 if (other ==
this)
return;
838 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
841 ::google::protobuf::internal::GenericSwap(
this, other);
844 void UnsafeArenaSwap(MPVariableProto* PROTOBUF_NONNULL other) {
845 if (other ==
this)
return;
846 ABSL_DCHECK(GetArena() == other->GetArena());
852 MPVariableProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
853 return ::google::protobuf::Message::DefaultConstruct<MPVariableProto>(arena);
855 using ::google::protobuf::Message::CopyFrom;
857 using ::google::protobuf::Message::MergeFrom;
861 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
862 const ::google::protobuf::MessageLite& from_msg);
868 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
869 #if defined(PROTOBUF_CUSTOM_VTABLE)
871 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
873 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
874 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
878 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
879 ::uint8_t* PROTOBUF_NONNULL target,
880 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
881 return _InternalSerialize(*
this, target, stream);
884 ::size_t ByteSizeLong() const final;
885 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
886 ::uint8_t* PROTOBUF_NONNULL target,
887 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
889 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
892 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
896 template <
typename T>
898 static ::absl::string_view FullMessageName() {
return "operations_research.MPVariableProto"; }
900 explicit MPVariableProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
903 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPVariableProto&& from) noexcept
905 *
this = ::std::move(from);
907 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
908 static
void* PROTOBUF_NONNULL PlacementNew_(
909 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
910 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
911 static constexpr auto InternalNewImpl_();
914 static constexpr auto InternalGenerateClassData_();
916 ::
google::protobuf::Metadata GetMetadata() const;
921 kNameFieldNumber = 5,
922 kObjectiveCoefficientFieldNumber = 3,
923 kIsIntegerFieldNumber = 4,
924 kBranchingPriorityFieldNumber = 6,
931 const ::std::string&
name()
const;
932 template <
typename Arg_ = const ::std::string&,
typename... Args_>
933 void set_name(Arg_&& arg, Args_... args);
935 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
939 const ::std::string& _internal_name()
const;
940 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
941 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
951 double _internal_objective_coefficient()
const;
952 void _internal_set_objective_coefficient(
double value);
962 bool _internal_is_integer()
const;
963 void _internal_set_is_integer(
bool value);
973 ::int32_t _internal_branching_priority()
const;
974 void _internal_set_branching_priority(::int32_t value);
984 double _internal_lower_bound()
const;
985 void _internal_set_lower_bound(
double value);
995 double _internal_upper_bound()
const;
996 void _internal_set_upper_bound(
double value);
1002 friend class ::google::protobuf::internal::TcParser;
1003 static const ::google::protobuf::internal::TcParseTable<3, 6,
1008 friend class ::google::protobuf::MessageLite;
1009 friend class ::google::protobuf::Arena;
1010 template <
typename T>
1011 friend class ::google::protobuf::Arena::InternalHelper;
1012 using InternalArenaConstructable_ = void;
1013 using DestructorSkippable_ = void;
1015 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1016 inline explicit Impl_(
1017 ::google::protobuf::internal::InternalVisibility visibility,
1018 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1019 inline explicit Impl_(
1020 ::google::protobuf::internal::InternalVisibility visibility,
1021 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1023 ::google::protobuf::internal::HasBits<1> _has_bits_;
1024 ::google::protobuf::internal::CachedSize _cached_size_;
1025 ::google::protobuf::internal::ArenaStringPtr name_;
1026 double objective_coefficient_;
1028 ::int32_t branching_priority_;
1029 double lower_bound_;
1030 double upper_bound_;
1031 PROTOBUF_TSAN_DECLARE_MEMBER
1033 union { Impl_ _impl_; };
1034 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1040class OR_PROTO_DLL
MPSosConstraint final :
public ::google::protobuf::Message
1046#if defined(PROTOBUF_CUSTOM_VTABLE)
1047 void operator delete(
MPSosConstraint* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1049 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPSosConstraint));
1053 template <
typename =
void>
1054 explicit PROTOBUF_CONSTEXPR
MPSosConstraint(::google::protobuf::internal::ConstantInitialized);
1057 inline MPSosConstraint(MPSosConstraint&& from) noexcept
1058 : MPSosConstraint(
nullptr, ::std::move(from)) {}
1064 if (
this == &from)
return *
this;
1065 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1066 InternalSwap(&from);
1073 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1074 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1075 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1077 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1078 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1079 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1082 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1085 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1086 return default_instance().GetMetadata().descriptor;
1088 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1089 return default_instance().GetMetadata().reflection;
1095 static constexpr int kIndexInFileMessages = 4;
1098 if (other ==
this)
return;
1099 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1100 InternalSwap(other);
1102 ::google::protobuf::internal::GenericSwap(
this, other);
1105 void UnsafeArenaSwap(MPSosConstraint* PROTOBUF_NONNULL other) {
1106 if (other ==
this)
return;
1107 ABSL_DCHECK(GetArena() == other->GetArena());
1108 InternalSwap(other);
1113 MPSosConstraint* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1114 return ::google::protobuf::Message::DefaultConstruct<MPSosConstraint>(arena);
1116 using ::google::protobuf::Message::CopyFrom;
1118 using ::google::protobuf::Message::MergeFrom;
1122 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1123 const ::google::protobuf::MessageLite& from_msg);
1129 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1130 #if defined(PROTOBUF_CUSTOM_VTABLE)
1132 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1134 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1135 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1139 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1140 ::uint8_t* PROTOBUF_NONNULL target,
1141 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1142 return _InternalSerialize(*
this, target, stream);
1145 ::size_t ByteSizeLong() const final;
1146 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1147 ::uint8_t* PROTOBUF_NONNULL target,
1148 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1150 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1153 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1154 static void SharedDtor(MessageLite& self);
1157 template <
typename T>
1159 static ::absl::string_view FullMessageName() {
return "operations_research.MPSosConstraint"; }
1161 explicit MPSosConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1164 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPSosConstraint&& from) noexcept
1166 *
this = ::std::move(from);
1168 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1169 static
void* PROTOBUF_NONNULL PlacementNew_(
1170 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1171 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1172 static constexpr auto InternalNewImpl_();
1175 static constexpr auto InternalGenerateClassData_();
1177 ::
google::protobuf::Metadata GetMetadata() const;
1179 using Type = MPSosConstraint_Type;
1180 static constexpr Type SOS1_DEFAULT = MPSosConstraint_Type_SOS1_DEFAULT;
1181 static constexpr Type SOS2 = MPSosConstraint_Type_SOS2;
1182 static inline
bool Type_IsValid(
int value) {
1183 return MPSosConstraint_Type_IsValid(value);
1188 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL
Type_descriptor() {
1191 template <
typename T>
1195 static inline bool Type_Parse(
1196 ::absl::string_view name, Type* PROTOBUF_NONNULL value) {
1209 int _internal_var_index_size()
const;
1216 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
1217 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
1220 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
1221 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
1227 int _internal_weight_size()
const;
1231 double weight(
int index)
const;
1234 const ::google::protobuf::RepeatedField<double>&
weight()
const;
1235 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
mutable_weight();
1238 const ::google::protobuf::RepeatedField<double>& _internal_weight()
const;
1239 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_weight();
1256 friend class ::google::protobuf::internal::TcParser;
1257 static const ::google::protobuf::internal::TcParseTable<2, 3,
1262 friend class ::google::protobuf::MessageLite;
1263 friend class ::google::protobuf::Arena;
1264 template <
typename T>
1265 friend class ::google::protobuf::Arena::InternalHelper;
1266 using InternalArenaConstructable_ = void;
1267 using DestructorSkippable_ = void;
1269 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1270 inline explicit Impl_(
1271 ::google::protobuf::internal::InternalVisibility visibility,
1272 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1273 inline explicit Impl_(
1274 ::google::protobuf::internal::InternalVisibility visibility,
1275 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1277 ::google::protobuf::internal::HasBits<1> _has_bits_;
1278 ::google::protobuf::internal::CachedSize _cached_size_;
1279 ::google::protobuf::RepeatedField<::int32_t> var_index_;
1280 ::google::protobuf::RepeatedField<double> weight_;
1282 PROTOBUF_TSAN_DECLARE_MEMBER
1284 union { Impl_ _impl_; };
1285 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1291class OR_PROTO_DLL
MPSolveInfo final :
public ::google::protobuf::Message
1297#if defined(PROTOBUF_CUSTOM_VTABLE)
1298 void operator delete(
MPSolveInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1304 template <
typename =
void>
1305 explicit PROTOBUF_CONSTEXPR
MPSolveInfo(::google::protobuf::internal::ConstantInitialized);
1308 inline MPSolveInfo(MPSolveInfo&& from) noexcept
1309 : MPSolveInfo(
nullptr, ::std::move(from)) {}
1310 inline MPSolveInfo& operator=(
const MPSolveInfo& from) {
1315 if (
this == &from)
return *
this;
1316 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1317 InternalSwap(&from);
1324 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1325 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1326 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1328 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1329 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1330 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1333 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1336 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1337 return default_instance().GetMetadata().descriptor;
1346 static constexpr int kIndexInFileMessages = 20;
1349 if (other ==
this)
return;
1350 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1351 InternalSwap(other);
1353 ::google::protobuf::internal::GenericSwap(
this, other);
1356 void UnsafeArenaSwap(MPSolveInfo* PROTOBUF_NONNULL other) {
1357 if (other ==
this)
return;
1358 ABSL_DCHECK(GetArena() == other->GetArena());
1359 InternalSwap(other);
1364 MPSolveInfo* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1365 return ::google::protobuf::Message::DefaultConstruct<MPSolveInfo>(arena);
1367 using ::google::protobuf::Message::CopyFrom;
1369 using ::google::protobuf::Message::MergeFrom;
1373 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1374 const ::google::protobuf::MessageLite& from_msg);
1380 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1381 #if defined(PROTOBUF_CUSTOM_VTABLE)
1385 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1386 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1390 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1391 ::uint8_t* PROTOBUF_NONNULL target,
1392 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1393 return _InternalSerialize(*
this, target, stream);
1396 ::size_t ByteSizeLong() const final;
1397 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1398 ::uint8_t* PROTOBUF_NONNULL target,
1399 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1401 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1404 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1405 static void SharedDtor(MessageLite& self);
1406 void InternalSwap(MPSolveInfo* PROTOBUF_NONNULL other);
1408 template <
typename T>
1410 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolveInfo"; }
1412 explicit MPSolveInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1415 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPSolveInfo&& from) noexcept
1417 *
this = ::std::move(from);
1419 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1420 static
void* PROTOBUF_NONNULL PlacementNew_(
1421 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1422 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1423 static constexpr auto InternalNewImpl_();
1426 static constexpr auto InternalGenerateClassData_();
1428 ::
google::protobuf::Metadata GetMetadata() const;
1433 kSolveWallTimeSecondsFieldNumber = 1,
1434 kSolveUserTimeSecondsFieldNumber = 2,
1437 bool has_solve_wall_time_seconds()
const;
1438 void clear_solve_wall_time_seconds() ;
1443 double _internal_solve_wall_time_seconds()
const;
1444 void _internal_set_solve_wall_time_seconds(
double value);
1454 double _internal_solve_user_time_seconds()
const;
1455 void _internal_set_solve_user_time_seconds(
double value);
1461 friend class ::google::protobuf::internal::TcParser;
1462 static const ::google::protobuf::internal::TcParseTable<1, 2,
1467 friend class ::google::protobuf::MessageLite;
1468 friend class ::google::protobuf::Arena;
1469 template <
typename T>
1470 friend class ::google::protobuf::Arena::InternalHelper;
1471 using InternalArenaConstructable_ = void;
1472 using DestructorSkippable_ = void;
1474 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1475 inline explicit Impl_(
1476 ::google::protobuf::internal::InternalVisibility visibility,
1477 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1478 inline explicit Impl_(
1479 ::google::protobuf::internal::InternalVisibility visibility,
1480 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1482 ::google::protobuf::internal::HasBits<1> _has_bits_;
1483 ::google::protobuf::internal::CachedSize _cached_size_;
1484 double solve_wall_time_seconds_;
1485 double solve_user_time_seconds_;
1486 PROTOBUF_TSAN_DECLARE_MEMBER
1488 union { Impl_ _impl_; };
1489 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1495class OR_PROTO_DLL
MPSolution final :
public ::google::protobuf::Message
1501#if defined(PROTOBUF_CUSTOM_VTABLE)
1502 void operator delete(
MPSolution* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1504 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPSolution));
1508 template <
typename =
void>
1509 explicit PROTOBUF_CONSTEXPR
MPSolution(::google::protobuf::internal::ConstantInitialized);
1512 inline MPSolution(MPSolution&& from) noexcept
1513 : MPSolution(
nullptr, ::std::move(from)) {}
1514 inline MPSolution& operator=(
const MPSolution& from) {
1519 if (
this == &from)
return *
this;
1520 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1521 InternalSwap(&from);
1528 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1529 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1530 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1532 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1533 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1534 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1537 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1538 return GetDescriptor();
1540 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1541 return default_instance().GetMetadata().descriptor;
1543 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1546 static const MPSolution& default_instance() {
1552 inline void Swap(
MPSolution* PROTOBUF_NONNULL other) {
1553 if (other ==
this)
return;
1554 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1555 InternalSwap(other);
1557 ::google::protobuf::internal::GenericSwap(
this, other);
1560 void UnsafeArenaSwap(
MPSolution* PROTOBUF_NONNULL other) {
1561 if (other ==
this)
return;
1562 ABSL_DCHECK(GetArena() == other->GetArena());
1563 InternalSwap(other);
1568 MPSolution* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
1569 return ::google::protobuf::Message::DefaultConstruct<MPSolution>(arena);
1571 using ::google::protobuf::Message::CopyFrom;
1573 using ::google::protobuf::Message::MergeFrom;
1574 void MergeFrom(
const MPSolution& from) { MPSolution::MergeImpl(*
this, from); }
1577 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1578 const ::google::protobuf::MessageLite& from_msg);
1584 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1585 #if defined(PROTOBUF_CUSTOM_VTABLE)
1587 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1589 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1590 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1594 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1595 ::uint8_t* PROTOBUF_NONNULL target,
1596 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1597 return _InternalSerialize(*
this, target, stream);
1600 ::size_t ByteSizeLong() const final;
1601 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1602 ::uint8_t* PROTOBUF_NONNULL target,
1603 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1605 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1608 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1609 static void SharedDtor(MessageLite& self);
1610 void InternalSwap(MPSolution* PROTOBUF_NONNULL other);
1612 template <
typename T>
1614 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolution"; }
1616 explicit MPSolution(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1619 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPSolution&& from) noexcept
1621 *
this = ::std::move(from);
1623 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1624 static
void* PROTOBUF_NONNULL PlacementNew_(
1625 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1626 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1627 static constexpr auto InternalNewImpl_();
1630 static constexpr auto InternalGenerateClassData_();
1632 ::
google::protobuf::Metadata GetMetadata() const;
1637 kVariableValueFieldNumber = 2,
1638 kObjectiveValueFieldNumber = 1,
1641 int variable_value_size()
const;
1643 int _internal_variable_value_size()
const;
1650 const ::google::protobuf::RepeatedField<double>&
variable_value()
const;
1654 const ::google::protobuf::RepeatedField<double>& _internal_variable_value()
const;
1655 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_variable_value();
1665 double _internal_objective_value()
const;
1666 void _internal_set_objective_value(
double value);
1672 friend class ::google::protobuf::internal::TcParser;
1673 static const ::google::protobuf::internal::TcParseTable<1, 2,
1678 friend class ::google::protobuf::MessageLite;
1679 friend class ::google::protobuf::Arena;
1680 template <
typename T>
1681 friend class ::google::protobuf::Arena::InternalHelper;
1682 using InternalArenaConstructable_ = void;
1683 using DestructorSkippable_ = void;
1685 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1686 inline explicit Impl_(
1687 ::google::protobuf::internal::InternalVisibility visibility,
1688 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1689 inline explicit Impl_(
1690 ::google::protobuf::internal::InternalVisibility visibility,
1691 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1693 ::google::protobuf::internal::HasBits<1> _has_bits_;
1694 ::google::protobuf::internal::CachedSize _cached_size_;
1695 ::google::protobuf::RepeatedField<double> variable_value_;
1696 double objective_value_;
1697 PROTOBUF_TSAN_DECLARE_MEMBER
1699 union { Impl_ _impl_; };
1700 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1712#if defined(PROTOBUF_CUSTOM_VTABLE)
1719 template <
typename =
void>
1720 explicit PROTOBUF_CONSTEXPR
MPQuadraticObjective(::google::protobuf::internal::ConstantInitialized);
1725 inline MPQuadraticObjective& operator=(
const MPQuadraticObjective& from) {
1730 if (
this == &from)
return *
this;
1731 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1732 InternalSwap(&from);
1739 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1740 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1741 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1743 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1744 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1745 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1748 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1754 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1755 return default_instance().GetMetadata().reflection;
1761 static constexpr int kIndexInFileMessages = 9;
1764 if (other ==
this)
return;
1765 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1766 InternalSwap(other);
1768 ::google::protobuf::internal::GenericSwap(
this, other);
1772 if (other ==
this)
return;
1773 ABSL_DCHECK(GetArena() == other->GetArena());
1774 InternalSwap(other);
1780 return ::google::protobuf::Message::DefaultConstruct<MPQuadraticObjective>(arena);
1782 using ::google::protobuf::Message::CopyFrom;
1784 using ::google::protobuf::Message::MergeFrom;
1785 void MergeFrom(
const MPQuadraticObjective& from) { MPQuadraticObjective::MergeImpl(*
this, from); }
1788 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1789 const ::google::protobuf::MessageLite& from_msg);
1795 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
1796 #if defined(PROTOBUF_CUSTOM_VTABLE)
1798 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1799 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1800 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1801 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1805 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1806 ::uint8_t* PROTOBUF_NONNULL target,
1807 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1808 return _InternalSerialize(*
this, target, stream);
1811 ::size_t ByteSizeLong() const final;
1812 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1813 ::uint8_t* PROTOBUF_NONNULL target,
1814 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1816 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
1819 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1820 static void SharedDtor(MessageLite& self);
1821 void InternalSwap(MPQuadraticObjective* PROTOBUF_NONNULL other);
1823 template <
typename T>
1825 static ::absl::string_view FullMessageName() {
return "operations_research.MPQuadraticObjective"; }
1832 *
this = ::std::move(from);
1834 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1835 static
void* PROTOBUF_NONNULL PlacementNew_(
1836 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1837 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1838 static constexpr auto InternalNewImpl_();
1841 static constexpr auto InternalGenerateClassData_();
1843 ::
google::protobuf::Metadata GetMetadata() const;
1848 kQvar1IndexFieldNumber = 1,
1849 kQvar2IndexFieldNumber = 2,
1850 kCoefficientFieldNumber = 3,
1853 int qvar1_index_size()
const;
1855 int _internal_qvar1_index_size()
const;
1862 const ::google::protobuf::RepeatedField<::int32_t>&
qvar1_index()
const;
1866 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar1_index()
const;
1867 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar1_index();
1873 int _internal_qvar2_index_size()
const;
1880 const ::google::protobuf::RepeatedField<::int32_t>&
qvar2_index()
const;
1884 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar2_index()
const;
1885 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar2_index();
1891 int _internal_coefficient_size()
const;
1898 const ::google::protobuf::RepeatedField<double>&
coefficient()
const;
1902 const ::google::protobuf::RepeatedField<double>& _internal_coefficient()
const;
1903 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficient();
1909 friend class ::google::protobuf::internal::TcParser;
1910 static const ::google::protobuf::internal::TcParseTable<2, 3,
1915 friend class ::google::protobuf::MessageLite;
1916 friend class ::google::protobuf::Arena;
1917 template <
typename T>
1918 friend class ::google::protobuf::Arena::InternalHelper;
1919 using InternalArenaConstructable_ = void;
1920 using DestructorSkippable_ = void;
1922 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1923 inline explicit Impl_(
1924 ::google::protobuf::internal::InternalVisibility visibility,
1925 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1926 inline explicit Impl_(
1927 ::google::protobuf::internal::InternalVisibility visibility,
1928 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1930 ::google::protobuf::internal::HasBits<1> _has_bits_;
1931 ::google::protobuf::internal::CachedSize _cached_size_;
1932 ::google::protobuf::RepeatedField<::int32_t> qvar1_index_;
1933 ::google::protobuf::RepeatedField<::int32_t> qvar2_index_;
1934 ::google::protobuf::RepeatedField<double> coefficient_;
1935 PROTOBUF_TSAN_DECLARE_MEMBER
1937 union { Impl_ _impl_; };
1938 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
1950#if defined(PROTOBUF_CUSTOM_VTABLE)
1957 template <
typename =
void>
1958 explicit PROTOBUF_CONSTEXPR
MPQuadraticConstraint(::google::protobuf::internal::ConstantInitialized);
1963 inline MPQuadraticConstraint& operator=(
const MPQuadraticConstraint& from) {
1968 if (
this == &from)
return *
this;
1969 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1970 InternalSwap(&from);
1977 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
1978 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1979 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1981 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1982 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1983 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1986 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
1989 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1992 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1993 return default_instance().GetMetadata().reflection;
1999 static constexpr int kIndexInFileMessages = 5;
2002 if (other ==
this)
return;
2003 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2004 InternalSwap(other);
2006 ::google::protobuf::internal::GenericSwap(
this, other);
2010 if (other ==
this)
return;
2011 ABSL_DCHECK(GetArena() == other->GetArena());
2012 InternalSwap(other);
2017 MPQuadraticConstraint* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2018 return ::google::protobuf::Message::DefaultConstruct<MPQuadraticConstraint>(arena);
2020 using ::google::protobuf::Message::CopyFrom;
2022 using ::google::protobuf::Message::MergeFrom;
2023 void MergeFrom(
const MPQuadraticConstraint& from) { MPQuadraticConstraint::MergeImpl(*
this, from); }
2026 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2027 const ::google::protobuf::MessageLite& from_msg);
2033 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2034 #if defined(PROTOBUF_CUSTOM_VTABLE)
2036 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2037 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2038 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2039 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2043 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2044 ::uint8_t* PROTOBUF_NONNULL target,
2045 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2046 return _InternalSerialize(*
this, target, stream);
2049 ::size_t ByteSizeLong() const final;
2050 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2051 ::uint8_t* PROTOBUF_NONNULL target,
2052 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2054 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2057 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2058 static void SharedDtor(MessageLite& self);
2059 void InternalSwap(MPQuadraticConstraint* PROTOBUF_NONNULL other);
2061 template <
typename T>
2063 static ::absl::string_view FullMessageName() {
return "operations_research.MPQuadraticConstraint"; }
2070 *
this = ::std::move(from);
2072 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2073 static
void* PROTOBUF_NONNULL PlacementNew_(
2074 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2075 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2076 static constexpr auto InternalNewImpl_();
2079 static constexpr auto InternalGenerateClassData_();
2081 ::
google::protobuf::Metadata GetMetadata() const;
2086 kVarIndexFieldNumber = 1,
2087 kCoefficientFieldNumber = 2,
2088 kQvar1IndexFieldNumber = 3,
2089 kQvar2IndexFieldNumber = 4,
2090 kQcoefficientFieldNumber = 5,
2091 kLowerBoundFieldNumber = 6,
2092 kUpperBoundFieldNumber = 7,
2097 int _internal_var_index_size()
const;
2104 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
2105 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
2108 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
2109 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
2115 int _internal_coefficient_size()
const;
2122 const ::google::protobuf::RepeatedField<double>&
coefficient()
const;
2126 const ::google::protobuf::RepeatedField<double>& _internal_coefficient()
const;
2127 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficient();
2133 int _internal_qvar1_index_size()
const;
2140 const ::google::protobuf::RepeatedField<::int32_t>&
qvar1_index()
const;
2144 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar1_index()
const;
2145 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar1_index();
2151 int _internal_qvar2_index_size()
const;
2158 const ::google::protobuf::RepeatedField<::int32_t>&
qvar2_index()
const;
2162 const ::google::protobuf::RepeatedField<::int32_t>& _internal_qvar2_index()
const;
2163 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_qvar2_index();
2169 int _internal_qcoefficient_size()
const;
2176 const ::google::protobuf::RepeatedField<double>&
qcoefficient()
const;
2180 const ::google::protobuf::RepeatedField<double>& _internal_qcoefficient()
const;
2181 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_qcoefficient();
2191 double _internal_lower_bound()
const;
2192 void _internal_set_lower_bound(
double value);
2202 double _internal_upper_bound()
const;
2203 void _internal_set_upper_bound(
double value);
2209 friend class ::google::protobuf::internal::TcParser;
2210 static const ::google::protobuf::internal::TcParseTable<3, 7,
2215 friend class ::google::protobuf::MessageLite;
2216 friend class ::google::protobuf::Arena;
2217 template <
typename T>
2218 friend class ::google::protobuf::Arena::InternalHelper;
2219 using InternalArenaConstructable_ = void;
2220 using DestructorSkippable_ = void;
2222 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2223 inline explicit Impl_(
2224 ::google::protobuf::internal::InternalVisibility visibility,
2225 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2226 inline explicit Impl_(
2227 ::google::protobuf::internal::InternalVisibility visibility,
2228 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2230 ::google::protobuf::internal::HasBits<1> _has_bits_;
2231 ::google::protobuf::internal::CachedSize _cached_size_;
2232 ::google::protobuf::RepeatedField<::int32_t> var_index_;
2233 ::google::protobuf::RepeatedField<double> coefficient_;
2234 ::google::protobuf::RepeatedField<::int32_t> qvar1_index_;
2235 ::google::protobuf::RepeatedField<::int32_t> qvar2_index_;
2236 ::google::protobuf::RepeatedField<double> qcoefficient_;
2237 double lower_bound_;
2238 double upper_bound_;
2239 PROTOBUF_TSAN_DECLARE_MEMBER
2241 union { Impl_ _impl_; };
2242 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
2254#if defined(PROTOBUF_CUSTOM_VTABLE)
2261 template <
typename =
void>
2267 inline MPModelProto_Annotation& operator=(
const MPModelProto_Annotation& from) {
2271 inline MPModelProto_Annotation& operator=(MPModelProto_Annotation&& from)
noexcept {
2272 if (
this == &from)
return *
this;
2273 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2274 InternalSwap(&from);
2282 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2283 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2285 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2286 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2287 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2290 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2293 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2294 return default_instance().GetMetadata().descriptor;
2296 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2297 return default_instance().GetMetadata().reflection;
2299 static const MPModelProto_Annotation& default_instance() {
2306 if (other ==
this)
return;
2307 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2308 InternalSwap(other);
2310 ::google::protobuf::internal::GenericSwap(
this, other);
2314 if (other ==
this)
return;
2315 ABSL_DCHECK(GetArena() == other->GetArena());
2316 InternalSwap(other);
2321 MPModelProto_Annotation* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2322 return ::google::protobuf::Message::DefaultConstruct<MPModelProto_Annotation>(arena);
2324 using ::google::protobuf::Message::CopyFrom;
2326 using ::google::protobuf::Message::MergeFrom;
2330 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2331 const ::google::protobuf::MessageLite& from_msg);
2337 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2338 #if defined(PROTOBUF_CUSTOM_VTABLE)
2340 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2342 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2343 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2347 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2348 ::uint8_t* PROTOBUF_NONNULL target,
2349 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2350 return _InternalSerialize(*
this, target, stream);
2353 ::size_t ByteSizeLong() const final;
2354 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2355 ::uint8_t* PROTOBUF_NONNULL target,
2356 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2358 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2361 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2362 static void SharedDtor(MessageLite& self);
2363 void InternalSwap(MPModelProto_Annotation* PROTOBUF_NONNULL other);
2365 template <
typename T>
2367 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelProto.Annotation"; }
2374 *
this = ::std::move(from);
2376 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2377 static
void* PROTOBUF_NONNULL PlacementNew_(
2378 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2379 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2380 static constexpr auto InternalNewImpl_();
2383 static constexpr auto InternalGenerateClassData_();
2385 ::
google::protobuf::Metadata GetMetadata() const;
2391 static inline
bool TargetType_IsValid(
int value) {
2394 static constexpr TargetType TargetType_MIN = MPModelProto_Annotation_TargetType_TargetType_MIN;
2395 static constexpr TargetType TargetType_MAX = MPModelProto_Annotation_TargetType_TargetType_MAX;
2396 static constexpr int TargetType_ARRAYSIZE = MPModelProto_Annotation_TargetType_TargetType_ARRAYSIZE;
2400 template <
typename T>
2418 bool has_target_name()
const;
2419 void clear_target_name() ;
2420 const ::std::string& target_name()
const;
2421 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2428 const ::std::string& _internal_target_name()
const;
2429 PROTOBUF_ALWAYS_INLINE
void _internal_set_target_name(const ::std::string& value);
2430 ::std::string* PROTOBUF_NONNULL _internal_mutable_target_name();
2437 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2444 const ::std::string& _internal_payload_key()
const;
2445 PROTOBUF_ALWAYS_INLINE
void _internal_set_payload_key(const ::std::string& value);
2446 ::std::string* PROTOBUF_NONNULL _internal_mutable_payload_key();
2453 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2460 const ::std::string& _internal_payload_value()
const;
2461 PROTOBUF_ALWAYS_INLINE
void _internal_set_payload_value(const ::std::string& value);
2462 ::std::string* PROTOBUF_NONNULL _internal_mutable_payload_value();
2483 ::int32_t _internal_target_index()
const;
2484 void _internal_set_target_index(::int32_t value);
2490 friend class ::google::protobuf::internal::TcParser;
2491 static const ::google::protobuf::internal::TcParseTable<3, 5,
2496 friend class ::google::protobuf::MessageLite;
2497 friend class ::google::protobuf::Arena;
2498 template <
typename T>
2499 friend class ::google::protobuf::Arena::InternalHelper;
2500 using InternalArenaConstructable_ = void;
2501 using DestructorSkippable_ = void;
2503 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2504 inline explicit Impl_(
2505 ::google::protobuf::internal::InternalVisibility visibility,
2506 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2507 inline explicit Impl_(
2508 ::google::protobuf::internal::InternalVisibility visibility,
2509 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2511 ::google::protobuf::internal::HasBits<1> _has_bits_;
2512 ::google::protobuf::internal::CachedSize _cached_size_;
2513 ::google::protobuf::internal::ArenaStringPtr target_name_;
2514 ::google::protobuf::internal::ArenaStringPtr payload_key_;
2515 ::google::protobuf::internal::ArenaStringPtr payload_value_;
2517 ::int32_t target_index_;
2518 PROTOBUF_TSAN_DECLARE_MEMBER
2520 union { Impl_ _impl_; };
2521 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
2533#if defined(PROTOBUF_CUSTOM_VTABLE)
2534 void operator delete(
MPConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
2540 template <
typename =
void>
2546 inline MPConstraintProto& operator=(
const MPConstraintProto& from) {
2550 inline MPConstraintProto& operator=(MPConstraintProto&& from)
noexcept {
2551 if (
this == &from)
return *
this;
2552 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2553 InternalSwap(&from);
2560 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2561 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2562 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2564 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2565 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2566 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2569 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2570 return GetDescriptor();
2572 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2573 return default_instance().GetMetadata().descriptor;
2582 static constexpr int kIndexInFileMessages = 1;
2585 if (other ==
this)
return;
2586 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2587 InternalSwap(other);
2589 ::google::protobuf::internal::GenericSwap(
this, other);
2592 void UnsafeArenaSwap(MPConstraintProto* PROTOBUF_NONNULL other) {
2593 if (other ==
this)
return;
2594 ABSL_DCHECK(GetArena() == other->GetArena());
2595 InternalSwap(other);
2600 MPConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
2601 return ::google::protobuf::Message::DefaultConstruct<MPConstraintProto>(arena);
2603 using ::google::protobuf::Message::CopyFrom;
2605 using ::google::protobuf::Message::MergeFrom;
2609 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2610 const ::google::protobuf::MessageLite& from_msg);
2616 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2617 #if defined(PROTOBUF_CUSTOM_VTABLE)
2619 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2621 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2622 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2626 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2627 ::uint8_t* PROTOBUF_NONNULL target,
2628 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2629 return _InternalSerialize(*
this, target, stream);
2632 ::size_t ByteSizeLong() const final;
2633 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2634 ::uint8_t* PROTOBUF_NONNULL target,
2635 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2637 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2640 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2641 static void SharedDtor(MessageLite& self);
2642 void InternalSwap(MPConstraintProto* PROTOBUF_NONNULL other);
2644 template <
typename T>
2646 static ::absl::string_view FullMessageName() {
return "operations_research.MPConstraintProto"; }
2651 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPConstraintProto&& from) noexcept
2653 *
this = ::std::move(from);
2655 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2656 static
void* PROTOBUF_NONNULL PlacementNew_(
2657 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2658 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2659 static constexpr auto InternalNewImpl_();
2662 static constexpr auto InternalGenerateClassData_();
2664 ::
google::protobuf::Metadata GetMetadata() const;
2669 kVarIndexFieldNumber = 6,
2670 kCoefficientFieldNumber = 7,
2671 kNameFieldNumber = 4,
2672 kIsLazyFieldNumber = 5,
2673 kLowerBoundFieldNumber = 2,
2674 kUpperBoundFieldNumber = 3,
2677 int var_index_size()
const;
2679 int _internal_var_index_size()
const;
2686 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
2687 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
2690 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
2691 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
2697 int _internal_coefficient_size()
const;
2704 const ::google::protobuf::RepeatedField<double>&
coefficient()
const;
2708 const ::google::protobuf::RepeatedField<double>& _internal_coefficient()
const;
2709 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_coefficient();
2715 const ::std::string&
name()
const;
2716 template <
typename Arg_ = const ::std::string&,
typename... Args_>
2717 void set_name(Arg_&& arg, Args_... args);
2719 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
2723 const ::std::string& _internal_name()
const;
2724 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
2725 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2735 bool _internal_is_lazy()
const;
2736 void _internal_set_is_lazy(
bool value);
2746 double _internal_lower_bound()
const;
2747 void _internal_set_lower_bound(
double value);
2757 double _internal_upper_bound()
const;
2758 void _internal_set_upper_bound(
double value);
2764 friend class ::google::protobuf::internal::TcParser;
2765 static const ::google::protobuf::internal::TcParseTable<3, 6,
2770 friend class ::google::protobuf::MessageLite;
2771 friend class ::google::protobuf::Arena;
2772 template <
typename T>
2773 friend class ::google::protobuf::Arena::InternalHelper;
2774 using InternalArenaConstructable_ = void;
2775 using DestructorSkippable_ = void;
2777 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
2778 inline explicit Impl_(
2779 ::google::protobuf::internal::InternalVisibility visibility,
2780 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2781 inline explicit Impl_(
2782 ::google::protobuf::internal::InternalVisibility visibility,
2783 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2785 ::google::protobuf::internal::HasBits<1> _has_bits_;
2786 ::google::protobuf::internal::CachedSize _cached_size_;
2787 ::google::protobuf::RepeatedField<::int32_t> var_index_;
2788 ::google::protobuf::internal::CachedSize _var_index_cached_byte_size_;
2789 ::google::protobuf::RepeatedField<double> coefficient_;
2790 ::google::protobuf::internal::ArenaStringPtr name_;
2792 double lower_bound_;
2793 double upper_bound_;
2794 PROTOBUF_TSAN_DECLARE_MEMBER
2796 union { Impl_ _impl_; };
2797 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
2806 inline MPArrayWithConstantConstraint() : MPArrayWithConstantConstraint(nullptr) {}
2809#if defined(PROTOBUF_CUSTOM_VTABLE)
2816 template <
typename =
void>
2822 inline MPArrayWithConstantConstraint& operator=(
const MPArrayWithConstantConstraint& from) {
2826 inline MPArrayWithConstantConstraint& operator=(MPArrayWithConstantConstraint&& from)
noexcept {
2827 if (
this == &from)
return *
this;
2828 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2829 InternalSwap(&from);
2836 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2837 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2838 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2840 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2841 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2842 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2845 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2846 return GetDescriptor();
2851 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2858 static constexpr int kIndexInFileMessages = 8;
2861 if (other ==
this)
return;
2862 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2863 InternalSwap(other);
2865 ::google::protobuf::internal::GenericSwap(
this, other);
2868 void UnsafeArenaSwap(MPArrayWithConstantConstraint* PROTOBUF_NONNULL other) {
2869 if (other ==
this)
return;
2870 ABSL_DCHECK(GetArena() == other->GetArena());
2871 InternalSwap(other);
2877 return ::google::protobuf::Message::DefaultConstruct<MPArrayWithConstantConstraint>(arena);
2879 using ::google::protobuf::Message::CopyFrom;
2881 using ::google::protobuf::Message::MergeFrom;
2885 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2886 const ::google::protobuf::MessageLite& from_msg);
2892 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
2893 #if defined(PROTOBUF_CUSTOM_VTABLE)
2895 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2897 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2898 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2902 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2903 ::uint8_t* PROTOBUF_NONNULL target,
2904 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2905 return _InternalSerialize(*
this, target, stream);
2908 ::size_t ByteSizeLong() const final;
2909 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2910 ::uint8_t* PROTOBUF_NONNULL target,
2911 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2913 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
2916 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2917 static void SharedDtor(MessageLite& self);
2918 void InternalSwap(MPArrayWithConstantConstraint* PROTOBUF_NONNULL other);
2920 template <
typename T>
2922 static ::absl::string_view FullMessageName() {
return "operations_research.MPArrayWithConstantConstraint"; }
2924 explicit MPArrayWithConstantConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2929 *
this = ::std::move(from);
2931 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2932 static
void* PROTOBUF_NONNULL PlacementNew_(
2933 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2934 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2935 static constexpr auto InternalNewImpl_();
2938 static constexpr auto InternalGenerateClassData_();
2940 ::
google::protobuf::Metadata GetMetadata() const;
2945 kVarIndexFieldNumber = 1,
2946 kConstantFieldNumber = 2,
2947 kResultantVarIndexFieldNumber = 3,
2950 int var_index_size()
const;
2952 int _internal_var_index_size()
const;
2955 void clear_var_index() ;
2956 ::int32_t var_index(
int index)
const;
2959 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
2960 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
mutable_var_index();
2963 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
2964 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
2974 double _internal_constant()
const;
2975 void _internal_set_constant(
double value);
2985 ::int32_t _internal_resultant_var_index()
const;
2986 void _internal_set_resultant_var_index(::int32_t value);
2992 friend class ::google::protobuf::internal::TcParser;
2993 static const ::google::protobuf::internal::TcParseTable<2, 3,
2998 friend class ::google::protobuf::MessageLite;
2999 friend class ::google::protobuf::Arena;
3000 template <
typename T>
3001 friend class ::google::protobuf::Arena::InternalHelper;
3002 using InternalArenaConstructable_ = void;
3003 using DestructorSkippable_ = void;
3005 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3006 inline explicit Impl_(
3007 ::google::protobuf::internal::InternalVisibility visibility,
3008 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3009 inline explicit Impl_(
3010 ::google::protobuf::internal::InternalVisibility visibility,
3011 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3013 ::google::protobuf::internal::HasBits<1> _has_bits_;
3014 ::google::protobuf::internal::CachedSize _cached_size_;
3015 ::google::protobuf::RepeatedField<::int32_t> var_index_;
3017 ::int32_t resultant_var_index_;
3018 PROTOBUF_TSAN_DECLARE_MEMBER
3020 union { Impl_ _impl_; };
3021 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3030 inline MPArrayConstraint() : MPArrayConstraint(nullptr) {}
3031 ~MPArrayConstraint() PROTOBUF_FINAL;
3033#if defined(PROTOBUF_CUSTOM_VTABLE)
3034 void operator delete(
MPArrayConstraint* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
3040 template <
typename =
void>
3041 explicit PROTOBUF_CONSTEXPR
MPArrayConstraint(::google::protobuf::internal::ConstantInitialized);
3046 inline MPArrayConstraint& operator=(
const MPArrayConstraint& from) {
3050 inline MPArrayConstraint& operator=(MPArrayConstraint&& from)
noexcept {
3051 if (
this == &from)
return *
this;
3052 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3053 InternalSwap(&from);
3060 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
3061 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3062 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3064 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3065 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3066 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3069 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3070 return GetDescriptor();
3072 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3075 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3076 return default_instance().GetMetadata().reflection;
3085 if (other ==
this)
return;
3086 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3087 InternalSwap(other);
3089 ::google::protobuf::internal::GenericSwap(
this, other);
3093 if (other ==
this)
return;
3094 ABSL_DCHECK(GetArena() == other->GetArena());
3095 InternalSwap(other);
3100 MPArrayConstraint* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
3101 return ::google::protobuf::Message::DefaultConstruct<MPArrayConstraint>(arena);
3103 using ::google::protobuf::Message::CopyFrom;
3105 using ::google::protobuf::Message::MergeFrom;
3109 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3110 const ::google::protobuf::MessageLite& from_msg);
3116 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3117 #if defined(PROTOBUF_CUSTOM_VTABLE)
3121 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3122 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3127 ::uint8_t* PROTOBUF_NONNULL target,
3128 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3132 ::size_t ByteSizeLong() const final;
3133 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3134 ::uint8_t* PROTOBUF_NONNULL target,
3135 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3137 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3140 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3141 static void SharedDtor(MessageLite& self);
3142 void InternalSwap(MPArrayConstraint* PROTOBUF_NONNULL other);
3144 template <
typename T>
3146 static ::absl::string_view FullMessageName() {
return "operations_research.MPArrayConstraint"; }
3148 explicit MPArrayConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3149 MPArrayConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPArrayConstraint& from);
3151 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
MPArrayConstraint&& from) noexcept
3153 *
this = ::std::move(from);
3155 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3156 static
void* PROTOBUF_NONNULL PlacementNew_(
3157 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3158 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3159 static constexpr auto InternalNewImpl_();
3162 static constexpr auto InternalGenerateClassData_();
3164 ::
google::protobuf::Metadata GetMetadata() const;
3169 kVarIndexFieldNumber = 1,
3170 kResultantVarIndexFieldNumber = 2,
3173 int var_index_size()
const;
3175 int _internal_var_index_size()
const;
3178 void clear_var_index() ;
3179 ::int32_t var_index(
int index)
const;
3180 void set_var_index(
int index, ::int32_t value);
3181 void add_var_index(::int32_t value);
3182 const ::google::protobuf::RepeatedField<::int32_t>&
var_index()
const;
3186 const ::google::protobuf::RepeatedField<::int32_t>& _internal_var_index()
const;
3187 ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _internal_mutable_var_index();
3197 ::int32_t _internal_resultant_var_index()
const;
3198 void _internal_set_resultant_var_index(::int32_t value);
3204 friend class ::google::protobuf::internal::TcParser;
3205 static const ::google::protobuf::internal::TcParseTable<1, 2,
3210 friend class ::google::protobuf::MessageLite;
3211 friend class ::google::protobuf::Arena;
3212 template <
typename T>
3213 friend class ::google::protobuf::Arena::InternalHelper;
3214 using InternalArenaConstructable_ = void;
3215 using DestructorSkippable_ = void;
3217 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3218 inline explicit Impl_(
3219 ::google::protobuf::internal::InternalVisibility visibility,
3220 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3221 inline explicit Impl_(
3222 ::google::protobuf::internal::InternalVisibility visibility,
3223 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3225 ::google::protobuf::internal::HasBits<1> _has_bits_;
3226 ::google::protobuf::internal::CachedSize _cached_size_;
3227 ::google::protobuf::RepeatedField<::int32_t> var_index_;
3228 ::int32_t resultant_var_index_;
3229 PROTOBUF_TSAN_DECLARE_MEMBER
3231 union { Impl_ _impl_; };
3232 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3238class OR_PROTO_DLL
MPAbsConstraint final :
public ::google::protobuf::Message
3241 inline MPAbsConstraint() : MPAbsConstraint(nullptr) {}
3242 ~MPAbsConstraint() PROTOBUF_FINAL;
3244#if defined(PROTOBUF_CUSTOM_VTABLE)
3247 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
MPAbsConstraint));
3251 template <
typename =
void>
3252 explicit PROTOBUF_CONSTEXPR
MPAbsConstraint(::google::protobuf::internal::ConstantInitialized);
3261 inline MPAbsConstraint& operator=(MPAbsConstraint&& from)
noexcept {
3262 if (
this == &from)
return *
this;
3263 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3264 InternalSwap(&from);
3272 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3273 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3276 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3277 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3280 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3281 return GetDescriptor();
3283 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3284 return default_instance().GetMetadata().descriptor;
3286 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3287 return default_instance().GetMetadata().reflection;
3293 static constexpr int kIndexInFileMessages = 6;
3296 if (other ==
this)
return;
3297 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3298 InternalSwap(other);
3300 ::google::protobuf::internal::GenericSwap(
this, other);
3304 if (other ==
this)
return;
3305 ABSL_DCHECK(GetArena() == other->GetArena());
3306 InternalSwap(other);
3311 MPAbsConstraint* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
3312 return ::google::protobuf::Message::DefaultConstruct<MPAbsConstraint>(arena);
3314 using ::google::protobuf::Message::CopyFrom;
3316 using ::google::protobuf::Message::MergeFrom;
3320 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3321 const ::google::protobuf::MessageLite& from_msg);
3324 bool IsInitialized()
const {
3327 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3328 #if defined(PROTOBUF_CUSTOM_VTABLE)
3330 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3332 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3333 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3337 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3338 ::uint8_t* PROTOBUF_NONNULL target,
3339 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3343 ::size_t ByteSizeLong() const final;
3344 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3345 ::uint8_t* PROTOBUF_NONNULL target,
3346 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3348 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3351 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3352 static void SharedDtor(MessageLite& self);
3353 void InternalSwap(MPAbsConstraint* PROTOBUF_NONNULL other);
3355 template <
typename T>
3357 static ::absl::string_view FullMessageName() {
return "operations_research.MPAbsConstraint"; }
3359 explicit MPAbsConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3360 MPAbsConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPAbsConstraint& from);
3364 *
this = ::std::move(from);
3366 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3367 static
void* PROTOBUF_NONNULL PlacementNew_(
3368 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3369 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3370 static constexpr auto InternalNewImpl_();
3373 static constexpr auto InternalGenerateClassData_();
3375 ::
google::protobuf::Metadata GetMetadata() const;
3380 kVarIndexFieldNumber = 1,
3381 kResultantVarIndexFieldNumber = 2,
3384 bool has_var_index()
const;
3385 void clear_var_index() ;
3386 ::int32_t var_index()
const;
3387 void set_var_index(::int32_t value);
3390 ::int32_t _internal_var_index()
const;
3391 void _internal_set_var_index(::int32_t value);
3401 ::int32_t _internal_resultant_var_index()
const;
3402 void _internal_set_resultant_var_index(::int32_t value);
3408 friend class ::google::protobuf::internal::TcParser;
3409 static const ::google::protobuf::internal::TcParseTable<1, 2,
3414 friend class ::google::protobuf::MessageLite;
3415 friend class ::google::protobuf::Arena;
3416 template <
typename T>
3417 friend class ::google::protobuf::Arena::InternalHelper;
3418 using InternalArenaConstructable_ = void;
3419 using DestructorSkippable_ = void;
3421 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3422 inline explicit Impl_(
3423 ::google::protobuf::internal::InternalVisibility visibility,
3424 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3425 inline explicit Impl_(
3426 ::google::protobuf::internal::InternalVisibility visibility,
3427 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3429 ::google::protobuf::internal::HasBits<1> _has_bits_;
3430 ::google::protobuf::internal::CachedSize _cached_size_;
3431 ::int32_t var_index_;
3432 ::int32_t resultant_var_index_;
3433 PROTOBUF_TSAN_DECLARE_MEMBER
3435 union { Impl_ _impl_; };
3436 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3445 inline MPSolverCommonParameters() : MPSolverCommonParameters(nullptr) {}
3446 ~MPSolverCommonParameters() PROTOBUF_FINAL;
3448#if defined(PROTOBUF_CUSTOM_VTABLE)
3455 template <
typename =
void>
3465 inline MPSolverCommonParameters& operator=(MPSolverCommonParameters&& from)
noexcept {
3466 if (
this == &from)
return *
this;
3467 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3468 InternalSwap(&from);
3475 inline const ::google::protobuf::UnknownFieldSet&
unknown_fields() const
3476 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3477 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3479 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3480 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3481 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3484 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3485 return GetDescriptor();
3487 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3488 return default_instance().GetMetadata().descriptor;
3497 static constexpr int kIndexInFileMessages = 14;
3500 if (other ==
this)
return;
3501 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3502 InternalSwap(other);
3504 ::google::protobuf::internal::GenericSwap(
this, other);
3507 void UnsafeArenaSwap(MPSolverCommonParameters* PROTOBUF_NONNULL other) {
3508 if (other ==
this)
return;
3509 ABSL_DCHECK(GetArena() == other->GetArena());
3510 InternalSwap(other);
3516 return ::google::protobuf::Message::DefaultConstruct<MPSolverCommonParameters>(arena);
3518 using ::google::protobuf::Message::CopyFrom;
3520 using ::google::protobuf::Message::MergeFrom;
3524 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3525 const ::google::protobuf::MessageLite& from_msg);
3531 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3532 #if defined(PROTOBUF_CUSTOM_VTABLE)
3534 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3535 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3536 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3537 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3541 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3542 ::uint8_t* PROTOBUF_NONNULL target,
3543 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3547 ::size_t ByteSizeLong() const final;
3548 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3549 ::uint8_t* PROTOBUF_NONNULL target,
3550 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3552 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3555 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3556 static void SharedDtor(MessageLite& self);
3557 void InternalSwap(MPSolverCommonParameters* PROTOBUF_NONNULL other);
3559 template <
typename T>
3561 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolverCommonParameters"; }
3563 explicit MPSolverCommonParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3564 MPSolverCommonParameters(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPSolverCommonParameters& from);
3565 MPSolverCommonParameters(
3566 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPSolverCommonParameters&& from) noexcept
3568 *
this = ::std::move(from);
3570 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3571 static
void* PROTOBUF_NONNULL PlacementNew_(
3572 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3573 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3574 static constexpr auto InternalNewImpl_();
3577 static constexpr auto InternalGenerateClassData_();
3579 ::
google::protobuf::Metadata GetMetadata() const;
3586 static inline
bool LPAlgorithmValues_IsValid(
int value) {
3589 static constexpr LPAlgorithmValues LPAlgorithmValues_MIN = MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MIN;
3590 static constexpr LPAlgorithmValues LPAlgorithmValues_MAX = MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_MAX;
3591 static constexpr int LPAlgorithmValues_ARRAYSIZE = MPSolverCommonParameters_LPAlgorithmValues_LPAlgorithmValues_ARRAYSIZE;
3592 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL LPAlgorithmValues_descriptor() {
3593 return MPSolverCommonParameters_LPAlgorithmValues_descriptor();
3595 template <
typename T>
3624 const ::operations_research::OptionalDouble& _internal_relative_mip_gap()
const;
3639 const ::operations_research::OptionalDouble& _internal_primal_tolerance()
const;
3646 const ::operations_research::OptionalDouble&
dual_tolerance()
const;
3654 const ::operations_research::OptionalDouble& _internal_dual_tolerance()
const;
3694 friend class ::google::protobuf::internal::TcParser;
3695 static const ::google::protobuf::internal::TcParseTable<3, 6,
3700 friend class ::google::protobuf::MessageLite;
3701 friend class ::google::protobuf::Arena;
3702 template <
typename T>
3703 friend class ::google::protobuf::Arena::InternalHelper;
3704 using InternalArenaConstructable_ = void;
3705 using DestructorSkippable_ = void;
3707 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
3708 inline explicit Impl_(
3709 ::google::protobuf::internal::InternalVisibility visibility,
3710 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3711 inline explicit Impl_(
3712 ::google::protobuf::internal::InternalVisibility visibility,
3713 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3715 ::google::protobuf::internal::HasBits<1> _has_bits_;
3716 ::google::protobuf::internal::CachedSize _cached_size_;
3723 PROTOBUF_TSAN_DECLARE_MEMBER
3725 union { Impl_ _impl_; };
3726 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
3735 inline MPSolutionResponse() : MPSolutionResponse(nullptr) {}
3736 ~MPSolutionResponse() PROTOBUF_FINAL;
3738#if defined(PROTOBUF_CUSTOM_VTABLE)
3739 void operator delete(MPSolutionResponse* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
3745 template <
typename =
void>
3746 explicit PROTOBUF_CONSTEXPR
MPSolutionResponse(::google::protobuf::internal::ConstantInitialized);
3756 if (
this == &from)
return *
this;
3757 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
3758 InternalSwap(&from);
3766 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3767 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
3769 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
3770 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3771 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
3774 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
3775 return GetDescriptor();
3777 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
3778 return default_instance().GetMetadata().descriptor;
3780 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
3787 static constexpr int kIndexInFileMessages = 21;
3789 inline void Swap(MPSolutionResponse* PROTOBUF_NONNULL other) {
3790 if (other ==
this)
return;
3791 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
3792 InternalSwap(other);
3794 ::google::protobuf::internal::GenericSwap(
this, other);
3798 if (other ==
this)
return;
3799 ABSL_DCHECK(GetArena() == other->GetArena());
3800 InternalSwap(other);
3806 return ::google::protobuf::Message::DefaultConstruct<MPSolutionResponse>(arena);
3808 using ::google::protobuf::Message::CopyFrom;
3810 using ::google::protobuf::Message::MergeFrom;
3811 void MergeFrom(
const MPSolutionResponse& from) { MPSolutionResponse::MergeImpl(*
this, from); }
3814 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
3815 const ::google::protobuf::MessageLite& from_msg);
3821 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
3822 #if defined(PROTOBUF_CUSTOM_VTABLE)
3824 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
3826 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
3827 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
3831 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3832 ::uint8_t* PROTOBUF_NONNULL target,
3833 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3837 ::size_t ByteSizeLong() const final;
3838 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
3839 ::uint8_t* PROTOBUF_NONNULL target,
3840 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
3842 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
3845 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3846 static void SharedDtor(MessageLite& self);
3847 void InternalSwap(MPSolutionResponse* PROTOBUF_NONNULL other);
3849 template <
typename T>
3851 static ::absl::string_view FullMessageName() {
return "operations_research.MPSolutionResponse"; }
3853 explicit MPSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3854 MPSolutionResponse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPSolutionResponse& from);
3856 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPSolutionResponse&& from) noexcept
3857 : MPSolutionResponse(arena) {
3858 *
this = ::std::move(from);
3860 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
3861 static
void* PROTOBUF_NONNULL PlacementNew_(
3862 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3863 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
3864 static constexpr auto InternalNewImpl_();
3867 static constexpr auto InternalGenerateClassData_();
3869 ::
google::protobuf::Metadata GetMetadata() const;
3874 kVariableValueFieldNumber = 3,
3875 kDualValueFieldNumber = 4,
3876 kReducedCostFieldNumber = 6,
3877 kAdditionalSolutionsFieldNumber = 8,
3878 kStatusStrFieldNumber = 7,
3879 kSolverSpecificInfoFieldNumber = 11,
3880 kSolveInfoFieldNumber = 10,
3881 kObjectiveValueFieldNumber = 2,
3882 kBestObjectiveBoundFieldNumber = 5,
3883 kStatusFieldNumber = 1,
3886 int variable_value_size()
const;
3888 int _internal_variable_value_size()
const;
3899 const ::google::protobuf::RepeatedField<double>& _internal_variable_value()
const;
3900 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_variable_value();
3906 int _internal_dual_value_size()
const;
3913 const ::google::protobuf::RepeatedField<double>&
dual_value()
const;
3917 const ::google::protobuf::RepeatedField<double>& _internal_dual_value()
const;
3918 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_dual_value();
3924 int _internal_reduced_cost_size()
const;
3931 const ::google::protobuf::RepeatedField<double>&
reduced_cost()
const;
3935 const ::google::protobuf::RepeatedField<double>& _internal_reduced_cost()
const;
3936 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_reduced_cost();
3942 int _internal_additional_solutions_size()
const;
3950 const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>& _internal_additional_solutions()
const;
3951 ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>* PROTOBUF_NONNULL _internal_mutable_additional_solutions();
3955 const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>&
additional_solutions()
const;
3960 template <
typename Arg_ = const ::std::string&,
typename... Args_>
3967 const ::std::string& _internal_status_str()
const;
3968 PROTOBUF_ALWAYS_INLINE
void _internal_set_status_str(const ::std::string& value);
3969 ::std::string* PROTOBUF_NONNULL _internal_mutable_status_str();
3976 template <
typename Arg_ = const ::std::string&,
typename... Args_>
3983 const ::std::string& _internal_solver_specific_info()
const;
3984 PROTOBUF_ALWAYS_INLINE
void _internal_set_solver_specific_info(const ::std::string& value);
3985 ::std::string* PROTOBUF_NONNULL _internal_mutable_solver_specific_info();
3991 const ::operations_research::MPSolveInfo&
solve_info()
const;
3999 const ::operations_research::MPSolveInfo& _internal_solve_info()
const;
4010 double _internal_objective_value()
const;
4011 void _internal_set_objective_value(
double value);
4021 double _internal_best_objective_bound()
const;
4022 void _internal_set_best_objective_bound(
double value);
4039 friend class ::google::protobuf::internal::TcParser;
4040 static const ::google::protobuf::internal::TcParseTable<4, 10,
4045 friend class ::google::protobuf::MessageLite;
4046 friend class ::google::protobuf::Arena;
4047 template <
typename T>
4048 friend class ::google::protobuf::Arena::InternalHelper;
4049 using InternalArenaConstructable_ = void;
4050 using DestructorSkippable_ = void;
4052 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4053 inline explicit Impl_(
4054 ::google::protobuf::internal::InternalVisibility visibility,
4055 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4056 inline explicit Impl_(
4057 ::google::protobuf::internal::InternalVisibility visibility,
4058 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4060 ::google::protobuf::internal::HasBits<1> _has_bits_;
4061 ::google::protobuf::internal::CachedSize _cached_size_;
4062 ::google::protobuf::RepeatedField<double> variable_value_;
4063 ::google::protobuf::RepeatedField<double> dual_value_;
4064 ::google::protobuf::RepeatedField<double> reduced_cost_;
4065 ::google::protobuf::RepeatedPtrField< ::operations_research::MPSolution > additional_solutions_;
4066 ::google::protobuf::internal::ArenaStringPtr status_str_;
4067 ::google::protobuf::internal::ArenaStringPtr solver_specific_info_;
4069 double objective_value_;
4070 double best_objective_bound_;
4072 PROTOBUF_TSAN_DECLARE_MEMBER
4074 union { Impl_ _impl_; };
4075 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4082 :
public ::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message,
4083 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4084 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
4087 ::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message,
4088 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4089 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
4091 template <
typename =
void>
4102 friend class ::google::protobuf::MessageLite;
4103 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4105 friend class ::google::protobuf::internal::TcParser;
4106 static const ::google::protobuf::internal::TcParseTable<1, 2,
4111 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4112 static
void* PROTOBUF_NONNULL PlacementNew_(
4113 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4114 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4115 static constexpr auto InternalNewImpl_();
4126 ::google::protobuf::internal::MapEntry<::int32_t, ::google::protobuf::Message,
4127 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4128 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
4130 template <
typename =
void>
4141 friend class ::google::protobuf::MessageLite;
4142 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4144 friend class ::google::protobuf::internal::TcParser;
4145 static const ::google::protobuf::internal::TcParseTable<1, 2,
4150 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4151 static
void* PROTOBUF_NONNULL PlacementNew_(
4152 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4153 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4154 static constexpr auto InternalNewImpl_();
4165#if defined(PROTOBUF_CUSTOM_VTABLE)
4172 template <
typename =
void>
4173 explicit PROTOBUF_CONSTEXPR MPIndicatorConstraint(::google::protobuf::internal::ConstantInitialized);
4175 inline MPIndicatorConstraint(
const MPIndicatorConstraint& from) : MPIndicatorConstraint(nullptr, from) {}
4176 inline MPIndicatorConstraint(MPIndicatorConstraint&& from) noexcept
4177 : MPIndicatorConstraint(
nullptr, ::std::move(from)) {}
4183 if (
this == &from)
return *
this;
4184 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4185 InternalSwap(&from);
4193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4194 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4196 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
4197 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4198 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4201 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
4204 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
4205 return default_instance().GetMetadata().descriptor;
4207 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
4208 return default_instance().GetMetadata().reflection;
4210 static const MPIndicatorConstraint& default_instance() {
4214 static constexpr int kIndexInFileMessages = 3;
4217 if (other ==
this)
return;
4218 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4219 InternalSwap(other);
4221 ::google::protobuf::internal::GenericSwap(
this, other);
4225 if (other ==
this)
return;
4226 ABSL_DCHECK(GetArena() == other->GetArena());
4227 InternalSwap(other);
4233 return ::google::protobuf::Message::DefaultConstruct<MPIndicatorConstraint>(arena);
4235 using ::google::protobuf::Message::CopyFrom;
4237 using ::google::protobuf::Message::MergeFrom;
4241 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
4242 const ::google::protobuf::MessageLite& from_msg);
4248 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
4249 #if defined(PROTOBUF_CUSTOM_VTABLE)
4253 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
4254 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
4258 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4259 ::uint8_t* PROTOBUF_NONNULL target,
4260 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4261 return _InternalSerialize(*
this, target, stream);
4266 ::uint8_t* PROTOBUF_NONNULL target,
4267 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
4272 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4276 template <
typename T>
4278 static ::absl::string_view FullMessageName() {
return "operations_research.MPIndicatorConstraint"; }
4280 explicit MPIndicatorConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4281 MPIndicatorConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPIndicatorConstraint& from);
4282 MPIndicatorConstraint(
4283 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPIndicatorConstraint&& from) noexcept
4284 : MPIndicatorConstraint(arena) {
4285 *
this = ::std::move(from);
4287 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4288 static
void* PROTOBUF_NONNULL PlacementNew_(
4289 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4290 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
4291 static constexpr auto InternalNewImpl_();
4306 bool has_constraint()
const;
4307 void clear_constraint() ;
4308 const ::operations_research::MPConstraintProto& constraint()
const;
4316 const ::operations_research::MPConstraintProto& _internal_constraint()
const;
4327 ::int32_t _internal_var_index()
const;
4328 void _internal_set_var_index(::int32_t value);
4338 ::int32_t _internal_var_value()
const;
4339 void _internal_set_var_value(::int32_t value);
4345 friend class ::google::protobuf::internal::TcParser;
4346 static const ::google::protobuf::internal::TcParseTable<2, 3,
4351 friend class ::google::protobuf::MessageLite;
4352 friend class ::google::protobuf::Arena;
4353 template <
typename T>
4354 friend class ::google::protobuf::Arena::InternalHelper;
4355 using InternalArenaConstructable_ = void;
4356 using DestructorSkippable_ = void;
4358 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4359 inline explicit Impl_(
4360 ::google::protobuf::internal::InternalVisibility visibility,
4361 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4362 inline explicit Impl_(
4363 ::google::protobuf::internal::InternalVisibility visibility,
4364 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4366 ::google::protobuf::internal::HasBits<1> _has_bits_;
4367 ::google::protobuf::internal::CachedSize _cached_size_;
4369 ::int32_t var_index_;
4370 ::int32_t var_value_;
4371 PROTOBUF_TSAN_DECLARE_MEMBER
4374 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4380class OR_PROTO_DLL MPModelDeltaProto final :
public ::google::protobuf::Message
4383 inline MPModelDeltaProto() : MPModelDeltaProto(nullptr) {}
4384 ~MPModelDeltaProto() PROTOBUF_FINAL;
4386#if defined(PROTOBUF_CUSTOM_VTABLE)
4387 void operator delete(MPModelDeltaProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
4389 ::google::protobuf::internal::SizedDelete(msg,
sizeof(MPModelDeltaProto));
4393 template <
typename =
void>
4394 explicit PROTOBUF_CONSTEXPR
MPModelDeltaProto(::google::protobuf::internal::ConstantInitialized);
4399 inline MPModelDeltaProto& operator=(
const MPModelDeltaProto& from) {
4404 if (
this == &from)
return *
this;
4405 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4406 InternalSwap(&from);
4413 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4414 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4415 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4418 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4419 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4422 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
4425 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
4426 return default_instance().GetMetadata().descriptor;
4428 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
4429 return default_instance().GetMetadata().reflection;
4431 static const MPModelDeltaProto& default_instance() {
4432 return *
reinterpret_cast<const MPModelDeltaProto*
>(
4435 static constexpr int kIndexInFileMessages = 17;
4438 if (other ==
this)
return;
4439 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4440 InternalSwap(other);
4442 ::google::protobuf::internal::GenericSwap(
this, other);
4446 if (other ==
this)
return;
4447 ABSL_DCHECK(GetArena() == other->GetArena());
4448 InternalSwap(other);
4453 MPModelDeltaProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
4454 return ::google::protobuf::Message::DefaultConstruct<MPModelDeltaProto>(arena);
4456 using ::google::protobuf::Message::CopyFrom;
4458 using ::google::protobuf::Message::MergeFrom;
4462 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
4463 const ::google::protobuf::MessageLite& from_msg);
4469 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
4470 #if defined(PROTOBUF_CUSTOM_VTABLE)
4472 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4474 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
4475 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
4480 ::uint8_t* PROTOBUF_NONNULL target,
4481 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4485 ::size_t ByteSizeLong() const final;
4487 ::uint8_t* PROTOBUF_NONNULL target,
4488 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
4493 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4494 static void SharedDtor(MessageLite& self);
4497 template <
typename T>
4499 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelDeltaProto"; }
4501 explicit MPModelDeltaProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4502 MPModelDeltaProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPModelDeltaProto& from);
4504 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPModelDeltaProto&& from) noexcept
4505 : MPModelDeltaProto(arena) {
4506 *
this = ::std::move(from);
4508 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4509 static
void* PROTOBUF_NONNULL PlacementNew_(
4510 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4511 ::
google::protobuf::
Arena* PROTOBUF_NULLABLE arena);
4512 static constexpr auto InternalNewImpl_();
4527 bool has_baseline_model_file_path()
const;
4528 void clear_baseline_model_file_path() ;
4529 const ::std::string& baseline_model_file_path()
const;
4530 template <
typename Arg_ = const ::std::string&,
typename... Args_>
4531 void set_baseline_model_file_path(Arg_&& arg, Args_... args);
4532 ::std::string* PROTOBUF_NONNULL mutable_baseline_model_file_path();
4533 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_baseline_model_file_path();
4534 void set_allocated_baseline_model_file_path(::std::string* PROTOBUF_NULLABLE value);
4537 const ::std::string& _internal_baseline_model_file_path()
const;
4538 PROTOBUF_ALWAYS_INLINE
void _internal_set_baseline_model_file_path(const ::std::string& value);
4539 ::std::string* PROTOBUF_NONNULL _internal_mutable_baseline_model_file_path();
4545 int _internal_variable_overrides_size()
const;
4549 const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>&
variable_overrides()
const;
4553 const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>& _internal_variable_overrides()
const;
4554 ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>* PROTOBUF_NONNULL _internal_mutable_variable_overrides();
4560 int _internal_constraint_overrides_size()
const;
4564 const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>&
constraint_overrides()
const;
4568 const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>& _internal_constraint_overrides()
const;
4569 ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>* PROTOBUF_NONNULL _internal_mutable_constraint_overrides();
4575 friend class ::google::protobuf::internal::TcParser;
4576 static const ::google::protobuf::internal::TcParseTable<0, 3,
4581 friend class ::google::protobuf::MessageLite;
4582 friend class ::google::protobuf::Arena;
4583 template <
typename T>
4584 friend class ::google::protobuf::Arena::InternalHelper;
4585 using InternalArenaConstructable_ = void;
4586 using DestructorSkippable_ = void;
4588 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4589 inline explicit Impl_(
4590 ::google::protobuf::internal::InternalVisibility visibility,
4591 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4592 inline explicit Impl_(
4593 ::google::protobuf::internal::InternalVisibility visibility,
4594 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4596 ::google::protobuf::internal::HasBits<1> _has_bits_;
4597 ::google::protobuf::internal::CachedSize _cached_size_;
4598 ::google::protobuf::internal::ArenaStringPtr baseline_model_file_path_;
4600 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4601 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
4602 variable_overrides_;
4604 ::google::protobuf::internal::WireFormatLite::TYPE_INT32,
4605 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
4606 constraint_overrides_;
4607 PROTOBUF_TSAN_DECLARE_MEMBER
4609 union { Impl_ _impl_; };
4610 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
4616class OR_PROTO_DLL MPGeneralConstraintProto final :
public ::google::protobuf::Message
4619 inline MPGeneralConstraintProto() : MPGeneralConstraintProto(nullptr) {}
4620 ~MPGeneralConstraintProto() PROTOBUF_FINAL;
4622#if defined(PROTOBUF_CUSTOM_VTABLE)
4623 void operator delete(MPGeneralConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
4625 ::google::protobuf::internal::SizedDelete(msg,
sizeof(MPGeneralConstraintProto));
4629 template <
typename =
void>
4635 inline MPGeneralConstraintProto& operator=(
const MPGeneralConstraintProto& from) {
4640 if (
this == &from)
return *
this;
4641 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
4642 InternalSwap(&from);
4649 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
4650 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4651 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
4654 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4655 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
4658 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
4659 return GetDescriptor();
4661 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
4662 return default_instance().GetMetadata().descriptor;
4664 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
4665 return default_instance().GetMetadata().reflection;
4667 static const MPGeneralConstraintProto& default_instance() {
4668 return *
reinterpret_cast<const MPGeneralConstraintProto*
>(
4671 enum GeneralConstraintCase {
4672 kIndicatorConstraint = 2,
4685 if (other ==
this)
return;
4686 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
4687 InternalSwap(other);
4689 ::google::protobuf::internal::GenericSwap(
this, other);
4693 if (other ==
this)
return;
4694 ABSL_DCHECK(GetArena() == other->GetArena());
4695 InternalSwap(other);
4701 return ::google::protobuf::Message::DefaultConstruct<MPGeneralConstraintProto>(arena);
4703 using ::google::protobuf::Message::CopyFrom;
4705 using ::google::protobuf::Message::MergeFrom;
4709 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
4710 const ::google::protobuf::MessageLite& from_msg);
4716 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
4717 #if defined(PROTOBUF_CUSTOM_VTABLE)
4719 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
4720 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4721 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
4722 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
4726 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4727 ::uint8_t* PROTOBUF_NONNULL target,
4728 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4732 ::size_t ByteSizeLong() const final;
4733 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
4734 ::uint8_t* PROTOBUF_NONNULL target,
4735 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
4740 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4741 static void SharedDtor(MessageLite& self);
4744 template <
typename T>
4746 static ::absl::string_view FullMessageName() {
return "operations_research.MPGeneralConstraintProto"; }
4748 explicit MPGeneralConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4749 MPGeneralConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPGeneralConstraintProto& from);
4750 MPGeneralConstraintProto(
4751 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPGeneralConstraintProto&& from) noexcept
4752 : MPGeneralConstraintProto(arena) {
4753 *
this = ::std::move(from);
4755 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
4756 static
void* PROTOBUF_NONNULL PlacementNew_(
4757 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4759 static constexpr auto InternalNewImpl_();
4780 bool has_name()
const;
4782 const ::std::string& name()
const;
4783 template <
typename Arg_ = const ::std::string&,
typename... Args_>
4784 void set_name(Arg_&& arg, Args_... args);
4785 ::std::string* PROTOBUF_NONNULL mutable_name();
4786 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
4787 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
4790 const ::std::string& _internal_name()
const;
4791 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
4792 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
4798 bool _internal_has_indicator_constraint()
const;
4810 const ::operations_research::MPIndicatorConstraint& _internal_indicator_constraint()
const;
4817 bool _internal_has_sos_constraint()
const;
4821 const ::operations_research::MPSosConstraint&
sos_constraint()
const;
4829 const ::operations_research::MPSosConstraint& _internal_sos_constraint()
const;
4836 bool _internal_has_quadratic_constraint()
const;
4848 const ::operations_research::MPQuadraticConstraint& _internal_quadratic_constraint()
const;
4855 bool _internal_has_abs_constraint()
const;
4859 const ::operations_research::MPAbsConstraint&
abs_constraint()
const;
4867 const ::operations_research::MPAbsConstraint& _internal_abs_constraint()
const;
4874 bool _internal_has_and_constraint()
const;
4878 const ::operations_research::MPArrayConstraint&
and_constraint()
const;
4886 const ::operations_research::MPArrayConstraint& _internal_and_constraint()
const;
4893 bool _internal_has_or_constraint()
const;
4897 const ::operations_research::MPArrayConstraint&
or_constraint()
const;
4905 const ::operations_research::MPArrayConstraint& _internal_or_constraint()
const;
4912 bool _internal_has_min_constraint()
const;
4916 const ::operations_research::MPArrayWithConstantConstraint&
min_constraint()
const;
4924 const ::operations_research::MPArrayWithConstantConstraint& _internal_min_constraint()
const;
4931 bool _internal_has_max_constraint()
const;
4935 const ::operations_research::MPArrayWithConstantConstraint&
max_constraint()
const;
4943 const ::operations_research::MPArrayWithConstantConstraint& _internal_max_constraint()
const;
4952 void set_has_indicator_constraint();
4953 void set_has_sos_constraint();
4954 void set_has_quadratic_constraint();
4955 void set_has_abs_constraint();
4956 void set_has_and_constraint();
4957 void set_has_or_constraint();
4958 void set_has_min_constraint();
4959 void set_has_max_constraint();
4960 inline bool has_general_constraint()
const;
4961 inline void clear_has_general_constraint();
4962 friend class ::google::protobuf::internal::TcParser;
4963 static const ::google::protobuf::internal::TcParseTable<0, 9,
4968 friend class ::google::protobuf::MessageLite;
4969 friend class ::google::protobuf::Arena;
4970 template <
typename T>
4971 friend class ::google::protobuf::Arena::InternalHelper;
4972 using InternalArenaConstructable_ = void;
4973 using DestructorSkippable_ = void;
4975 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
4976 inline explicit Impl_(
4977 ::google::protobuf::internal::InternalVisibility visibility,
4978 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
4979 inline explicit Impl_(
4980 ::google::protobuf::internal::InternalVisibility visibility,
4981 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4983 ::google::protobuf::internal::HasBits<1> _has_bits_;
4984 ::google::protobuf::internal::CachedSize _cached_size_;
4985 ::google::protobuf::internal::ArenaStringPtr name_;
4986 union GeneralConstraintUnion {
4987 constexpr GeneralConstraintUnion() : _constinit_{} {}
4988 ::google::protobuf::internal::ConstantInitialized _constinit_;
4989 ::google::protobuf::Message* PROTOBUF_NULLABLE indicator_constraint_;
4990 ::google::protobuf::Message* PROTOBUF_NULLABLE sos_constraint_;
4991 ::google::protobuf::Message* PROTOBUF_NULLABLE quadratic_constraint_;
4992 ::google::protobuf::Message* PROTOBUF_NULLABLE abs_constraint_;
4993 ::google::protobuf::Message* PROTOBUF_NULLABLE and_constraint_;
4994 ::google::protobuf::Message* PROTOBUF_NULLABLE or_constraint_;
4995 ::google::protobuf::Message* PROTOBUF_NULLABLE min_constraint_;
4996 ::google::protobuf::Message* PROTOBUF_NULLABLE max_constraint_;
4997 } general_constraint_;
4998 ::uint32_t _oneof_case_[1];
4999 PROTOBUF_TSAN_DECLARE_MEMBER
5001 union { Impl_ _impl_; };
5002 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
5014#if defined(PROTOBUF_CUSTOM_VTABLE)
5015 void operator delete(
MPModelProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
5021 template <
typename =
void>
5022 explicit PROTOBUF_CONSTEXPR
MPModelProto(::google::protobuf::internal::ConstantInitialized);
5027 inline MPModelProto& operator=(
const MPModelProto& from) {
5032 if (
this == &from)
return *
this;
5033 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
5034 InternalSwap(&from);
5041 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
5042 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5043 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
5045 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
5046 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5047 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
5050 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
5056 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
5057 return default_instance().GetMetadata().reflection;
5059 static const MPModelProto& default_instance() {
5060 return *
reinterpret_cast<const MPModelProto*
>(
5061 &_MPModelProto_default_instance_);
5065 inline void Swap(
MPModelProto* PROTOBUF_NONNULL other) {
5066 if (other ==
this)
return;
5067 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
5068 InternalSwap(other);
5070 ::google::protobuf::internal::GenericSwap(
this, other);
5073 void UnsafeArenaSwap(
MPModelProto* PROTOBUF_NONNULL other) {
5074 if (other ==
this)
return;
5075 ABSL_DCHECK(GetArena() == other->GetArena());
5076 InternalSwap(other);
5081 MPModelProto* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
5082 return ::google::protobuf::Message::DefaultConstruct<MPModelProto>(arena);
5084 using ::google::protobuf::Message::CopyFrom;
5086 using ::google::protobuf::Message::MergeFrom;
5090 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
5091 const ::google::protobuf::MessageLite& from_msg);
5094 bool IsInitialized()
const {
5097 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
5098 #if defined(PROTOBUF_CUSTOM_VTABLE)
5100 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
5101 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5102 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
5103 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
5107 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5108 ::uint8_t* PROTOBUF_NONNULL target,
5109 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5113 ::size_t ByteSizeLong() const final;
5114 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5115 ::uint8_t* PROTOBUF_NONNULL target,
5116 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
5121 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5122 static void SharedDtor(MessageLite& self);
5123 void InternalSwap(
MPModelProto* PROTOBUF_NONNULL other);
5125 template <
typename T>
5127 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelProto"; }
5129 explicit MPModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5130 MPModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPModelProto& from);
5132 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPModelProto&& from) noexcept
5133 : MPModelProto(arena) {
5134 *
this = ::std::move(from);
5136 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
5137 static
void* PROTOBUF_NONNULL PlacementNew_(
5138 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5139 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5140 static constexpr auto InternalNewImpl_();
5162 int variable_size()
const;
5164 int _internal_variable_size()
const;
5167 void clear_variable() ;
5169 ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>* PROTOBUF_NONNULL
mutable_variable();
5172 const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>& _internal_variable()
const;
5173 ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>* PROTOBUF_NONNULL _internal_mutable_variable();
5175 const ::operations_research::MPVariableProto&
variable(
int index)
const;
5177 const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>&
variable()
const;
5181 int _internal_constraint_size()
const;
5186 ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>* PROTOBUF_NONNULL
mutable_constraint();
5189 const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>& _internal_constraint()
const;
5190 ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>* PROTOBUF_NONNULL _internal_mutable_constraint();
5192 const ::operations_research::MPConstraintProto&
constraint(
int index)
const;
5194 const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>&
constraint()
const;
5198 int _internal_general_constraint_size()
const;
5203 ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>* PROTOBUF_NONNULL
mutable_general_constraint();
5206 const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>& _internal_general_constraint()
const;
5207 ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>* PROTOBUF_NONNULL _internal_mutable_general_constraint();
5209 const ::operations_research::MPGeneralConstraintProto&
general_constraint(
int index)
const;
5211 const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>&
general_constraint()
const;
5215 int _internal_annotation_size()
const;
5220 ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>* PROTOBUF_NONNULL
mutable_annotation();
5223 const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>& _internal_annotation()
const;
5224 ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>* PROTOBUF_NONNULL _internal_mutable_annotation();
5226 const ::operations_research::MPModelProto_Annotation&
annotation(
int index)
const;
5228 const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>&
annotation()
const;
5232 const ::std::string&
name()
const;
5233 template <
typename Arg_ = const ::std::string&,
typename... Args_>
5234 void set_name(Arg_&& arg, Args_... args);
5236 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE
release_name();
5240 const ::std::string& _internal_name()
const;
5241 PROTOBUF_ALWAYS_INLINE
void _internal_set_name(const ::std::string& value);
5242 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
5248 const ::operations_research::PartialVariableAssignment&
solution_hint()
const;
5256 const ::operations_research::PartialVariableAssignment& _internal_solution_hint()
const;
5271 const ::operations_research::MPQuadraticObjective& _internal_quadratic_objective()
const;
5282 double _internal_objective_offset()
const;
5283 void _internal_set_objective_offset(
double value);
5293 bool _internal_maximize()
const;
5294 void _internal_set_maximize(
bool value);
5300 friend class ::google::protobuf::internal::TcParser;
5301 static const ::google::protobuf::internal::TcParseTable<4, 9,
5306 friend class ::google::protobuf::MessageLite;
5307 friend class ::google::protobuf::Arena;
5308 template <
typename T>
5309 friend class ::google::protobuf::Arena::InternalHelper;
5310 using InternalArenaConstructable_ = void;
5311 using DestructorSkippable_ = void;
5313 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
5314 inline explicit Impl_(
5315 ::google::protobuf::internal::InternalVisibility visibility,
5316 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5317 inline explicit Impl_(
5318 ::google::protobuf::internal::InternalVisibility visibility,
5319 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5321 ::google::protobuf::internal::HasBits<1> _has_bits_;
5322 ::google::protobuf::internal::CachedSize _cached_size_;
5323 ::google::protobuf::RepeatedPtrField< ::operations_research::MPVariableProto > variable_;
5324 ::google::protobuf::RepeatedPtrField< ::operations_research::MPConstraintProto > constraint_;
5325 ::google::protobuf::RepeatedPtrField< ::operations_research::MPGeneralConstraintProto > general_constraint_;
5326 ::google::protobuf::RepeatedPtrField< ::operations_research::MPModelProto_Annotation > annotation_;
5327 ::google::protobuf::internal::ArenaStringPtr name_;
5330 double objective_offset_;
5332 PROTOBUF_TSAN_DECLARE_MEMBER
5334 union { Impl_ _impl_; };
5335 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
5341class OR_PROTO_DLL MPModelRequest final :
public ::google::protobuf::Message
5344 inline MPModelRequest() : MPModelRequest(nullptr) {}
5345 ~MPModelRequest() PROTOBUF_FINAL;
5347#if defined(PROTOBUF_CUSTOM_VTABLE)
5348 void operator delete(MPModelRequest* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
5350 ::google::protobuf::internal::SizedDelete(msg,
sizeof(MPModelRequest));
5354 template <
typename =
void>
5355 explicit PROTOBUF_CONSTEXPR MPModelRequest(::google::protobuf::internal::ConstantInitialized);
5360 inline MPModelRequest& operator=(
const MPModelRequest& from) {
5365 if (
this == &from)
return *
this;
5366 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
5367 InternalSwap(&from);
5374 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
5375 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5376 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
5379 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5380 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
5383 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
5386 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
5389 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
5390 return default_instance().GetMetadata().reflection;
5392 static const MPModelRequest& default_instance() {
5393 return *
reinterpret_cast<const MPModelRequest*
>(
5394 &_MPModelRequest_default_instance_);
5396 static constexpr int kIndexInFileMessages = 18;
5399 if (other ==
this)
return;
5400 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
5401 InternalSwap(other);
5403 ::google::protobuf::internal::GenericSwap(
this, other);
5407 if (other ==
this)
return;
5408 ABSL_DCHECK(GetArena() == other->GetArena());
5409 InternalSwap(other);
5414 MPModelRequest* PROTOBUF_NONNULL
New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
5415 return ::google::protobuf::Message::DefaultConstruct<MPModelRequest>(arena);
5417 using ::google::protobuf::Message::CopyFrom;
5419 using ::google::protobuf::Message::MergeFrom;
5423 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
5424 const ::google::protobuf::MessageLite& from_msg);
5430 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
5431 #if defined(PROTOBUF_CUSTOM_VTABLE)
5433 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
5434 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5435 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
5436 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
5440 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5441 ::uint8_t* PROTOBUF_NONNULL target,
5442 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5446 ::size_t ByteSizeLong() const final;
5447 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
5448 ::uint8_t* PROTOBUF_NONNULL target,
5449 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
5454 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5455 static void SharedDtor(MessageLite& self);
5458 template <
typename T>
5460 static ::absl::string_view FullMessageName() {
return "operations_research.MPModelRequest"; }
5462 explicit MPModelRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5463 MPModelRequest(::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPModelRequest& from);
5465 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MPModelRequest&& from) noexcept
5466 : MPModelRequest(arena) {
5467 *
this = ::std::move(from);
5469 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
5470 static
void* PROTOBUF_NONNULL PlacementNew_(
5471 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5472 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5473 static constexpr auto InternalNewImpl_();
5508 template <
typename T>
5532 template <
typename Arg_ = const ::std::string&,
typename... Args_>
5539 const ::std::string& _internal_solver_specific_parameters()
const;
5540 PROTOBUF_ALWAYS_INLINE
void _internal_set_solver_specific_parameters(const ::std::string& value);
5541 ::std::string* PROTOBUF_NONNULL _internal_mutable_solver_specific_parameters();
5547 const ::operations_research::MPModelProto&
model()
const;
5555 const ::operations_research::MPModelProto& _internal_model()
const;
5562 const ::operations_research::MPModelDeltaProto&
model_delta()
const;
5570 const ::operations_research::MPModelDeltaProto& _internal_model_delta()
const;
5581 double _internal_solver_time_limit_seconds()
const;
5582 void _internal_set_solver_time_limit_seconds(
double value);
5592 bool _internal_enable_internal_solver_output()
const;
5593 void _internal_set_enable_internal_solver_output(
bool value);
5603 bool _internal_ignore_solver_specific_parameters_failure()
const;
5604 void _internal_set_ignore_solver_specific_parameters_failure(
bool value);
5614 ::int32_t _internal_populate_additional_solutions_up_to()
const;
5615 void _internal_set_populate_additional_solutions_up_to(::int32_t value);
5632 friend class ::google::protobuf::internal::TcParser;
5633 static const ::google::protobuf::internal::TcParseTable<4, 8,
5638 friend class ::google::protobuf::MessageLite;
5639 friend class ::google::protobuf::Arena;
5640 template <
typename T>
5641 friend class ::google::protobuf::Arena::InternalHelper;
5642 using InternalArenaConstructable_ = void;
5643 using DestructorSkippable_ = void;
5645 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
5646 inline explicit Impl_(
5647 ::google::protobuf::internal::InternalVisibility visibility,
5648 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
5649 inline explicit Impl_(
5650 ::google::protobuf::internal::InternalVisibility visibility,
5651 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5653 ::google::protobuf::internal::HasBits<1> _has_bits_;
5654 ::google::protobuf::internal::CachedSize _cached_size_;
5655 ::google::protobuf::internal::ArenaStringPtr solver_specific_parameters_;
5658 double solver_time_limit_seconds_;
5659 bool enable_internal_solver_output_;
5660 bool ignore_solver_specific_parameters_failure_;
5661 ::int32_t populate_additional_solutions_up_to_;
5663 PROTOBUF_TSAN_DECLARE_MEMBER
5665 union { Impl_ _impl_; };
5666 friend struct ::TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto;
5680#pragma GCC diagnostic push
5681#pragma GCC diagnostic ignored "-Wstrict-aliasing"
5689 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000010U);
5693 ::google::protobuf::internal::TSanWrite(&_impl_);
5694 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
5695 ClearHasBit(_impl_._has_bits_[0],
5700 return _internal_lower_bound();
5703 _internal_set_lower_bound(value);
5704 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
5707inline double MPVariableProto::_internal_lower_bound()
const {
5708 ::google::protobuf::internal::TSanRead(&_impl_);
5709 return _impl_.lower_bound_;
5711inline void MPVariableProto::_internal_set_lower_bound(
double value) {
5712 ::google::protobuf::internal::TSanWrite(&_impl_);
5713 _impl_.lower_bound_ = value;
5718 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000020U);
5722 ::google::protobuf::internal::TSanWrite(&_impl_);
5723 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
5729 return _internal_upper_bound();
5732 _internal_set_upper_bound(value);
5733 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
5736inline double MPVariableProto::_internal_upper_bound()
const {
5737 ::google::protobuf::internal::TSanRead(&_impl_);
5738 return _impl_.upper_bound_;
5740inline void MPVariableProto::_internal_set_upper_bound(
double value) {
5741 ::google::protobuf::internal::TSanWrite(&_impl_);
5742 _impl_.upper_bound_ = value;
5747 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
5751 ::google::protobuf::internal::TSanWrite(&_impl_);
5752 _impl_.objective_coefficient_ = 0;
5758 return _internal_objective_coefficient();
5761 _internal_set_objective_coefficient(value);
5762 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
5765inline double MPVariableProto::_internal_objective_coefficient()
const {
5766 ::google::protobuf::internal::TSanRead(&_impl_);
5767 return _impl_.objective_coefficient_;
5769inline void MPVariableProto::_internal_set_objective_coefficient(
double value) {
5770 ::google::protobuf::internal::TSanWrite(&_impl_);
5771 _impl_.objective_coefficient_ = value;
5776 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
5780 ::google::protobuf::internal::TSanWrite(&_impl_);
5781 _impl_.is_integer_ =
false;
5787 return _internal_is_integer();
5790 _internal_set_is_integer(value);
5791 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
5794inline bool MPVariableProto::_internal_is_integer()
const {
5795 ::google::protobuf::internal::TSanRead(&_impl_);
5796 return _impl_.is_integer_;
5798inline void MPVariableProto::_internal_set_is_integer(
bool value) {
5799 ::google::protobuf::internal::TSanWrite(&_impl_);
5800 _impl_.is_integer_ = value;
5805 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
5809 ::google::protobuf::internal::TSanWrite(&_impl_);
5810 _impl_.name_.ClearToEmpty();
5815 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5817 return _internal_name();
5819template <
typename Arg_,
typename... Args_>
5821 ::google::protobuf::internal::TSanWrite(&_impl_);
5822 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
5823 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
5827 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5828 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
5829 ::std::string* _s = _internal_mutable_name();
5833inline const ::std::string& MPVariableProto::_internal_name()
const {
5834 ::google::protobuf::internal::TSanRead(&
_impl_);
5835 return _impl_.name_.Get();
5837inline void MPVariableProto::_internal_set_name(const ::std::string& value) {
5838 ::google::protobuf::internal::TSanWrite(&_impl_);
5839 _impl_.name_.Set(value, GetArena());
5841inline ::std::string* PROTOBUF_NONNULL MPVariableProto::_internal_mutable_name() {
5842 ::google::protobuf::internal::TSanWrite(&_impl_);
5843 return _impl_.name_.Mutable( GetArena());
5846 ::google::protobuf::internal::TSanWrite(&
_impl_);
5848 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
5851 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
5853 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
5854 _impl_.name_.Set(
"", GetArena());
5859 ::google::protobuf::internal::TSanWrite(&_impl_);
5860 if (value !=
nullptr) {
5861 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
5863 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
5865 _impl_.name_.SetAllocated(value, GetArena());
5866 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
5867 _impl_.name_.Set(
"", GetArena());
5874 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000008U);
5878 ::google::protobuf::internal::TSanWrite(&_impl_);
5879 _impl_.branching_priority_ = 0;
5880 ClearHasBit(_impl_._has_bits_[0],
5885 return _internal_branching_priority();
5888 _internal_set_branching_priority(value);
5889 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
5892inline ::int32_t MPVariableProto::_internal_branching_priority()
const {
5893 ::google::protobuf::internal::TSanRead(&_impl_);
5894 return _impl_.branching_priority_;
5896inline void MPVariableProto::_internal_set_branching_priority(::int32_t value) {
5897 ::google::protobuf::internal::TSanWrite(&_impl_);
5898 _impl_.branching_priority_ = value;
5906inline int MPConstraintProto::_internal_var_index_size()
const {
5907 return _internal_var_index().size();
5910 return _internal_var_index_size();
5913 ::google::protobuf::internal::TSanWrite(&
_impl_);
5914 _impl_.var_index_.Clear();
5915 ClearHasBitForRepeated(
_impl_._has_bits_[0],
5920 return _internal_var_index().Get(index);
5923 _internal_mutable_var_index()->Set(index, value);
5927 ::google::protobuf::internal::TSanWrite(&_impl_);
5928 _internal_mutable_var_index()->Add(value);
5929 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
5933 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5935 return _internal_var_index();
5938 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5939 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
5941 ::google::protobuf::internal::TSanWrite(&
_impl_);
5942 return _internal_mutable_var_index();
5944inline const ::google::protobuf::RepeatedField<::int32_t>&
5945MPConstraintProto::_internal_var_index()
const {
5946 ::google::protobuf::internal::TSanRead(&
_impl_);
5947 return _impl_.var_index_;
5949inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
5950MPConstraintProto::_internal_mutable_var_index() {
5951 ::google::protobuf::internal::TSanRead(&
_impl_);
5952 return &
_impl_.var_index_;
5956inline int MPConstraintProto::_internal_coefficient_size()
const {
5957 return _internal_coefficient().size();
5960 return _internal_coefficient_size();
5963 ::google::protobuf::internal::TSanWrite(&_impl_);
5965 ClearHasBitForRepeated(
_impl_._has_bits_[0],
5970 return _internal_coefficient().Get(index);
5973 _internal_mutable_coefficient()->Set(index, value);
5977 ::google::protobuf::internal::TSanWrite(&_impl_);
5978 _internal_mutable_coefficient()->Add(value);
5979 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
5983 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5985 return _internal_coefficient();
5988 ABSL_ATTRIBUTE_LIFETIME_BOUND {
5989 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
5991 ::google::protobuf::internal::TSanWrite(&
_impl_);
5992 return _internal_mutable_coefficient();
5994inline const ::google::protobuf::RepeatedField<double>&
5995MPConstraintProto::_internal_coefficient()
const {
5996 ::google::protobuf::internal::TSanRead(&
_impl_);
5997 return _impl_.coefficient_;
5999inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
6000MPConstraintProto::_internal_mutable_coefficient() {
6001 ::google::protobuf::internal::TSanRead(&
_impl_);
6002 return &
_impl_.coefficient_;
6007 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
6011 ::google::protobuf::internal::TSanWrite(&_impl_);
6012 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
6013 ClearHasBit(_impl_._has_bits_[0],
6018 return _internal_lower_bound();
6021 _internal_set_lower_bound(value);
6022 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
6025inline double MPConstraintProto::_internal_lower_bound()
const {
6026 ::google::protobuf::internal::TSanRead(&_impl_);
6027 return _impl_.lower_bound_;
6029inline void MPConstraintProto::_internal_set_lower_bound(
double value) {
6030 ::google::protobuf::internal::TSanWrite(&_impl_);
6031 _impl_.lower_bound_ = value;
6036 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000020U);
6040 ::google::protobuf::internal::TSanWrite(&_impl_);
6041 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
6042 ClearHasBit(_impl_._has_bits_[0],
6047 return _internal_upper_bound();
6050 _internal_set_upper_bound(value);
6051 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
6054inline double MPConstraintProto::_internal_upper_bound()
const {
6055 ::google::protobuf::internal::TSanRead(&_impl_);
6056 return _impl_.upper_bound_;
6058inline void MPConstraintProto::_internal_set_upper_bound(
double value) {
6059 ::google::protobuf::internal::TSanWrite(&_impl_);
6060 _impl_.upper_bound_ = value;
6065 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
6069 ::google::protobuf::internal::TSanWrite(&_impl_);
6070 _impl_.name_.ClearToEmpty();
6071 ClearHasBit(_impl_._has_bits_[0],
6075 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6077 return _internal_name();
6079template <
typename Arg_,
typename... Args_>
6081 ::google::protobuf::internal::TSanWrite(&_impl_);
6082 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
6083 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
6087 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6088 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
6089 ::std::string* _s = _internal_mutable_name();
6093inline const ::std::string& MPConstraintProto::_internal_name()
const {
6094 ::google::protobuf::internal::TSanRead(&_impl_);
6097inline void MPConstraintProto::_internal_set_name(const ::std::string& value) {
6098 ::google::protobuf::internal::TSanWrite(&_impl_);
6099 _impl_.name_.Set(value, GetArena());
6101inline ::std::string* PROTOBUF_NONNULL MPConstraintProto::_internal_mutable_name() {
6102 ::google::protobuf::internal::TSanWrite(&
_impl_);
6103 return _impl_.name_.Mutable( GetArena());
6106 ::google::protobuf::internal::TSanWrite(&_impl_);
6108 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000004U)) {
6111 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
6112 auto* released = _impl_.name_.Release();
6113 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
6114 _impl_.name_.Set(
"", GetArena());
6119 ::google::protobuf::internal::TSanWrite(&_impl_);
6120 if (value !=
nullptr) {
6121 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
6123 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
6125 _impl_.name_.SetAllocated(value, GetArena());
6126 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
6127 _impl_.name_.Set(
"", GetArena());
6134 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000008U);
6138 ::google::protobuf::internal::TSanWrite(&_impl_);
6139 _impl_.is_lazy_ =
false;
6140 ClearHasBit(_impl_._has_bits_[0],
6145 return _internal_is_lazy();
6148 _internal_set_is_lazy(value);
6149 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
6152inline bool MPConstraintProto::_internal_is_lazy()
const {
6153 ::google::protobuf::internal::TSanRead(&_impl_);
6154 return _impl_.is_lazy_;
6156inline void MPConstraintProto::_internal_set_is_lazy(
bool value) {
6157 ::google::protobuf::internal::TSanWrite(&_impl_);
6158 _impl_.is_lazy_ = value;
6167 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
6171 ::google::protobuf::internal::TSanWrite(&
_impl_);
6172 _impl_.name_.ClearToEmpty();
6173 ClearHasBit(
_impl_._has_bits_[0],
6177 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6179 return _internal_name();
6181template <
typename Arg_,
typename... Args_>
6183 ::google::protobuf::internal::TSanWrite(&_impl_);
6184 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
6185 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
6189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6190 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
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_.name_.Set(value, GetArena());
6203inline ::std::string* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_name() {
6204 ::google::protobuf::internal::TSanWrite(&
_impl_);
6205 return _impl_.name_.Mutable( GetArena());
6208 ::google::protobuf::internal::TSanWrite(&_impl_);
6210 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
6213 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
6214 auto* released = _impl_.name_.Release();
6215 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
6221 ::google::protobuf::internal::TSanWrite(&_impl_);
6222 if (value !=
nullptr) {
6223 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
6225 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
6227 _impl_.name_.SetAllocated(value, GetArena());
6228 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
6229 _impl_.name_.Set(
"", GetArena());
6238inline bool MPGeneralConstraintProto::_internal_has_indicator_constraint()
const {
6239 return general_constraint_case() == kIndicatorConstraint;
6241inline void MPGeneralConstraintProto::set_has_indicator_constraint() {
6242 _impl_._oneof_case_[0] = kIndicatorConstraint;
6245 ::google::protobuf::internal::TSanWrite(&_impl_);
6246 if (general_constraint_case() == kIndicatorConstraint) {
6247 if (GetArena() ==
nullptr) {
6248 delete _impl_.general_constraint_.indicator_constraint_;
6249 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6250 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.indicator_constraint_);
6252 clear_has_general_constraint();
6257 if (general_constraint_case() == kIndicatorConstraint) {
6258 clear_has_general_constraint();
6259 auto* temp =
reinterpret_cast<::operations_research::MPIndicatorConstraint*
>(_impl_.general_constraint_.indicator_constraint_);
6260 if (GetArena() !=
nullptr) {
6261 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6263 _impl_.general_constraint_.indicator_constraint_ =
nullptr;
6269inline const ::operations_research::MPIndicatorConstraint& MPGeneralConstraintProto::_internal_indicator_constraint()
const {
6270 return general_constraint_case() ==
kIndicatorConstraint ?
static_cast<const ::operations_research::MPIndicatorConstraint&
>(*
reinterpret_cast<::operations_research::MPIndicatorConstraint*
>(_impl_.general_constraint_.indicator_constraint_))
6275 return _internal_indicator_constraint();
6279 if (general_constraint_case() == kIndicatorConstraint) {
6280 clear_has_general_constraint();
6282 _impl_.general_constraint_.indicator_constraint_ =
nullptr;
6289 ::operations_research::MPIndicatorConstraint* PROTOBUF_NULLABLE value) {
6293 clear_general_constraint();
6295 set_has_indicator_constraint();
6296 _impl_.general_constraint_.indicator_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6300inline ::operations_research::MPIndicatorConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_indicator_constraint() {
6303 set_has_indicator_constraint();
6304 _impl_.general_constraint_.indicator_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6305 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPIndicatorConstraint>(GetArena()));
6310 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6320inline bool MPGeneralConstraintProto::_internal_has_sos_constraint()
const {
6321 return general_constraint_case() == kSosConstraint;
6323inline void MPGeneralConstraintProto::set_has_sos_constraint() {
6324 _impl_._oneof_case_[0] = kSosConstraint;
6327 ::google::protobuf::internal::TSanWrite(&_impl_);
6328 if (general_constraint_case() == kSosConstraint) {
6329 if (GetArena() ==
nullptr) {
6330 delete _impl_.general_constraint_.sos_constraint_;
6331 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6332 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.sos_constraint_);
6334 clear_has_general_constraint();
6340 clear_has_general_constraint();
6342 if (GetArena() !=
nullptr) {
6343 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6345 _impl_.general_constraint_.sos_constraint_ =
nullptr;
6351inline const ::operations_research::MPSosConstraint& MPGeneralConstraintProto::_internal_sos_constraint()
const {
6352 return general_constraint_case() == kSosConstraint ?
static_cast<const ::operations_research::MPSosConstraint&
>(*
reinterpret_cast<::operations_research::MPSosConstraint*
>(_impl_.general_constraint_.sos_constraint_))
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 ?
static_cast<const ::operations_research::MPQuadraticConstraint&
>(*
reinterpret_cast<::operations_research::MPQuadraticConstraint*
>(_impl_.general_constraint_.quadratic_constraint_))
6439 return _internal_quadratic_constraint();
6443 if (general_constraint_case() == kQuadraticConstraint) {
6444 clear_has_general_constraint();
6446 _impl_.general_constraint_.quadratic_constraint_ =
nullptr;
6453 ::operations_research::MPQuadraticConstraint* PROTOBUF_NULLABLE value) {
6457 clear_general_constraint();
6459 set_has_quadratic_constraint();
6460 _impl_.general_constraint_.quadratic_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6464inline ::operations_research::MPQuadraticConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_quadratic_constraint() {
6467 set_has_quadratic_constraint();
6468 _impl_.general_constraint_.quadratic_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6469 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPQuadraticConstraint>(GetArena()));
6474 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6484inline bool MPGeneralConstraintProto::_internal_has_abs_constraint()
const {
6485 return general_constraint_case() == kAbsConstraint;
6487inline void MPGeneralConstraintProto::set_has_abs_constraint() {
6488 _impl_._oneof_case_[0] = kAbsConstraint;
6491 ::google::protobuf::internal::TSanWrite(&_impl_);
6492 if (general_constraint_case() == kAbsConstraint) {
6493 if (GetArena() ==
nullptr) {
6494 delete _impl_.general_constraint_.abs_constraint_;
6495 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6496 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.abs_constraint_);
6498 clear_has_general_constraint();
6504 clear_has_general_constraint();
6506 if (GetArena() !=
nullptr) {
6507 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6509 _impl_.general_constraint_.abs_constraint_ =
nullptr;
6515inline const ::operations_research::MPAbsConstraint& MPGeneralConstraintProto::_internal_abs_constraint()
const {
6516 return general_constraint_case() == kAbsConstraint ?
static_cast<const ::operations_research::MPAbsConstraint&
>(*
reinterpret_cast<::operations_research::MPAbsConstraint*
>(_impl_.general_constraint_.abs_constraint_))
6521 return _internal_abs_constraint();
6525 if (general_constraint_case() == kAbsConstraint) {
6526 clear_has_general_constraint();
6528 _impl_.general_constraint_.abs_constraint_ =
nullptr;
6535 ::operations_research::MPAbsConstraint* PROTOBUF_NULLABLE value) {
6539 clear_general_constraint();
6541 set_has_abs_constraint();
6542 _impl_.general_constraint_.abs_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6546inline ::operations_research::MPAbsConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_abs_constraint() {
6549 set_has_abs_constraint();
6550 _impl_.general_constraint_.abs_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6551 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPAbsConstraint>(GetArena()));
6556 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6566inline bool MPGeneralConstraintProto::_internal_has_and_constraint()
const {
6567 return general_constraint_case() == kAndConstraint;
6569inline void MPGeneralConstraintProto::set_has_and_constraint() {
6570 _impl_._oneof_case_[0] = kAndConstraint;
6573 ::google::protobuf::internal::TSanWrite(&_impl_);
6574 if (general_constraint_case() == kAndConstraint) {
6575 if (GetArena() ==
nullptr) {
6576 delete _impl_.general_constraint_.and_constraint_;
6577 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6578 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.and_constraint_);
6580 clear_has_general_constraint();
6586 clear_has_general_constraint();
6588 if (GetArena() !=
nullptr) {
6589 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6591 _impl_.general_constraint_.and_constraint_ =
nullptr;
6597inline const ::operations_research::MPArrayConstraint& MPGeneralConstraintProto::_internal_and_constraint()
const {
6598 return general_constraint_case() == kAndConstraint ?
static_cast<const ::operations_research::MPArrayConstraint&
>(*
reinterpret_cast<::operations_research::MPArrayConstraint*
>(_impl_.general_constraint_.and_constraint_))
6603 return _internal_and_constraint();
6607 if (general_constraint_case() == kAndConstraint) {
6608 clear_has_general_constraint();
6610 _impl_.general_constraint_.and_constraint_ =
nullptr;
6617 ::operations_research::MPArrayConstraint* PROTOBUF_NULLABLE value) {
6621 clear_general_constraint();
6623 set_has_and_constraint();
6624 _impl_.general_constraint_.and_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6628inline ::operations_research::MPArrayConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_and_constraint() {
6631 set_has_and_constraint();
6632 _impl_.general_constraint_.and_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6633 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayConstraint>(GetArena()));
6638 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6648inline bool MPGeneralConstraintProto::_internal_has_or_constraint()
const {
6649 return general_constraint_case() == kOrConstraint;
6651inline void MPGeneralConstraintProto::set_has_or_constraint() {
6652 _impl_._oneof_case_[0] = kOrConstraint;
6655 ::google::protobuf::internal::TSanWrite(&_impl_);
6656 if (general_constraint_case() == kOrConstraint) {
6657 if (GetArena() ==
nullptr) {
6658 delete _impl_.general_constraint_.or_constraint_;
6659 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6660 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.or_constraint_);
6662 clear_has_general_constraint();
6668 clear_has_general_constraint();
6670 if (GetArena() !=
nullptr) {
6671 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6673 _impl_.general_constraint_.or_constraint_ =
nullptr;
6679inline const ::operations_research::MPArrayConstraint& MPGeneralConstraintProto::_internal_or_constraint()
const {
6680 return general_constraint_case() == kOrConstraint ?
static_cast<const ::operations_research::MPArrayConstraint&
>(*
reinterpret_cast<::operations_research::MPArrayConstraint*
>(_impl_.general_constraint_.or_constraint_))
6685 return _internal_or_constraint();
6689 if (general_constraint_case() == kOrConstraint) {
6690 clear_has_general_constraint();
6692 _impl_.general_constraint_.or_constraint_ =
nullptr;
6699 ::operations_research::MPArrayConstraint* PROTOBUF_NULLABLE value) {
6703 clear_general_constraint();
6705 set_has_or_constraint();
6706 _impl_.general_constraint_.or_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6710inline ::operations_research::MPArrayConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_or_constraint() {
6713 set_has_or_constraint();
6714 _impl_.general_constraint_.or_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6715 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayConstraint>(GetArena()));
6720 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6730inline bool MPGeneralConstraintProto::_internal_has_min_constraint()
const {
6731 return general_constraint_case() == kMinConstraint;
6733inline void MPGeneralConstraintProto::set_has_min_constraint() {
6734 _impl_._oneof_case_[0] = kMinConstraint;
6737 ::google::protobuf::internal::TSanWrite(&_impl_);
6738 if (general_constraint_case() == kMinConstraint) {
6739 if (GetArena() ==
nullptr) {
6740 delete _impl_.general_constraint_.min_constraint_;
6741 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6742 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.min_constraint_);
6744 clear_has_general_constraint();
6750 clear_has_general_constraint();
6752 if (GetArena() !=
nullptr) {
6753 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6755 _impl_.general_constraint_.min_constraint_ =
nullptr;
6761inline const ::operations_research::MPArrayWithConstantConstraint& MPGeneralConstraintProto::_internal_min_constraint()
const {
6762 return general_constraint_case() == kMinConstraint ?
static_cast<const ::operations_research::MPArrayWithConstantConstraint&
>(*
reinterpret_cast<::operations_research::MPArrayWithConstantConstraint*
>(_impl_.general_constraint_.min_constraint_))
6767 return _internal_min_constraint();
6771 if (general_constraint_case() == kMinConstraint) {
6772 clear_has_general_constraint();
6774 _impl_.general_constraint_.min_constraint_ =
nullptr;
6781 ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NULLABLE value) {
6785 clear_general_constraint();
6787 set_has_min_constraint();
6788 _impl_.general_constraint_.min_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6792inline ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_min_constraint() {
6795 set_has_min_constraint();
6796 _impl_.general_constraint_.min_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6797 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayWithConstantConstraint>(GetArena()));
6802 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6812inline bool MPGeneralConstraintProto::_internal_has_max_constraint()
const {
6813 return general_constraint_case() == kMaxConstraint;
6815inline void MPGeneralConstraintProto::set_has_max_constraint() {
6816 _impl_._oneof_case_[0] = kMaxConstraint;
6819 ::google::protobuf::internal::TSanWrite(&_impl_);
6820 if (general_constraint_case() == kMaxConstraint) {
6821 if (GetArena() ==
nullptr) {
6822 delete _impl_.general_constraint_.max_constraint_;
6823 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
6824 ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.general_constraint_.max_constraint_);
6826 clear_has_general_constraint();
6832 clear_has_general_constraint();
6834 if (GetArena() !=
nullptr) {
6835 temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
6837 _impl_.general_constraint_.max_constraint_ =
nullptr;
6843inline const ::operations_research::MPArrayWithConstantConstraint& MPGeneralConstraintProto::_internal_max_constraint()
const {
6844 return general_constraint_case() == kMaxConstraint ?
static_cast<const ::operations_research::MPArrayWithConstantConstraint&
>(*
reinterpret_cast<::operations_research::MPArrayWithConstantConstraint*
>(_impl_.general_constraint_.max_constraint_))
6849 return _internal_max_constraint();
6853 if (general_constraint_case() == kMaxConstraint) {
6854 clear_has_general_constraint();
6856 _impl_.general_constraint_.max_constraint_ =
nullptr;
6863 ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NULLABLE value) {
6867 clear_general_constraint();
6869 set_has_max_constraint();
6870 _impl_.general_constraint_.max_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(value);
6874inline ::operations_research::MPArrayWithConstantConstraint* PROTOBUF_NONNULL MPGeneralConstraintProto::_internal_mutable_max_constraint() {
6877 set_has_max_constraint();
6878 _impl_.general_constraint_.max_constraint_ =
reinterpret_cast<::google::protobuf::Message*
>(
6879 ::google::protobuf::Message::DefaultConstruct<::operations_research::MPArrayWithConstantConstraint>(GetArena()));
6884 ABSL_ATTRIBUTE_LIFETIME_BOUND {
6890inline bool MPGeneralConstraintProto::has_general_constraint()
const {
6893inline void MPGeneralConstraintProto::clear_has_general_constraint() {
6894 _impl_._oneof_case_[0] = GENERAL_CONSTRAINT_NOT_SET;
6905 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
6909 ::google::protobuf::internal::TSanWrite(&_impl_);
6910 _impl_.var_index_ = 0;
6916 return _internal_var_index();
6919 _internal_set_var_index(value);
6920 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
6923inline ::int32_t MPIndicatorConstraint::_internal_var_index()
const {
6924 ::google::protobuf::internal::TSanRead(&
_impl_);
6925 return _impl_.var_index_;
6927inline void MPIndicatorConstraint::_internal_set_var_index(::int32_t value) {
6928 ::google::protobuf::internal::TSanWrite(&_impl_);
6929 _impl_.var_index_ = value;
6934 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
6938 ::google::protobuf::internal::TSanWrite(&
_impl_);
6940 ClearHasBit(
_impl_._has_bits_[0],
6945 return _internal_var_value();
6948 _internal_set_var_value(value);
6949 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
6952inline ::int32_t MPIndicatorConstraint::_internal_var_value()
const {
6953 ::google::protobuf::internal::TSanRead(&_impl_);
6954 return _impl_.var_value_;
6956inline void MPIndicatorConstraint::_internal_set_var_value(::int32_t value) {
6957 ::google::protobuf::internal::TSanWrite(&_impl_);
6958 _impl_.var_value_ = value;
6963 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
6964 PROTOBUF_ASSUME(!value ||
_impl_.constraint_ !=
nullptr);
6968 ::google::protobuf::internal::TSanWrite(&_impl_);
6969 if (_impl_.constraint_ !=
nullptr) _impl_.constraint_->Clear();
6970 ClearHasBit(_impl_._has_bits_[0],
6973inline const ::operations_research::MPConstraintProto& MPIndicatorConstraint::_internal_constraint()
const {
6974 ::google::protobuf::internal::TSanRead(&_impl_);
6975 const ::operations_research::MPConstraintProto* p = _impl_.constraint_;
6980 return _internal_constraint();
6984 ::google::protobuf::internal::TSanWrite(&_impl_);
6985 if (GetArena() ==
nullptr) {
6986 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.constraint_);
6988 _impl_.constraint_ =
reinterpret_cast<::operations_research::MPConstraintProto*
>(value);
6989 if (value !=
nullptr) {
6990 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
6992 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
6997 ::google::protobuf::internal::TSanWrite(&
_impl_);
6999 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
7001 _impl_.constraint_ =
nullptr;
7002 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
7003 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
7004 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
7005 if (GetArena() ==
nullptr) {
7009 if (GetArena() !=
nullptr) {
7010 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
7016 ::google::protobuf::internal::TSanWrite(&_impl_);
7019 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
7020 ::operations_research::MPConstraintProto* temp = _impl_.constraint_;
7021 _impl_.constraint_ =
nullptr;
7024inline ::operations_research::MPConstraintProto* PROTOBUF_NONNULL MPIndicatorConstraint::_internal_mutable_constraint() {
7025 ::google::protobuf::internal::TSanWrite(&
_impl_);
7026 if (
_impl_.constraint_ ==
nullptr) {
7027 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPConstraintProto>(GetArena());
7030 return _impl_.constraint_;
7033 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7034 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
7040 ::google::protobuf::Arena* message_arena = GetArena();
7041 ::google::protobuf::internal::TSanWrite(&_impl_);
7042 if (message_arena ==
nullptr) {
7043 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.constraint_);
7046 if (value !=
nullptr) {
7047 ::google::protobuf::Arena* submessage_arena = value->GetArena();
7048 if (message_arena != submessage_arena) {
7049 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
7051 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
7053 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
7056 _impl_.constraint_ =
reinterpret_cast<::operations_research::MPConstraintProto*
>(value);
7066 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
7070 ::google::protobuf::internal::TSanWrite(&_impl_);
7072 ClearHasBit(_impl_._has_bits_[0],
7077 return _internal_type();
7080 _internal_set_type(value);
7081 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
7084inline ::operations_research::MPSosConstraint_Type MPSosConstraint::_internal_type()
const {
7085 ::google::protobuf::internal::TSanRead(&_impl_);
7089 ::google::protobuf::internal::TSanWrite(&_impl_);
7091 assert(::google::protobuf::internal::ValidateEnum(
7093 _impl_.type_ = value;
7097inline int MPSosConstraint::_internal_var_index_size()
const {
7098 return _internal_var_index().size();
7101 return _internal_var_index_size();
7104 ::google::protobuf::internal::TSanWrite(&_impl_);
7106 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7111 return _internal_var_index().Get(index);
7114 _internal_mutable_var_index()->Set(index, value);
7118 ::google::protobuf::internal::TSanWrite(&_impl_);
7119 _internal_mutable_var_index()->Add(value);
7120 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7124 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7126 return _internal_var_index();
7129 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7130 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
7132 ::google::protobuf::internal::TSanWrite(&
_impl_);
7133 return _internal_mutable_var_index();
7135inline const ::google::protobuf::RepeatedField<::int32_t>&
7136MPSosConstraint::_internal_var_index()
const {
7137 ::google::protobuf::internal::TSanRead(&_impl_);
7138 return _impl_.var_index_;
7140inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7141MPSosConstraint::_internal_mutable_var_index() {
7142 ::google::protobuf::internal::TSanRead(&_impl_);
7147inline int MPSosConstraint::_internal_weight_size()
const {
7148 return _internal_weight().size();
7151 return _internal_weight_size();
7154 ::google::protobuf::internal::TSanWrite(&
_impl_);
7156 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7161 return _internal_weight().Get(index);
7164 _internal_mutable_weight()->Set(index, value);
7168 ::google::protobuf::internal::TSanWrite(&_impl_);
7169 _internal_mutable_weight()->Add(value);
7170 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
7174 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7176 return _internal_weight();
7179 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7180 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
7182 ::google::protobuf::internal::TSanWrite(&
_impl_);
7183 return _internal_mutable_weight();
7185inline const ::google::protobuf::RepeatedField<double>&
7186MPSosConstraint::_internal_weight()
const {
7187 ::google::protobuf::internal::TSanRead(&_impl_);
7188 return _impl_.weight_;
7190inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7191MPSosConstraint::_internal_mutable_weight() {
7192 ::google::protobuf::internal::TSanRead(&_impl_);
7201inline int MPQuadraticConstraint::_internal_var_index_size()
const {
7202 return _internal_var_index().size();
7205 return _internal_var_index_size();
7208 ::google::protobuf::internal::TSanWrite(&
_impl_);
7209 _impl_.var_index_.Clear();
7210 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7215 return _internal_var_index().Get(index);
7218 _internal_mutable_var_index()->Set(index, value);
7222 ::google::protobuf::internal::TSanWrite(&_impl_);
7223 _internal_mutable_var_index()->Add(value);
7224 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7228 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7230 return _internal_var_index();
7233 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7234 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7236 ::google::protobuf::internal::TSanWrite(&
_impl_);
7237 return _internal_mutable_var_index();
7239inline const ::google::protobuf::RepeatedField<::int32_t>&
7240MPQuadraticConstraint::_internal_var_index()
const {
7241 ::google::protobuf::internal::TSanRead(&_impl_);
7242 return _impl_.var_index_;
7244inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7245MPQuadraticConstraint::_internal_mutable_var_index() {
7246 ::google::protobuf::internal::TSanRead(&
_impl_);
7247 return &
_impl_.var_index_;
7251inline int MPQuadraticConstraint::_internal_coefficient_size()
const {
7252 return _internal_coefficient().size();
7255 return _internal_coefficient_size();
7258 ::google::protobuf::internal::TSanWrite(&
_impl_);
7259 _impl_.coefficient_.Clear();
7260 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7265 return _internal_coefficient().Get(index);
7268 _internal_mutable_coefficient()->Set(index, value);
7272 ::google::protobuf::internal::TSanWrite(&_impl_);
7273 _internal_mutable_coefficient()->Add(value);
7274 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
7278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7280 return _internal_coefficient();
7283 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7284 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
7286 ::google::protobuf::internal::TSanWrite(&
_impl_);
7287 return _internal_mutable_coefficient();
7289inline const ::google::protobuf::RepeatedField<double>&
7290MPQuadraticConstraint::_internal_coefficient()
const {
7291 ::google::protobuf::internal::TSanRead(&_impl_);
7292 return _impl_.coefficient_;
7294inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7295MPQuadraticConstraint::_internal_mutable_coefficient() {
7296 ::google::protobuf::internal::TSanRead(&
_impl_);
7297 return &
_impl_.coefficient_;
7301inline int MPQuadraticConstraint::_internal_qvar1_index_size()
const {
7302 return _internal_qvar1_index().size();
7305 return _internal_qvar1_index_size();
7308 ::google::protobuf::internal::TSanWrite(&
_impl_);
7309 _impl_.qvar1_index_.Clear();
7310 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7315 return _internal_qvar1_index().Get(index);
7318 _internal_mutable_qvar1_index()->Set(index, value);
7322 ::google::protobuf::internal::TSanWrite(&_impl_);
7323 _internal_mutable_qvar1_index()->Add(value);
7324 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
7328 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7330 return _internal_qvar1_index();
7333 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7334 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
7336 ::google::protobuf::internal::TSanWrite(&
_impl_);
7337 return _internal_mutable_qvar1_index();
7339inline const ::google::protobuf::RepeatedField<::int32_t>&
7340MPQuadraticConstraint::_internal_qvar1_index()
const {
7341 ::google::protobuf::internal::TSanRead(&_impl_);
7342 return _impl_.qvar1_index_;
7344inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7345MPQuadraticConstraint::_internal_mutable_qvar1_index() {
7346 ::google::protobuf::internal::TSanRead(&
_impl_);
7347 return &
_impl_.qvar1_index_;
7351inline int MPQuadraticConstraint::_internal_qvar2_index_size()
const {
7352 return _internal_qvar2_index().size();
7355 return _internal_qvar2_index_size();
7358 ::google::protobuf::internal::TSanWrite(&
_impl_);
7359 _impl_.qvar2_index_.Clear();
7360 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7365 return _internal_qvar2_index().Get(index);
7368 _internal_mutable_qvar2_index()->Set(index, value);
7372 ::google::protobuf::internal::TSanWrite(&_impl_);
7373 _internal_mutable_qvar2_index()->Add(value);
7374 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
7378 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7380 return _internal_qvar2_index();
7383 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7384 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
7386 ::google::protobuf::internal::TSanWrite(&
_impl_);
7387 return _internal_mutable_qvar2_index();
7389inline const ::google::protobuf::RepeatedField<::int32_t>&
7390MPQuadraticConstraint::_internal_qvar2_index()
const {
7391 ::google::protobuf::internal::TSanRead(&_impl_);
7392 return _impl_.qvar2_index_;
7394inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7395MPQuadraticConstraint::_internal_mutable_qvar2_index() {
7396 ::google::protobuf::internal::TSanRead(&
_impl_);
7397 return &
_impl_.qvar2_index_;
7401inline int MPQuadraticConstraint::_internal_qcoefficient_size()
const {
7402 return _internal_qcoefficient().size();
7405 return _internal_qcoefficient_size();
7408 ::google::protobuf::internal::TSanWrite(&
_impl_);
7409 _impl_.qcoefficient_.Clear();
7410 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7415 return _internal_qcoefficient().Get(index);
7418 _internal_mutable_qcoefficient()->Set(index, value);
7422 ::google::protobuf::internal::TSanWrite(&_impl_);
7423 _internal_mutable_qcoefficient()->Add(value);
7424 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
7428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7430 return _internal_qcoefficient();
7433 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7434 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
7436 ::google::protobuf::internal::TSanWrite(&
_impl_);
7437 return _internal_mutable_qcoefficient();
7439inline const ::google::protobuf::RepeatedField<double>&
7440MPQuadraticConstraint::_internal_qcoefficient()
const {
7441 ::google::protobuf::internal::TSanRead(&_impl_);
7442 return _impl_.qcoefficient_;
7444inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7445MPQuadraticConstraint::_internal_mutable_qcoefficient() {
7446 ::google::protobuf::internal::TSanRead(&
_impl_);
7447 return &
_impl_.qcoefficient_;
7452 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000020U);
7456 ::google::protobuf::internal::TSanWrite(&_impl_);
7457 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
7463 return _internal_lower_bound();
7466 _internal_set_lower_bound(value);
7467 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
7470inline double MPQuadraticConstraint::_internal_lower_bound()
const {
7471 ::google::protobuf::internal::TSanRead(&_impl_);
7472 return _impl_.lower_bound_;
7474inline void MPQuadraticConstraint::_internal_set_lower_bound(
double value) {
7475 ::google::protobuf::internal::TSanWrite(&_impl_);
7476 _impl_.lower_bound_ = value;
7481 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
7485 ::google::protobuf::internal::TSanWrite(&_impl_);
7486 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
7487 ClearHasBit(
_impl_._has_bits_[0],
7492 return _internal_upper_bound();
7495 _internal_set_upper_bound(value);
7496 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
7499inline double MPQuadraticConstraint::_internal_upper_bound()
const {
7500 ::google::protobuf::internal::TSanRead(&_impl_);
7501 return _impl_.upper_bound_;
7503inline void MPQuadraticConstraint::_internal_set_upper_bound(
double value) {
7504 ::google::protobuf::internal::TSanWrite(&_impl_);
7505 _impl_.upper_bound_ = value;
7514 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
7518 ::google::protobuf::internal::TSanWrite(&_impl_);
7519 _impl_.var_index_ = 0;
7520 ClearHasBit(_impl_._has_bits_[0],
7525 return _internal_var_index();
7528 _internal_set_var_index(value);
7529 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
7532inline ::int32_t MPAbsConstraint::_internal_var_index()
const {
7533 ::google::protobuf::internal::TSanRead(&_impl_);
7534 return _impl_.var_index_;
7536inline void MPAbsConstraint::_internal_set_var_index(::int32_t value) {
7537 ::google::protobuf::internal::TSanWrite(&_impl_);
7538 _impl_.var_index_ = value;
7543 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
7547 ::google::protobuf::internal::TSanWrite(&_impl_);
7548 _impl_.resultant_var_index_ = 0;
7554 return _internal_resultant_var_index();
7557 _internal_set_resultant_var_index(value);
7558 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
7561inline ::int32_t MPAbsConstraint::_internal_resultant_var_index()
const {
7562 ::google::protobuf::internal::TSanRead(&_impl_);
7563 return _impl_.resultant_var_index_;
7565inline void MPAbsConstraint::_internal_set_resultant_var_index(::int32_t value) {
7566 ::google::protobuf::internal::TSanWrite(&_impl_);
7567 _impl_.resultant_var_index_ = value;
7575inline int MPArrayConstraint::_internal_var_index_size()
const {
7576 return _internal_var_index().size();
7579 return _internal_var_index_size();
7582 ::google::protobuf::internal::TSanWrite(&_impl_);
7583 _impl_.var_index_.Clear();
7589 return _internal_var_index().Get(index);
7592 _internal_mutable_var_index()->Set(index, value);
7596 ::google::protobuf::internal::TSanWrite(&_impl_);
7597 _internal_mutable_var_index()->Add(value);
7598 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7602 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7604 return _internal_var_index();
7607 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7608 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7610 ::google::protobuf::internal::TSanWrite(&_impl_);
7611 return _internal_mutable_var_index();
7613inline const ::google::protobuf::RepeatedField<::int32_t>&
7614MPArrayConstraint::_internal_var_index()
const {
7615 ::google::protobuf::internal::TSanRead(&
_impl_);
7616 return _impl_.var_index_;
7618inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7619MPArrayConstraint::_internal_mutable_var_index() {
7620 ::google::protobuf::internal::TSanRead(&
_impl_);
7621 return &
_impl_.var_index_;
7626 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
7630 ::google::protobuf::internal::TSanWrite(&_impl_);
7631 _impl_.resultant_var_index_ = 0;
7632 ClearHasBit(_impl_._has_bits_[0],
7637 return _internal_resultant_var_index();
7640 _internal_set_resultant_var_index(value);
7641 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
7644inline ::int32_t MPArrayConstraint::_internal_resultant_var_index()
const {
7645 ::google::protobuf::internal::TSanRead(&_impl_);
7646 return _impl_.resultant_var_index_;
7648inline void MPArrayConstraint::_internal_set_resultant_var_index(::int32_t value) {
7649 ::google::protobuf::internal::TSanWrite(&_impl_);
7650 _impl_.resultant_var_index_ = value;
7658inline int MPArrayWithConstantConstraint::_internal_var_index_size()
const {
7659 return _internal_var_index().size();
7662 return _internal_var_index_size();
7665 ::google::protobuf::internal::TSanWrite(&_impl_);
7666 _impl_.var_index_.Clear();
7667 ClearHasBitForRepeated(_impl_._has_bits_[0],
7672 return _internal_var_index().Get(index);
7675 _internal_mutable_var_index()->Set(index, value);
7679 ::google::protobuf::internal::TSanWrite(&_impl_);
7680 _internal_mutable_var_index()->Add(value);
7681 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7685 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7687 return _internal_var_index();
7690 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7691 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7693 ::google::protobuf::internal::TSanWrite(&_impl_);
7694 return _internal_mutable_var_index();
7696inline const ::google::protobuf::RepeatedField<::int32_t>&
7697MPArrayWithConstantConstraint::_internal_var_index()
const {
7698 ::google::protobuf::internal::TSanRead(&
_impl_);
7699 return _impl_.var_index_;
7701inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7702MPArrayWithConstantConstraint::_internal_mutable_var_index() {
7703 ::google::protobuf::internal::TSanRead(&_impl_);
7709 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
7713 ::google::protobuf::internal::TSanWrite(&
_impl_);
7715 ClearHasBit(
_impl_._has_bits_[0],
7720 return _internal_constant();
7723 _internal_set_constant(value);
7724 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
7727inline double MPArrayWithConstantConstraint::_internal_constant()
const {
7728 ::google::protobuf::internal::TSanRead(&_impl_);
7729 return _impl_.constant_;
7731inline void MPArrayWithConstantConstraint::_internal_set_constant(
double value) {
7732 ::google::protobuf::internal::TSanWrite(&_impl_);
7733 _impl_.constant_ = value;
7738 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
7742 ::google::protobuf::internal::TSanWrite(&
_impl_);
7743 _impl_.resultant_var_index_ = 0;
7744 ClearHasBit(
_impl_._has_bits_[0],
7749 return _internal_resultant_var_index();
7752 _internal_set_resultant_var_index(value);
7753 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
7756inline ::int32_t MPArrayWithConstantConstraint::_internal_resultant_var_index()
const {
7757 ::google::protobuf::internal::TSanRead(&
_impl_);
7758 return _impl_.resultant_var_index_;
7760inline void MPArrayWithConstantConstraint::_internal_set_resultant_var_index(::int32_t value) {
7761 ::google::protobuf::internal::TSanWrite(&_impl_);
7762 _impl_.resultant_var_index_ = value;
7770inline int MPQuadraticObjective::_internal_qvar1_index_size()
const {
7771 return _internal_qvar1_index().size();
7774 return _internal_qvar1_index_size();
7777 ::google::protobuf::internal::TSanWrite(&_impl_);
7778 _impl_.qvar1_index_.Clear();
7779 ClearHasBitForRepeated(_impl_._has_bits_[0],
7784 return _internal_qvar1_index().Get(index);
7787 _internal_mutable_qvar1_index()->Set(index, value);
7791 ::google::protobuf::internal::TSanWrite(&_impl_);
7792 _internal_mutable_qvar1_index()->Add(value);
7793 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7797 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7799 return _internal_qvar1_index();
7802 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7803 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7805 ::google::protobuf::internal::TSanWrite(&_impl_);
7806 return _internal_mutable_qvar1_index();
7808inline const ::google::protobuf::RepeatedField<::int32_t>&
7809MPQuadraticObjective::_internal_qvar1_index()
const {
7810 ::google::protobuf::internal::TSanRead(&
_impl_);
7813inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7814MPQuadraticObjective::_internal_mutable_qvar1_index() {
7815 ::google::protobuf::internal::TSanRead(&_impl_);
7816 return &_impl_.qvar1_index_;
7820inline int MPQuadraticObjective::_internal_qvar2_index_size()
const {
7821 return _internal_qvar2_index().size();
7824 return _internal_qvar2_index_size();
7827 ::google::protobuf::internal::TSanWrite(&_impl_);
7828 _impl_.qvar2_index_.Clear();
7829 ClearHasBitForRepeated(_impl_._has_bits_[0],
7834 return _internal_qvar2_index().Get(index);
7837 _internal_mutable_qvar2_index()->Set(index, value);
7841 ::google::protobuf::internal::TSanWrite(&_impl_);
7842 _internal_mutable_qvar2_index()->Add(value);
7843 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
7847 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7849 return _internal_qvar2_index();
7852 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7853 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
7855 ::google::protobuf::internal::TSanWrite(&_impl_);
7856 return _internal_mutable_qvar2_index();
7858inline const ::google::protobuf::RepeatedField<::int32_t>&
7859MPQuadraticObjective::_internal_qvar2_index()
const {
7860 ::google::protobuf::internal::TSanRead(&
_impl_);
7863inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7864MPQuadraticObjective::_internal_mutable_qvar2_index() {
7865 ::google::protobuf::internal::TSanRead(&_impl_);
7866 return &_impl_.qvar2_index_;
7870inline int MPQuadraticObjective::_internal_coefficient_size()
const {
7871 return _internal_coefficient().size();
7874 return _internal_coefficient_size();
7877 ::google::protobuf::internal::TSanWrite(&_impl_);
7878 _impl_.coefficient_.Clear();
7879 ClearHasBitForRepeated(_impl_._has_bits_[0],
7884 return _internal_coefficient().Get(index);
7887 _internal_mutable_coefficient()->Set(index, value);
7891 ::google::protobuf::internal::TSanWrite(&_impl_);
7892 _internal_mutable_coefficient()->Add(value);
7893 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
7897 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7899 return _internal_coefficient();
7902 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7903 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
7905 ::google::protobuf::internal::TSanWrite(&_impl_);
7906 return _internal_mutable_coefficient();
7908inline const ::google::protobuf::RepeatedField<double>&
7909MPQuadraticObjective::_internal_coefficient()
const {
7910 ::google::protobuf::internal::TSanRead(&
_impl_);
7913inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
7914MPQuadraticObjective::_internal_mutable_coefficient() {
7915 ::google::protobuf::internal::TSanRead(&_impl_);
7916 return &_impl_.coefficient_;
7924inline int PartialVariableAssignment::_internal_var_index_size()
const {
7925 return _internal_var_index().size();
7928 return _internal_var_index_size();
7931 ::google::protobuf::internal::TSanWrite(&
_impl_);
7932 _impl_.var_index_.Clear();
7933 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7938 return _internal_var_index().Get(index);
7941 _internal_mutable_var_index()->Set(index, value);
7945 ::google::protobuf::internal::TSanWrite(&_impl_);
7946 _internal_mutable_var_index()->Add(value);
7947 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7951 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7953 return _internal_var_index();
7956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
7957 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
7959 ::google::protobuf::internal::TSanWrite(&_impl_);
7960 return _internal_mutable_var_index();
7962inline const ::google::protobuf::RepeatedField<::int32_t>&
7963PartialVariableAssignment::_internal_var_index()
const {
7964 ::google::protobuf::internal::TSanRead(&
_impl_);
7965 return _impl_.var_index_;
7967inline ::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL
7968PartialVariableAssignment::_internal_mutable_var_index() {
7969 ::google::protobuf::internal::TSanRead(&_impl_);
7970 return &_impl_.var_index_;
7974inline int PartialVariableAssignment::_internal_var_value_size()
const {
7975 return _internal_var_value().size();
7978 return _internal_var_value_size();
7981 ::google::protobuf::internal::TSanWrite(&
_impl_);
7982 _impl_.var_value_.Clear();
7983 ClearHasBitForRepeated(
_impl_._has_bits_[0],
7988 return _internal_var_value().Get(index);
7991 _internal_mutable_var_value()->Set(index, value);
7995 ::google::protobuf::internal::TSanWrite(&_impl_);
7996 _internal_mutable_var_value()->Add(value);
7997 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
8001 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8003 return _internal_var_value();
8006 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8007 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
8009 ::google::protobuf::internal::TSanWrite(&_impl_);
8010 return _internal_mutable_var_value();
8012inline const ::google::protobuf::RepeatedField<double>&
8013PartialVariableAssignment::_internal_var_value()
const {
8014 ::google::protobuf::internal::TSanRead(&
_impl_);
8015 return _impl_.var_value_;
8017inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
8018PartialVariableAssignment::_internal_mutable_var_value() {
8019 ::google::protobuf::internal::TSanRead(&_impl_);
8020 return &_impl_.var_value_;
8029 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000008U);
8033 ::google::protobuf::internal::TSanWrite(&_impl_);
8034 _impl_.target_type_ = 0;
8035 ClearHasBit(_impl_._has_bits_[0],
8040 return _internal_target_type();
8043 _internal_set_target_type(value);
8044 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
8047inline ::operations_research::MPModelProto_Annotation_TargetType MPModelProto_Annotation::_internal_target_type()
const {
8048 ::google::protobuf::internal::TSanRead(&_impl_);
8052 ::google::protobuf::internal::TSanWrite(&_impl_);
8054 assert(::google::protobuf::internal::ValidateEnum(
8056 _impl_.target_type_ = value;
8061 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
8065 ::google::protobuf::internal::TSanWrite(&
_impl_);
8066 _impl_.target_index_ = 0;
8067 ClearHasBit(
_impl_._has_bits_[0],
8072 return _internal_target_index();
8075 _internal_set_target_index(value);
8076 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
8079inline ::int32_t MPModelProto_Annotation::_internal_target_index()
const {
8080 ::google::protobuf::internal::TSanRead(&
_impl_);
8081 return _impl_.target_index_;
8083inline void MPModelProto_Annotation::_internal_set_target_index(::int32_t value) {
8084 ::google::protobuf::internal::TSanWrite(&_impl_);
8085 _impl_.target_index_ = value;
8090 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
8094 ::google::protobuf::internal::TSanWrite(&_impl_);
8095 _impl_.target_name_.ClearToEmpty();
8096 ClearHasBit(_impl_._has_bits_[0],
8100 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8102 return _internal_target_name();
8104template <
typename Arg_,
typename... Args_>
8106 ::google::protobuf::internal::TSanWrite(&_impl_);
8107 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
8108 _impl_.target_name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8112 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8113 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
8114 ::std::string* _s = _internal_mutable_target_name();
8118inline const ::std::string& MPModelProto_Annotation::_internal_target_name()
const {
8119 ::google::protobuf::internal::TSanRead(&_impl_);
8120 return _impl_.target_name_.Get();
8122inline void MPModelProto_Annotation::_internal_set_target_name(const ::std::string& value) {
8123 ::google::protobuf::internal::TSanWrite(&_impl_);
8124 _impl_.target_name_.Set(value, GetArena());
8126inline ::std::string* PROTOBUF_NONNULL MPModelProto_Annotation::_internal_mutable_target_name() {
8127 ::google::protobuf::internal::TSanWrite(&
_impl_);
8128 return _impl_.target_name_.Mutable( GetArena());
8131 ::google::protobuf::internal::TSanWrite(&
_impl_);
8133 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
8136 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
8137 auto* released =
_impl_.target_name_.Release();
8138 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8139 _impl_.target_name_.Set(
"", GetArena());
8144 ::google::protobuf::internal::TSanWrite(&_impl_);
8145 if (value !=
nullptr) {
8146 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
8148 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
8150 _impl_.target_name_.SetAllocated(value, GetArena());
8151 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_name_.IsDefault()) {
8152 _impl_.target_name_.Set(
"", GetArena());
8159 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
8163 ::google::protobuf::internal::TSanWrite(&_impl_);
8164 _impl_.payload_key_.ClearToEmpty();
8165 ClearHasBit(_impl_._has_bits_[0],
8169 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8171 return _internal_payload_key();
8173template <
typename Arg_,
typename... Args_>
8175 ::google::protobuf::internal::TSanWrite(&_impl_);
8176 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
8177 _impl_.payload_key_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8181 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8182 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
8183 ::std::string* _s = _internal_mutable_payload_key();
8187inline const ::std::string& MPModelProto_Annotation::_internal_payload_key()
const {
8188 ::google::protobuf::internal::TSanRead(&_impl_);
8189 return _impl_.payload_key_.Get();
8191inline void MPModelProto_Annotation::_internal_set_payload_key(const ::std::string& value) {
8192 ::google::protobuf::internal::TSanWrite(&_impl_);
8193 _impl_.payload_key_.Set(value, GetArena());
8195inline ::std::string* PROTOBUF_NONNULL MPModelProto_Annotation::_internal_mutable_payload_key() {
8196 ::google::protobuf::internal::TSanWrite(&
_impl_);
8197 return _impl_.payload_key_.Mutable( GetArena());
8200 ::google::protobuf::internal::TSanWrite(&
_impl_);
8202 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000002U)) {
8205 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
8206 auto* released =
_impl_.payload_key_.Release();
8207 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8208 _impl_.payload_key_.Set(
"", GetArena());
8213 ::google::protobuf::internal::TSanWrite(&_impl_);
8214 if (value !=
nullptr) {
8215 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
8217 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
8219 _impl_.payload_key_.SetAllocated(value, GetArena());
8220 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_key_.IsDefault()) {
8221 _impl_.payload_key_.Set(
"", GetArena());
8228 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
8232 ::google::protobuf::internal::TSanWrite(&_impl_);
8233 _impl_.payload_value_.ClearToEmpty();
8234 ClearHasBit(_impl_._has_bits_[0],
8238 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8240 return _internal_payload_value();
8242template <
typename Arg_,
typename... Args_>
8244 ::google::protobuf::internal::TSanWrite(&_impl_);
8245 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
8246 _impl_.payload_value_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8250 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8251 SetHasBit(
_impl_._has_bits_[0], 0x00000004U);
8252 ::std::string* _s = _internal_mutable_payload_value();
8256inline const ::std::string& MPModelProto_Annotation::_internal_payload_value()
const {
8257 ::google::protobuf::internal::TSanRead(&_impl_);
8258 return _impl_.payload_value_.Get();
8260inline void MPModelProto_Annotation::_internal_set_payload_value(const ::std::string& value) {
8261 ::google::protobuf::internal::TSanWrite(&_impl_);
8262 _impl_.payload_value_.Set(value, GetArena());
8264inline ::std::string* PROTOBUF_NONNULL MPModelProto_Annotation::_internal_mutable_payload_value() {
8265 ::google::protobuf::internal::TSanWrite(&
_impl_);
8266 return _impl_.payload_value_.Mutable( GetArena());
8269 ::google::protobuf::internal::TSanWrite(&
_impl_);
8271 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000004U)) {
8274 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
8275 auto* released =
_impl_.payload_value_.Release();
8276 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8277 _impl_.payload_value_.Set(
"", GetArena());
8282 ::google::protobuf::internal::TSanWrite(&_impl_);
8283 if (value !=
nullptr) {
8284 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
8286 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
8288 _impl_.payload_value_.SetAllocated(value, GetArena());
8289 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.payload_value_.IsDefault()) {
8290 _impl_.payload_value_.Set(
"", GetArena());
8300inline int MPModelProto::_internal_variable_size()
const {
8301 return _internal_variable().size();
8304 return _internal_variable_size();
8307 ::google::protobuf::internal::TSanWrite(&_impl_);
8308 _impl_.variable_.Clear();
8309 ClearHasBitForRepeated(_impl_._has_bits_[0],
8313 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8315 return _internal_mutable_variable()->Mutable(index);
8318 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8319 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
8321 ::google::protobuf::internal::TSanWrite(&
_impl_);
8322 return _internal_mutable_variable();
8325 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8327 return _internal_variable().Get(index);
8330 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8331 ::google::protobuf::internal::TSanWrite(&_impl_);
8333 _internal_mutable_variable()->InternalAddWithArena(
8334 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
8335 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
8339inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>&
MPModelProto::variable() const
8340 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8342 return _internal_variable();
8344inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>&
8345MPModelProto::_internal_variable()
const {
8346 ::google::protobuf::internal::TSanRead(&
_impl_);
8349inline ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto>* PROTOBUF_NONNULL
8350MPModelProto::_internal_mutable_variable() {
8351 ::google::protobuf::internal::TSanRead(&
_impl_);
8352 return &
_impl_.variable_;
8356inline int MPModelProto::_internal_constraint_size()
const {
8357 return _internal_constraint().size();
8360 return _internal_constraint_size();
8363 ::google::protobuf::internal::TSanWrite(&
_impl_);
8364 _impl_.constraint_.Clear();
8365 ClearHasBitForRepeated(
_impl_._has_bits_[0],
8369 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8371 return _internal_mutable_constraint()->Mutable(index);
8374 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8375 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
8377 ::google::protobuf::internal::TSanWrite(&
_impl_);
8378 return _internal_mutable_constraint();
8381 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8383 return _internal_constraint().Get(index);
8386 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8387 ::google::protobuf::internal::TSanWrite(&_impl_);
8389 _internal_mutable_constraint()->InternalAddWithArena(
8390 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
8391 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
8395inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>&
MPModelProto::constraint() const
8396 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8398 return _internal_constraint();
8400inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>&
8401MPModelProto::_internal_constraint()
const {
8402 ::google::protobuf::internal::TSanRead(&
_impl_);
8403 return _impl_.constraint_;
8405inline ::google::protobuf::RepeatedPtrField<::operations_research::MPConstraintProto>* PROTOBUF_NONNULL
8406MPModelProto::_internal_mutable_constraint() {
8407 ::google::protobuf::internal::TSanRead(&
_impl_);
8408 return &
_impl_.constraint_;
8412inline int MPModelProto::_internal_general_constraint_size()
const {
8413 return _internal_general_constraint().size();
8416 return _internal_general_constraint_size();
8419 ::google::protobuf::internal::TSanWrite(&
_impl_);
8420 _impl_.general_constraint_.Clear();
8421 ClearHasBitForRepeated(
_impl_._has_bits_[0],
8425 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8427 return _internal_mutable_general_constraint()->Mutable(index);
8430 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8431 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
8433 ::google::protobuf::internal::TSanWrite(&
_impl_);
8434 return _internal_mutable_general_constraint();
8437 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8439 return _internal_general_constraint().Get(index);
8442 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8443 ::google::protobuf::internal::TSanWrite(&_impl_);
8445 _internal_mutable_general_constraint()->InternalAddWithArena(
8446 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
8447 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
8452 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8454 return _internal_general_constraint();
8456inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>&
8457MPModelProto::_internal_general_constraint()
const {
8458 ::google::protobuf::internal::TSanRead(&
_impl_);
8459 return _impl_.general_constraint_;
8461inline ::google::protobuf::RepeatedPtrField<::operations_research::MPGeneralConstraintProto>* PROTOBUF_NONNULL
8462MPModelProto::_internal_mutable_general_constraint() {
8463 ::google::protobuf::internal::TSanRead(&
_impl_);
8464 return &
_impl_.general_constraint_;
8469 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000100U);
8473 ::google::protobuf::internal::TSanWrite(&_impl_);
8475 ClearHasBit(
_impl_._has_bits_[0],
8480 return _internal_maximize();
8483 _internal_set_maximize(value);
8484 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
8487inline bool MPModelProto::_internal_maximize()
const {
8488 ::google::protobuf::internal::TSanRead(&_impl_);
8491inline void MPModelProto::_internal_set_maximize(
bool value) {
8492 ::google::protobuf::internal::TSanWrite(&_impl_);
8493 _impl_.maximize_ = value;
8498 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000080U);
8502 ::google::protobuf::internal::TSanWrite(&_impl_);
8503 _impl_.objective_offset_ = 0;
8504 ClearHasBit(_impl_._has_bits_[0],
8509 return _internal_objective_offset();
8512 _internal_set_objective_offset(value);
8513 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
8516inline double MPModelProto::_internal_objective_offset()
const {
8517 ::google::protobuf::internal::TSanRead(&
_impl_);
8518 return _impl_.objective_offset_;
8520inline void MPModelProto::_internal_set_objective_offset(
double value) {
8521 ::google::protobuf::internal::TSanWrite(&
_impl_);
8522 _impl_.objective_offset_ = value;
8527 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
8528 PROTOBUF_ASSUME(!value || _impl_.quadratic_objective_ !=
nullptr);
8532 ::google::protobuf::internal::TSanWrite(&_impl_);
8533 if (_impl_.quadratic_objective_ !=
nullptr) _impl_.quadratic_objective_->Clear();
8534 ClearHasBit(_impl_._has_bits_[0],
8537inline const ::operations_research::MPQuadraticObjective& MPModelProto::_internal_quadratic_objective()
const {
8538 ::google::protobuf::internal::TSanRead(&_impl_);
8539 const ::operations_research::MPQuadraticObjective* p =
_impl_.quadratic_objective_;
8544 return _internal_quadratic_objective();
8548 ::google::protobuf::internal::TSanWrite(&_impl_);
8549 if (GetArena() ==
nullptr) {
8550 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.quadratic_objective_);
8553 if (value !=
nullptr) {
8554 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
8556 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
8561 ::google::protobuf::internal::TSanWrite(&_impl_);
8563 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
8565 _impl_.quadratic_objective_ =
nullptr;
8566 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8567 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8568 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8569 if (GetArena() ==
nullptr) {
8573 if (GetArena() !=
nullptr) {
8574 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8580 ::google::protobuf::internal::TSanWrite(&
_impl_);
8583 ClearHasBit(
_impl_._has_bits_[0], 0x00000040U);
8585 _impl_.quadratic_objective_ =
nullptr;
8588inline ::operations_research::MPQuadraticObjective* PROTOBUF_NONNULL MPModelProto::_internal_mutable_quadratic_objective() {
8589 ::google::protobuf::internal::TSanWrite(&_impl_);
8590 if (_impl_.quadratic_objective_ ==
nullptr) {
8591 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPQuadraticObjective>(GetArena());
8594 return _impl_.quadratic_objective_;
8597 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8598 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
8604 ::google::protobuf::Arena* message_arena = GetArena();
8605 ::google::protobuf::internal::TSanWrite(&_impl_);
8606 if (message_arena ==
nullptr) {
8607 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.quadratic_objective_);
8610 if (value !=
nullptr) {
8611 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8612 if (message_arena != submessage_arena) {
8613 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8615 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
8617 ClearHasBit(
_impl_._has_bits_[0], 0x00000040U);
8626 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
8630 ::google::protobuf::internal::TSanWrite(&_impl_);
8631 _impl_.name_.ClearToEmpty();
8632 ClearHasBit(_impl_._has_bits_[0],
8636 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8638 return _internal_name();
8640template <
typename Arg_,
typename... Args_>
8642 ::google::protobuf::internal::TSanWrite(&
_impl_);
8643 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
8644 _impl_.name_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
8648 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8649 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
8650 ::std::string* _s = _internal_mutable_name();
8654inline const ::std::string& MPModelProto::_internal_name()
const {
8655 ::google::protobuf::internal::TSanRead(&_impl_);
8656 return _impl_.name_.Get();
8658inline void MPModelProto::_internal_set_name(const ::std::string& value) {
8659 ::google::protobuf::internal::TSanWrite(&_impl_);
8660 _impl_.name_.Set(value, GetArena());
8662inline ::std::string* PROTOBUF_NONNULL MPModelProto::_internal_mutable_name() {
8663 ::google::protobuf::internal::TSanWrite(&
_impl_);
8664 return _impl_.name_.Mutable( GetArena());
8667 ::google::protobuf::internal::TSanWrite(&
_impl_);
8669 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000010U)) {
8672 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
8674 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
8675 _impl_.name_.Set(
"", GetArena());
8680 ::google::protobuf::internal::TSanWrite(&
_impl_);
8681 if (value !=
nullptr) {
8682 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
8684 ClearHasBit(
_impl_._has_bits_[0], 0x00000010U);
8686 _impl_.name_.SetAllocated(value, GetArena());
8687 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
8688 _impl_.name_.Set(
"", GetArena());
8695 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
8696 PROTOBUF_ASSUME(!value || _impl_.solution_hint_ !=
nullptr);
8700 ::google::protobuf::internal::TSanWrite(&_impl_);
8701 if (_impl_.solution_hint_ !=
nullptr) _impl_.solution_hint_->Clear();
8702 ClearHasBit(_impl_._has_bits_[0],
8705inline const ::operations_research::PartialVariableAssignment& MPModelProto::_internal_solution_hint()
const {
8706 ::google::protobuf::internal::TSanRead(&_impl_);
8707 const ::operations_research::PartialVariableAssignment* p = _impl_.solution_hint_;
8712 return _internal_solution_hint();
8715 ::operations_research::PartialVariableAssignment* PROTOBUF_NULLABLE value) {
8716 ::google::protobuf::internal::TSanWrite(&_impl_);
8717 if (GetArena() ==
nullptr) {
8718 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solution_hint_);
8721 if (value !=
nullptr) {
8722 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
8724 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
8729 ::google::protobuf::internal::TSanWrite(&_impl_);
8731 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
8733 _impl_.solution_hint_ =
nullptr;
8734 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8735 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8736 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8737 if (GetArena() ==
nullptr) {
8741 if (GetArena() !=
nullptr) {
8742 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8748 ::google::protobuf::internal::TSanWrite(&
_impl_);
8751 ClearHasBit(
_impl_._has_bits_[0], 0x00000020U);
8753 _impl_.solution_hint_ =
nullptr;
8756inline ::operations_research::PartialVariableAssignment* PROTOBUF_NONNULL MPModelProto::_internal_mutable_solution_hint() {
8757 ::google::protobuf::internal::TSanWrite(&_impl_);
8758 if (_impl_.solution_hint_ ==
nullptr) {
8759 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::PartialVariableAssignment>(GetArena());
8762 return _impl_.solution_hint_;
8765 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8766 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
8772 ::google::protobuf::Arena* message_arena = GetArena();
8773 ::google::protobuf::internal::TSanWrite(&_impl_);
8774 if (message_arena ==
nullptr) {
8775 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.solution_hint_);
8778 if (value !=
nullptr) {
8779 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8780 if (message_arena != submessage_arena) {
8781 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8783 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
8785 ClearHasBit(
_impl_._has_bits_[0], 0x00000020U);
8793inline int MPModelProto::_internal_annotation_size()
const {
8794 return _internal_annotation().size();
8797 return _internal_annotation_size();
8800 ::google::protobuf::internal::TSanWrite(&_impl_);
8801 _impl_.annotation_.Clear();
8806 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8808 return _internal_mutable_annotation()->Mutable(index);
8811 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8812 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
8814 ::google::protobuf::internal::TSanWrite(&_impl_);
8815 return _internal_mutable_annotation();
8818 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8820 return _internal_annotation().Get(index);
8823 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8824 ::google::protobuf::internal::TSanWrite(&_impl_);
8825 ::operations_research::MPModelProto_Annotation* _add =
8826 _internal_mutable_annotation()->InternalAddWithArena(
8827 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
8828 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
8832inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>&
MPModelProto::annotation() const
8833 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8835 return _internal_annotation();
8837inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>&
8838MPModelProto::_internal_annotation()
const {
8839 ::google::protobuf::internal::TSanRead(&
_impl_);
8840 return _impl_.annotation_;
8842inline ::google::protobuf::RepeatedPtrField<::operations_research::MPModelProto_Annotation>* PROTOBUF_NONNULL
8843MPModelProto::_internal_mutable_annotation() {
8844 ::google::protobuf::internal::TSanRead(&
_impl_);
8845 return &
_impl_.annotation_;
8854 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
8858 ::google::protobuf::internal::TSanWrite(&_impl_);
8865 return _internal_value();
8868 _internal_set_value(value);
8869 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
8872inline double OptionalDouble::_internal_value()
const {
8873 ::google::protobuf::internal::TSanRead(&_impl_);
8874 return _impl_.value_;
8876inline void OptionalDouble::_internal_set_value(
double value) {
8877 ::google::protobuf::internal::TSanWrite(&_impl_);
8878 _impl_.value_ = value;
8887 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
8888 PROTOBUF_ASSUME(!value || _impl_.relative_mip_gap_ !=
nullptr);
8892 ::google::protobuf::internal::TSanWrite(&
_impl_);
8893 if (
_impl_.relative_mip_gap_ !=
nullptr)
_impl_.relative_mip_gap_->Clear();
8894 ClearHasBit(
_impl_._has_bits_[0],
8897inline const ::operations_research::OptionalDouble& MPSolverCommonParameters::_internal_relative_mip_gap()
const {
8898 ::google::protobuf::internal::TSanRead(&_impl_);
8899 const ::operations_research::OptionalDouble* p = _impl_.relative_mip_gap_;
8904 return _internal_relative_mip_gap();
8908 ::google::protobuf::internal::TSanWrite(&
_impl_);
8909 if (GetArena() ==
nullptr) {
8910 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.relative_mip_gap_);
8913 if (
value !=
nullptr) {
8914 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
8916 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
8921 ::google::protobuf::internal::TSanWrite(&_impl_);
8923 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
8925 _impl_.relative_mip_gap_ =
nullptr;
8926 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
8927 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
8928 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8929 if (GetArena() ==
nullptr) {
8933 if (GetArena() !=
nullptr) {
8934 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
8940 ::google::protobuf::internal::TSanWrite(&_impl_);
8943 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
8945 _impl_.relative_mip_gap_ =
nullptr;
8948inline ::operations_research::OptionalDouble* PROTOBUF_NONNULL MPSolverCommonParameters::_internal_mutable_relative_mip_gap() {
8949 ::google::protobuf::internal::TSanWrite(&_impl_);
8950 if (_impl_.relative_mip_gap_ ==
nullptr) {
8951 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::OptionalDouble>(GetArena());
8954 return _impl_.relative_mip_gap_;
8957 ABSL_ATTRIBUTE_LIFETIME_BOUND {
8958 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
8959 ::operations_research::OptionalDouble* _msg = _internal_mutable_relative_mip_gap();
8964 ::google::protobuf::Arena* message_arena = GetArena();
8965 ::google::protobuf::internal::TSanWrite(&_impl_);
8966 if (message_arena ==
nullptr) {
8967 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.relative_mip_gap_);
8970 if (value !=
nullptr) {
8971 ::google::protobuf::Arena* submessage_arena = value->GetArena();
8972 if (message_arena != submessage_arena) {
8973 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
8975 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
8977 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
8986 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
8987 PROTOBUF_ASSUME(!value || _impl_.primal_tolerance_ !=
nullptr);
8991 ::google::protobuf::internal::TSanWrite(&_impl_);
8992 if (_impl_.primal_tolerance_ !=
nullptr) _impl_.primal_tolerance_->Clear();
8993 ClearHasBit(_impl_._has_bits_[0],
8996inline const ::operations_research::OptionalDouble& MPSolverCommonParameters::_internal_primal_tolerance()
const {
8997 ::google::protobuf::internal::TSanRead(&
_impl_);
8998 const ::operations_research::OptionalDouble* p =
_impl_.primal_tolerance_;
9003 return _internal_primal_tolerance();
9007 ::google::protobuf::internal::TSanWrite(&_impl_);
9008 if (GetArena() ==
nullptr) {
9009 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.primal_tolerance_);
9012 if (value !=
nullptr) {
9013 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9015 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9020 ::google::protobuf::internal::TSanWrite(&_impl_);
9022 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9023 ::operations_research::OptionalDouble* released = _impl_.primal_tolerance_;
9024 _impl_.primal_tolerance_ =
nullptr;
9025 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9026 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9027 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9028 if (GetArena() ==
nullptr) {
9032 if (GetArena() !=
nullptr) {
9033 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9039 ::google::protobuf::internal::TSanWrite(&_impl_);
9042 ClearHasBit(
_impl_._has_bits_[0], 0x00000002U);
9044 _impl_.primal_tolerance_ =
nullptr;
9047inline ::operations_research::OptionalDouble* PROTOBUF_NONNULL MPSolverCommonParameters::_internal_mutable_primal_tolerance() {
9048 ::google::protobuf::internal::TSanWrite(&_impl_);
9049 if (_impl_.primal_tolerance_ ==
nullptr) {
9050 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::OptionalDouble>(GetArena());
9053 return _impl_.primal_tolerance_;
9056 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9057 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9058 ::operations_research::OptionalDouble* _msg = _internal_mutable_primal_tolerance();
9063 ::google::protobuf::Arena* message_arena = GetArena();
9064 ::google::protobuf::internal::TSanWrite(&_impl_);
9065 if (message_arena ==
nullptr) {
9066 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.primal_tolerance_);
9069 if (value !=
nullptr) {
9070 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9071 if (message_arena != submessage_arena) {
9072 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9074 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9076 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9085 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
9086 PROTOBUF_ASSUME(!value || _impl_.dual_tolerance_ !=
nullptr);
9090 ::google::protobuf::internal::TSanWrite(&_impl_);
9091 if (_impl_.dual_tolerance_ !=
nullptr) _impl_.dual_tolerance_->Clear();
9092 ClearHasBit(_impl_._has_bits_[0],
9095inline const ::operations_research::OptionalDouble& MPSolverCommonParameters::_internal_dual_tolerance()
const {
9096 ::google::protobuf::internal::TSanRead(&
_impl_);
9097 const ::operations_research::OptionalDouble* p =
_impl_.dual_tolerance_;
9102 return _internal_dual_tolerance();
9106 ::google::protobuf::internal::TSanWrite(&_impl_);
9107 if (GetArena() ==
nullptr) {
9108 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.dual_tolerance_);
9111 if (value !=
nullptr) {
9112 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
9114 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9119 ::google::protobuf::internal::TSanWrite(&_impl_);
9121 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9122 ::operations_research::OptionalDouble* released = _impl_.dual_tolerance_;
9123 _impl_.dual_tolerance_ =
nullptr;
9124 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9125 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9126 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9127 if (GetArena() ==
nullptr) {
9131 if (GetArena() !=
nullptr) {
9132 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9138 ::google::protobuf::internal::TSanWrite(&_impl_);
9141 ClearHasBit(
_impl_._has_bits_[0], 0x00000004U);
9143 _impl_.dual_tolerance_ =
nullptr;
9146inline ::operations_research::OptionalDouble* PROTOBUF_NONNULL MPSolverCommonParameters::_internal_mutable_dual_tolerance() {
9147 ::google::protobuf::internal::TSanWrite(&_impl_);
9148 if (_impl_.dual_tolerance_ ==
nullptr) {
9149 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::OptionalDouble>(GetArena());
9152 return _impl_.dual_tolerance_;
9155 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9156 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
9157 ::operations_research::OptionalDouble* _msg = _internal_mutable_dual_tolerance();
9162 ::google::protobuf::Arena* message_arena = GetArena();
9163 ::google::protobuf::internal::TSanWrite(&_impl_);
9164 if (message_arena ==
nullptr) {
9165 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.dual_tolerance_);
9168 if (value !=
nullptr) {
9169 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9170 if (message_arena != submessage_arena) {
9171 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9173 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
9175 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9184 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
9188 ::google::protobuf::internal::TSanWrite(&_impl_);
9189 _impl_.lp_algorithm_ = 0;
9190 ClearHasBit(_impl_._has_bits_[0],
9195 return _internal_lp_algorithm();
9198 _internal_set_lp_algorithm(value);
9199 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
9202inline ::operations_research::MPSolverCommonParameters_LPAlgorithmValues MPSolverCommonParameters::_internal_lp_algorithm()
const {
9203 ::google::protobuf::internal::TSanRead(&_impl_);
9207 ::google::protobuf::internal::TSanWrite(&_impl_);
9209 assert(::google::protobuf::internal::ValidateEnum(
9211 _impl_.lp_algorithm_ = value;
9216 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
9220 ::google::protobuf::internal::TSanWrite(&_impl_);
9221 _impl_.presolve_ = 0;
9222 ClearHasBit(_impl_._has_bits_[0],
9227 return _internal_presolve();
9230 _internal_set_presolve(value);
9231 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
9234inline ::operations_research::OptionalBoolean MPSolverCommonParameters::_internal_presolve()
const {
9235 ::google::protobuf::internal::TSanRead(&_impl_);
9239 ::google::protobuf::internal::TSanWrite(&_impl_);
9241 assert(::google::protobuf::internal::ValidateEnum(
9243 _impl_.presolve_ = value;
9248 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
9252 ::google::protobuf::internal::TSanWrite(&_impl_);
9253 _impl_.scaling_ = 0;
9254 ClearHasBit(_impl_._has_bits_[0],
9259 return _internal_scaling();
9262 _internal_set_scaling(value);
9263 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
9266inline ::operations_research::OptionalBoolean MPSolverCommonParameters::_internal_scaling()
const {
9267 ::google::protobuf::internal::TSanRead(&_impl_);
9271 ::google::protobuf::internal::TSanWrite(&_impl_);
9273 assert(::google::protobuf::internal::ValidateEnum(
9275 _impl_.scaling_ = value;
9288 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
9292 ::google::protobuf::internal::TSanWrite(&
_impl_);
9293 _impl_.baseline_model_file_path_.ClearToEmpty();
9294 ClearHasBit(
_impl_._has_bits_[0],
9298 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9300 return _internal_baseline_model_file_path();
9302template <
typename Arg_,
typename... Args_>
9304 ::google::protobuf::internal::TSanWrite(&_impl_);
9305 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
9306 _impl_.baseline_model_file_path_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
9310 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9311 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
9312 ::std::string* _s = _internal_mutable_baseline_model_file_path();
9316inline const ::std::string& MPModelDeltaProto::_internal_baseline_model_file_path()
const {
9317 ::google::protobuf::internal::TSanRead(&_impl_);
9318 return _impl_.baseline_model_file_path_.Get();
9320inline void MPModelDeltaProto::_internal_set_baseline_model_file_path(const ::std::string& value) {
9321 ::google::protobuf::internal::TSanWrite(&_impl_);
9322 _impl_.baseline_model_file_path_.Set(value, GetArena());
9324inline ::std::string* PROTOBUF_NONNULL MPModelDeltaProto::_internal_mutable_baseline_model_file_path() {
9325 ::google::protobuf::internal::TSanWrite(&_impl_);
9326 return _impl_.baseline_model_file_path_.Mutable( GetArena());
9329 ::google::protobuf::internal::TSanWrite(&_impl_);
9331 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
9334 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
9335 auto* released =
_impl_.baseline_model_file_path_.Release();
9336 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
9337 _impl_.baseline_model_file_path_.Set(
"", GetArena());
9342 ::google::protobuf::internal::TSanWrite(&_impl_);
9343 if (value !=
nullptr) {
9344 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
9346 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
9348 _impl_.baseline_model_file_path_.SetAllocated(value, GetArena());
9349 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.baseline_model_file_path_.IsDefault()) {
9350 _impl_.baseline_model_file_path_.Set(
"", GetArena());
9356inline int MPModelDeltaProto::_internal_variable_overrides_size()
const {
9357 return _internal_variable_overrides().size();
9360 return _internal_variable_overrides_size();
9363 ::google::protobuf::internal::TSanWrite(&_impl_);
9364 _impl_.variable_overrides_.Clear();
9365 ClearHasBitForRepeated(_impl_._has_bits_[0],
9368inline const ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>& MPModelDeltaProto::_internal_variable_overrides()
const {
9369 ::google::protobuf::internal::TSanRead(&_impl_);
9370 return _impl_.variable_overrides_.GetMap();
9374 return _internal_variable_overrides();
9376inline ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>* PROTOBUF_NONNULL MPModelDeltaProto::_internal_mutable_variable_overrides() {
9377 ::google::protobuf::internal::TSanWrite(&_impl_);
9378 return _impl_.variable_overrides_.MutableMap();
9381 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9382 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
9384 return _internal_mutable_variable_overrides();
9388inline int MPModelDeltaProto::_internal_constraint_overrides_size()
const {
9389 return _internal_constraint_overrides().size();
9392 return _internal_constraint_overrides_size();
9395 ::google::protobuf::internal::TSanWrite(&_impl_);
9396 _impl_.constraint_overrides_.Clear();
9397 ClearHasBitForRepeated(_impl_._has_bits_[0],
9400inline const ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>& MPModelDeltaProto::_internal_constraint_overrides()
const {
9401 ::google::protobuf::internal::TSanRead(&_impl_);
9402 return _impl_.constraint_overrides_.GetMap();
9406 return _internal_constraint_overrides();
9408inline ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>* PROTOBUF_NONNULL MPModelDeltaProto::_internal_mutable_constraint_overrides() {
9409 ::google::protobuf::internal::TSanWrite(&_impl_);
9410 return _impl_.constraint_overrides_.MutableMap();
9413 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9414 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
9416 return _internal_mutable_constraint_overrides();
9425 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000002U);
9426 PROTOBUF_ASSUME(!value ||
_impl_.model_ !=
nullptr);
9430 ::google::protobuf::internal::TSanWrite(&_impl_);
9431 if (_impl_.model_ !=
nullptr) _impl_.model_->Clear();
9432 ClearHasBit(_impl_._has_bits_[0],
9435inline const ::operations_research::MPModelProto& MPModelRequest::_internal_model()
const {
9436 ::google::protobuf::internal::TSanRead(&_impl_);
9437 const ::operations_research::MPModelProto* p =
_impl_.model_;
9440inline const ::operations_research::MPModelProto&
MPModelRequest::model() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
9442 return _internal_model();
9446 ::google::protobuf::internal::TSanWrite(&_impl_);
9447 if (GetArena() ==
nullptr) {
9448 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.model_);
9451 if (value !=
nullptr) {
9452 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9454 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9459 ::google::protobuf::internal::TSanWrite(&_impl_);
9461 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9463 _impl_.model_ =
nullptr;
9464 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9465 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9466 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9467 if (GetArena() ==
nullptr) {
9471 if (GetArena() !=
nullptr) {
9472 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9478 ::google::protobuf::internal::TSanWrite(&_impl_);
9481 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9482 ::operations_research::MPModelProto* temp = _impl_.model_;
9483 _impl_.model_ =
nullptr;
9486inline ::operations_research::MPModelProto* PROTOBUF_NONNULL MPModelRequest::_internal_mutable_model() {
9487 ::google::protobuf::internal::TSanWrite(&_impl_);
9489 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPModelProto>(GetArena());
9492 return _impl_.model_;
9495 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9496 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9502 ::google::protobuf::Arena* message_arena = GetArena();
9503 ::google::protobuf::internal::TSanWrite(&
_impl_);
9504 if (message_arena ==
nullptr) {
9505 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.model_);
9508 if (value !=
nullptr) {
9509 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9510 if (message_arena != submessage_arena) {
9511 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9513 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9515 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
9518 _impl_.model_ =
reinterpret_cast<::operations_research::MPModelProto*
>(value);
9524 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000080U);
9528 ::google::protobuf::internal::TSanWrite(&_impl_);
9529 _impl_.solver_type_ = 2;
9530 ClearHasBit(_impl_._has_bits_[0],
9535 return _internal_solver_type();
9538 _internal_set_solver_type(value);
9539 SetHasBit(
_impl_._has_bits_[0], 0x00000080U);
9542inline ::operations_research::MPModelRequest_SolverType MPModelRequest::_internal_solver_type()
const {
9543 ::google::protobuf::internal::TSanRead(&_impl_);
9547 ::google::protobuf::internal::TSanWrite(&_impl_);
9549 assert(::google::protobuf::internal::ValidateEnum(
9551 _impl_.solver_type_ = value;
9556 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
9560 ::google::protobuf::internal::TSanWrite(&_impl_);
9561 _impl_.solver_time_limit_seconds_ = 0;
9562 ClearHasBit(_impl_._has_bits_[0],
9567 return _internal_solver_time_limit_seconds();
9570 _internal_set_solver_time_limit_seconds(value);
9571 SetHasBit(
_impl_._has_bits_[0], 0x00000008U);
9574inline double MPModelRequest::_internal_solver_time_limit_seconds()
const {
9575 ::google::protobuf::internal::TSanRead(&_impl_);
9576 return _impl_.solver_time_limit_seconds_;
9578inline void MPModelRequest::_internal_set_solver_time_limit_seconds(
double value) {
9579 ::google::protobuf::internal::TSanWrite(&_impl_);
9580 _impl_.solver_time_limit_seconds_ = value;
9585 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
9589 ::google::protobuf::internal::TSanWrite(&_impl_);
9590 _impl_.enable_internal_solver_output_ =
false;
9591 ClearHasBit(_impl_._has_bits_[0],
9596 return _internal_enable_internal_solver_output();
9599 _internal_set_enable_internal_solver_output(value);
9600 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
9603inline bool MPModelRequest::_internal_enable_internal_solver_output()
const {
9604 ::google::protobuf::internal::TSanRead(&
_impl_);
9605 return _impl_.enable_internal_solver_output_;
9607inline void MPModelRequest::_internal_set_enable_internal_solver_output(
bool value) {
9608 ::google::protobuf::internal::TSanWrite(&_impl_);
9609 _impl_.enable_internal_solver_output_ = value;
9614 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
9618 ::google::protobuf::internal::TSanWrite(&_impl_);
9619 _impl_.solver_specific_parameters_.ClearToEmpty();
9620 ClearHasBit(_impl_._has_bits_[0],
9624 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9626 return _internal_solver_specific_parameters();
9628template <
typename Arg_,
typename... Args_>
9630 ::google::protobuf::internal::TSanWrite(&
_impl_);
9631 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
9632 _impl_.solver_specific_parameters_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
9636 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9637 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
9638 ::std::string* _s = _internal_mutable_solver_specific_parameters();
9642inline const ::std::string& MPModelRequest::_internal_solver_specific_parameters()
const {
9643 ::google::protobuf::internal::TSanRead(&
_impl_);
9644 return _impl_.solver_specific_parameters_.Get();
9646inline void MPModelRequest::_internal_set_solver_specific_parameters(const ::std::string& value) {
9647 ::google::protobuf::internal::TSanWrite(&_impl_);
9648 _impl_.solver_specific_parameters_.Set(value, GetArena());
9650inline ::std::string* PROTOBUF_NONNULL MPModelRequest::_internal_mutable_solver_specific_parameters() {
9651 ::google::protobuf::internal::TSanWrite(&_impl_);
9652 return _impl_.solver_specific_parameters_.Mutable( GetArena());
9655 ::google::protobuf::internal::TSanWrite(&_impl_);
9657 if (!CheckHasBit(
_impl_._has_bits_[0], 0x00000001U)) {
9660 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
9661 auto* released =
_impl_.solver_specific_parameters_.Release();
9662 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
9663 _impl_.solver_specific_parameters_.Set(
"", GetArena());
9668 ::google::protobuf::internal::TSanWrite(&
_impl_);
9669 if (value !=
nullptr) {
9670 SetHasBit(
_impl_._has_bits_[0], 0x00000001U);
9672 ClearHasBit(
_impl_._has_bits_[0], 0x00000001U);
9674 _impl_.solver_specific_parameters_.SetAllocated(value, GetArena());
9675 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.solver_specific_parameters_.IsDefault()) {
9676 _impl_.solver_specific_parameters_.Set(
"", GetArena());
9683 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
9687 ::google::protobuf::internal::TSanWrite(&_impl_);
9688 _impl_.ignore_solver_specific_parameters_failure_ =
false;
9689 ClearHasBit(_impl_._has_bits_[0],
9694 return _internal_ignore_solver_specific_parameters_failure();
9697 _internal_set_ignore_solver_specific_parameters_failure(value);
9698 SetHasBit(
_impl_._has_bits_[0], 0x00000020U);
9701inline bool MPModelRequest::_internal_ignore_solver_specific_parameters_failure()
const {
9702 ::google::protobuf::internal::TSanRead(&_impl_);
9703 return _impl_.ignore_solver_specific_parameters_failure_;
9705inline void MPModelRequest::_internal_set_ignore_solver_specific_parameters_failure(
bool value) {
9706 ::google::protobuf::internal::TSanWrite(&_impl_);
9707 _impl_.ignore_solver_specific_parameters_failure_ = value;
9712 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000004U);
9713 PROTOBUF_ASSUME(!value ||
_impl_.model_delta_ !=
nullptr);
9717 ::google::protobuf::internal::TSanWrite(&_impl_);
9718 if (_impl_.model_delta_ !=
nullptr) _impl_.model_delta_->Clear();
9719 ClearHasBit(_impl_._has_bits_[0],
9722inline const ::operations_research::MPModelDeltaProto& MPModelRequest::_internal_model_delta()
const {
9723 ::google::protobuf::internal::TSanRead(&_impl_);
9724 const ::operations_research::MPModelDeltaProto* p = _impl_.model_delta_;
9729 return _internal_model_delta();
9733 ::google::protobuf::internal::TSanWrite(&_impl_);
9734 if (GetArena() ==
nullptr) {
9735 delete reinterpret_cast<::google::protobuf::MessageLite*
>(_impl_.model_delta_);
9738 if (value !=
nullptr) {
9739 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
9741 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9746 ::google::protobuf::internal::TSanWrite(&_impl_);
9748 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9749 ::operations_research::MPModelDeltaProto* released = _impl_.model_delta_;
9750 _impl_.model_delta_ =
nullptr;
9751 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
9752 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
9753 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9754 if (GetArena() ==
nullptr) {
9758 if (GetArena() !=
nullptr) {
9759 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
9765 ::google::protobuf::internal::TSanWrite(&_impl_);
9768 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9769 ::operations_research::MPModelDeltaProto* temp = _impl_.model_delta_;
9770 _impl_.model_delta_ =
nullptr;
9773inline ::operations_research::MPModelDeltaProto* PROTOBUF_NONNULL MPModelRequest::_internal_mutable_model_delta() {
9774 ::google::protobuf::internal::TSanWrite(&_impl_);
9776 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPModelDeltaProto>(GetArena());
9779 return _impl_.model_delta_;
9782 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9783 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
9789 ::google::protobuf::Arena* message_arena = GetArena();
9790 ::google::protobuf::internal::TSanWrite(&
_impl_);
9791 if (message_arena ==
nullptr) {
9792 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.model_delta_);
9795 if (value !=
nullptr) {
9796 ::google::protobuf::Arena* submessage_arena = value->GetArena();
9797 if (message_arena != submessage_arena) {
9798 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
9800 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
9802 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
9805 _impl_.model_delta_ =
reinterpret_cast<::operations_research::MPModelDeltaProto*
>(value);
9811 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000040U);
9815 ::google::protobuf::internal::TSanWrite(&_impl_);
9816 _impl_.populate_additional_solutions_up_to_ = 0;
9817 ClearHasBit(_impl_._has_bits_[0],
9822 return _internal_populate_additional_solutions_up_to();
9825 _internal_set_populate_additional_solutions_up_to(value);
9826 SetHasBit(
_impl_._has_bits_[0], 0x00000040U);
9829inline ::int32_t MPModelRequest::_internal_populate_additional_solutions_up_to()
const {
9830 ::google::protobuf::internal::TSanRead(&_impl_);
9831 return _impl_.populate_additional_solutions_up_to_;
9833inline void MPModelRequest::_internal_set_populate_additional_solutions_up_to(::int32_t value) {
9834 ::google::protobuf::internal::TSanWrite(&_impl_);
9835 _impl_.populate_additional_solutions_up_to_ = value;
9844 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
9848 ::google::protobuf::internal::TSanWrite(&_impl_);
9849 _impl_.objective_value_ = 0;
9850 ClearHasBit(_impl_._has_bits_[0],
9855 return _internal_objective_value();
9858 _internal_set_objective_value(value);
9859 SetHasBit(
_impl_._has_bits_[0], 0x00000002U);
9862inline double MPSolution::_internal_objective_value()
const {
9863 ::google::protobuf::internal::TSanRead(&_impl_);
9866inline void MPSolution::_internal_set_objective_value(
double value) {
9867 ::google::protobuf::internal::TSanWrite(&_impl_);
9872inline int MPSolution::_internal_variable_value_size()
const {
9873 return _internal_variable_value().size();
9876 return _internal_variable_value_size();
9879 ::google::protobuf::internal::TSanWrite(&_impl_);
9880 _impl_.variable_value_.Clear();
9881 ClearHasBitForRepeated(_impl_._has_bits_[0],
9886 return _internal_variable_value().Get(index);
9889 _internal_mutable_variable_value()->Set(index, value);
9893 ::google::protobuf::internal::TSanWrite(&
_impl_);
9894 _internal_mutable_variable_value()->Add(value);
9895 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
9899 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9901 return _internal_variable_value();
9904 ABSL_ATTRIBUTE_LIFETIME_BOUND {
9905 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
9907 ::google::protobuf::internal::TSanWrite(&_impl_);
9908 return _internal_mutable_variable_value();
9910inline const ::google::protobuf::RepeatedField<double>&
9911MPSolution::_internal_variable_value()
const {
9912 ::google::protobuf::internal::TSanRead(&_impl_);
9913 return _impl_.variable_value_;
9915inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
9916MPSolution::_internal_mutable_variable_value() {
9917 ::google::protobuf::internal::TSanRead(&_impl_);
9918 return &_impl_.variable_value_;
9927 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000001U);
9931 ::google::protobuf::internal::TSanWrite(&_impl_);
9932 _impl_.solve_wall_time_seconds_ = 0;
9938 return _internal_solve_wall_time_seconds();
9941 _internal_set_solve_wall_time_seconds(value);
9942 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
9945inline double MPSolveInfo::_internal_solve_wall_time_seconds()
const {
9946 ::google::protobuf::internal::TSanRead(&_impl_);
9947 return _impl_.solve_wall_time_seconds_;
9949inline void MPSolveInfo::_internal_set_solve_wall_time_seconds(
double value) {
9950 ::google::protobuf::internal::TSanWrite(&_impl_);
9951 _impl_.solve_wall_time_seconds_ = value;
9956 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
9960 ::google::protobuf::internal::TSanWrite(&_impl_);
9961 _impl_.solve_user_time_seconds_ = 0;
9962 ClearHasBit(_impl_._has_bits_[0],
9967 return _internal_solve_user_time_seconds();
9970 _internal_set_solve_user_time_seconds(value);
9971 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
9974inline double MPSolveInfo::_internal_solve_user_time_seconds()
const {
9975 ::google::protobuf::internal::TSanRead(&_impl_);
9978inline void MPSolveInfo::_internal_set_solve_user_time_seconds(
double value) {
9979 ::google::protobuf::internal::TSanWrite(&_impl_);
9980 _impl_.solve_user_time_seconds_ = value;
9989 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000200U);
9993 ::google::protobuf::internal::TSanWrite(&_impl_);
9994 _impl_.status_ = 99;
9995 ClearHasBit(_impl_._has_bits_[0],
10000 return _internal_status();
10003 _internal_set_status(value);
10004 SetHasBit(_impl_._has_bits_[0], 0x00000200U);
10007inline ::operations_research::MPSolverResponseStatus MPSolutionResponse::_internal_status()
const {
10008 ::google::protobuf::internal::TSanRead(&_impl_);
10012 ::google::protobuf::internal::TSanWrite(&
_impl_);
10014 assert(::google::protobuf::internal::ValidateEnum(
10021 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
10025 ::google::protobuf::internal::TSanWrite(&_impl_);
10026 _impl_.status_str_.ClearToEmpty();
10027 ClearHasBit(_impl_._has_bits_[0],
10031 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10033 return _internal_status_str();
10035template <
typename Arg_,
typename... Args_>
10037 ::google::protobuf::internal::TSanWrite(&
_impl_);
10038 SetHasBit(
_impl_._has_bits_[0], 0x00000010U);
10039 _impl_.status_str_.Set(
static_cast<Arg_&&
>(arg), args..., GetArena());
10043 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10044 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
10045 ::std::string* _s = _internal_mutable_status_str();
10049inline const ::std::string& MPSolutionResponse::_internal_status_str()
const {
10050 ::google::protobuf::internal::TSanRead(&
_impl_);
10051 return _impl_.status_str_.Get();
10053inline void MPSolutionResponse::_internal_set_status_str(const ::std::string& value) {
10054 ::google::protobuf::internal::TSanWrite(&_impl_);
10055 _impl_.status_str_.Set(value, GetArena());
10057inline ::std::string* PROTOBUF_NONNULL MPSolutionResponse::_internal_mutable_status_str() {
10058 ::google::protobuf::internal::TSanWrite(&_impl_);
10059 return _impl_.status_str_.Mutable( GetArena());
10062 ::google::protobuf::internal::TSanWrite(&_impl_);
10064 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000010U)) {
10068 auto* released =
_impl_.status_str_.Release();
10069 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
10070 _impl_.status_str_.Set(
"", GetArena());
10075 ::google::protobuf::internal::TSanWrite(&_impl_);
10076 if (value !=
nullptr) {
10079 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
10081 _impl_.status_str_.SetAllocated(value, GetArena());
10082 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.status_str_.IsDefault()) {
10090 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000080U);
10094 ::google::protobuf::internal::TSanWrite(&_impl_);
10095 _impl_.objective_value_ = 0;
10096 ClearHasBit(_impl_._has_bits_[0],
10101 return _internal_objective_value();
10104 _internal_set_objective_value(value);
10105 SetHasBit(_impl_._has_bits_[0], 0x00000080U);
10108inline double MPSolutionResponse::_internal_objective_value()
const {
10109 ::google::protobuf::internal::TSanRead(&
_impl_);
10110 return _impl_.objective_value_;
10112inline void MPSolutionResponse::_internal_set_objective_value(
double value) {
10113 ::google::protobuf::internal::TSanWrite(&_impl_);
10114 _impl_.objective_value_ = value;
10119 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000100U);
10123 ::google::protobuf::internal::TSanWrite(&_impl_);
10124 _impl_.best_objective_bound_ = 0;
10125 ClearHasBit(_impl_._has_bits_[0],
10130 return _internal_best_objective_bound();
10133 _internal_set_best_objective_bound(value);
10134 SetHasBit(_impl_._has_bits_[0], 0x00000100U);
10137inline double MPSolutionResponse::_internal_best_objective_bound()
const {
10138 ::google::protobuf::internal::TSanRead(&_impl_);
10139 return _impl_.best_objective_bound_;
10141inline void MPSolutionResponse::_internal_set_best_objective_bound(
double value) {
10142 ::google::protobuf::internal::TSanWrite(&_impl_);
10143 _impl_.best_objective_bound_ = value;
10147inline int MPSolutionResponse::_internal_variable_value_size()
const {
10148 return _internal_variable_value().size();
10151 return _internal_variable_value_size();
10154 ::google::protobuf::internal::TSanWrite(&_impl_);
10155 _impl_.variable_value_.Clear();
10156 ClearHasBitForRepeated(_impl_._has_bits_[0],
10161 return _internal_variable_value().Get(index);
10164 _internal_mutable_variable_value()->Set(index, value);
10168 ::google::protobuf::internal::TSanWrite(&_impl_);
10169 _internal_mutable_variable_value()->Add(value);
10170 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
10174 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10176 return _internal_variable_value();
10179 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10180 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000001U);
10182 ::google::protobuf::internal::TSanWrite(&
_impl_);
10183 return _internal_mutable_variable_value();
10185inline const ::google::protobuf::RepeatedField<double>&
10186MPSolutionResponse::_internal_variable_value()
const {
10187 ::google::protobuf::internal::TSanRead(&_impl_);
10188 return _impl_.variable_value_;
10190inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
10191MPSolutionResponse::_internal_mutable_variable_value() {
10192 ::google::protobuf::internal::TSanRead(&_impl_);
10193 return &_impl_.variable_value_;
10198 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000040U);
10199 PROTOBUF_ASSUME(!value ||
_impl_.solve_info_ !=
nullptr);
10203 ::google::protobuf::internal::TSanWrite(&_impl_);
10204 if (_impl_.solve_info_ !=
nullptr) _impl_.solve_info_->Clear();
10205 ClearHasBit(_impl_._has_bits_[0],
10208inline const ::operations_research::MPSolveInfo& MPSolutionResponse::_internal_solve_info()
const {
10209 ::google::protobuf::internal::TSanRead(&_impl_);
10210 const ::operations_research::MPSolveInfo* p =
_impl_.solve_info_;
10215 return _internal_solve_info();
10219 ::google::protobuf::internal::TSanWrite(&_impl_);
10220 if (GetArena() ==
nullptr) {
10221 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_info_);
10224 if (value !=
nullptr) {
10227 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
10232 ::google::protobuf::internal::TSanWrite(&_impl_);
10234 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
10235 ::operations_research::MPSolveInfo* released = _impl_.solve_info_;
10236 _impl_.solve_info_ =
nullptr;
10237 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
10238 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
10239 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
10240 if (GetArena() ==
nullptr) {
10244 if (GetArena() !=
nullptr) {
10245 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
10251 ::google::protobuf::internal::TSanWrite(&_impl_);
10254 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
10256 _impl_.solve_info_ =
nullptr;
10259inline ::operations_research::MPSolveInfo* PROTOBUF_NONNULL MPSolutionResponse::_internal_mutable_solve_info() {
10260 ::google::protobuf::internal::TSanWrite(&
_impl_);
10261 if (
_impl_.solve_info_ ==
nullptr) {
10262 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::MPSolveInfo>(GetArena());
10265 return _impl_.solve_info_;
10268 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10269 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
10275 ::google::protobuf::Arena* message_arena = GetArena();
10276 ::google::protobuf::internal::TSanWrite(&_impl_);
10277 if (message_arena ==
nullptr) {
10278 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.solve_info_);
10281 if (value !=
nullptr) {
10282 ::google::protobuf::Arena* submessage_arena = value->GetArena();
10283 if (message_arena != submessage_arena) {
10284 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
10286 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
10288 ClearHasBit(_impl_._has_bits_[0], 0x00000040U);
10291 _impl_.solve_info_ =
reinterpret_cast<::operations_research::MPSolveInfo*
>(value);
10297 bool value = CheckHasBit(
_impl_._has_bits_[0], 0x00000020U);
10301 ::google::protobuf::internal::TSanWrite(&_impl_);
10302 _impl_.solver_specific_info_.ClearToEmpty();
10303 ClearHasBit(_impl_._has_bits_[0],
10307 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10309 return _internal_solver_specific_info();
10311template <
typename Arg_,
typename... Args_>
10313 ::google::protobuf::internal::TSanWrite(&_impl_);
10315 _impl_.solver_specific_info_.SetBytes(
static_cast<Arg_&&
>(arg), args..., GetArena());
10319 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10320 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
10321 ::std::string* _s = _internal_mutable_solver_specific_info();
10325inline const ::std::string& MPSolutionResponse::_internal_solver_specific_info()
const {
10326 ::google::protobuf::internal::TSanRead(&_impl_);
10327 return _impl_.solver_specific_info_.Get();
10329inline void MPSolutionResponse::_internal_set_solver_specific_info(const ::std::string& value) {
10330 ::google::protobuf::internal::TSanWrite(&_impl_);
10331 _impl_.solver_specific_info_.Set(value, GetArena());
10333inline ::std::string* PROTOBUF_NONNULL MPSolutionResponse::_internal_mutable_solver_specific_info() {
10334 ::google::protobuf::internal::TSanWrite(&_impl_);
10335 return _impl_.solver_specific_info_.Mutable( GetArena());
10338 ::google::protobuf::internal::TSanWrite(&_impl_);
10340 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000020U)) {
10344 auto* released =
_impl_.solver_specific_info_.Release();
10345 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
10346 _impl_.solver_specific_info_.Set(
"", GetArena());
10351 ::google::protobuf::internal::TSanWrite(&_impl_);
10352 if (value !=
nullptr) {
10355 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
10357 _impl_.solver_specific_info_.SetAllocated(value, GetArena());
10358 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.solver_specific_info_.IsDefault()) {
10359 _impl_.solver_specific_info_.Set(
"", GetArena());
10365inline int MPSolutionResponse::_internal_dual_value_size()
const {
10366 return _internal_dual_value().size();
10369 return _internal_dual_value_size();
10372 ::google::protobuf::internal::TSanWrite(&_impl_);
10373 _impl_.dual_value_.Clear();
10374 ClearHasBitForRepeated(_impl_._has_bits_[0],
10379 return _internal_dual_value().Get(index);
10382 _internal_mutable_dual_value()->Set(index, value);
10386 ::google::protobuf::internal::TSanWrite(&_impl_);
10387 _internal_mutable_dual_value()->Add(value);
10388 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
10392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10394 return _internal_dual_value();
10397 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10398 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000002U);
10400 ::google::protobuf::internal::TSanWrite(&
_impl_);
10401 return _internal_mutable_dual_value();
10403inline const ::google::protobuf::RepeatedField<double>&
10404MPSolutionResponse::_internal_dual_value()
const {
10405 ::google::protobuf::internal::TSanRead(&_impl_);
10406 return _impl_.dual_value_;
10408inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
10409MPSolutionResponse::_internal_mutable_dual_value() {
10410 ::google::protobuf::internal::TSanRead(&_impl_);
10411 return &_impl_.dual_value_;
10415inline int MPSolutionResponse::_internal_reduced_cost_size()
const {
10416 return _internal_reduced_cost().size();
10419 return _internal_reduced_cost_size();
10422 ::google::protobuf::internal::TSanWrite(&_impl_);
10423 _impl_.reduced_cost_.Clear();
10429 return _internal_reduced_cost().Get(index);
10432 _internal_mutable_reduced_cost()->Set(index, value);
10436 ::google::protobuf::internal::TSanWrite(&_impl_);
10437 _internal_mutable_reduced_cost()->Add(value);
10438 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000004U);
10442 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10444 return _internal_reduced_cost();
10447 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10448 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
10450 ::google::protobuf::internal::TSanWrite(&_impl_);
10451 return _internal_mutable_reduced_cost();
10453inline const ::google::protobuf::RepeatedField<double>&
10454MPSolutionResponse::_internal_reduced_cost()
const {
10455 ::google::protobuf::internal::TSanRead(&_impl_);
10456 return _impl_.reduced_cost_;
10458inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
10459MPSolutionResponse::_internal_mutable_reduced_cost() {
10460 ::google::protobuf::internal::TSanRead(&_impl_);
10461 return &_impl_.reduced_cost_;
10465inline int MPSolutionResponse::_internal_additional_solutions_size()
const {
10466 return _internal_additional_solutions().size();
10469 return _internal_additional_solutions_size();
10472 ::google::protobuf::internal::TSanWrite(&_impl_);
10473 _impl_.additional_solutions_.Clear();
10478 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10480 return _internal_mutable_additional_solutions()->Mutable(index);
10483 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10484 SetHasBitForRepeated(
_impl_._has_bits_[0], 0x00000008U);
10486 ::google::protobuf::internal::TSanWrite(&
_impl_);
10487 return _internal_mutable_additional_solutions();
10490 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10492 return _internal_additional_solutions().Get(index);
10495 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10496 ::google::protobuf::internal::TSanWrite(&_impl_);
10498 _internal_mutable_additional_solutions()->InternalAddWithArena(
10499 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
10500 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
10505 ABSL_ATTRIBUTE_LIFETIME_BOUND {
10507 return _internal_additional_solutions();
10509inline const ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>&
10510MPSolutionResponse::_internal_additional_solutions()
const {
10511 ::google::protobuf::internal::TSanRead(&_impl_);
10512 return _impl_.additional_solutions_;
10514inline ::google::protobuf::RepeatedPtrField<::operations_research::MPSolution>* PROTOBUF_NONNULL
10515MPSolutionResponse::_internal_mutable_additional_solutions() {
10516 ::google::protobuf::internal::TSanRead(&
_impl_);
10517 return &
_impl_.additional_solutions_;
10521#pragma GCC diagnostic pop
10529namespace protobuf {
10534inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPSosConstraint_Type>() {
10535 return ::operations_research::MPSosConstraint_Type_descriptor();
10540inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPModelProto_Annotation_TargetType>() {
10541 return ::operations_research::MPModelProto_Annotation_TargetType_descriptor();
10546inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPSolverCommonParameters_LPAlgorithmValues>() {
10547 return ::operations_research::MPSolverCommonParameters_LPAlgorithmValues_descriptor();
10552inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPModelRequest_SolverType>() {
10553 return ::operations_research::MPModelRequest_SolverType_descriptor();
10558inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::MPSolverResponseStatus>() {
10559 return ::operations_research::MPSolverResponseStatus_descriptor();
10567#include "google/protobuf/port_undef.inc"
void UnsafeArenaSwap(MPAbsConstraint *PROTOBUF_NONNULL other)
::size_t ByteSizeLong() const final
void CopyFrom(const MPAbsConstraint &from)
bool has_resultant_var_index() const
::int32_t resultant_var_index() const
bool has_var_index() const
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)
MPAbsConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
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()
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::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
friend void swap(MPArrayConstraint &a, MPArrayConstraint &b)
bool has_resultant_var_index() const
void set_var_index(int index, ::int32_t value)
int var_index_size() const
::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
::google::protobuf::RepeatedField<::int32_t > *PROTOBUF_NONNULL mutable_var_index()
bool has_constant() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void MergeFrom(const MPArrayWithConstantConstraint &from)
bool has_resultant_var_index() const
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
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
const ::std::string & name() const
const ::google::protobuf::RepeatedField< double > & coefficient() const
void MergeFrom(const MPConstraintProto &from)
int var_index_size() const
void set_lower_bound(double value)
void Swap(MPConstraintProto *PROTOBUF_NONNULL other)
int coefficient_size() const
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
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)
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
void set_allocated_abs_constraint(::operations_research::MPAbsConstraint *PROTOBUF_NULLABLE value)
bool has_min_constraint() const
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 *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
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()
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()
void set_allocated_quadratic_constraint(::operations_research::MPQuadraticConstraint *PROTOBUF_NULLABLE value)
bool has_sos_constraint() const
bool has_indicator_constraint() const
::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
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::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
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
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)
::operations_research::MPConstraintProto *PROTOBUF_NULLABLE release_constraint()
void unsafe_arena_set_allocated_constraint(::operations_research::MPConstraintProto *PROTOBUF_NULLABLE value)
::operations_research::MPConstraintProto *PROTOBUF_NONNULL mutable_constraint()
MPIndicatorConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::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
::google::protobuf::Metadata GetMetadata() const
MPIndicatorConstraint & operator=(const MPIndicatorConstraint &from)
bool has_var_index() const
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()
::size_t ByteSizeLong() const final
MPModelDeltaProto & operator=(const MPModelDeltaProto &from)
const ::std::string & baseline_model_file_path() const
int constraint_overrides_size() const
void set_allocated_baseline_model_file_path(::std::string *PROTOBUF_NULLABLE value)
MPModelDeltaProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
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
void clear_variable_overrides()
int variable_overrides_size() const
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
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
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
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()
bool has_payload_key() const
::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 const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL TargetType_descriptor()
bool has_target_index() const
bool has_target_name() const
MPModelProto_Annotation_TargetType TargetType
void set_allocated_target_name(::std::string *PROTOBUF_NULLABLE value)
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)
bool has_objective_offset() const
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
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
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
::std::string *PROTOBUF_NONNULL mutable_name()
int annotation_size() const
::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
::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
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()
::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
void unsafe_arena_set_allocated_quadratic_objective(::operations_research::MPQuadraticObjective *PROTOBUF_NULLABLE value)
bool has_solution_hint() const
static constexpr int kIndexInFileMessages
const ::google::protobuf::RepeatedPtrField<::operations_research::MPVariableProto > & variable() const
void clear_quadratic_objective()
bool has_maximize() const
::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
double objective_offset() const
MPModelRequest *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
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
::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
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 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
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
void Swap(MPModelRequest *PROTOBUF_NONNULL other)
bool has_ignore_solver_specific_parameters_failure() const
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
::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
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
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
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
int qvar2_index_size() const
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
int var_index_size() const
void set_upper_bound(double value)
int coefficient_size() const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_qcoefficient()
void add_qvar2_index(::int32_t value)
::int32_t var_index(int index) const
double upper_bound() const
bool has_upper_bound() const
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
::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)
::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()
::int32_t qvar1_index(int index) const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
int qvar1_index_size() const
void add_coefficient(double value)
int qvar2_index_size() const
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_coefficient()
void set_qvar1_index(int index, ::int32_t value)
::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
::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
static const MPQuadraticObjective & default_instance()
void add_qvar2_index(::int32_t value)
void UnsafeArenaSwap(MPQuadraticObjective *PROTOBUF_NONNULL other)
MPQuadraticObjective *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void add_qvar1_index(::int32_t value)
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
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
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
::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
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
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()
bool has_status_str() const
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
bool IsInitialized() const
void set_allocated_solver_specific_info(::std::string *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
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
int variable_value_size() const
bool has_solve_info() const
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
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)
void Swap(MPSolution *PROTOBUF_NONNULL other)
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
static constexpr int kIndexInFileMessages
friend void swap(MPSolution &a, MPSolution &b)
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
double objective_value() const
static const MPSolution & default_instance()
void Swap(MPSolveInfo *PROTOBUF_NONNULL other)
bool has_solve_wall_time_seconds() const
double solve_user_time_seconds() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void clear_solve_user_time_seconds()
::size_t ByteSizeLong() const final
MPSolveInfo *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::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
bool IsInitialized() const
double solve_wall_time_seconds() const
static const MPSolveInfo & default_instance()
void set_solve_user_time_seconds(double value)
void clear_solve_wall_time_seconds()
MPSolveInfo & operator=(const MPSolveInfo &from)
void MergeFrom(const MPSolveInfo &from)
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
::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
void set_lp_algorithm(::operations_research::MPSolverCommonParameters_LPAlgorithmValues value)
void clear_relative_mip_gap()
bool has_primal_tolerance() const
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()
::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)
MPSolverCommonParameters_LPAlgorithmValues LPAlgorithmValues
bool has_relative_mip_gap() const
bool has_presolve() const
bool has_dual_tolerance() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
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
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
double weight(int index) const
::operations_research::MPSosConstraint_Type type() const
void add_weight(double value)
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
static const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL Type_descriptor()
static constexpr int Type_ARRAYSIZE
MPSosConstraint_Type Type
static constexpr Type Type_MIN
void MergeFrom(const MPSosConstraint &from)
::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)
void Swap(MPSosConstraint *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_weight()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void set_type(::operations_research::MPSosConstraint_Type value)
bool IsInitialized() const
int var_index_size() const
void set_var_index(int index, ::int32_t value)
::size_t ByteSizeLong() const final
::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
::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
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
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
MPVariableProto & operator=(const MPVariableProto &from)
bool has_branching_priority() const
double upper_bound() const
friend void swap(MPVariableProto &a, MPVariableProto &b)
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
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
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
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
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
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()
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_