6#ifndef ortools_2fmath_5fopt_2fparameters_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fparameters_2eproto_2epb_2eh
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h"
30#include "google/protobuf/extension_set.h"
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
45#include "google/protobuf/port_def.inc"
47#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fparameters_2eproto OR_PROTO_DLL
90internal::EnumTraitsT<::operations_research::math_opt::EmphasisProto_internal_data_>
91 internal::EnumTraitsImpl::value<::operations_research::math_opt::EmphasisProto>;
93internal::EnumTraitsT<::operations_research::math_opt::LPAlgorithmProto_internal_data_>
94 internal::EnumTraitsImpl::value<::operations_research::math_opt::LPAlgorithmProto>;
96internal::EnumTraitsT<::operations_research::math_opt::SolverTypeProto_internal_data_>
97 internal::EnumTraitsImpl::value<::operations_research::math_opt::SolverTypeProto>;
118 ::std::numeric_limits<::int32_t>::min(),
120 ::std::numeric_limits<::int32_t>::max(),
129 return 0 <= value && value <= 13 && ((12287u >> value) & 1) != 0;
135 static_assert(::std::is_same<T, SolverTypeProto>::value ||
136 ::std::is_integral<T>::value,
137 "Incorrect type passed to SolverTypeProto_Name().");
142 return ::google::protobuf::internal::NameOfDenseEnum<SolverTypeProto_descriptor, 0, 13>(
143 static_cast<int>(value));
157 ::std::numeric_limits<::int32_t>::min(),
159 ::std::numeric_limits<::int32_t>::max(),
168 return 0 <= value && value <= 4;
174 static_assert(::std::is_same<T, LPAlgorithmProto>::value ||
175 ::std::is_integral<T>::value,
176 "Incorrect type passed to LPAlgorithmProto_Name().");
181 return ::google::protobuf::internal::NameOfDenseEnum<LPAlgorithmProto_descriptor, 0, 4>(
182 static_cast<int>(value));
197 ::std::numeric_limits<::int32_t>::min(),
199 ::std::numeric_limits<::int32_t>::max(),
208 return 0 <= value && value <= 5;
214 static_assert(::std::is_same<T, EmphasisProto>::value ||
215 ::std::is_integral<T>::value,
216 "Incorrect type passed to EmphasisProto_Name().");
221 return ::google::protobuf::internal::NameOfDenseEnum<EmphasisProto_descriptor, 0, 5>(
222 static_cast<int>(value));
225 ::absl::string_view name,
EmphasisProto* PROTOBUF_NONNULL value) {
235class OR_PROTO_DLL StrictnessProto final :
public ::google::protobuf::Message
241#if defined(PROTOBUF_CUSTOM_VTABLE)
242 void operator delete(
StrictnessProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
244 ::google::protobuf::internal::SizedDelete(msg,
sizeof(
StrictnessProto));
248 template <
typename =
void>
249 explicit PROTOBUF_CONSTEXPR
StrictnessProto(::google::protobuf::internal::ConstantInitialized);
259 if (
this == &from)
return *
this;
260 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
268 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
269 ABSL_ATTRIBUTE_LIFETIME_BOUND {
270 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
272 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
273 ABSL_ATTRIBUTE_LIFETIME_BOUND {
274 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
277 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
278 return GetDescriptor();
280 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
281 return default_instance().GetMetadata().descriptor;
283 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
284 return default_instance().GetMetadata().reflection;
290 static constexpr int kIndexInFileMessages = 0;
293 if (other ==
this)
return;
294 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
297 ::google::protobuf::internal::GenericSwap(
this, other);
300 void UnsafeArenaSwap(StrictnessProto* PROTOBUF_NONNULL other) {
301 if (other ==
this)
return;
302 ABSL_DCHECK(GetArena() == other->GetArena());
308 StrictnessProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
309 return ::google::protobuf::Message::DefaultConstruct<StrictnessProto>(arena);
311 using ::google::protobuf::Message::CopyFrom;
313 using ::google::protobuf::Message::MergeFrom;
314 void MergeFrom(
const StrictnessProto& from) { StrictnessProto::MergeImpl(*
this, from); }
317 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
318 const ::google::protobuf::MessageLite& from_msg);
324 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
325 #if defined(PROTOBUF_CUSTOM_VTABLE)
327 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
328 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
329 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
330 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
333 ::size_t ByteSizeLong()
const {
return ByteSizeLong(*
this); }
334 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
335 ::uint8_t* PROTOBUF_NONNULL target,
336 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
337 return _InternalSerialize(*
this, target, stream);
340 ::size_t ByteSizeLong() const final;
341 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
342 ::uint8_t* PROTOBUF_NONNULL target,
343 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
345 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
348 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
352 template <
typename T>
354 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.StrictnessProto"; }
357 explicit StrictnessProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
360 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
StrictnessProto&& from) noexcept
362 *
this = ::std::move(from);
364 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
365 static
void* PROTOBUF_NONNULL PlacementNew_(
366 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
367 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
368 static constexpr auto InternalNewImpl_();
371 static constexpr auto InternalGenerateClassData_();
373 ::
google::protobuf::Metadata GetMetadata() const;
378 kBadParameterFieldNumber = 1,
386 bool _internal_bad_parameter()
const;
387 void _internal_set_bad_parameter(
bool value);
393 friend class ::google::protobuf::internal::TcParser;
394 static const ::google::protobuf::internal::TcParseTable<0, 1,
399 friend class ::google::protobuf::MessageLite;
400 friend class ::google::protobuf::Arena;
401 template <
typename T>
402 friend class ::google::protobuf::Arena::InternalHelper;
403 using InternalArenaConstructable_ = void;
404 using DestructorSkippable_ = void;
406 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
407 inline explicit Impl_(
408 ::google::protobuf::internal::InternalVisibility visibility,
409 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
410 inline explicit Impl_(
411 ::google::protobuf::internal::InternalVisibility visibility,
412 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
414 ::google::protobuf::internal::HasBits<1> _has_bits_;
415 ::google::protobuf::internal::CachedSize _cached_size_;
417 PROTOBUF_TSAN_DECLARE_MEMBER
419 union { Impl_ _impl_; };
420 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
432#if defined(PROTOBUF_CUSTOM_VTABLE)
439 template <
typename =
void>
450 if (
this == &from)
return *
this;
451 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
459 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
460 ABSL_ATTRIBUTE_LIFETIME_BOUND {
461 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
463 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
464 ABSL_ATTRIBUTE_LIFETIME_BOUND {
465 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
468 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
469 return GetDescriptor();
471 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
GetDescriptor() {
474 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL
GetReflection() {
481 static constexpr int kIndexInFileMessages = 1;
483 inline void Swap(SolverInitializerProto* PROTOBUF_NONNULL other) {
484 if (other ==
this)
return;
485 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
488 ::google::protobuf::internal::GenericSwap(
this, other);
491 void UnsafeArenaSwap(SolverInitializerProto* PROTOBUF_NONNULL other) {
492 if (other ==
this)
return;
493 ABSL_DCHECK(GetArena() == other->GetArena());
499 SolverInitializerProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
500 return ::google::protobuf::Message::DefaultConstruct<SolverInitializerProto>(arena);
502 using ::google::protobuf::Message::CopyFrom;
504 using ::google::protobuf::Message::MergeFrom;
508 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
509 const ::google::protobuf::MessageLite& from_msg);
515 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
516 #if defined(PROTOBUF_CUSTOM_VTABLE)
518 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
520 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
521 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
525 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
526 ::uint8_t* PROTOBUF_NONNULL target,
527 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
528 return _InternalSerialize(*
this, target, stream);
531 ::size_t ByteSizeLong() const final;
532 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
533 ::uint8_t* PROTOBUF_NONNULL target,
534 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
536 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
539 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
543 template <
typename T>
545 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolverInitializerProto"; }
553 *
this = ::std::move(from);
555 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
556 static
void* PROTOBUF_NONNULL PlacementNew_(
557 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
558 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
559 static constexpr auto InternalNewImpl_();
562 static constexpr auto InternalGenerateClassData_();
564 ::
google::protobuf::Metadata GetMetadata() const;
569 kGurobiFieldNumber = 1,
574 const ::operations_research::math_opt::GurobiInitializerProto&
gurobi()
const;
582 const ::operations_research::math_opt::GurobiInitializerProto& _internal_gurobi()
const;
589 friend class ::google::protobuf::internal::TcParser;
590 static const ::google::protobuf::internal::TcParseTable<0, 1,
595 friend class ::google::protobuf::MessageLite;
596 friend class ::google::protobuf::Arena;
597 template <
typename T>
598 friend class ::google::protobuf::Arena::InternalHelper;
599 using InternalArenaConstructable_ = void;
600 using DestructorSkippable_ = void;
602 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
603 inline explicit Impl_(
604 ::google::protobuf::internal::InternalVisibility visibility,
605 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
606 inline explicit Impl_(
607 ::google::protobuf::internal::InternalVisibility visibility,
608 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
610 ::google::protobuf::internal::HasBits<1> _has_bits_;
611 ::google::protobuf::internal::CachedSize _cached_size_;
613 PROTOBUF_TSAN_DECLARE_MEMBER
615 union { Impl_ _impl_; };
616 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
628#if defined(PROTOBUF_CUSTOM_VTABLE)
635 template <
typename =
void>
636 explicit PROTOBUF_CONSTEXPR
SolveParametersProto(::google::protobuf::internal::ConstantInitialized);
639 inline SolveParametersProto(SolveParametersProto&& from) noexcept
646 if (
this == &from)
return *
this;
647 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
655 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
656 ABSL_ATTRIBUTE_LIFETIME_BOUND {
657 return _internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
660 ABSL_ATTRIBUTE_LIFETIME_BOUND {
661 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
664 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL
descriptor() {
667 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
670 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
680 if (other ==
this)
return;
681 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
684 ::google::protobuf::internal::GenericSwap(
this, other);
687 void UnsafeArenaSwap(SolveParametersProto* PROTOBUF_NONNULL other) {
688 if (other ==
this)
return;
689 ABSL_DCHECK(GetArena() == other->GetArena());
695 SolveParametersProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena =
nullptr)
const {
696 return ::google::protobuf::Message::DefaultConstruct<SolveParametersProto>(arena);
698 using ::google::protobuf::Message::CopyFrom;
700 using ::google::protobuf::Message::MergeFrom;
704 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
705 const ::google::protobuf::MessageLite& from_msg);
711 ABSL_ATTRIBUTE_REINITIALIZES
void Clear() PROTOBUF_FINAL;
712 #if defined(PROTOBUF_CUSTOM_VTABLE)
714 static ::size_t
ByteSizeLong(const ::google::protobuf::MessageLite& msg);
716 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
717 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
721 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
722 ::uint8_t* PROTOBUF_NONNULL target,
723 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
724 return _InternalSerialize(*
this, target, stream);
727 ::size_t ByteSizeLong() const final;
728 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
729 ::uint8_t* PROTOBUF_NONNULL target,
730 ::
google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
732 int GetCachedSize()
const {
return _impl_._cached_size_.Get(); }
735 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
739 template <
typename T>
741 static ::absl::string_view FullMessageName() {
return "operations_research.math_opt.SolveParametersProto"; }
749 *
this = ::std::move(from);
751 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
752 static
void* PROTOBUF_NONNULL PlacementNew_(
753 const
void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
754 ::
google::protobuf::Arena* PROTOBUF_NULLABLE arena);
755 static constexpr auto InternalNewImpl_();
758 static constexpr auto InternalGenerateClassData_();
760 ::
google::protobuf::Metadata GetMetadata() const;
765 kTimeLimitFieldNumber = 1,
766 kGscipFieldNumber = 12,
767 kGurobiFieldNumber = 13,
768 kGlopFieldNumber = 14,
795 const ::google::protobuf::Duration&
time_limit()
const;
803 const ::google::protobuf::Duration& _internal_time_limit()
const;
804 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_time_limit();
810 const ::operations_research::GScipParameters&
gscip()
const;
818 const ::operations_research::GScipParameters& _internal_gscip()
const;
825 const ::operations_research::math_opt::GurobiParametersProto&
gurobi()
const;
833 const ::operations_research::math_opt::GurobiParametersProto& _internal_gurobi()
const;
840 const ::operations_research::glop::GlopParameters&
glop()
const;
848 const ::operations_research::glop::GlopParameters& _internal_glop()
const;
855 const ::operations_research::sat::SatParameters&
cp_sat()
const;
863 const ::operations_research::sat::SatParameters& _internal_cp_sat()
const;
870 const ::operations_research::pdlp::PrimalDualHybridGradientParams&
pdlp()
const;
878 const ::operations_research::pdlp::PrimalDualHybridGradientParams& _internal_pdlp()
const;
885 const ::operations_research::math_opt::OsqpSettingsProto&
osqp()
const;
893 const ::operations_research::math_opt::OsqpSettingsProto& _internal_osqp()
const;
900 const ::operations_research::math_opt::GlpkParametersProto&
glpk()
const;
908 const ::operations_research::math_opt::GlpkParametersProto& _internal_glpk()
const;
915 const ::operations_research::math_opt::HighsOptionsProto&
highs()
const;
923 const ::operations_research::math_opt::HighsOptionsProto& _internal_highs()
const;
934 ::int64_t _internal_iteration_limit()
const;
935 void _internal_set_iteration_limit(::int64_t value);
944 bool _internal_enable_output()
const;
945 void _internal_set_enable_output(
bool value);
955 ::int32_t _internal_threads()
const;
956 void _internal_set_threads(::int32_t value);
966 ::int32_t _internal_random_seed()
const;
967 void _internal_set_random_seed(::int32_t value);
1027 double _internal_relative_gap_tolerance()
const;
1028 void _internal_set_relative_gap_tolerance(
double value);
1038 double _internal_absolute_gap_tolerance()
const;
1039 void _internal_set_absolute_gap_tolerance(
double value);
1049 double _internal_cutoff_limit()
const;
1050 void _internal_set_cutoff_limit(
double value);
1060 double _internal_objective_limit()
const;
1061 void _internal_set_objective_limit(
double value);
1071 double _internal_best_bound_limit()
const;
1072 void _internal_set_best_bound_limit(
double value);
1082 ::int64_t _internal_node_limit()
const;
1083 void _internal_set_node_limit(::int64_t value);
1093 ::int32_t _internal_solution_limit()
const;
1094 void _internal_set_solution_limit(::int32_t value);
1104 ::int32_t _internal_solution_pool_size()
const;
1105 void _internal_set_solution_pool_size(::int32_t value);
1111 friend class ::google::protobuf::internal::TcParser;
1112 static const ::google::protobuf::internal::TcParseTable<5, 26,
1117 friend class ::google::protobuf::MessageLite;
1118 friend class ::google::protobuf::Arena;
1119 template <
typename T>
1120 friend class ::google::protobuf::Arena::InternalHelper;
1121 using InternalArenaConstructable_ = void;
1122 using DestructorSkippable_ = void;
1124 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized)
noexcept;
1125 inline explicit Impl_(
1126 ::google::protobuf::internal::InternalVisibility visibility,
1127 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1128 inline explicit Impl_(
1129 ::google::protobuf::internal::InternalVisibility visibility,
1130 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1132 ::google::protobuf::internal::HasBits<1> _has_bits_;
1133 ::google::protobuf::internal::CachedSize _cached_size_;
1134 ::google::protobuf::Duration* PROTOBUF_NULLABLE time_limit_;
1143 ::int64_t iteration_limit_;
1144 bool enable_output_;
1146 ::int32_t random_seed_;
1152 double relative_gap_tolerance_;
1153 double absolute_gap_tolerance_;
1154 double cutoff_limit_;
1155 double objective_limit_;
1156 double best_bound_limit_;
1157 ::int64_t node_limit_;
1158 ::int32_t solution_limit_;
1159 ::int32_t solution_pool_size_;
1160 PROTOBUF_TSAN_DECLARE_MEMBER
1162 union { Impl_ _impl_; };
1163 friend struct ::TableStruct_ortools_2fmath_5fopt_2fparameters_2eproto;
1177#pragma GCC diagnostic push
1178#pragma GCC diagnostic ignored "-Wstrict-aliasing"
1186 ::google::protobuf::internal::TSanWrite(&
_impl_);
1187 _impl_.bad_parameter_ =
false;
1188 _impl_._has_bits_[0] &= ~0x00000001u;
1192 return _internal_bad_parameter();
1195 _internal_set_bad_parameter(value);
1196 _impl_._has_bits_[0] |= 0x00000001u;
1199inline bool StrictnessProto::_internal_bad_parameter()
const {
1200 ::google::protobuf::internal::TSanRead(&
_impl_);
1203inline void StrictnessProto::_internal_set_bad_parameter(
bool value) {
1204 ::google::protobuf::internal::TSanWrite(&
_impl_);
1205 _impl_.bad_parameter_ = value;
1214 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
1215 PROTOBUF_ASSUME(!value ||
_impl_.gurobi_ !=
nullptr);
1218inline const ::operations_research::math_opt::GurobiInitializerProto& SolverInitializerProto::_internal_gurobi()
const {
1219 ::google::protobuf::internal::TSanRead(&
_impl_);
1220 const ::operations_research::math_opt::GurobiInitializerProto* p =
_impl_.gurobi_;
1225 return _internal_gurobi();
1229 ::google::protobuf::internal::TSanWrite(&
_impl_);
1230 if (GetArena() ==
nullptr) {
1231 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.gurobi_);
1234 if (value !=
nullptr) {
1237 _impl_._has_bits_[0] &= ~0x00000001u;
1242 ::google::protobuf::internal::TSanWrite(&
_impl_);
1244 _impl_._has_bits_[0] &= ~0x00000001u;
1246 _impl_.gurobi_ =
nullptr;
1247 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1248 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
1249 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1250 if (GetArena() ==
nullptr) {
1254 if (GetArena() !=
nullptr) {
1255 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1261 ::google::protobuf::internal::TSanWrite(&
_impl_);
1264 _impl_._has_bits_[0] &= ~0x00000001u;
1265 ::operations_research::math_opt::GurobiInitializerProto* temp =
_impl_.gurobi_;
1266 _impl_.gurobi_ =
nullptr;
1269inline ::operations_research::math_opt::GurobiInitializerProto* PROTOBUF_NONNULL SolverInitializerProto::_internal_mutable_gurobi() {
1270 ::google::protobuf::internal::TSanWrite(&
_impl_);
1271 if (
_impl_.gurobi_ ==
nullptr) {
1272 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GurobiInitializerProto>(GetArena());
1278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1279 _impl_._has_bits_[0] |= 0x00000001u;
1286 ::google::protobuf::internal::TSanWrite(&
_impl_);
1287 if (message_arena ==
nullptr) {
1288 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.gurobi_);
1291 if (value !=
nullptr) {
1293 if (message_arena != submessage_arena) {
1294 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1296 _impl_._has_bits_[0] |= 0x00000001u;
1298 _impl_._has_bits_[0] &= ~0x00000001u;
1311 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
1312 PROTOBUF_ASSUME(!value ||
_impl_.time_limit_ !=
nullptr);
1315inline const ::google::protobuf::Duration& SolveParametersProto::_internal_time_limit()
const {
1316 ::google::protobuf::internal::TSanRead(&
_impl_);
1317 const ::google::protobuf::Duration* p =
_impl_.time_limit_;
1318 return p !=
nullptr ? *p :
reinterpret_cast<const ::google::protobuf::Duration&
>(::google::protobuf::_Duration_default_instance_);
1322 return _internal_time_limit();
1325 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
1326 ::google::protobuf::internal::TSanWrite(&
_impl_);
1327 if (GetArena() ==
nullptr) {
1328 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.time_limit_);
1330 _impl_.time_limit_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
1331 if (value !=
nullptr) {
1332 _impl_._has_bits_[0] |= 0x00000001u;
1334 _impl_._has_bits_[0] &= ~0x00000001u;
1339 ::google::protobuf::internal::TSanWrite(&
_impl_);
1341 _impl_._has_bits_[0] &= ~0x00000001u;
1342 ::google::protobuf::Duration* released =
_impl_.time_limit_;
1343 _impl_.time_limit_ =
nullptr;
1344 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1345 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
1346 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1347 if (GetArena() ==
nullptr) {
1351 if (GetArena() !=
nullptr) {
1352 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1358 ::google::protobuf::internal::TSanWrite(&
_impl_);
1361 _impl_._has_bits_[0] &= ~0x00000001u;
1362 ::google::protobuf::Duration* temp =
_impl_.time_limit_;
1363 _impl_.time_limit_ =
nullptr;
1366inline ::google::protobuf::Duration* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_time_limit() {
1367 ::google::protobuf::internal::TSanWrite(&
_impl_);
1368 if (
_impl_.time_limit_ ==
nullptr) {
1369 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
1370 _impl_.time_limit_ =
reinterpret_cast<::google::protobuf::Duration*
>(p);
1372 return _impl_.time_limit_;
1375 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1376 _impl_._has_bits_[0] |= 0x00000001u;
1377 ::google::protobuf::Duration* _msg = _internal_mutable_time_limit();
1382 ::google::protobuf::Arena* message_arena = GetArena();
1383 ::google::protobuf::internal::TSanWrite(&
_impl_);
1384 if (message_arena ==
nullptr) {
1385 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.time_limit_);
1388 if (value !=
nullptr) {
1389 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
1390 if (message_arena != submessage_arena) {
1391 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1393 _impl_._has_bits_[0] |= 0x00000001u;
1395 _impl_._has_bits_[0] &= ~0x00000001u;
1398 _impl_.time_limit_ =
reinterpret_cast<::google::protobuf::Duration*
>(value);
1404 bool value = (
_impl_._has_bits_[0] & 0x00000200u) != 0;
1408 ::google::protobuf::internal::TSanWrite(&
_impl_);
1409 _impl_.iteration_limit_ = ::int64_t{0};
1410 _impl_._has_bits_[0] &= ~0x00000200u;
1414 return _internal_iteration_limit();
1417 _internal_set_iteration_limit(value);
1418 _impl_._has_bits_[0] |= 0x00000200u;
1421inline ::int64_t SolveParametersProto::_internal_iteration_limit()
const {
1422 ::google::protobuf::internal::TSanRead(&
_impl_);
1423 return _impl_.iteration_limit_;
1425inline void SolveParametersProto::_internal_set_iteration_limit(::int64_t value) {
1426 ::google::protobuf::internal::TSanWrite(&
_impl_);
1427 _impl_.iteration_limit_ = value;
1432 bool value = (
_impl_._has_bits_[0] & 0x00800000u) != 0;
1436 ::google::protobuf::internal::TSanWrite(&
_impl_);
1437 _impl_.node_limit_ = ::int64_t{0};
1438 _impl_._has_bits_[0] &= ~0x00800000u;
1442 return _internal_node_limit();
1445 _internal_set_node_limit(value);
1446 _impl_._has_bits_[0] |= 0x00800000u;
1449inline ::int64_t SolveParametersProto::_internal_node_limit()
const {
1450 ::google::protobuf::internal::TSanRead(&
_impl_);
1451 return _impl_.node_limit_;
1453inline void SolveParametersProto::_internal_set_node_limit(::int64_t value) {
1454 ::google::protobuf::internal::TSanWrite(&
_impl_);
1455 _impl_.node_limit_ = value;
1460 bool value = (
_impl_._has_bits_[0] & 0x00100000u) != 0;
1464 ::google::protobuf::internal::TSanWrite(&
_impl_);
1465 _impl_.cutoff_limit_ = 0;
1466 _impl_._has_bits_[0] &= ~0x00100000u;
1470 return _internal_cutoff_limit();
1473 _internal_set_cutoff_limit(value);
1474 _impl_._has_bits_[0] |= 0x00100000u;
1477inline double SolveParametersProto::_internal_cutoff_limit()
const {
1478 ::google::protobuf::internal::TSanRead(&
_impl_);
1479 return _impl_.cutoff_limit_;
1481inline void SolveParametersProto::_internal_set_cutoff_limit(
double value) {
1482 ::google::protobuf::internal::TSanWrite(&
_impl_);
1483 _impl_.cutoff_limit_ = value;
1488 bool value = (
_impl_._has_bits_[0] & 0x00200000u) != 0;
1492 ::google::protobuf::internal::TSanWrite(&
_impl_);
1493 _impl_.objective_limit_ = 0;
1494 _impl_._has_bits_[0] &= ~0x00200000u;
1498 return _internal_objective_limit();
1501 _internal_set_objective_limit(value);
1502 _impl_._has_bits_[0] |= 0x00200000u;
1505inline double SolveParametersProto::_internal_objective_limit()
const {
1506 ::google::protobuf::internal::TSanRead(&
_impl_);
1507 return _impl_.objective_limit_;
1509inline void SolveParametersProto::_internal_set_objective_limit(
double value) {
1510 ::google::protobuf::internal::TSanWrite(&
_impl_);
1511 _impl_.objective_limit_ = value;
1516 bool value = (
_impl_._has_bits_[0] & 0x00400000u) != 0;
1520 ::google::protobuf::internal::TSanWrite(&
_impl_);
1521 _impl_.best_bound_limit_ = 0;
1522 _impl_._has_bits_[0] &= ~0x00400000u;
1526 return _internal_best_bound_limit();
1529 _internal_set_best_bound_limit(value);
1530 _impl_._has_bits_[0] |= 0x00400000u;
1533inline double SolveParametersProto::_internal_best_bound_limit()
const {
1534 ::google::protobuf::internal::TSanRead(&
_impl_);
1535 return _impl_.best_bound_limit_;
1537inline void SolveParametersProto::_internal_set_best_bound_limit(
double value) {
1538 ::google::protobuf::internal::TSanWrite(&
_impl_);
1539 _impl_.best_bound_limit_ = value;
1544 bool value = (
_impl_._has_bits_[0] & 0x01000000u) != 0;
1548 ::google::protobuf::internal::TSanWrite(&
_impl_);
1549 _impl_.solution_limit_ = 0;
1550 _impl_._has_bits_[0] &= ~0x01000000u;
1554 return _internal_solution_limit();
1557 _internal_set_solution_limit(value);
1558 _impl_._has_bits_[0] |= 0x01000000u;
1561inline ::int32_t SolveParametersProto::_internal_solution_limit()
const {
1562 ::google::protobuf::internal::TSanRead(&
_impl_);
1563 return _impl_.solution_limit_;
1565inline void SolveParametersProto::_internal_set_solution_limit(::int32_t value) {
1566 ::google::protobuf::internal::TSanWrite(&
_impl_);
1567 _impl_.solution_limit_ = value;
1572 ::google::protobuf::internal::TSanWrite(&
_impl_);
1573 _impl_.enable_output_ =
false;
1574 _impl_._has_bits_[0] &= ~0x00000400u;
1578 return _internal_enable_output();
1581 _internal_set_enable_output(value);
1582 _impl_._has_bits_[0] |= 0x00000400u;
1585inline bool SolveParametersProto::_internal_enable_output()
const {
1586 ::google::protobuf::internal::TSanRead(&
_impl_);
1587 return _impl_.enable_output_;
1589inline void SolveParametersProto::_internal_set_enable_output(
bool value) {
1590 ::google::protobuf::internal::TSanWrite(&
_impl_);
1591 _impl_.enable_output_ = value;
1596 bool value = (
_impl_._has_bits_[0] & 0x00000800u) != 0;
1600 ::google::protobuf::internal::TSanWrite(&
_impl_);
1602 _impl_._has_bits_[0] &= ~0x00000800u;
1606 return _internal_threads();
1609 _internal_set_threads(value);
1610 _impl_._has_bits_[0] |= 0x00000800u;
1613inline ::int32_t SolveParametersProto::_internal_threads()
const {
1614 ::google::protobuf::internal::TSanRead(&
_impl_);
1617inline void SolveParametersProto::_internal_set_threads(::int32_t value) {
1618 ::google::protobuf::internal::TSanWrite(&
_impl_);
1624 bool value = (
_impl_._has_bits_[0] & 0x00001000u) != 0;
1628 ::google::protobuf::internal::TSanWrite(&
_impl_);
1630 _impl_._has_bits_[0] &= ~0x00001000u;
1634 return _internal_random_seed();
1637 _internal_set_random_seed(value);
1638 _impl_._has_bits_[0] |= 0x00001000u;
1641inline ::int32_t SolveParametersProto::_internal_random_seed()
const {
1642 ::google::protobuf::internal::TSanRead(&
_impl_);
1643 return _impl_.random_seed_;
1645inline void SolveParametersProto::_internal_set_random_seed(::int32_t value) {
1646 ::google::protobuf::internal::TSanWrite(&
_impl_);
1647 _impl_.random_seed_ = value;
1652 bool value = (
_impl_._has_bits_[0] & 0x00080000u) != 0;
1656 ::google::protobuf::internal::TSanWrite(&
_impl_);
1657 _impl_.absolute_gap_tolerance_ = 0;
1658 _impl_._has_bits_[0] &= ~0x00080000u;
1662 return _internal_absolute_gap_tolerance();
1665 _internal_set_absolute_gap_tolerance(value);
1666 _impl_._has_bits_[0] |= 0x00080000u;
1669inline double SolveParametersProto::_internal_absolute_gap_tolerance()
const {
1670 ::google::protobuf::internal::TSanRead(&
_impl_);
1671 return _impl_.absolute_gap_tolerance_;
1673inline void SolveParametersProto::_internal_set_absolute_gap_tolerance(
double value) {
1674 ::google::protobuf::internal::TSanWrite(&
_impl_);
1675 _impl_.absolute_gap_tolerance_ = value;
1680 bool value = (
_impl_._has_bits_[0] & 0x00040000u) != 0;
1684 ::google::protobuf::internal::TSanWrite(&
_impl_);
1685 _impl_.relative_gap_tolerance_ = 0;
1686 _impl_._has_bits_[0] &= ~0x00040000u;
1690 return _internal_relative_gap_tolerance();
1693 _internal_set_relative_gap_tolerance(value);
1694 _impl_._has_bits_[0] |= 0x00040000u;
1697inline double SolveParametersProto::_internal_relative_gap_tolerance()
const {
1698 ::google::protobuf::internal::TSanRead(&
_impl_);
1699 return _impl_.relative_gap_tolerance_;
1701inline void SolveParametersProto::_internal_set_relative_gap_tolerance(
double value) {
1702 ::google::protobuf::internal::TSanWrite(&
_impl_);
1703 _impl_.relative_gap_tolerance_ = value;
1708 bool value = (
_impl_._has_bits_[0] & 0x02000000u) != 0;
1712 ::google::protobuf::internal::TSanWrite(&
_impl_);
1713 _impl_.solution_pool_size_ = 0;
1714 _impl_._has_bits_[0] &= ~0x02000000u;
1718 return _internal_solution_pool_size();
1721 _internal_set_solution_pool_size(value);
1722 _impl_._has_bits_[0] |= 0x02000000u;
1725inline ::int32_t SolveParametersProto::_internal_solution_pool_size()
const {
1726 ::google::protobuf::internal::TSanRead(&
_impl_);
1727 return _impl_.solution_pool_size_;
1729inline void SolveParametersProto::_internal_set_solution_pool_size(::int32_t value) {
1730 ::google::protobuf::internal::TSanWrite(&
_impl_);
1731 _impl_.solution_pool_size_ = value;
1736 ::google::protobuf::internal::TSanWrite(&
_impl_);
1737 _impl_.lp_algorithm_ = 0;
1738 _impl_._has_bits_[0] &= ~0x00002000u;
1742 return _internal_lp_algorithm();
1745 _internal_set_lp_algorithm(value);
1746 _impl_._has_bits_[0] |= 0x00002000u;
1749inline ::operations_research::math_opt::LPAlgorithmProto SolveParametersProto::_internal_lp_algorithm()
const {
1750 ::google::protobuf::internal::TSanRead(&
_impl_);
1754 ::google::protobuf::internal::TSanWrite(&
_impl_);
1755 _impl_.lp_algorithm_ = value;
1760 ::google::protobuf::internal::TSanWrite(&
_impl_);
1762 _impl_._has_bits_[0] &= ~0x00004000u;
1766 return _internal_presolve();
1769 _internal_set_presolve(value);
1770 _impl_._has_bits_[0] |= 0x00004000u;
1773inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_presolve()
const {
1774 ::google::protobuf::internal::TSanRead(&
_impl_);
1778 ::google::protobuf::internal::TSanWrite(&
_impl_);
1779 _impl_.presolve_ = value;
1784 ::google::protobuf::internal::TSanWrite(&
_impl_);
1786 _impl_._has_bits_[0] &= ~0x00008000u;
1790 return _internal_cuts();
1793 _internal_set_cuts(value);
1794 _impl_._has_bits_[0] |= 0x00008000u;
1797inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_cuts()
const {
1798 ::google::protobuf::internal::TSanRead(&
_impl_);
1802 ::google::protobuf::internal::TSanWrite(&
_impl_);
1808 ::google::protobuf::internal::TSanWrite(&
_impl_);
1810 _impl_._has_bits_[0] &= ~0x00010000u;
1814 return _internal_heuristics();
1817 _internal_set_heuristics(value);
1818 _impl_._has_bits_[0] |= 0x00010000u;
1821inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_heuristics()
const {
1822 ::google::protobuf::internal::TSanRead(&
_impl_);
1826 ::google::protobuf::internal::TSanWrite(&
_impl_);
1827 _impl_.heuristics_ = value;
1832 ::google::protobuf::internal::TSanWrite(&
_impl_);
1834 _impl_._has_bits_[0] &= ~0x00020000u;
1838 return _internal_scaling();
1841 _internal_set_scaling(value);
1842 _impl_._has_bits_[0] |= 0x00020000u;
1845inline ::operations_research::math_opt::EmphasisProto SolveParametersProto::_internal_scaling()
const {
1846 ::google::protobuf::internal::TSanRead(&
_impl_);
1850 ::google::protobuf::internal::TSanWrite(&
_impl_);
1856 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
1857 PROTOBUF_ASSUME(!value ||
_impl_.gscip_ !=
nullptr);
1860inline const ::operations_research::GScipParameters& SolveParametersProto::_internal_gscip()
const {
1861 ::google::protobuf::internal::TSanRead(&
_impl_);
1862 const ::operations_research::GScipParameters* p =
_impl_.gscip_;
1867 return _internal_gscip();
1871 ::google::protobuf::internal::TSanWrite(&
_impl_);
1872 if (GetArena() ==
nullptr) {
1873 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.gscip_);
1876 if (value !=
nullptr) {
1877 _impl_._has_bits_[0] |= 0x00000002u;
1879 _impl_._has_bits_[0] &= ~0x00000002u;
1884 ::google::protobuf::internal::TSanWrite(&
_impl_);
1886 _impl_._has_bits_[0] &= ~0x00000002u;
1889 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1890 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
1891 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1892 if (GetArena() ==
nullptr) {
1896 if (GetArena() !=
nullptr) {
1897 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1903 ::google::protobuf::internal::TSanWrite(&
_impl_);
1906 _impl_._has_bits_[0] &= ~0x00000002u;
1907 ::operations_research::GScipParameters* temp =
_impl_.gscip_;
1911inline ::operations_research::GScipParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_gscip() {
1912 ::google::protobuf::internal::TSanWrite(&
_impl_);
1913 if (
_impl_.gscip_ ==
nullptr) {
1914 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::GScipParameters>(GetArena());
1920 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1921 _impl_._has_bits_[0] |= 0x00000002u;
1927 ::google::protobuf::Arena* message_arena = GetArena();
1928 ::google::protobuf::internal::TSanWrite(&
_impl_);
1929 if (message_arena ==
nullptr) {
1930 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.gscip_);
1933 if (value !=
nullptr) {
1934 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
1935 if (message_arena != submessage_arena) {
1936 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1938 _impl_._has_bits_[0] |= 0x00000002u;
1940 _impl_._has_bits_[0] &= ~0x00000002u;
1949 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
1950 PROTOBUF_ASSUME(!value ||
_impl_.gurobi_ !=
nullptr);
1953inline const ::operations_research::math_opt::GurobiParametersProto& SolveParametersProto::_internal_gurobi()
const {
1954 ::google::protobuf::internal::TSanRead(&
_impl_);
1955 const ::operations_research::math_opt::GurobiParametersProto* p =
_impl_.gurobi_;
1958inline const ::operations_research::math_opt::GurobiParametersProto&
SolveParametersProto::gurobi() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1960 return _internal_gurobi();
1964 ::google::protobuf::internal::TSanWrite(&
_impl_);
1965 if (GetArena() ==
nullptr) {
1966 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.gurobi_);
1969 if (value !=
nullptr) {
1970 _impl_._has_bits_[0] |= 0x00000004u;
1972 _impl_._has_bits_[0] &= ~0x00000004u;
1977 ::google::protobuf::internal::TSanWrite(&
_impl_);
1979 _impl_._has_bits_[0] &= ~0x00000004u;
1981 _impl_.gurobi_ =
nullptr;
1982 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1983 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
1984 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1985 if (GetArena() ==
nullptr) {
1989 if (GetArena() !=
nullptr) {
1990 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1996 ::google::protobuf::internal::TSanWrite(&
_impl_);
1999 _impl_._has_bits_[0] &= ~0x00000004u;
2000 ::operations_research::math_opt::GurobiParametersProto* temp =
_impl_.gurobi_;
2001 _impl_.gurobi_ =
nullptr;
2004inline ::operations_research::math_opt::GurobiParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_gurobi() {
2005 ::google::protobuf::internal::TSanWrite(&
_impl_);
2006 if (
_impl_.gurobi_ ==
nullptr) {
2007 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GurobiParametersProto>(GetArena());
2013 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2014 _impl_._has_bits_[0] |= 0x00000004u;
2020 ::google::protobuf::Arena* message_arena = GetArena();
2021 ::google::protobuf::internal::TSanWrite(&
_impl_);
2022 if (message_arena ==
nullptr) {
2023 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.gurobi_);
2026 if (value !=
nullptr) {
2027 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2028 if (message_arena != submessage_arena) {
2029 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2031 _impl_._has_bits_[0] |= 0x00000004u;
2033 _impl_._has_bits_[0] &= ~0x00000004u;
2042 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
2043 PROTOBUF_ASSUME(!value ||
_impl_.glop_ !=
nullptr);
2046inline const ::operations_research::glop::GlopParameters& SolveParametersProto::_internal_glop()
const {
2047 ::google::protobuf::internal::TSanRead(&
_impl_);
2048 const ::operations_research::glop::GlopParameters* p =
_impl_.glop_;
2053 return _internal_glop();
2057 ::google::protobuf::internal::TSanWrite(&
_impl_);
2058 if (GetArena() ==
nullptr) {
2059 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.glop_);
2062 if (value !=
nullptr) {
2063 _impl_._has_bits_[0] |= 0x00000008u;
2065 _impl_._has_bits_[0] &= ~0x00000008u;
2070 ::google::protobuf::internal::TSanWrite(&
_impl_);
2072 _impl_._has_bits_[0] &= ~0x00000008u;
2075 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2076 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2077 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2078 if (GetArena() ==
nullptr) {
2082 if (GetArena() !=
nullptr) {
2083 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2089 ::google::protobuf::internal::TSanWrite(&
_impl_);
2092 _impl_._has_bits_[0] &= ~0x00000008u;
2093 ::operations_research::glop::GlopParameters* temp =
_impl_.glop_;
2097inline ::operations_research::glop::GlopParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_glop() {
2098 ::google::protobuf::internal::TSanWrite(&
_impl_);
2099 if (
_impl_.glop_ ==
nullptr) {
2100 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::glop::GlopParameters>(GetArena());
2106 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2107 _impl_._has_bits_[0] |= 0x00000008u;
2113 ::google::protobuf::Arena* message_arena = GetArena();
2114 ::google::protobuf::internal::TSanWrite(&
_impl_);
2115 if (message_arena ==
nullptr) {
2116 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.glop_);
2119 if (value !=
nullptr) {
2120 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2121 if (message_arena != submessage_arena) {
2122 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2124 _impl_._has_bits_[0] |= 0x00000008u;
2126 _impl_._has_bits_[0] &= ~0x00000008u;
2135 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
2136 PROTOBUF_ASSUME(!value ||
_impl_.cp_sat_ !=
nullptr);
2139inline const ::operations_research::sat::SatParameters& SolveParametersProto::_internal_cp_sat()
const {
2140 ::google::protobuf::internal::TSanRead(&
_impl_);
2141 const ::operations_research::sat::SatParameters* p =
_impl_.cp_sat_;
2146 return _internal_cp_sat();
2150 ::google::protobuf::internal::TSanWrite(&
_impl_);
2151 if (GetArena() ==
nullptr) {
2152 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.cp_sat_);
2155 if (value !=
nullptr) {
2156 _impl_._has_bits_[0] |= 0x00000010u;
2158 _impl_._has_bits_[0] &= ~0x00000010u;
2163 ::google::protobuf::internal::TSanWrite(&
_impl_);
2165 _impl_._has_bits_[0] &= ~0x00000010u;
2167 _impl_.cp_sat_ =
nullptr;
2168 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2169 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2170 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2171 if (GetArena() ==
nullptr) {
2175 if (GetArena() !=
nullptr) {
2176 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2182 ::google::protobuf::internal::TSanWrite(&
_impl_);
2185 _impl_._has_bits_[0] &= ~0x00000010u;
2186 ::operations_research::sat::SatParameters* temp =
_impl_.cp_sat_;
2187 _impl_.cp_sat_ =
nullptr;
2190inline ::operations_research::sat::SatParameters* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_cp_sat() {
2191 ::google::protobuf::internal::TSanWrite(&
_impl_);
2192 if (
_impl_.cp_sat_ ==
nullptr) {
2193 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::sat::SatParameters>(GetArena());
2199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2200 _impl_._has_bits_[0] |= 0x00000010u;
2206 ::google::protobuf::Arena* message_arena = GetArena();
2207 ::google::protobuf::internal::TSanWrite(&
_impl_);
2208 if (message_arena ==
nullptr) {
2209 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.cp_sat_);
2212 if (value !=
nullptr) {
2213 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2214 if (message_arena != submessage_arena) {
2215 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2217 _impl_._has_bits_[0] |= 0x00000010u;
2219 _impl_._has_bits_[0] &= ~0x00000010u;
2228 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
2229 PROTOBUF_ASSUME(!value ||
_impl_.pdlp_ !=
nullptr);
2232inline const ::operations_research::pdlp::PrimalDualHybridGradientParams& SolveParametersProto::_internal_pdlp()
const {
2233 ::google::protobuf::internal::TSanRead(&
_impl_);
2234 const ::operations_research::pdlp::PrimalDualHybridGradientParams* p =
_impl_.pdlp_;
2237inline const ::operations_research::pdlp::PrimalDualHybridGradientParams&
SolveParametersProto::pdlp() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2239 return _internal_pdlp();
2243 ::google::protobuf::internal::TSanWrite(&
_impl_);
2244 if (GetArena() ==
nullptr) {
2245 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.pdlp_);
2248 if (value !=
nullptr) {
2249 _impl_._has_bits_[0] |= 0x00000020u;
2251 _impl_._has_bits_[0] &= ~0x00000020u;
2256 ::google::protobuf::internal::TSanWrite(&
_impl_);
2258 _impl_._has_bits_[0] &= ~0x00000020u;
2261 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2262 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2263 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2264 if (GetArena() ==
nullptr) {
2268 if (GetArena() !=
nullptr) {
2269 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2275 ::google::protobuf::internal::TSanWrite(&
_impl_);
2278 _impl_._has_bits_[0] &= ~0x00000020u;
2279 ::operations_research::pdlp::PrimalDualHybridGradientParams* temp =
_impl_.pdlp_;
2283inline ::operations_research::pdlp::PrimalDualHybridGradientParams* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_pdlp() {
2284 ::google::protobuf::internal::TSanWrite(&
_impl_);
2285 if (
_impl_.pdlp_ ==
nullptr) {
2286 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::pdlp::PrimalDualHybridGradientParams>(GetArena());
2292 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2293 _impl_._has_bits_[0] |= 0x00000020u;
2299 ::google::protobuf::Arena* message_arena = GetArena();
2300 ::google::protobuf::internal::TSanWrite(&
_impl_);
2301 if (message_arena ==
nullptr) {
2302 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.pdlp_);
2305 if (value !=
nullptr) {
2306 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2307 if (message_arena != submessage_arena) {
2308 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2310 _impl_._has_bits_[0] |= 0x00000020u;
2312 _impl_._has_bits_[0] &= ~0x00000020u;
2321 bool value = (
_impl_._has_bits_[0] & 0x00000040u) != 0;
2322 PROTOBUF_ASSUME(!value ||
_impl_.osqp_ !=
nullptr);
2325inline const ::operations_research::math_opt::OsqpSettingsProto& SolveParametersProto::_internal_osqp()
const {
2326 ::google::protobuf::internal::TSanRead(&
_impl_);
2327 const ::operations_research::math_opt::OsqpSettingsProto* p =
_impl_.osqp_;
2330inline const ::operations_research::math_opt::OsqpSettingsProto&
SolveParametersProto::osqp() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2332 return _internal_osqp();
2336 ::google::protobuf::internal::TSanWrite(&
_impl_);
2337 if (GetArena() ==
nullptr) {
2338 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.osqp_);
2341 if (value !=
nullptr) {
2342 _impl_._has_bits_[0] |= 0x00000040u;
2344 _impl_._has_bits_[0] &= ~0x00000040u;
2349 ::google::protobuf::internal::TSanWrite(&
_impl_);
2351 _impl_._has_bits_[0] &= ~0x00000040u;
2354 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2355 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2356 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2357 if (GetArena() ==
nullptr) {
2361 if (GetArena() !=
nullptr) {
2362 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2368 ::google::protobuf::internal::TSanWrite(&
_impl_);
2371 _impl_._has_bits_[0] &= ~0x00000040u;
2372 ::operations_research::math_opt::OsqpSettingsProto* temp =
_impl_.osqp_;
2376inline ::operations_research::math_opt::OsqpSettingsProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_osqp() {
2377 ::google::protobuf::internal::TSanWrite(&
_impl_);
2378 if (
_impl_.osqp_ ==
nullptr) {
2379 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::OsqpSettingsProto>(GetArena());
2385 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2386 _impl_._has_bits_[0] |= 0x00000040u;
2392 ::google::protobuf::Arena* message_arena = GetArena();
2393 ::google::protobuf::internal::TSanWrite(&
_impl_);
2394 if (message_arena ==
nullptr) {
2395 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.osqp_);
2398 if (value !=
nullptr) {
2399 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2400 if (message_arena != submessage_arena) {
2401 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2403 _impl_._has_bits_[0] |= 0x00000040u;
2405 _impl_._has_bits_[0] &= ~0x00000040u;
2414 bool value = (
_impl_._has_bits_[0] & 0x00000080u) != 0;
2415 PROTOBUF_ASSUME(!value ||
_impl_.glpk_ !=
nullptr);
2418inline const ::operations_research::math_opt::GlpkParametersProto& SolveParametersProto::_internal_glpk()
const {
2419 ::google::protobuf::internal::TSanRead(&
_impl_);
2420 const ::operations_research::math_opt::GlpkParametersProto* p =
_impl_.glpk_;
2423inline const ::operations_research::math_opt::GlpkParametersProto&
SolveParametersProto::glpk() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2425 return _internal_glpk();
2429 ::google::protobuf::internal::TSanWrite(&
_impl_);
2430 if (GetArena() ==
nullptr) {
2431 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.glpk_);
2434 if (value !=
nullptr) {
2435 _impl_._has_bits_[0] |= 0x00000080u;
2437 _impl_._has_bits_[0] &= ~0x00000080u;
2442 ::google::protobuf::internal::TSanWrite(&
_impl_);
2444 _impl_._has_bits_[0] &= ~0x00000080u;
2447 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2448 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2449 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2450 if (GetArena() ==
nullptr) {
2454 if (GetArena() !=
nullptr) {
2455 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2461 ::google::protobuf::internal::TSanWrite(&
_impl_);
2464 _impl_._has_bits_[0] &= ~0x00000080u;
2465 ::operations_research::math_opt::GlpkParametersProto* temp =
_impl_.glpk_;
2469inline ::operations_research::math_opt::GlpkParametersProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_glpk() {
2470 ::google::protobuf::internal::TSanWrite(&
_impl_);
2471 if (
_impl_.glpk_ ==
nullptr) {
2472 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::GlpkParametersProto>(GetArena());
2478 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2479 _impl_._has_bits_[0] |= 0x00000080u;
2485 ::google::protobuf::Arena* message_arena = GetArena();
2486 ::google::protobuf::internal::TSanWrite(&
_impl_);
2487 if (message_arena ==
nullptr) {
2488 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.glpk_);
2491 if (value !=
nullptr) {
2492 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2493 if (message_arena != submessage_arena) {
2494 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2496 _impl_._has_bits_[0] |= 0x00000080u;
2498 _impl_._has_bits_[0] &= ~0x00000080u;
2507 bool value = (
_impl_._has_bits_[0] & 0x00000100u) != 0;
2508 PROTOBUF_ASSUME(!value ||
_impl_.highs_ !=
nullptr);
2511inline const ::operations_research::math_opt::HighsOptionsProto& SolveParametersProto::_internal_highs()
const {
2512 ::google::protobuf::internal::TSanRead(&
_impl_);
2513 const ::operations_research::math_opt::HighsOptionsProto* p =
_impl_.highs_;
2516inline const ::operations_research::math_opt::HighsOptionsProto&
SolveParametersProto::highs() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2518 return _internal_highs();
2522 ::google::protobuf::internal::TSanWrite(&
_impl_);
2523 if (GetArena() ==
nullptr) {
2524 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.highs_);
2527 if (value !=
nullptr) {
2528 _impl_._has_bits_[0] |= 0x00000100u;
2530 _impl_._has_bits_[0] &= ~0x00000100u;
2535 ::google::protobuf::internal::TSanWrite(&
_impl_);
2537 _impl_._has_bits_[0] &= ~0x00000100u;
2540 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2541 auto* old =
reinterpret_cast<::google::protobuf::MessageLite*
>(released);
2542 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2543 if (GetArena() ==
nullptr) {
2547 if (GetArena() !=
nullptr) {
2548 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2554 ::google::protobuf::internal::TSanWrite(&
_impl_);
2557 _impl_._has_bits_[0] &= ~0x00000100u;
2558 ::operations_research::math_opt::HighsOptionsProto* temp =
_impl_.highs_;
2562inline ::operations_research::math_opt::HighsOptionsProto* PROTOBUF_NONNULL SolveParametersProto::_internal_mutable_highs() {
2563 ::google::protobuf::internal::TSanWrite(&
_impl_);
2564 if (
_impl_.highs_ ==
nullptr) {
2565 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::HighsOptionsProto>(GetArena());
2571 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2572 _impl_._has_bits_[0] |= 0x00000100u;
2578 ::google::protobuf::Arena* message_arena = GetArena();
2579 ::google::protobuf::internal::TSanWrite(&
_impl_);
2580 if (message_arena ==
nullptr) {
2581 delete reinterpret_cast<::google::protobuf::MessageLite*
>(
_impl_.highs_);
2584 if (value !=
nullptr) {
2585 ::google::protobuf::Arena* submessage_arena =
reinterpret_cast<::google::protobuf::Message*
>(value)->GetArena();
2586 if (message_arena != submessage_arena) {
2587 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2589 _impl_._has_bits_[0] |= 0x00000100u;
2591 _impl_._has_bits_[0] &= ~0x00000100u;
2599#pragma GCC diagnostic pop
2614 return ::operations_research::math_opt::SolverTypeProto_descriptor();
2620 return ::operations_research::math_opt::LPAlgorithmProto_descriptor();
2626 return ::operations_research::math_opt::EmphasisProto_descriptor();
2634#include "google/protobuf/port_undef.inc"
void unsafe_arena_set_allocated_glpk(::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(SolveParametersProto &a, SolveParametersProto &b)
::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NONNULL mutable_gurobi()
void set_allocated_glpk(::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE value)
friend class ::google::protobuf::MessageLite
const ::operations_research::math_opt::HighsOptionsProto & highs() const
::operations_research::math_opt::EmphasisProto presolve() const
bool has_gscip() const
.operations_research.GScipParameters gscip = 12;
const ::operations_research::sat::SatParameters & cp_sat() const
void clear_relative_gap_tolerance()
bool has_cutoff_limit() const
optional double cutoff_limit = 20;
void clear_lp_algorithm()
.operations_research.math_opt.LPAlgorithmProto lp_algorithm = 6;
::int32_t threads() const
void set_solution_limit(::int32_t value)
const ::operations_research::math_opt::GlpkParametersProto & glpk() const
void set_presolve(::operations_research::math_opt::EmphasisProto value)
void set_lp_algorithm(::operations_research::math_opt::LPAlgorithmProto value)
void Swap(SolveParametersProto *PROTOBUF_NONNULL other)
void clear_heuristics()
.operations_research.math_opt.EmphasisProto heuristics = 9;
bool has_objective_limit() const
optional double objective_limit = 21;
bool has_random_seed() const
optional int32 random_seed = 5;
void set_absolute_gap_tolerance(double value)
void set_relative_gap_tolerance(double value)
void set_node_limit(::int64_t value)
void set_solution_pool_size(::int32_t value)
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NONNULL mutable_osqp()
bool has_solution_limit() const
optional int32 solution_limit = 23;
void unsafe_arena_set_allocated_gurobi(::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE value)
void CopyFrom(const SolveParametersProto &from)
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NONNULL mutable_highs()
static const SolveParametersProto & default_instance()
::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE release_glop()
::operations_research::glop::GlopParameters *PROTOBUF_NONNULL mutable_glop()
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE unsafe_arena_release_glpk()
void set_allocated_gscip(::operations_research::GScipParameters *PROTOBUF_NULLABLE value)
void set_scaling(::operations_research::math_opt::EmphasisProto value)
::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NONNULL mutable_pdlp()
::operations_research::sat::SatParameters *PROTOBUF_NONNULL mutable_cp_sat()
const ::operations_research::glop::GlopParameters & glop() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static constexpr int kIndexInFileMessages
void set_objective_limit(double value)
void set_best_bound_limit(double value)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
::operations_research::math_opt::EmphasisProto scaling() const
::operations_research::sat::SatParameters *PROTOBUF_NULLABLE unsafe_arena_release_cp_sat()
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE unsafe_arena_release_osqp()
::int32_t random_seed() const
void set_allocated_pdlp(::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_pdlp(::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE value)
::operations_research::math_opt::EmphasisProto heuristics() const
void set_cuts(::operations_research::math_opt::EmphasisProto value)
::operations_research::GScipParameters *PROTOBUF_NONNULL mutable_gscip()
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_time_limit()
void unsafe_arena_set_allocated_cp_sat(::operations_research::sat::SatParameters *PROTOBUF_NULLABLE value)
void set_allocated_osqp(::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE value)
::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE release_pdlp()
bool has_absolute_gap_tolerance() const
optional double absolute_gap_tolerance = 18;
bool has_pdlp() const
.operations_research.pdlp.PrimalDualHybridGradientParams pdlp = 16;
void set_iteration_limit(::int64_t value)
void set_cutoff_limit(double value)
bool has_node_limit() const
optional int64 node_limit = 24;
bool IsInitialized() const
void clear_presolve()
.operations_research.math_opt.EmphasisProto presolve = 7;
PROTOBUF_CONSTEXPR SolveParametersProto(::google::protobuf::internal::ConstantInitialized)
double objective_limit() const
void clear_enable_output()
bool enable_output = 3;
void set_threads(::int32_t value)
void unsafe_arena_set_allocated_gscip(::operations_research::GScipParameters *PROTOBUF_NULLABLE value)
void set_enable_output(bool value)
void clear_absolute_gap_tolerance()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
bool has_gurobi() const
.operations_research.math_opt.GurobiParametersProto gurobi = 13;
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NULLABLE release_glpk()
::int32_t solution_pool_size() const
bool enable_output() const
::operations_research::GScipParameters *PROTOBUF_NULLABLE release_gscip()
bool has_glpk() const
.operations_research.math_opt.GlpkParametersProto glpk = 26;
void unsafe_arena_set_allocated_highs(::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_time_limit(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
bool has_glop() const
.operations_research.glop.GlopParameters glop = 14;
::size_t ByteSizeLong() const final
void clear_iteration_limit()
double best_bound_limit() const
::operations_research::math_opt::LPAlgorithmProto lp_algorithm() const
bool has_osqp() const
.operations_research.math_opt.OsqpSettingsProto osqp = 19;
const ::operations_research::GScipParameters & gscip() const
const ::operations_research::pdlp::PrimalDualHybridGradientParams & pdlp() const
::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE unsafe_arena_release_glop()
double absolute_gap_tolerance() const
void clear_cutoff_limit()
::int64_t iteration_limit() const
void MergeFrom(const SolveParametersProto &from)
double relative_gap_tolerance() const
const ::operations_research::math_opt::GurobiParametersProto & gurobi() const
void unsafe_arena_set_allocated_osqp(::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE value)
bool has_best_bound_limit() const
optional double best_bound_limit = 22;
void clear_objective_limit()
void set_allocated_cp_sat(::operations_research::sat::SatParameters *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_glop(::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE value)
::operations_research::GScipParameters *PROTOBUF_NULLABLE unsafe_arena_release_gscip()
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE unsafe_arena_release_highs()
bool has_cp_sat() const
.operations_research.sat.SatParameters cp_sat = 15;
::int32_t solution_limit() const
void clear_scaling()
.operations_research.math_opt.EmphasisProto scaling = 10;
void set_allocated_time_limit(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void set_heuristics(::operations_research::math_opt::EmphasisProto value)
void set_allocated_glop(::operations_research::glop::GlopParameters *PROTOBUF_NULLABLE value)
bool has_relative_gap_tolerance() const
optional double relative_gap_tolerance = 17;
void clear_solution_limit()
::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE release_highs()
SolveParametersProto & operator=(const SolveParametersProto &from)
::google::protobuf::Duration *PROTOBUF_NULLABLE release_time_limit()
::int64_t node_limit() const
bool has_threads() const
optional int32 threads = 4;
const ::google::protobuf::Duration & time_limit() const
::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE release_gurobi()
void set_allocated_highs(::operations_research::math_opt::HighsOptionsProto *PROTOBUF_NULLABLE value)
bool has_solution_pool_size() const
optional int32 solution_pool_size = 25;
bool has_time_limit() const
.google.protobuf.Duration time_limit = 1;
void clear_solution_pool_size()
::operations_research::sat::SatParameters *PROTOBUF_NULLABLE release_cp_sat()
void set_allocated_gurobi(::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE value)
double cutoff_limit() const
::operations_research::pdlp::PrimalDualHybridGradientParams *PROTOBUF_NULLABLE unsafe_arena_release_pdlp()
void clear_cuts()
.operations_research.math_opt.EmphasisProto cuts = 8;
bool has_iteration_limit() const
optional int64 iteration_limit = 2;
const ::operations_research::math_opt::OsqpSettingsProto & osqp() const
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_time_limit()
void clear_best_bound_limit()
::operations_research::math_opt::GurobiParametersProto *PROTOBUF_NULLABLE unsafe_arena_release_gurobi()
@ kAbsoluteGapToleranceFieldNumber
@ kEnableOutputFieldNumber
@ kIterationLimitFieldNumber
@ kLpAlgorithmFieldNumber
@ kCutoffLimitFieldNumber
@ kBestBoundLimitFieldNumber
@ kObjectiveLimitFieldNumber
@ kRelativeGapToleranceFieldNumber
@ kSolutionPoolSizeFieldNumber
@ kSolutionLimitFieldNumber
void set_random_seed(::int32_t value)
::operations_research::math_opt::OsqpSettingsProto *PROTOBUF_NULLABLE release_osqp()
bool has_highs() const
.operations_research.math_opt.HighsOptionsProto highs = 27;
::operations_research::math_opt::EmphasisProto cuts() const
::operations_research::math_opt::GlpkParametersProto *PROTOBUF_NONNULL mutable_glpk()
friend class ::google::protobuf::MessageLite
PROTOBUF_CONSTEXPR SolverInitializerProto(::google::protobuf::internal::ConstantInitialized)
const ::operations_research::math_opt::GurobiInitializerProto & gurobi() const
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
SolverInitializerProto & operator=(const SolverInitializerProto &from)
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE release_gurobi()
void set_allocated_gurobi(::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE value)
::size_t ByteSizeLong() const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
bool IsInitialized() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
bool has_gurobi() const
.operations_research.math_opt.GurobiInitializerProto gurobi = 1;
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NONNULL mutable_gurobi()
::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE unsafe_arena_release_gurobi()
void unsafe_arena_set_allocated_gurobi(::operations_research::math_opt::GurobiInitializerProto *PROTOBUF_NULLABLE value)
void CopyFrom(const SolverInitializerProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const SolverInitializerProto &from)
void Swap(SolverInitializerProto *PROTOBUF_NONNULL other)
static const SolverInitializerProto & default_instance()
friend class ::google::protobuf::Arena
friend class ::google::protobuf::MessageLite
void Swap(StrictnessProto *PROTOBUF_NONNULL other)
StrictnessProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, StrictnessProto &&from) noexcept
void clear_bad_parameter()
bool bad_parameter = 1;
StrictnessProto(const StrictnessProto &from)
PROTOBUF_CONSTEXPR StrictnessProto(::google::protobuf::internal::ConstantInitialized)
StrictnessProto & operator=(const StrictnessProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void set_bad_parameter(bool value)
void CopyFrom(const StrictnessProto &from)
bool bad_parameter() const
bool IsInitialized() const
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fparameters_2eproto
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::SolverTypeProto >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::EmphasisProto >()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::LPAlgorithmProto >()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlopParametersDefaultTypeInternal _GlopParameters_default_instance_
An object oriented wrapper for quadratic constraints in ModelStorage.
constexpr int LPAlgorithmProto_ARRAYSIZE
constexpr int SolverTypeProto_ARRAYSIZE
constexpr int EmphasisProto_ARRAYSIZE
@ EmphasisProto_INT_MIN_SENTINEL_DO_NOT_USE_
@ EmphasisProto_INT_MAX_SENTINEL_DO_NOT_USE_
constexpr LPAlgorithmProto LPAlgorithmProto_MAX
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolveParametersProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolverInitializerProtoDefaultTypeInternal _SolverInitializerProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HighsOptionsProtoDefaultTypeInternal _HighsOptionsProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SolveParametersProtoDefaultTypeInternal _SolveParametersProto_default_instance_
bool EmphasisProto_IsValid(int value)
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL EmphasisProto_descriptor()
@ LPAlgorithmProto_INT_MIN_SENTINEL_DO_NOT_USE_
@ LP_ALGORITHM_DUAL_SIMPLEX
@ LP_ALGORITHM_FIRST_ORDER
@ LP_ALGORITHM_UNSPECIFIED
@ LPAlgorithmProto_INT_MAX_SENTINEL_DO_NOT_USE_
@ LP_ALGORITHM_PRIMAL_SIMPLEX
PROTOBUF_CONSTINIT const uint32_t EmphasisProto_internal_data_[]
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL LPAlgorithmProto_descriptor()
constexpr LPAlgorithmProto LPAlgorithmProto_MIN
bool LPAlgorithmProto_Parse(::absl::string_view name, LPAlgorithmProto *PROTOBUF_NONNULL value)
const ::std::string & LPAlgorithmProto_Name(T value)
constexpr SolverTypeProto SolverTypeProto_MAX
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL SolverTypeProto_descriptor()
PROTOBUF_CONSTINIT const uint32_t LPAlgorithmProto_internal_data_[]
@ SolverTypeProto_INT_MIN_SENTINEL_DO_NOT_USE_
@ SolverTypeProto_INT_MAX_SENTINEL_DO_NOT_USE_
@ SOLVER_TYPE_UNSPECIFIED
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SolverInitializerProto_class_data_
constexpr SolverTypeProto SolverTypeProto_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OsqpSettingsProtoDefaultTypeInternal _OsqpSettingsProto_default_instance_
bool SolverTypeProto_Parse(::absl::string_view name, SolverTypeProto *PROTOBUF_NONNULL value)
const ::std::string & EmphasisProto_Name(T value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GlpkParametersProtoDefaultTypeInternal _GlpkParametersProto_default_instance_
constexpr EmphasisProto EmphasisProto_MAX
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiParametersProtoDefaultTypeInternal _GurobiParametersProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull StrictnessProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StrictnessProtoDefaultTypeInternal _StrictnessProto_default_instance_
bool LPAlgorithmProto_IsValid(int value)
bool SolverTypeProto_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GurobiInitializerProtoDefaultTypeInternal _GurobiInitializerProto_default_instance_
bool EmphasisProto_Parse(::absl::string_view name, EmphasisProto *PROTOBUF_NONNULL value)
PROTOBUF_CONSTINIT const uint32_t SolverTypeProto_internal_data_[]
const ::std::string & SolverTypeProto_Name(T value)
constexpr EmphasisProto EmphasisProto_MIN
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PrimalDualHybridGradientParamsDefaultTypeInternal _PrimalDualHybridGradientParams_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SatParametersDefaultTypeInternal _SatParameters_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GScipParametersDefaultTypeInternal _GScipParameters_default_instance_