Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
infeasible_subsystem.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// NO CHECKED-IN PROTOBUF GENCODE
3// source: ortools/math_opt/infeasible_subsystem.proto
4// Protobuf C++ Version: 6.31.1
5
6#ifndef ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
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"
19#endif
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" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/map.h" // IWYU pragma: export
32#include "google/protobuf/map_type_handler.h" // IWYU pragma: export
33#include "google/protobuf/map_entry.h"
34#include "google/protobuf/map_field.h"
35#include "google/protobuf/unknown_field_set.h"
37// @@protoc_insertion_point(includes)
38
39// Must be included last.
40#include "google/protobuf/port_def.inc"
41
42#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto OR_PROTO_DLL
43
44namespace google {
45namespace protobuf {
46namespace internal {
47template <typename T>
48::absl::string_view GetAnyMessageName();
49} // namespace internal
50} // namespace protobuf
51} // namespace google
52
53// Internal implementation detail -- do not use these members.
55 static const ::uint32_t offsets[];
56};
57extern "C" {
58OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
59} // extern "C"
60namespace operations_research {
61namespace math_opt {
65OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_;
69OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_;
73OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_;
77OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_;
81OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_;
85OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_;
86} // namespace math_opt
87} // namespace operations_research
88namespace google {
89namespace protobuf {
90} // namespace protobuf
91} // namespace google
92
93namespace operations_research {
94namespace math_opt {
95
96// ===================================================================
97
98
99// -------------------------------------------------------------------
100
101class OR_PROTO_DLL ModelSubsetProto_Bounds final : public ::google::protobuf::Message
102/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelSubsetProto.Bounds) */ {
103 public:
105 ~ModelSubsetProto_Bounds() PROTOBUF_FINAL;
107#if defined(PROTOBUF_CUSTOM_VTABLE)
108 void operator delete(ModelSubsetProto_Bounds* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
109 SharedDtor(*msg);
110 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelSubsetProto_Bounds));
111 }
112#endif
113
114 template <typename = void>
115 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_Bounds(::google::protobuf::internal::ConstantInitialized);
116
119 : ModelSubsetProto_Bounds(nullptr, ::std::move(from)) {}
122 return *this;
123 }
124 inline ModelSubsetProto_Bounds& operator=(ModelSubsetProto_Bounds&& from) noexcept {
125 if (this == &from) return *this;
126 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
127 InternalSwap(&from);
128 } else {
129 CopyFrom(from);
130 }
131 return *this;
132 }
133
134 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
135 ABSL_ATTRIBUTE_LIFETIME_BOUND {
136 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
137 }
138 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
139 ABSL_ATTRIBUTE_LIFETIME_BOUND {
140 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
141 }
142
143 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
144 return GetDescriptor();
146 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
147 return default_instance().GetMetadata().descriptor;
149 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
150 return default_instance().GetMetadata().reflection;
152 static const ModelSubsetProto_Bounds& default_instance() {
153 return *reinterpret_cast<const ModelSubsetProto_Bounds*>(
155 }
156 static constexpr int kIndexInFileMessages = 0;
157 friend void swap(ModelSubsetProto_Bounds& a, ModelSubsetProto_Bounds& b) { a.Swap(&b); }
158 inline void Swap(ModelSubsetProto_Bounds* PROTOBUF_NONNULL other) {
159 if (other == this) return;
160 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
161 InternalSwap(other);
162 } else {
163 ::google::protobuf::internal::GenericSwap(this, other);
164 }
165 }
166 void UnsafeArenaSwap(ModelSubsetProto_Bounds* PROTOBUF_NONNULL other) {
167 if (other == this) return;
168 ABSL_DCHECK(GetArena() == other->GetArena());
169 InternalSwap(other);
170 }
171
172 // implements Message ----------------------------------------------
173
174 ModelSubsetProto_Bounds* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
175 return ::google::protobuf::Message::DefaultConstruct<ModelSubsetProto_Bounds>(arena);
177 using ::google::protobuf::Message::CopyFrom;
178 void CopyFrom(const ModelSubsetProto_Bounds& from);
179 using ::google::protobuf::Message::MergeFrom;
180 void MergeFrom(const ModelSubsetProto_Bounds& from) { ModelSubsetProto_Bounds::MergeImpl(*this, from); }
181
182 private:
183 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
184 const ::google::protobuf::MessageLite& from_msg);
185
186 public:
187 bool IsInitialized() const {
188 return true;
190 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
191 #if defined(PROTOBUF_CUSTOM_VTABLE)
192 private:
193 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
194 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
195 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
196 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
197
198 public:
199 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
200 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
201 ::uint8_t* PROTOBUF_NONNULL target,
202 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
203 return _InternalSerialize(*this, target, stream);
204 }
205 #else // PROTOBUF_CUSTOM_VTABLE
206 ::size_t ByteSizeLong() const final;
207 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
208 ::uint8_t* PROTOBUF_NONNULL target,
209 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
210 #endif // PROTOBUF_CUSTOM_VTABLE
211 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
212
213 private:
214 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
215 static void SharedDtor(MessageLite& self);
216 void InternalSwap(ModelSubsetProto_Bounds* PROTOBUF_NONNULL other);
217 private:
218 template <typename T>
219 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
220 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelSubsetProto.Bounds"; }
221
222 protected:
223 explicit ModelSubsetProto_Bounds(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
224 ModelSubsetProto_Bounds(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelSubsetProto_Bounds& from);
226 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelSubsetProto_Bounds&& from) noexcept
228 *this = ::std::move(from);
229 }
230 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
231 static void* PROTOBUF_NONNULL PlacementNew_(
232 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
233 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
234 static constexpr auto InternalNewImpl_();
235
236 public:
237 static constexpr auto InternalGenerateClassData_();
238
239 ::google::protobuf::Metadata GetMetadata() const;
240 // nested types ----------------------------------------------------
241
242 // accessors -------------------------------------------------------
243 enum : int {
244 kLowerFieldNumber = 1,
245 kUpperFieldNumber = 2,
246 };
247 // bool lower = 1;
248 void clear_lower() ;
249 bool lower() const;
250 void set_lower(bool value);
251
252 private:
253 bool _internal_lower() const;
254 void _internal_set_lower(bool value);
255
256 public:
257 // bool upper = 2;
258 void clear_upper() ;
259 bool upper() const;
260 void set_upper(bool value);
261
262 private:
263 bool _internal_upper() const;
264 void _internal_set_upper(bool value);
265
266 public:
267 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelSubsetProto.Bounds)
268 private:
269 class _Internal;
270 friend class ::google::protobuf::internal::TcParser;
271 static const ::google::protobuf::internal::TcParseTable<1, 2,
272 0, 0,
273 2>
274 _table_;
275
276 friend class ::google::protobuf::MessageLite;
277 friend class ::google::protobuf::Arena;
278 template <typename T>
279 friend class ::google::protobuf::Arena::InternalHelper;
280 using InternalArenaConstructable_ = void;
281 using DestructorSkippable_ = void;
282 struct Impl_ {
283 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
284 inline explicit Impl_(
285 ::google::protobuf::internal::InternalVisibility visibility,
286 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
287 inline explicit Impl_(
288 ::google::protobuf::internal::InternalVisibility visibility,
289 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
290 const ModelSubsetProto_Bounds& from_msg);
291 ::google::protobuf::internal::HasBits<1> _has_bits_;
292 ::google::protobuf::internal::CachedSize _cached_size_;
293 bool lower_;
294 bool upper_;
295 PROTOBUF_TSAN_DECLARE_MEMBER
296 };
297 union { Impl_ _impl_; };
298 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
301OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_;
302// -------------------------------------------------------------------
303
305 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
306 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
307 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
308 public:
309 using SuperType =
310 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
311 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
312 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
314 template <typename = void>
315 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_VariableBoundsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
316 explicit ModelSubsetProto_VariableBoundsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
317 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
319 }
321
322 static constexpr auto InternalGenerateClassData_();
323
324 private:
325 friend class ::google::protobuf::MessageLite;
326 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
327
328 friend class ::google::protobuf::internal::TcParser;
329 static const ::google::protobuf::internal::TcParseTable<1, 2,
330 1, 0,
331 2>
332 _table_;
333
334 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
335 static void* PROTOBUF_NONNULL PlacementNew_(
336 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
337 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
338 static constexpr auto InternalNewImpl_();
339};
340OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_;
341// -------------------------------------------------------------------
342
344 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
345 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
346 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
347 public:
348 using SuperType =
349 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
350 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
351 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
353 template <typename = void>
354 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
355 explicit ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
356 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
359
361 static constexpr auto InternalGenerateClassData_();
362
363 private:
364 friend class ::google::protobuf::MessageLite;
365 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
366
367 friend class ::google::protobuf::internal::TcParser;
368 static const ::google::protobuf::internal::TcParseTable<1, 2,
369 1, 0,
370 2>
371 _table_;
372
373 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
374 static void* PROTOBUF_NONNULL PlacementNew_(
375 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
377 static constexpr auto InternalNewImpl_();
378};
379OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_;
380// -------------------------------------------------------------------
381
383 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
384 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
385 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
386 public:
387 using SuperType =
388 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
389 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
390 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
392 template <typename = void>
393 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
394 explicit ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
395 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
397 }
399
400 static constexpr auto InternalGenerateClassData_();
401
402 private:
403 friend class ::google::protobuf::MessageLite;
404 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
405
406 friend class ::google::protobuf::internal::TcParser;
407 static const ::google::protobuf::internal::TcParseTable<1, 2,
408 1, 0,
409 2>
410 _table_;
412 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
413 static void* PROTOBUF_NONNULL PlacementNew_(
414 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
415 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
416 static constexpr auto InternalNewImpl_();
417};
418OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_;
419// -------------------------------------------------------------------
420
421class OR_PROTO_DLL ModelSubsetProto final : public ::google::protobuf::Message
422/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelSubsetProto) */ {
423 public:
424 inline ModelSubsetProto() : ModelSubsetProto(nullptr) {}
425 ~ModelSubsetProto() PROTOBUF_FINAL;
426
427#if defined(PROTOBUF_CUSTOM_VTABLE)
428 void operator delete(ModelSubsetProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
429 SharedDtor(*msg);
430 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelSubsetProto));
431 }
432#endif
433
434 template <typename = void>
435 explicit PROTOBUF_CONSTEXPR ModelSubsetProto(::google::protobuf::internal::ConstantInitialized);
436
437 inline ModelSubsetProto(const ModelSubsetProto& from) : ModelSubsetProto(nullptr, from) {}
438 inline ModelSubsetProto(ModelSubsetProto&& from) noexcept
439 : ModelSubsetProto(nullptr, ::std::move(from)) {}
440 inline ModelSubsetProto& operator=(const ModelSubsetProto& from) {
441 CopyFrom(from);
442 return *this;
444 inline ModelSubsetProto& operator=(ModelSubsetProto&& from) noexcept {
445 if (this == &from) return *this;
446 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
447 InternalSwap(&from);
448 } else {
449 CopyFrom(from);
451 return *this;
452 }
453
454 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
455 ABSL_ATTRIBUTE_LIFETIME_BOUND {
456 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
457 }
458 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
459 ABSL_ATTRIBUTE_LIFETIME_BOUND {
460 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
461 }
462
463 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
465 }
466 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
467 return default_instance().GetMetadata().descriptor;
468 }
469 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
470 return default_instance().GetMetadata().reflection;
471 }
473 return *reinterpret_cast<const ModelSubsetProto*>(
476 static constexpr int kIndexInFileMessages = 4;
477 friend void swap(ModelSubsetProto& a, ModelSubsetProto& b) { a.Swap(&b); }
478 inline void Swap(ModelSubsetProto* PROTOBUF_NONNULL other) {
479 if (other == this) return;
480 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
481 InternalSwap(other);
482 } else {
483 ::google::protobuf::internal::GenericSwap(this, other);
485 }
486 void UnsafeArenaSwap(ModelSubsetProto* PROTOBUF_NONNULL other) {
487 if (other == this) return;
488 ABSL_DCHECK(GetArena() == other->GetArena());
489 InternalSwap(other);
490 }
491
492 // implements Message ----------------------------------------------
493
494 ModelSubsetProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
495 return ::google::protobuf::Message::DefaultConstruct<ModelSubsetProto>(arena);
496 }
497 using ::google::protobuf::Message::CopyFrom;
498 void CopyFrom(const ModelSubsetProto& from);
499 using ::google::protobuf::Message::MergeFrom;
500 void MergeFrom(const ModelSubsetProto& from) { ModelSubsetProto::MergeImpl(*this, from); }
501
502 private:
503 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
504 const ::google::protobuf::MessageLite& from_msg);
505
506 public:
507 bool IsInitialized() const {
508 return true;
509 }
510 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
511 #if defined(PROTOBUF_CUSTOM_VTABLE)
512 private:
513 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
514 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
515 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
516 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
517
518 public:
519 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
520 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
521 ::uint8_t* PROTOBUF_NONNULL target,
522 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
523 return _InternalSerialize(*this, target, stream);
524 }
525 #else // PROTOBUF_CUSTOM_VTABLE
526 ::size_t ByteSizeLong() const final;
527 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
528 ::uint8_t* PROTOBUF_NONNULL target,
529 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
530 #endif // PROTOBUF_CUSTOM_VTABLE
531 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
532
533 private:
534 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
535 static void SharedDtor(MessageLite& self);
536 void InternalSwap(ModelSubsetProto* PROTOBUF_NONNULL other);
537 private:
538 template <typename T>
539 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
540 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelSubsetProto"; }
541
542 protected:
543 explicit ModelSubsetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
544 ModelSubsetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelSubsetProto& from);
546 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelSubsetProto&& from) noexcept
547 : ModelSubsetProto(arena) {
548 *this = ::std::move(from);
549 }
550 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
551 static void* PROTOBUF_NONNULL PlacementNew_(
552 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
553 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
554 static constexpr auto InternalNewImpl_();
555
556 public:
557 static constexpr auto InternalGenerateClassData_();
558
559 ::google::protobuf::Metadata GetMetadata() const;
560 // nested types ----------------------------------------------------
562
563 // accessors -------------------------------------------------------
564 enum : int {
573 };
574 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
576 private:
577 int _internal_variable_bounds_size() const;
579 public:
580 void clear_variable_bounds() ;
581 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& variable_bounds() const;
582 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL mutable_variable_bounds();
583
584 private:
585 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& _internal_variable_bounds() const;
586 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL _internal_mutable_variable_bounds();
587
588 public:
589 // repeated int64 variable_integrality = 2;
590 int variable_integrality_size() const;
591 private:
592 int _internal_variable_integrality_size() const;
593
594 public:
596 ::int64_t variable_integrality(int index) const;
597 void set_variable_integrality(int index, ::int64_t value);
598 void add_variable_integrality(::int64_t value);
599 const ::google::protobuf::RepeatedField<::int64_t>& variable_integrality() const;
600 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_variable_integrality();
601
602 private:
603 const ::google::protobuf::RepeatedField<::int64_t>& _internal_variable_integrality() const;
604 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_variable_integrality();
605
606 public:
607 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
608 int linear_constraints_size() const;
609 private:
610 int _internal_linear_constraints_size() const;
611
612 public:
614 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& linear_constraints() const;
615 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL mutable_linear_constraints();
616
617 private:
618 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& _internal_linear_constraints() const;
619 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL _internal_mutable_linear_constraints();
620
621 public:
622 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
623 int quadratic_constraints_size() const;
624 private:
625 int _internal_quadratic_constraints_size() const;
626
627 public:
629 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& quadratic_constraints() const;
630 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL mutable_quadratic_constraints();
631
632 private:
633 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& _internal_quadratic_constraints() const;
634 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL _internal_mutable_quadratic_constraints();
635
636 public:
637 // repeated int64 second_order_cone_constraints = 5;
639 private:
640 int _internal_second_order_cone_constraints_size() const;
641
642 public:
644 ::int64_t second_order_cone_constraints(int index) const;
645 void set_second_order_cone_constraints(int index, ::int64_t value);
646 void add_second_order_cone_constraints(::int64_t value);
647 const ::google::protobuf::RepeatedField<::int64_t>& second_order_cone_constraints() const;
648 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_second_order_cone_constraints();
649
650 private:
651 const ::google::protobuf::RepeatedField<::int64_t>& _internal_second_order_cone_constraints() const;
652 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraints();
653
654 public:
655 // repeated int64 sos1_constraints = 6;
656 int sos1_constraints_size() const;
657 private:
658 int _internal_sos1_constraints_size() const;
659
660 public:
662 ::int64_t sos1_constraints(int index) const;
663 void set_sos1_constraints(int index, ::int64_t value);
664 void add_sos1_constraints(::int64_t value);
665 const ::google::protobuf::RepeatedField<::int64_t>& sos1_constraints() const;
666 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_sos1_constraints();
667
668 private:
669 const ::google::protobuf::RepeatedField<::int64_t>& _internal_sos1_constraints() const;
670 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_sos1_constraints();
671
672 public:
673 // repeated int64 sos2_constraints = 7;
674 int sos2_constraints_size() const;
675 private:
676 int _internal_sos2_constraints_size() const;
677
678 public:
680 ::int64_t sos2_constraints(int index) const;
681 void set_sos2_constraints(int index, ::int64_t value);
682 void add_sos2_constraints(::int64_t value);
683 const ::google::protobuf::RepeatedField<::int64_t>& sos2_constraints() const;
684 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_sos2_constraints();
685
686 private:
687 const ::google::protobuf::RepeatedField<::int64_t>& _internal_sos2_constraints() const;
688 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_sos2_constraints();
689
690 public:
691 // repeated int64 indicator_constraints = 8;
692 int indicator_constraints_size() const;
693 private:
694 int _internal_indicator_constraints_size() const;
695
696 public:
698 ::int64_t indicator_constraints(int index) const;
699 void set_indicator_constraints(int index, ::int64_t value);
700 void add_indicator_constraints(::int64_t value);
701 const ::google::protobuf::RepeatedField<::int64_t>& indicator_constraints() const;
702 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_indicator_constraints();
703
704 private:
705 const ::google::protobuf::RepeatedField<::int64_t>& _internal_indicator_constraints() const;
706 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_indicator_constraints();
707
708 public:
709 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelSubsetProto)
710 private:
711 class _Internal;
712 friend class ::google::protobuf::internal::TcParser;
713 static const ::google::protobuf::internal::TcParseTable<3, 8,
714 6, 0,
715 2>
716 _table_;
717
718 friend class ::google::protobuf::MessageLite;
719 friend class ::google::protobuf::Arena;
720 template <typename T>
721 friend class ::google::protobuf::Arena::InternalHelper;
722 using InternalArenaConstructable_ = void;
723 using DestructorSkippable_ = void;
724 struct Impl_ {
725 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
726 inline explicit Impl_(
727 ::google::protobuf::internal::InternalVisibility visibility,
728 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
729 inline explicit Impl_(
730 ::google::protobuf::internal::InternalVisibility visibility,
731 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
732 const ModelSubsetProto& from_msg);
734 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
735 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
736 variable_bounds_;
737 ::google::protobuf::RepeatedField<::int64_t> variable_integrality_;
738 ::google::protobuf::internal::CachedSize _variable_integrality_cached_byte_size_;
740 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
741 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
742 linear_constraints_;
744 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
745 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
746 quadratic_constraints_;
747 ::google::protobuf::RepeatedField<::int64_t> second_order_cone_constraints_;
748 ::google::protobuf::internal::CachedSize _second_order_cone_constraints_cached_byte_size_;
749 ::google::protobuf::RepeatedField<::int64_t> sos1_constraints_;
750 ::google::protobuf::internal::CachedSize _sos1_constraints_cached_byte_size_;
751 ::google::protobuf::RepeatedField<::int64_t> sos2_constraints_;
752 ::google::protobuf::internal::CachedSize _sos2_constraints_cached_byte_size_;
753 ::google::protobuf::RepeatedField<::int64_t> indicator_constraints_;
754 ::google::protobuf::internal::CachedSize _indicator_constraints_cached_byte_size_;
755 ::google::protobuf::internal::CachedSize _cached_size_;
756 PROTOBUF_TSAN_DECLARE_MEMBER
757 };
758 union { Impl_ _impl_; };
759 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
760};
761
762OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_;
763// -------------------------------------------------------------------
765class OR_PROTO_DLL ComputeInfeasibleSubsystemResultProto final : public ::google::protobuf::Message
766/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto) */ {
767 public:
770
771#if defined(PROTOBUF_CUSTOM_VTABLE)
772 void operator delete(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
773 SharedDtor(*msg);
774 ::google::protobuf::internal::SizedDelete(msg, sizeof(ComputeInfeasibleSubsystemResultProto));
776#endif
777
778 template <typename = void>
779 explicit PROTOBUF_CONSTEXPR ComputeInfeasibleSubsystemResultProto(::google::protobuf::internal::ConstantInitialized);
780
782 inline ComputeInfeasibleSubsystemResultProto(ComputeInfeasibleSubsystemResultProto&& from) noexcept
783 : ComputeInfeasibleSubsystemResultProto(nullptr, ::std::move(from)) {}
784 inline ComputeInfeasibleSubsystemResultProto& operator=(const ComputeInfeasibleSubsystemResultProto& from) {
785 CopyFrom(from);
786 return *this;
787 }
789 if (this == &from) return *this;
790 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
791 InternalSwap(&from);
792 } else {
793 CopyFrom(from);
794 }
795 return *this;
796 }
797
798 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
799 ABSL_ATTRIBUTE_LIFETIME_BOUND {
800 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
801 }
802 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
803 ABSL_ATTRIBUTE_LIFETIME_BOUND {
804 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
806
807 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
808 return GetDescriptor();
810 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
811 return default_instance().GetMetadata().descriptor;
812 }
813 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
814 return default_instance().GetMetadata().reflection;
815 }
816 static const ComputeInfeasibleSubsystemResultProto& default_instance() {
820 static constexpr int kIndexInFileMessages = 5;
822 inline void Swap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL other) {
823 if (other == this) return;
824 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
825 InternalSwap(other);
826 } else {
827 ::google::protobuf::internal::GenericSwap(this, other);
830 void UnsafeArenaSwap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL other) {
831 if (other == this) return;
832 ABSL_DCHECK(GetArena() == other->GetArena());
833 InternalSwap(other);
834 }
835
836 // implements Message ----------------------------------------------
838 ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
839 return ::google::protobuf::Message::DefaultConstruct<ComputeInfeasibleSubsystemResultProto>(arena);
840 }
841 using ::google::protobuf::Message::CopyFrom;
842 void CopyFrom(const ComputeInfeasibleSubsystemResultProto& from);
843 using ::google::protobuf::Message::MergeFrom;
844 void MergeFrom(const ComputeInfeasibleSubsystemResultProto& from) { ComputeInfeasibleSubsystemResultProto::MergeImpl(*this, from); }
846 private:
847 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
848 const ::google::protobuf::MessageLite& from_msg);
849
850 public:
851 bool IsInitialized() const {
852 return true;
853 }
854 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
855 #if defined(PROTOBUF_CUSTOM_VTABLE)
856 private:
857 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
858 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
859 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
860 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
861
862 public:
863 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
864 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
865 ::uint8_t* PROTOBUF_NONNULL target,
866 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
867 return _InternalSerialize(*this, target, stream);
868 }
869 #else // PROTOBUF_CUSTOM_VTABLE
870 ::size_t ByteSizeLong() const final;
871 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
872 ::uint8_t* PROTOBUF_NONNULL target,
873 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
874 #endif // PROTOBUF_CUSTOM_VTABLE
875 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
876
877 private:
878 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
879 static void SharedDtor(MessageLite& self);
880 void InternalSwap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL other);
881 private:
882 template <typename T>
883 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
884 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ComputeInfeasibleSubsystemResultProto"; }
885
886 protected:
887 explicit ComputeInfeasibleSubsystemResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
888 ComputeInfeasibleSubsystemResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ComputeInfeasibleSubsystemResultProto& from);
890 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ComputeInfeasibleSubsystemResultProto&& from) noexcept
892 *this = ::std::move(from);
893 }
894 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
895 static void* PROTOBUF_NONNULL PlacementNew_(
896 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
898 static constexpr auto InternalNewImpl_();
899
900 public:
901 static constexpr auto InternalGenerateClassData_();
902
903 ::google::protobuf::Metadata GetMetadata() const;
904 // nested types ----------------------------------------------------
905
906 // accessors -------------------------------------------------------
907 enum : int {
911 };
912 // .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
913 bool has_infeasible_subsystem() const;
914 void clear_infeasible_subsystem() ;
915 const ::operations_research::math_opt::ModelSubsetProto& infeasible_subsystem() const;
921
922 private:
923 const ::operations_research::math_opt::ModelSubsetProto& _internal_infeasible_subsystem() const;
924 ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NONNULL _internal_mutable_infeasible_subsystem();
925
926 public:
927 // .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
928 void clear_feasibility() ;
931
932 private:
934 void _internal_set_feasibility(::operations_research::math_opt::FeasibilityStatusProto value);
935
936 public:
937 // bool is_minimal = 3;
938 void clear_is_minimal() ;
939 bool is_minimal() const;
940 void set_is_minimal(bool value);
941
942 private:
943 bool _internal_is_minimal() const;
944 void _internal_set_is_minimal(bool value);
945
946 public:
947 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
948 private:
949 class _Internal;
950 friend class ::google::protobuf::internal::TcParser;
951 static const ::google::protobuf::internal::TcParseTable<2, 3,
952 1, 0,
953 2>
954 _table_;
955
956 friend class ::google::protobuf::MessageLite;
957 friend class ::google::protobuf::Arena;
958 template <typename T>
959 friend class ::google::protobuf::Arena::InternalHelper;
960 using InternalArenaConstructable_ = void;
961 using DestructorSkippable_ = void;
962 struct Impl_ {
963 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
964 inline explicit Impl_(
965 ::google::protobuf::internal::InternalVisibility visibility,
966 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
967 inline explicit Impl_(
968 ::google::protobuf::internal::InternalVisibility visibility,
969 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
971 ::google::protobuf::internal::HasBits<1> _has_bits_;
972 ::google::protobuf::internal::CachedSize _cached_size_;
973 ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE infeasible_subsystem_;
974 int feasibility_;
975 bool is_minimal_;
976 PROTOBUF_TSAN_DECLARE_MEMBER
977 };
978 union { Impl_ _impl_; };
979 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
980};
981
982OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_;
983
984// ===================================================================
987
988
989// ===================================================================
990
991
992#ifdef __GNUC__
993#pragma GCC diagnostic push
994#pragma GCC diagnostic ignored "-Wstrict-aliasing"
995#endif // __GNUC__
996// -------------------------------------------------------------------
997
998// ModelSubsetProto_Bounds
999
1000// bool lower = 1;
1002 ::google::protobuf::internal::TSanWrite(&_impl_);
1003 _impl_.lower_ = false;
1004 _impl_._has_bits_[0] &= ~0x00000001u;
1005}
1006inline bool ModelSubsetProto_Bounds::lower() const {
1007 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.Bounds.lower)
1008 return _internal_lower();
1009}
1010inline void ModelSubsetProto_Bounds::set_lower(bool value) {
1011 _internal_set_lower(value);
1012 _impl_._has_bits_[0] |= 0x00000001u;
1013 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.Bounds.lower)
1014}
1015inline bool ModelSubsetProto_Bounds::_internal_lower() const {
1016 ::google::protobuf::internal::TSanRead(&_impl_);
1017 return _impl_.lower_;
1018}
1019inline void ModelSubsetProto_Bounds::_internal_set_lower(bool value) {
1020 ::google::protobuf::internal::TSanWrite(&_impl_);
1021 _impl_.lower_ = value;
1022}
1023
1024// bool upper = 2;
1026 ::google::protobuf::internal::TSanWrite(&_impl_);
1027 _impl_.upper_ = false;
1028 _impl_._has_bits_[0] &= ~0x00000002u;
1029}
1030inline bool ModelSubsetProto_Bounds::upper() const {
1031 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.Bounds.upper)
1032 return _internal_upper();
1033}
1034inline void ModelSubsetProto_Bounds::set_upper(bool value) {
1035 _internal_set_upper(value);
1036 _impl_._has_bits_[0] |= 0x00000002u;
1037 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.Bounds.upper)
1038}
1039inline bool ModelSubsetProto_Bounds::_internal_upper() const {
1040 ::google::protobuf::internal::TSanRead(&_impl_);
1041 return _impl_.upper_;
1042}
1043inline void ModelSubsetProto_Bounds::_internal_set_upper(bool value) {
1044 ::google::protobuf::internal::TSanWrite(&_impl_);
1045 _impl_.upper_ = value;
1046}
1047
1048// -------------------------------------------------------------------
1049
1050// -------------------------------------------------------------------
1051
1052// -------------------------------------------------------------------
1053
1054// -------------------------------------------------------------------
1055
1056// ModelSubsetProto
1057
1058// map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
1059inline int ModelSubsetProto::_internal_variable_bounds_size() const {
1060 return _internal_variable_bounds().size();
1061}
1062inline int ModelSubsetProto::variable_bounds_size() const {
1063 return _internal_variable_bounds_size();
1064}
1066 ::google::protobuf::internal::TSanWrite(&_impl_);
1067 _impl_.variable_bounds_.Clear();
1068}
1069inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::_internal_variable_bounds() const {
1070 ::google::protobuf::internal::TSanRead(&_impl_);
1071 return _impl_.variable_bounds_.GetMap();
1072}
1073inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::variable_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1074 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelSubsetProto.variable_bounds)
1075 return _internal_variable_bounds();
1077inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::_internal_mutable_variable_bounds() {
1078 ::google::protobuf::internal::TSanWrite(&_impl_);
1079 return _impl_.variable_bounds_.MutableMap();
1080}
1081inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::mutable_variable_bounds()
1082 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1083 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelSubsetProto.variable_bounds)
1084 return _internal_mutable_variable_bounds();
1085}
1086
1087// repeated int64 variable_integrality = 2;
1088inline int ModelSubsetProto::_internal_variable_integrality_size() const {
1089 return _internal_variable_integrality().size();
1090}
1092 return _internal_variable_integrality_size();
1093}
1095 ::google::protobuf::internal::TSanWrite(&_impl_);
1096 _impl_.variable_integrality_.Clear();
1097}
1098inline ::int64_t ModelSubsetProto::variable_integrality(int index) const {
1099 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1100 return _internal_variable_integrality().Get(index);
1101}
1102inline void ModelSubsetProto::set_variable_integrality(int index, ::int64_t value) {
1103 _internal_mutable_variable_integrality()->Set(index, value);
1104 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1106inline void ModelSubsetProto::add_variable_integrality(::int64_t value) {
1107 ::google::protobuf::internal::TSanWrite(&_impl_);
1108 _internal_mutable_variable_integrality()->Add(value);
1109 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1110}
1111inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::variable_integrality() const
1112 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1113 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1114 return _internal_variable_integrality();
1115}
1116inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_variable_integrality()
1117 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1118 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1119 ::google::protobuf::internal::TSanWrite(&_impl_);
1120 return _internal_mutable_variable_integrality();
1121}
1122inline const ::google::protobuf::RepeatedField<::int64_t>&
1123ModelSubsetProto::_internal_variable_integrality() const {
1124 ::google::protobuf::internal::TSanRead(&_impl_);
1125 return _impl_.variable_integrality_;
1126}
1127inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1128ModelSubsetProto::_internal_mutable_variable_integrality() {
1129 ::google::protobuf::internal::TSanRead(&_impl_);
1130 return &_impl_.variable_integrality_;
1131}
1132
1133// map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
1134inline int ModelSubsetProto::_internal_linear_constraints_size() const {
1135 return _internal_linear_constraints().size();
1136}
1138 return _internal_linear_constraints_size();
1139}
1141 ::google::protobuf::internal::TSanWrite(&_impl_);
1142 _impl_.linear_constraints_.Clear();
1143}
1144inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::_internal_linear_constraints() const {
1145 ::google::protobuf::internal::TSanRead(&_impl_);
1146 return _impl_.linear_constraints_.GetMap();
1147}
1148inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::linear_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1149 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelSubsetProto.linear_constraints)
1150 return _internal_linear_constraints();
1152inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::_internal_mutable_linear_constraints() {
1153 ::google::protobuf::internal::TSanWrite(&_impl_);
1154 return _impl_.linear_constraints_.MutableMap();
1155}
1156inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::mutable_linear_constraints()
1157 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1158 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelSubsetProto.linear_constraints)
1159 return _internal_mutable_linear_constraints();
1160}
1161
1162// map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
1163inline int ModelSubsetProto::_internal_quadratic_constraints_size() const {
1164 return _internal_quadratic_constraints().size();
1165}
1167 return _internal_quadratic_constraints_size();
1168}
1170 ::google::protobuf::internal::TSanWrite(&_impl_);
1171 _impl_.quadratic_constraints_.Clear();
1172}
1173inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::_internal_quadratic_constraints() const {
1174 ::google::protobuf::internal::TSanRead(&_impl_);
1175 return _impl_.quadratic_constraints_.GetMap();
1176}
1177inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::quadratic_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1178 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelSubsetProto.quadratic_constraints)
1179 return _internal_quadratic_constraints();
1181inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::_internal_mutable_quadratic_constraints() {
1182 ::google::protobuf::internal::TSanWrite(&_impl_);
1183 return _impl_.quadratic_constraints_.MutableMap();
1184}
1185inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::mutable_quadratic_constraints()
1186 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1187 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelSubsetProto.quadratic_constraints)
1188 return _internal_mutable_quadratic_constraints();
1189}
1190
1191// repeated int64 second_order_cone_constraints = 5;
1192inline int ModelSubsetProto::_internal_second_order_cone_constraints_size() const {
1193 return _internal_second_order_cone_constraints().size();
1194}
1196 return _internal_second_order_cone_constraints_size();
1197}
1199 ::google::protobuf::internal::TSanWrite(&_impl_);
1200 _impl_.second_order_cone_constraints_.Clear();
1201}
1202inline ::int64_t ModelSubsetProto::second_order_cone_constraints(int index) const {
1203 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1204 return _internal_second_order_cone_constraints().Get(index);
1205}
1206inline void ModelSubsetProto::set_second_order_cone_constraints(int index, ::int64_t value) {
1207 _internal_mutable_second_order_cone_constraints()->Set(index, value);
1208 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1210inline void ModelSubsetProto::add_second_order_cone_constraints(::int64_t value) {
1211 ::google::protobuf::internal::TSanWrite(&_impl_);
1212 _internal_mutable_second_order_cone_constraints()->Add(value);
1213 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1214}
1215inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::second_order_cone_constraints() const
1216 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1217 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1218 return _internal_second_order_cone_constraints();
1219}
1220inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_second_order_cone_constraints()
1221 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1222 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1223 ::google::protobuf::internal::TSanWrite(&_impl_);
1224 return _internal_mutable_second_order_cone_constraints();
1225}
1226inline const ::google::protobuf::RepeatedField<::int64_t>&
1227ModelSubsetProto::_internal_second_order_cone_constraints() const {
1228 ::google::protobuf::internal::TSanRead(&_impl_);
1229 return _impl_.second_order_cone_constraints_;
1230}
1231inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1232ModelSubsetProto::_internal_mutable_second_order_cone_constraints() {
1233 ::google::protobuf::internal::TSanRead(&_impl_);
1234 return &_impl_.second_order_cone_constraints_;
1235}
1236
1237// repeated int64 sos1_constraints = 6;
1238inline int ModelSubsetProto::_internal_sos1_constraints_size() const {
1239 return _internal_sos1_constraints().size();
1240}
1241inline int ModelSubsetProto::sos1_constraints_size() const {
1242 return _internal_sos1_constraints_size();
1243}
1245 ::google::protobuf::internal::TSanWrite(&_impl_);
1246 _impl_.sos1_constraints_.Clear();
1247}
1248inline ::int64_t ModelSubsetProto::sos1_constraints(int index) const {
1249 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1250 return _internal_sos1_constraints().Get(index);
1251}
1252inline void ModelSubsetProto::set_sos1_constraints(int index, ::int64_t value) {
1253 _internal_mutable_sos1_constraints()->Set(index, value);
1254 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1256inline void ModelSubsetProto::add_sos1_constraints(::int64_t value) {
1257 ::google::protobuf::internal::TSanWrite(&_impl_);
1258 _internal_mutable_sos1_constraints()->Add(value);
1259 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1260}
1261inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::sos1_constraints() const
1262 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1263 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1264 return _internal_sos1_constraints();
1265}
1266inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_sos1_constraints()
1267 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1268 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1269 ::google::protobuf::internal::TSanWrite(&_impl_);
1270 return _internal_mutable_sos1_constraints();
1271}
1272inline const ::google::protobuf::RepeatedField<::int64_t>&
1273ModelSubsetProto::_internal_sos1_constraints() const {
1274 ::google::protobuf::internal::TSanRead(&_impl_);
1275 return _impl_.sos1_constraints_;
1276}
1277inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1278ModelSubsetProto::_internal_mutable_sos1_constraints() {
1279 ::google::protobuf::internal::TSanRead(&_impl_);
1280 return &_impl_.sos1_constraints_;
1281}
1282
1283// repeated int64 sos2_constraints = 7;
1284inline int ModelSubsetProto::_internal_sos2_constraints_size() const {
1285 return _internal_sos2_constraints().size();
1286}
1287inline int ModelSubsetProto::sos2_constraints_size() const {
1288 return _internal_sos2_constraints_size();
1289}
1291 ::google::protobuf::internal::TSanWrite(&_impl_);
1292 _impl_.sos2_constraints_.Clear();
1293}
1294inline ::int64_t ModelSubsetProto::sos2_constraints(int index) const {
1295 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1296 return _internal_sos2_constraints().Get(index);
1297}
1298inline void ModelSubsetProto::set_sos2_constraints(int index, ::int64_t value) {
1299 _internal_mutable_sos2_constraints()->Set(index, value);
1300 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1302inline void ModelSubsetProto::add_sos2_constraints(::int64_t value) {
1303 ::google::protobuf::internal::TSanWrite(&_impl_);
1304 _internal_mutable_sos2_constraints()->Add(value);
1305 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1306}
1307inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::sos2_constraints() const
1308 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1309 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1310 return _internal_sos2_constraints();
1311}
1312inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_sos2_constraints()
1313 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1314 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1315 ::google::protobuf::internal::TSanWrite(&_impl_);
1316 return _internal_mutable_sos2_constraints();
1317}
1318inline const ::google::protobuf::RepeatedField<::int64_t>&
1319ModelSubsetProto::_internal_sos2_constraints() const {
1320 ::google::protobuf::internal::TSanRead(&_impl_);
1321 return _impl_.sos2_constraints_;
1322}
1323inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1324ModelSubsetProto::_internal_mutable_sos2_constraints() {
1325 ::google::protobuf::internal::TSanRead(&_impl_);
1326 return &_impl_.sos2_constraints_;
1327}
1328
1329// repeated int64 indicator_constraints = 8;
1330inline int ModelSubsetProto::_internal_indicator_constraints_size() const {
1331 return _internal_indicator_constraints().size();
1332}
1334 return _internal_indicator_constraints_size();
1335}
1337 ::google::protobuf::internal::TSanWrite(&_impl_);
1338 _impl_.indicator_constraints_.Clear();
1339}
1340inline ::int64_t ModelSubsetProto::indicator_constraints(int index) const {
1341 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1342 return _internal_indicator_constraints().Get(index);
1343}
1344inline void ModelSubsetProto::set_indicator_constraints(int index, ::int64_t value) {
1345 _internal_mutable_indicator_constraints()->Set(index, value);
1346 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1348inline void ModelSubsetProto::add_indicator_constraints(::int64_t value) {
1349 ::google::protobuf::internal::TSanWrite(&_impl_);
1350 _internal_mutable_indicator_constraints()->Add(value);
1351 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1352}
1353inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::indicator_constraints() const
1354 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1355 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1356 return _internal_indicator_constraints();
1357}
1358inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_indicator_constraints()
1359 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1360 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1361 ::google::protobuf::internal::TSanWrite(&_impl_);
1362 return _internal_mutable_indicator_constraints();
1363}
1364inline const ::google::protobuf::RepeatedField<::int64_t>&
1365ModelSubsetProto::_internal_indicator_constraints() const {
1366 ::google::protobuf::internal::TSanRead(&_impl_);
1367 return _impl_.indicator_constraints_;
1368}
1369inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1370ModelSubsetProto::_internal_mutable_indicator_constraints() {
1371 ::google::protobuf::internal::TSanRead(&_impl_);
1372 return &_impl_.indicator_constraints_;
1373}
1374
1375// -------------------------------------------------------------------
1376
1377// ComputeInfeasibleSubsystemResultProto
1378
1379// .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
1381 ::google::protobuf::internal::TSanWrite(&_impl_);
1382 _impl_.feasibility_ = 0;
1383 _impl_._has_bits_[0] &= ~0x00000002u;
1384}
1385inline ::operations_research::math_opt::FeasibilityStatusProto ComputeInfeasibleSubsystemResultProto::feasibility() const {
1386 // @@protoc_insertion_point(field_get:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.feasibility)
1387 return _internal_feasibility();
1388}
1390 _internal_set_feasibility(value);
1391 _impl_._has_bits_[0] |= 0x00000002u;
1392 // @@protoc_insertion_point(field_set:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.feasibility)
1393}
1394inline ::operations_research::math_opt::FeasibilityStatusProto ComputeInfeasibleSubsystemResultProto::_internal_feasibility() const {
1395 ::google::protobuf::internal::TSanRead(&_impl_);
1396 return static_cast<::operations_research::math_opt::FeasibilityStatusProto>(_impl_.feasibility_);
1397}
1398inline void ComputeInfeasibleSubsystemResultProto::_internal_set_feasibility(::operations_research::math_opt::FeasibilityStatusProto value) {
1399 ::google::protobuf::internal::TSanWrite(&_impl_);
1400 _impl_.feasibility_ = value;
1401}
1402
1403// .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
1405 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1406 PROTOBUF_ASSUME(!value || _impl_.infeasible_subsystem_ != nullptr);
1407 return value;
1408}
1410 ::google::protobuf::internal::TSanWrite(&_impl_);
1411 if (_impl_.infeasible_subsystem_ != nullptr) _impl_.infeasible_subsystem_->Clear();
1412 _impl_._has_bits_[0] &= ~0x00000001u;
1413}
1414inline const ::operations_research::math_opt::ModelSubsetProto& ComputeInfeasibleSubsystemResultProto::_internal_infeasible_subsystem() const {
1415 ::google::protobuf::internal::TSanRead(&_impl_);
1416 const ::operations_research::math_opt::ModelSubsetProto* p = _impl_.infeasible_subsystem_;
1418}
1419inline const ::operations_research::math_opt::ModelSubsetProto& ComputeInfeasibleSubsystemResultProto::infeasible_subsystem() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1420 // @@protoc_insertion_point(field_get:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1421 return _internal_infeasible_subsystem();
1422}
1425 ::google::protobuf::internal::TSanWrite(&_impl_);
1426 if (GetArena() == nullptr) {
1427 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.infeasible_subsystem_);
1428 }
1429 _impl_.infeasible_subsystem_ = reinterpret_cast<::operations_research::math_opt::ModelSubsetProto*>(value);
1430 if (value != nullptr) {
1431 _impl_._has_bits_[0] |= 0x00000001u;
1432 } else {
1433 _impl_._has_bits_[0] &= ~0x00000001u;
1435 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1436}
1437inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE ComputeInfeasibleSubsystemResultProto::release_infeasible_subsystem() {
1438 ::google::protobuf::internal::TSanWrite(&_impl_);
1439
1440 _impl_._has_bits_[0] &= ~0x00000001u;
1441 ::operations_research::math_opt::ModelSubsetProto* released = _impl_.infeasible_subsystem_;
1442 _impl_.infeasible_subsystem_ = nullptr;
1443 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1444 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1445 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1446 if (GetArena() == nullptr) {
1447 delete old;
1448 }
1449 } else {
1450 if (GetArena() != nullptr) {
1451 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1453 }
1454 return released;
1455}
1456inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE ComputeInfeasibleSubsystemResultProto::unsafe_arena_release_infeasible_subsystem() {
1457 ::google::protobuf::internal::TSanWrite(&_impl_);
1458 // @@protoc_insertion_point(field_release:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1459
1460 _impl_._has_bits_[0] &= ~0x00000001u;
1461 ::operations_research::math_opt::ModelSubsetProto* temp = _impl_.infeasible_subsystem_;
1462 _impl_.infeasible_subsystem_ = nullptr;
1463 return temp;
1464}
1465inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NONNULL ComputeInfeasibleSubsystemResultProto::_internal_mutable_infeasible_subsystem() {
1466 ::google::protobuf::internal::TSanWrite(&_impl_);
1467 if (_impl_.infeasible_subsystem_ == nullptr) {
1468 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ModelSubsetProto>(GetArena());
1469 _impl_.infeasible_subsystem_ = reinterpret_cast<::operations_research::math_opt::ModelSubsetProto*>(p);
1470 }
1471 return _impl_.infeasible_subsystem_;
1472}
1473inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NONNULL ComputeInfeasibleSubsystemResultProto::mutable_infeasible_subsystem()
1474 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1475 _impl_._has_bits_[0] |= 0x00000001u;
1476 ::operations_research::math_opt::ModelSubsetProto* _msg = _internal_mutable_infeasible_subsystem();
1477 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1478 return _msg;
1479}
1481 ::google::protobuf::Arena* message_arena = GetArena();
1482 ::google::protobuf::internal::TSanWrite(&_impl_);
1483 if (message_arena == nullptr) {
1484 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.infeasible_subsystem_);
1485 }
1486
1487 if (value != nullptr) {
1488 ::google::protobuf::Arena* submessage_arena = value->GetArena();
1489 if (message_arena != submessage_arena) {
1490 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1491 }
1492 _impl_._has_bits_[0] |= 0x00000001u;
1493 } else {
1494 _impl_._has_bits_[0] &= ~0x00000001u;
1496
1497 _impl_.infeasible_subsystem_ = reinterpret_cast<::operations_research::math_opt::ModelSubsetProto*>(value);
1498 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1499}
1500
1501// bool is_minimal = 3;
1503 ::google::protobuf::internal::TSanWrite(&_impl_);
1504 _impl_.is_minimal_ = false;
1505 _impl_._has_bits_[0] &= ~0x00000004u;
1506}
1508 // @@protoc_insertion_point(field_get:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.is_minimal)
1509 return _internal_is_minimal();
1510}
1512 _internal_set_is_minimal(value);
1513 _impl_._has_bits_[0] |= 0x00000004u;
1514 // @@protoc_insertion_point(field_set:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.is_minimal)
1515}
1516inline bool ComputeInfeasibleSubsystemResultProto::_internal_is_minimal() const {
1517 ::google::protobuf::internal::TSanRead(&_impl_);
1518 return _impl_.is_minimal_;
1519}
1520inline void ComputeInfeasibleSubsystemResultProto::_internal_set_is_minimal(bool value) {
1521 ::google::protobuf::internal::TSanWrite(&_impl_);
1522 _impl_.is_minimal_ = value;
1523}
1524
1525#ifdef __GNUC__
1526#pragma GCC diagnostic pop
1527#endif // __GNUC__
1528
1529// @@protoc_insertion_point(namespace_scope)
1530} // namespace math_opt
1531} // namespace operations_research
1532
1533
1534// @@protoc_insertion_point(global_scope)
1535
1536#include "google/protobuf/port_undef.inc"
1537
1538#endif // ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto_2epb_2eh
void unsafe_arena_set_allocated_infeasible_subsystem(::operations_research::math_opt::ModelSubsetProto *PROTOBUF_NULLABLE value)
void set_feasibility(::operations_research::math_opt::FeasibilityStatusProto value)
ComputeInfeasibleSubsystemResultProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
friend void swap(ComputeInfeasibleSubsystemResultProto &a, ComputeInfeasibleSubsystemResultProto &b)
const ::operations_research::math_opt::ModelSubsetProto & infeasible_subsystem() const
ComputeInfeasibleSubsystemResultProto & operator=(const ComputeInfeasibleSubsystemResultProto &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void clear_feasibility()
.operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
::operations_research::math_opt::FeasibilityStatusProto feasibility() const
bool has_infeasible_subsystem() const
.operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
void set_allocated_infeasible_subsystem(::operations_research::math_opt::ModelSubsetProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::ModelSubsetProto *PROTOBUF_NULLABLE unsafe_arena_release_infeasible_subsystem()
static const ComputeInfeasibleSubsystemResultProto & default_instance()
::operations_research::math_opt::ModelSubsetProto *PROTOBUF_NULLABLE release_infeasible_subsystem()
void Swap(ComputeInfeasibleSubsystemResultProto *PROTOBUF_NONNULL other)
::operations_research::math_opt::ModelSubsetProto *PROTOBUF_NONNULL mutable_infeasible_subsystem()
void Swap(ModelSubsetProto_Bounds *PROTOBUF_NONNULL other)
ModelSubsetProto_Bounds(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, ModelSubsetProto_Bounds &&from) noexcept
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
PROTOBUF_CONSTEXPR ModelSubsetProto_Bounds(::google::protobuf::internal::ConstantInitialized)
ModelSubsetProto_Bounds & operator=(const ModelSubsetProto_Bounds &from)
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > *PROTOBUF_NONNULL mutable_linear_constraints()
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > *PROTOBUF_NONNULL mutable_quadratic_constraints()
int variable_bounds_size() const
map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > & linear_constraints() const
int variable_integrality_size() const
repeated int64 variable_integrality = 2;
int linear_constraints_size() const
map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
int second_order_cone_constraints_size() const
repeated int64 second_order_cone_constraints = 5;
const ::google::protobuf::RepeatedField<::int64_t > & variable_integrality() const
int quadratic_constraints_size() const
map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
ModelSubsetProto & operator=(const ModelSubsetProto &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
int indicator_constraints_size() const
repeated int64 indicator_constraints = 8;
void set_second_order_cone_constraints(int index, ::int64_t value)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > & quadratic_constraints() const
ModelSubsetProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > *PROTOBUF_NONNULL mutable_variable_bounds()
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_second_order_cone_constraints()
int sos1_constraints_size() const
repeated int64 sos1_constraints = 6;
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_variable_integrality()
const ::google::protobuf::RepeatedField<::int64_t > & indicator_constraints() const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_indicator_constraints()
const ::google::protobuf::RepeatedField<::int64_t > & second_order_cone_constraints() const
ModelSubsetProto_Bounds Bounds
nested types -------------------------------------------------—
const ::google::protobuf::RepeatedField<::int64_t > & sos2_constraints() const
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > & variable_bounds() const
int sos2_constraints_size() const
repeated int64 sos2_constraints = 7;
const ::google::protobuf::RepeatedField<::int64_t > & sos1_constraints() const
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_sos2_constraints()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(ModelSubsetProto *PROTOBUF_NONNULL other)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_sos1_constraints()
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto
::absl::string_view GetAnyMessageName()
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ComputeInfeasibleSubsystemResultProtoDefaultTypeInternal _ComputeInfeasibleSubsystemResultProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_BoundsDefaultTypeInternal _ModelSubsetProto_Bounds_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_VariableBoundsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_VariableBoundsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProtoDefaultTypeInternal _ModelSubsetProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelSubsetProto_LinearConstraintsEntry_DoNotUseDefaultTypeInternal _ModelSubsetProto_LinearConstraintsEntry_DoNotUse_default_instance_
In SWIG mode, we don't want anything besides these top-level includes.
Internal implementation detail – do not use these members.