Google OR-Tools v9.15
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.33.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 != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
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 explicit ModelSubsetProto_Bounds(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
223 ModelSubsetProto_Bounds(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelSubsetProto_Bounds& from);
225 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelSubsetProto_Bounds&& from) noexcept
226 : ModelSubsetProto_Bounds(arena) {
227 *this = ::std::move(from);
228 }
229 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
230 static void* PROTOBUF_NONNULL PlacementNew_(
231 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
232 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
233 static constexpr auto InternalNewImpl_();
234
235 public:
236 static constexpr auto InternalGenerateClassData_();
237
238 ::google::protobuf::Metadata GetMetadata() const;
239 // nested types ----------------------------------------------------
240
241 // accessors -------------------------------------------------------
242 enum : int {
243 kLowerFieldNumber = 1,
244 kUpperFieldNumber = 2,
245 };
246 // bool lower = 1;
247 void clear_lower() ;
248 bool lower() const;
249 void set_lower(bool value);
250
251 private:
252 bool _internal_lower() const;
253 void _internal_set_lower(bool value);
254
255 public:
256 // bool upper = 2;
257 void clear_upper() ;
258 bool upper() const;
259 void set_upper(bool value);
260
261 private:
262 bool _internal_upper() const;
263 void _internal_set_upper(bool value);
264
265 public:
266 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelSubsetProto.Bounds)
267 private:
268 class _Internal;
269 friend class ::google::protobuf::internal::TcParser;
270 static const ::google::protobuf::internal::TcParseTable<1, 2,
271 0, 0,
272 2>
273 _table_;
274
275 friend class ::google::protobuf::MessageLite;
276 friend class ::google::protobuf::Arena;
277 template <typename T>
278 friend class ::google::protobuf::Arena::InternalHelper;
279 using InternalArenaConstructable_ = void;
280 using DestructorSkippable_ = void;
281 struct Impl_ {
282 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
283 inline explicit Impl_(
284 ::google::protobuf::internal::InternalVisibility visibility,
285 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
286 inline explicit Impl_(
287 ::google::protobuf::internal::InternalVisibility visibility,
288 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
289 const ModelSubsetProto_Bounds& from_msg);
290 ::google::protobuf::internal::HasBits<1> _has_bits_;
291 ::google::protobuf::internal::CachedSize _cached_size_;
292 bool lower_;
293 bool upper_;
294 PROTOBUF_TSAN_DECLARE_MEMBER
295 };
296 union { Impl_ _impl_; };
297 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
300OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_Bounds_class_data_;
301// -------------------------------------------------------------------
302
304 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
305 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
306 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
307 public:
308 using SuperType =
309 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
310 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
311 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
313 template <typename = void>
314 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_VariableBoundsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
315 explicit ModelSubsetProto_VariableBoundsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
316 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
318 }
320
321 static constexpr auto InternalGenerateClassData_();
322
323 private:
324 friend class ::google::protobuf::MessageLite;
325 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
326
327 friend class ::google::protobuf::internal::TcParser;
328 static const ::google::protobuf::internal::TcParseTable<1, 2,
329 1, 0,
330 2>
331 _table_;
332
333 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
334 static void* PROTOBUF_NONNULL PlacementNew_(
335 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
336 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
337 static constexpr auto InternalNewImpl_();
338};
339OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_VariableBoundsEntry_DoNotUse_class_data_;
340// -------------------------------------------------------------------
341
343 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
344 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
345 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
346 public:
347 using SuperType =
348 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
349 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
350 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
352 template <typename = void>
353 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
354 explicit ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
355 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
358
360 static constexpr auto InternalGenerateClassData_();
361
362 private:
363 friend class ::google::protobuf::MessageLite;
364 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
365
366 friend class ::google::protobuf::internal::TcParser;
367 static const ::google::protobuf::internal::TcParseTable<1, 2,
368 1, 0,
369 2>
370 _table_;
371
372 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
373 static void* PROTOBUF_NONNULL PlacementNew_(
374 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
375 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
376 static constexpr auto InternalNewImpl_();
377};
378OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_QuadraticConstraintsEntry_DoNotUse_class_data_;
379// -------------------------------------------------------------------
380
382 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
383 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
384 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
385 public:
386 using SuperType =
387 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
388 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
389 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
391 template <typename = void>
392 explicit PROTOBUF_CONSTEXPR ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
393 explicit ModelSubsetProto_LinearConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
394 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
396 }
398
399 static constexpr auto InternalGenerateClassData_();
400
401 private:
402 friend class ::google::protobuf::MessageLite;
403 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
404
405 friend class ::google::protobuf::internal::TcParser;
406 static const ::google::protobuf::internal::TcParseTable<1, 2,
407 1, 0,
408 2>
409 _table_;
411 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
412 static void* PROTOBUF_NONNULL PlacementNew_(
413 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
414 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
415 static constexpr auto InternalNewImpl_();
416};
417OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_LinearConstraintsEntry_DoNotUse_class_data_;
418// -------------------------------------------------------------------
419
420class OR_PROTO_DLL ModelSubsetProto final : public ::google::protobuf::Message
421/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelSubsetProto) */ {
422 public:
423 inline ModelSubsetProto() : ModelSubsetProto(nullptr) {}
424 ~ModelSubsetProto() PROTOBUF_FINAL;
425
426#if defined(PROTOBUF_CUSTOM_VTABLE)
427 void operator delete(ModelSubsetProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
428 SharedDtor(*msg);
429 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelSubsetProto));
430 }
431#endif
432
433 template <typename = void>
434 explicit PROTOBUF_CONSTEXPR ModelSubsetProto(::google::protobuf::internal::ConstantInitialized);
435
436 inline ModelSubsetProto(const ModelSubsetProto& from) : ModelSubsetProto(nullptr, from) {}
437 inline ModelSubsetProto(ModelSubsetProto&& from) noexcept
438 : ModelSubsetProto(nullptr, ::std::move(from)) {}
439 inline ModelSubsetProto& operator=(const ModelSubsetProto& from) {
440 CopyFrom(from);
441 return *this;
443 inline ModelSubsetProto& operator=(ModelSubsetProto&& from) noexcept {
444 if (this == &from) return *this;
445 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
446 InternalSwap(&from);
447 } else {
448 CopyFrom(from);
450 return *this;
451 }
452
453 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
454 ABSL_ATTRIBUTE_LIFETIME_BOUND {
455 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
456 }
457 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
458 ABSL_ATTRIBUTE_LIFETIME_BOUND {
459 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
460 }
461
462 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
464 }
465 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
466 return default_instance().GetMetadata().descriptor;
467 }
468 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
469 return default_instance().GetMetadata().reflection;
470 }
472 return *reinterpret_cast<const ModelSubsetProto*>(
475 static constexpr int kIndexInFileMessages = 4;
476 friend void swap(ModelSubsetProto& a, ModelSubsetProto& b) { a.Swap(&b); }
477 inline void Swap(ModelSubsetProto* PROTOBUF_NONNULL other) {
478 if (other == this) return;
479 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
480 InternalSwap(other);
481 } else {
482 ::google::protobuf::internal::GenericSwap(this, other);
484 }
485 void UnsafeArenaSwap(ModelSubsetProto* PROTOBUF_NONNULL other) {
486 if (other == this) return;
487 ABSL_DCHECK(GetArena() == other->GetArena());
488 InternalSwap(other);
489 }
490
491 // implements Message ----------------------------------------------
492
493 ModelSubsetProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
494 return ::google::protobuf::Message::DefaultConstruct<ModelSubsetProto>(arena);
495 }
496 using ::google::protobuf::Message::CopyFrom;
497 void CopyFrom(const ModelSubsetProto& from);
498 using ::google::protobuf::Message::MergeFrom;
499 void MergeFrom(const ModelSubsetProto& from) { ModelSubsetProto::MergeImpl(*this, from); }
500
501 private:
502 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
503 const ::google::protobuf::MessageLite& from_msg);
504
505 public:
506 bool IsInitialized() const {
507 return true;
508 }
509 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
510 #if defined(PROTOBUF_CUSTOM_VTABLE)
511 private:
512 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
513 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
514 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
515 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
516
517 public:
518 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
519 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
520 ::uint8_t* PROTOBUF_NONNULL target,
521 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
522 return _InternalSerialize(*this, target, stream);
523 }
524 #else // PROTOBUF_CUSTOM_VTABLE
525 ::size_t ByteSizeLong() const final;
526 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
527 ::uint8_t* PROTOBUF_NONNULL target,
528 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
529 #endif // PROTOBUF_CUSTOM_VTABLE
530 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
531
532 private:
533 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
534 static void SharedDtor(MessageLite& self);
535 void InternalSwap(ModelSubsetProto* PROTOBUF_NONNULL other);
536 private:
537 template <typename T>
538 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
539 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelSubsetProto"; }
540
541 explicit ModelSubsetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
542 ModelSubsetProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelSubsetProto& from);
544 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelSubsetProto&& from) noexcept
545 : ModelSubsetProto(arena) {
546 *this = ::std::move(from);
547 }
548 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
549 static void* PROTOBUF_NONNULL PlacementNew_(
550 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
551 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
552 static constexpr auto InternalNewImpl_();
553
554 public:
555 static constexpr auto InternalGenerateClassData_();
556
557 ::google::protobuf::Metadata GetMetadata() const;
558 // nested types ----------------------------------------------------
559 using Bounds = ModelSubsetProto_Bounds;
560
561 // accessors -------------------------------------------------------
562 enum : int {
563 kVariableIntegralityFieldNumber = 2,
564 kSecondOrderConeConstraintsFieldNumber = 5,
571 };
572 // repeated int64 variable_integrality = 2;
574 private:
575 int _internal_variable_integrality_size() const;
577 public:
579 ::int64_t variable_integrality(int index) const;
580 void set_variable_integrality(int index, ::int64_t value);
581 void add_variable_integrality(::int64_t value);
582 const ::google::protobuf::RepeatedField<::int64_t>& variable_integrality() const;
583 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_variable_integrality();
584
585 private:
586 const ::google::protobuf::RepeatedField<::int64_t>& _internal_variable_integrality() const;
587 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_variable_integrality();
588
589 public:
590 // repeated int64 second_order_cone_constraints = 5;
592 private:
593 int _internal_second_order_cone_constraints_size() const;
594
595 public:
597 ::int64_t second_order_cone_constraints(int index) const;
598 void set_second_order_cone_constraints(int index, ::int64_t value);
599 void add_second_order_cone_constraints(::int64_t value);
600 const ::google::protobuf::RepeatedField<::int64_t>& second_order_cone_constraints() const;
601 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_second_order_cone_constraints();
602
603 private:
604 const ::google::protobuf::RepeatedField<::int64_t>& _internal_second_order_cone_constraints() const;
605 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraints();
606
607 public:
608 // repeated int64 sos1_constraints = 6;
609 int sos1_constraints_size() const;
610 private:
611 int _internal_sos1_constraints_size() const;
612
613 public:
615 ::int64_t sos1_constraints(int index) const;
616 void set_sos1_constraints(int index, ::int64_t value);
617 void add_sos1_constraints(::int64_t value);
618 const ::google::protobuf::RepeatedField<::int64_t>& sos1_constraints() const;
619 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_sos1_constraints();
620
621 private:
622 const ::google::protobuf::RepeatedField<::int64_t>& _internal_sos1_constraints() const;
623 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_sos1_constraints();
624
625 public:
626 // repeated int64 sos2_constraints = 7;
627 int sos2_constraints_size() const;
628 private:
629 int _internal_sos2_constraints_size() const;
630
631 public:
633 ::int64_t sos2_constraints(int index) const;
634 void set_sos2_constraints(int index, ::int64_t value);
635 void add_sos2_constraints(::int64_t value);
636 const ::google::protobuf::RepeatedField<::int64_t>& sos2_constraints() const;
637 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_sos2_constraints();
638
639 private:
640 const ::google::protobuf::RepeatedField<::int64_t>& _internal_sos2_constraints() const;
641 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_sos2_constraints();
642
643 public:
644 // repeated int64 indicator_constraints = 8;
645 int indicator_constraints_size() const;
646 private:
647 int _internal_indicator_constraints_size() const;
648
649 public:
651 ::int64_t indicator_constraints(int index) const;
652 void set_indicator_constraints(int index, ::int64_t value);
653 void add_indicator_constraints(::int64_t value);
654 const ::google::protobuf::RepeatedField<::int64_t>& indicator_constraints() const;
655 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_indicator_constraints();
656
657 private:
658 const ::google::protobuf::RepeatedField<::int64_t>& _internal_indicator_constraints() const;
659 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_indicator_constraints();
660
661 public:
662 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> variable_bounds = 1;
663 int variable_bounds_size() const;
664 private:
665 int _internal_variable_bounds_size() const;
666
667 public:
668 void clear_variable_bounds() ;
669 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& variable_bounds() const;
670 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL mutable_variable_bounds();
671
672 private:
673 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& _internal_variable_bounds() const;
674 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL _internal_mutable_variable_bounds();
675
676 public:
677 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
678 int linear_constraints_size() const;
679 private:
680 int _internal_linear_constraints_size() const;
681
682 public:
684 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& linear_constraints() const;
685 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL mutable_linear_constraints();
686
687 private:
688 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& _internal_linear_constraints() const;
689 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL _internal_mutable_linear_constraints();
690
691 public:
692 // map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
693 int quadratic_constraints_size() const;
694 private:
695 int _internal_quadratic_constraints_size() const;
696
697 public:
699 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& quadratic_constraints() const;
700 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL mutable_quadratic_constraints();
701
702 private:
703 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& _internal_quadratic_constraints() const;
704 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL _internal_mutable_quadratic_constraints();
705
706 public:
707 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelSubsetProto)
708 private:
709 class _Internal;
710 friend class ::google::protobuf::internal::TcParser;
711 static const ::google::protobuf::internal::TcParseTable<3, 8,
712 6, 0,
713 2>
714 _table_;
715
716 friend class ::google::protobuf::MessageLite;
717 friend class ::google::protobuf::Arena;
718 template <typename T>
719 friend class ::google::protobuf::Arena::InternalHelper;
720 using InternalArenaConstructable_ = void;
721 using DestructorSkippable_ = void;
722 struct Impl_ {
723 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
724 inline explicit Impl_(
725 ::google::protobuf::internal::InternalVisibility visibility,
726 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
727 inline explicit Impl_(
728 ::google::protobuf::internal::InternalVisibility visibility,
729 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
730 const ModelSubsetProto& from_msg);
731 ::google::protobuf::internal::HasBits<1> _has_bits_;
732 ::google::protobuf::internal::CachedSize _cached_size_;
733 ::google::protobuf::RepeatedField<::int64_t> variable_integrality_;
734 ::google::protobuf::internal::CachedSize _variable_integrality_cached_byte_size_;
735 ::google::protobuf::RepeatedField<::int64_t> second_order_cone_constraints_;
736 ::google::protobuf::internal::CachedSize _second_order_cone_constraints_cached_byte_size_;
737 ::google::protobuf::RepeatedField<::int64_t> sos1_constraints_;
738 ::google::protobuf::internal::CachedSize _sos1_constraints_cached_byte_size_;
739 ::google::protobuf::RepeatedField<::int64_t> sos2_constraints_;
740 ::google::protobuf::internal::CachedSize _sos2_constraints_cached_byte_size_;
741 ::google::protobuf::RepeatedField<::int64_t> indicator_constraints_;
742 ::google::protobuf::internal::CachedSize _indicator_constraints_cached_byte_size_;
744 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
745 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
746 variable_bounds_;
748 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
749 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
750 linear_constraints_;
752 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
753 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
754 quadratic_constraints_;
755 PROTOBUF_TSAN_DECLARE_MEMBER
756 };
757 union { Impl_ _impl_; };
758 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
759};
760
761OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelSubsetProto_class_data_;
762// -------------------------------------------------------------------
764class OR_PROTO_DLL ComputeInfeasibleSubsystemResultProto final : public ::google::protobuf::Message
765/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto) */ {
766 public:
769
770#if defined(PROTOBUF_CUSTOM_VTABLE)
771 void operator delete(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
772 SharedDtor(*msg);
773 ::google::protobuf::internal::SizedDelete(msg, sizeof(ComputeInfeasibleSubsystemResultProto));
775#endif
776
777 template <typename = void>
778 explicit PROTOBUF_CONSTEXPR ComputeInfeasibleSubsystemResultProto(::google::protobuf::internal::ConstantInitialized);
779
781 inline ComputeInfeasibleSubsystemResultProto(ComputeInfeasibleSubsystemResultProto&& from) noexcept
782 : ComputeInfeasibleSubsystemResultProto(nullptr, ::std::move(from)) {}
783 inline ComputeInfeasibleSubsystemResultProto& operator=(const ComputeInfeasibleSubsystemResultProto& from) {
784 CopyFrom(from);
785 return *this;
786 }
788 if (this == &from) return *this;
789 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
790 InternalSwap(&from);
791 } else {
792 CopyFrom(from);
793 }
794 return *this;
795 }
796
797 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
798 ABSL_ATTRIBUTE_LIFETIME_BOUND {
799 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
800 }
801 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
802 ABSL_ATTRIBUTE_LIFETIME_BOUND {
803 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
805
806 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
807 return GetDescriptor();
809 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
810 return default_instance().GetMetadata().descriptor;
811 }
812 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
813 return default_instance().GetMetadata().reflection;
814 }
815 static const ComputeInfeasibleSubsystemResultProto& default_instance() {
819 static constexpr int kIndexInFileMessages = 5;
821 inline void Swap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL other) {
822 if (other == this) return;
823 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
824 InternalSwap(other);
825 } else {
826 ::google::protobuf::internal::GenericSwap(this, other);
829 void UnsafeArenaSwap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL other) {
830 if (other == this) return;
831 ABSL_DCHECK(GetArena() == other->GetArena());
832 InternalSwap(other);
833 }
834
835 // implements Message ----------------------------------------------
837 ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
838 return ::google::protobuf::Message::DefaultConstruct<ComputeInfeasibleSubsystemResultProto>(arena);
839 }
840 using ::google::protobuf::Message::CopyFrom;
841 void CopyFrom(const ComputeInfeasibleSubsystemResultProto& from);
842 using ::google::protobuf::Message::MergeFrom;
843 void MergeFrom(const ComputeInfeasibleSubsystemResultProto& from) { ComputeInfeasibleSubsystemResultProto::MergeImpl(*this, from); }
845 private:
846 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
847 const ::google::protobuf::MessageLite& from_msg);
848
849 public:
850 bool IsInitialized() const {
851 return true;
852 }
853 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
854 #if defined(PROTOBUF_CUSTOM_VTABLE)
855 private:
856 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
857 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
858 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
859 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
860
861 public:
862 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
863 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
864 ::uint8_t* PROTOBUF_NONNULL target,
865 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
866 return _InternalSerialize(*this, target, stream);
867 }
868 #else // PROTOBUF_CUSTOM_VTABLE
869 ::size_t ByteSizeLong() const final;
870 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
871 ::uint8_t* PROTOBUF_NONNULL target,
872 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
873 #endif // PROTOBUF_CUSTOM_VTABLE
874 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
875
876 private:
877 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
878 static void SharedDtor(MessageLite& self);
879 void InternalSwap(ComputeInfeasibleSubsystemResultProto* PROTOBUF_NONNULL other);
880 private:
881 template <typename T>
882 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
883 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ComputeInfeasibleSubsystemResultProto"; }
884
885 explicit ComputeInfeasibleSubsystemResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
886 ComputeInfeasibleSubsystemResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ComputeInfeasibleSubsystemResultProto& from);
888 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ComputeInfeasibleSubsystemResultProto&& from) noexcept
890 *this = ::std::move(from);
891 }
892 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
893 static void* PROTOBUF_NONNULL PlacementNew_(
894 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
895 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
896 static constexpr auto InternalNewImpl_();
897
898 public:
899 static constexpr auto InternalGenerateClassData_();
900
901 ::google::protobuf::Metadata GetMetadata() const;
902 // nested types ----------------------------------------------------
903
904 // accessors -------------------------------------------------------
905 enum : int {
906 kInfeasibleSubsystemFieldNumber = 2,
907 kFeasibilityFieldNumber = 1,
908 kIsMinimalFieldNumber = 3,
909 };
910 // .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
911 bool has_infeasible_subsystem() const;
912 void clear_infeasible_subsystem() ;
913 const ::operations_research::math_opt::ModelSubsetProto& infeasible_subsystem() const;
919
920 private:
921 const ::operations_research::math_opt::ModelSubsetProto& _internal_infeasible_subsystem() const;
922 ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NONNULL _internal_mutable_infeasible_subsystem();
923
924 public:
925 // .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
926 void clear_feasibility() ;
929
930 private:
932 void _internal_set_feasibility(::operations_research::math_opt::FeasibilityStatusProto value);
933
934 public:
935 // bool is_minimal = 3;
936 void clear_is_minimal() ;
937 bool is_minimal() const;
938 void set_is_minimal(bool value);
939
940 private:
941 bool _internal_is_minimal() const;
942 void _internal_set_is_minimal(bool value);
943
944 public:
945 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto)
946 private:
947 class _Internal;
948 friend class ::google::protobuf::internal::TcParser;
949 static const ::google::protobuf::internal::TcParseTable<2, 3,
950 1, 0,
951 2>
952 _table_;
953
954 friend class ::google::protobuf::MessageLite;
955 friend class ::google::protobuf::Arena;
956 template <typename T>
957 friend class ::google::protobuf::Arena::InternalHelper;
958 using InternalArenaConstructable_ = void;
959 using DestructorSkippable_ = void;
960 struct Impl_ {
961 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
962 inline explicit Impl_(
963 ::google::protobuf::internal::InternalVisibility visibility,
964 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
965 inline explicit Impl_(
966 ::google::protobuf::internal::InternalVisibility visibility,
967 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
969 ::google::protobuf::internal::HasBits<1> _has_bits_;
970 ::google::protobuf::internal::CachedSize _cached_size_;
971 ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE infeasible_subsystem_;
972 int feasibility_;
973 bool is_minimal_;
974 PROTOBUF_TSAN_DECLARE_MEMBER
975 };
976 union { Impl_ _impl_; };
977 friend struct ::TableStruct_ortools_2fmath_5fopt_2finfeasible_5fsubsystem_2eproto;
978};
979
980OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ComputeInfeasibleSubsystemResultProto_class_data_;
981
982// ===================================================================
985
986
987// ===================================================================
988
989
990#ifdef __GNUC__
991#pragma GCC diagnostic push
992#pragma GCC diagnostic ignored "-Wstrict-aliasing"
993#endif // __GNUC__
994// -------------------------------------------------------------------
995
996// ModelSubsetProto_Bounds
997
998// bool lower = 1;
1000 ::google::protobuf::internal::TSanWrite(&_impl_);
1001 _impl_.lower_ = false;
1002 ClearHasBit(_impl_._has_bits_[0],
1003 0x00000001U);
1004}
1005inline bool ModelSubsetProto_Bounds::lower() const {
1006 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.Bounds.lower)
1007 return _internal_lower();
1008}
1009inline void ModelSubsetProto_Bounds::set_lower(bool value) {
1010 _internal_set_lower(value);
1011 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1012 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.Bounds.lower)
1013}
1014inline bool ModelSubsetProto_Bounds::_internal_lower() const {
1015 ::google::protobuf::internal::TSanRead(&_impl_);
1016 return _impl_.lower_;
1017}
1018inline void ModelSubsetProto_Bounds::_internal_set_lower(bool value) {
1019 ::google::protobuf::internal::TSanWrite(&_impl_);
1020 _impl_.lower_ = value;
1021}
1022
1023// bool upper = 2;
1025 ::google::protobuf::internal::TSanWrite(&_impl_);
1026 _impl_.upper_ = false;
1027 ClearHasBit(_impl_._has_bits_[0],
1028 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 SetHasBit(_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 ClearHasBitForRepeated(_impl_._has_bits_[0],
1069 0x00000020U);
1070}
1071inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::_internal_variable_bounds() const {
1072 ::google::protobuf::internal::TSanRead(&_impl_);
1073 return _impl_.variable_bounds_.GetMap();
1074}
1075inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::variable_bounds() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1076 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelSubsetProto.variable_bounds)
1077 return _internal_variable_bounds();
1078}
1079inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::_internal_mutable_variable_bounds() {
1080 ::google::protobuf::internal::TSanWrite(&_impl_);
1081 return _impl_.variable_bounds_.MutableMap();
1082}
1083inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::mutable_variable_bounds()
1084 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1085 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000020U);
1086 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelSubsetProto.variable_bounds)
1087 return _internal_mutable_variable_bounds();
1088}
1090// repeated int64 variable_integrality = 2;
1091inline int ModelSubsetProto::_internal_variable_integrality_size() const {
1092 return _internal_variable_integrality().size();
1093}
1095 return _internal_variable_integrality_size();
1096}
1098 ::google::protobuf::internal::TSanWrite(&_impl_);
1099 _impl_.variable_integrality_.Clear();
1100 ClearHasBitForRepeated(_impl_._has_bits_[0],
1101 0x00000001U);
1102}
1103inline ::int64_t ModelSubsetProto::variable_integrality(int index) const {
1104 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1105 return _internal_variable_integrality().Get(index);
1106}
1107inline void ModelSubsetProto::set_variable_integrality(int index, ::int64_t value) {
1108 _internal_mutable_variable_integrality()->Set(index, value);
1109 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1110}
1112 ::google::protobuf::internal::TSanWrite(&_impl_);
1113 _internal_mutable_variable_integrality()->Add(value);
1114 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1115 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1116}
1117inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::variable_integrality() const
1118 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1119 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1120 return _internal_variable_integrality();
1122inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_variable_integrality()
1123 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1124 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
1125 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.variable_integrality)
1126 ::google::protobuf::internal::TSanWrite(&_impl_);
1127 return _internal_mutable_variable_integrality();
1128}
1129inline const ::google::protobuf::RepeatedField<::int64_t>&
1130ModelSubsetProto::_internal_variable_integrality() const {
1131 ::google::protobuf::internal::TSanRead(&_impl_);
1132 return _impl_.variable_integrality_;
1133}
1134inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1135ModelSubsetProto::_internal_mutable_variable_integrality() {
1136 ::google::protobuf::internal::TSanRead(&_impl_);
1137 return &_impl_.variable_integrality_;
1138}
1139
1140// map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> linear_constraints = 3;
1141inline int ModelSubsetProto::_internal_linear_constraints_size() const {
1142 return _internal_linear_constraints().size();
1143}
1145 return _internal_linear_constraints_size();
1146}
1148 ::google::protobuf::internal::TSanWrite(&_impl_);
1149 _impl_.linear_constraints_.Clear();
1150 ClearHasBitForRepeated(_impl_._has_bits_[0],
1151 0x00000040U);
1152}
1153inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::_internal_linear_constraints() const {
1154 ::google::protobuf::internal::TSanRead(&_impl_);
1155 return _impl_.linear_constraints_.GetMap();
1156}
1157inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::linear_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1158 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelSubsetProto.linear_constraints)
1159 return _internal_linear_constraints();
1160}
1161inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::_internal_mutable_linear_constraints() {
1162 ::google::protobuf::internal::TSanWrite(&_impl_);
1163 return _impl_.linear_constraints_.MutableMap();
1164}
1165inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::mutable_linear_constraints()
1166 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1167 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U);
1168 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelSubsetProto.linear_constraints)
1169 return _internal_mutable_linear_constraints();
1170}
1172// map<int64, .operations_research.math_opt.ModelSubsetProto.Bounds> quadratic_constraints = 4;
1173inline int ModelSubsetProto::_internal_quadratic_constraints_size() const {
1174 return _internal_quadratic_constraints().size();
1175}
1177 return _internal_quadratic_constraints_size();
1178}
1180 ::google::protobuf::internal::TSanWrite(&_impl_);
1181 _impl_.quadratic_constraints_.Clear();
1182 ClearHasBitForRepeated(_impl_._has_bits_[0],
1183 0x00000080U);
1184}
1185inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::_internal_quadratic_constraints() const {
1186 ::google::protobuf::internal::TSanRead(&_impl_);
1187 return _impl_.quadratic_constraints_.GetMap();
1188}
1189inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>& ModelSubsetProto::quadratic_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1190 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelSubsetProto.quadratic_constraints)
1191 return _internal_quadratic_constraints();
1192}
1193inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::_internal_mutable_quadratic_constraints() {
1194 ::google::protobuf::internal::TSanWrite(&_impl_);
1195 return _impl_.quadratic_constraints_.MutableMap();
1196}
1197inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds>* PROTOBUF_NONNULL ModelSubsetProto::mutable_quadratic_constraints()
1198 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1199 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U);
1200 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelSubsetProto.quadratic_constraints)
1201 return _internal_mutable_quadratic_constraints();
1202}
1204// repeated int64 second_order_cone_constraints = 5;
1205inline int ModelSubsetProto::_internal_second_order_cone_constraints_size() const {
1206 return _internal_second_order_cone_constraints().size();
1207}
1209 return _internal_second_order_cone_constraints_size();
1210}
1212 ::google::protobuf::internal::TSanWrite(&_impl_);
1213 _impl_.second_order_cone_constraints_.Clear();
1214 ClearHasBitForRepeated(_impl_._has_bits_[0],
1215 0x00000002U);
1216}
1217inline ::int64_t ModelSubsetProto::second_order_cone_constraints(int index) const {
1218 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1219 return _internal_second_order_cone_constraints().Get(index);
1220}
1221inline void ModelSubsetProto::set_second_order_cone_constraints(int index, ::int64_t value) {
1222 _internal_mutable_second_order_cone_constraints()->Set(index, value);
1223 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1224}
1226 ::google::protobuf::internal::TSanWrite(&_impl_);
1227 _internal_mutable_second_order_cone_constraints()->Add(value);
1228 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1229 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1230}
1231inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::second_order_cone_constraints() const
1232 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1233 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1234 return _internal_second_order_cone_constraints();
1236inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_second_order_cone_constraints()
1237 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1238 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
1239 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.second_order_cone_constraints)
1240 ::google::protobuf::internal::TSanWrite(&_impl_);
1241 return _internal_mutable_second_order_cone_constraints();
1242}
1243inline const ::google::protobuf::RepeatedField<::int64_t>&
1244ModelSubsetProto::_internal_second_order_cone_constraints() const {
1245 ::google::protobuf::internal::TSanRead(&_impl_);
1246 return _impl_.second_order_cone_constraints_;
1247}
1248inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1249ModelSubsetProto::_internal_mutable_second_order_cone_constraints() {
1250 ::google::protobuf::internal::TSanRead(&_impl_);
1251 return &_impl_.second_order_cone_constraints_;
1252}
1253
1254// repeated int64 sos1_constraints = 6;
1255inline int ModelSubsetProto::_internal_sos1_constraints_size() const {
1256 return _internal_sos1_constraints().size();
1257}
1258inline int ModelSubsetProto::sos1_constraints_size() const {
1259 return _internal_sos1_constraints_size();
1260}
1262 ::google::protobuf::internal::TSanWrite(&_impl_);
1263 _impl_.sos1_constraints_.Clear();
1264 ClearHasBitForRepeated(_impl_._has_bits_[0],
1265 0x00000004U);
1266}
1267inline ::int64_t ModelSubsetProto::sos1_constraints(int index) const {
1268 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1269 return _internal_sos1_constraints().Get(index);
1270}
1271inline void ModelSubsetProto::set_sos1_constraints(int index, ::int64_t value) {
1272 _internal_mutable_sos1_constraints()->Set(index, value);
1273 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1274}
1275inline void ModelSubsetProto::add_sos1_constraints(::int64_t value) {
1276 ::google::protobuf::internal::TSanWrite(&_impl_);
1277 _internal_mutable_sos1_constraints()->Add(value);
1278 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
1279 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1280}
1281inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::sos1_constraints() const
1282 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1283 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1284 return _internal_sos1_constraints();
1286inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_sos1_constraints()
1287 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1288 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
1289 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.sos1_constraints)
1290 ::google::protobuf::internal::TSanWrite(&_impl_);
1291 return _internal_mutable_sos1_constraints();
1292}
1293inline const ::google::protobuf::RepeatedField<::int64_t>&
1294ModelSubsetProto::_internal_sos1_constraints() const {
1295 ::google::protobuf::internal::TSanRead(&_impl_);
1296 return _impl_.sos1_constraints_;
1297}
1298inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1299ModelSubsetProto::_internal_mutable_sos1_constraints() {
1300 ::google::protobuf::internal::TSanRead(&_impl_);
1301 return &_impl_.sos1_constraints_;
1302}
1303
1304// repeated int64 sos2_constraints = 7;
1305inline int ModelSubsetProto::_internal_sos2_constraints_size() const {
1306 return _internal_sos2_constraints().size();
1307}
1308inline int ModelSubsetProto::sos2_constraints_size() const {
1309 return _internal_sos2_constraints_size();
1310}
1312 ::google::protobuf::internal::TSanWrite(&_impl_);
1313 _impl_.sos2_constraints_.Clear();
1314 ClearHasBitForRepeated(_impl_._has_bits_[0],
1315 0x00000008U);
1316}
1317inline ::int64_t ModelSubsetProto::sos2_constraints(int index) const {
1318 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1319 return _internal_sos2_constraints().Get(index);
1320}
1321inline void ModelSubsetProto::set_sos2_constraints(int index, ::int64_t value) {
1322 _internal_mutable_sos2_constraints()->Set(index, value);
1323 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1324}
1325inline void ModelSubsetProto::add_sos2_constraints(::int64_t value) {
1326 ::google::protobuf::internal::TSanWrite(&_impl_);
1327 _internal_mutable_sos2_constraints()->Add(value);
1328 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
1329 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1330}
1331inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::sos2_constraints() const
1332 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1333 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1334 return _internal_sos2_constraints();
1336inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_sos2_constraints()
1337 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1338 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
1339 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.sos2_constraints)
1340 ::google::protobuf::internal::TSanWrite(&_impl_);
1341 return _internal_mutable_sos2_constraints();
1342}
1343inline const ::google::protobuf::RepeatedField<::int64_t>&
1344ModelSubsetProto::_internal_sos2_constraints() const {
1345 ::google::protobuf::internal::TSanRead(&_impl_);
1346 return _impl_.sos2_constraints_;
1347}
1348inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1349ModelSubsetProto::_internal_mutable_sos2_constraints() {
1350 ::google::protobuf::internal::TSanRead(&_impl_);
1351 return &_impl_.sos2_constraints_;
1352}
1353
1354// repeated int64 indicator_constraints = 8;
1355inline int ModelSubsetProto::_internal_indicator_constraints_size() const {
1356 return _internal_indicator_constraints().size();
1357}
1359 return _internal_indicator_constraints_size();
1360}
1362 ::google::protobuf::internal::TSanWrite(&_impl_);
1363 _impl_.indicator_constraints_.Clear();
1364 ClearHasBitForRepeated(_impl_._has_bits_[0],
1365 0x00000010U);
1366}
1367inline ::int64_t ModelSubsetProto::indicator_constraints(int index) const {
1368 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1369 return _internal_indicator_constraints().Get(index);
1370}
1371inline void ModelSubsetProto::set_indicator_constraints(int index, ::int64_t value) {
1372 _internal_mutable_indicator_constraints()->Set(index, value);
1373 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1374}
1376 ::google::protobuf::internal::TSanWrite(&_impl_);
1377 _internal_mutable_indicator_constraints()->Add(value);
1378 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
1379 // @@protoc_insertion_point(field_add:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1380}
1381inline const ::google::protobuf::RepeatedField<::int64_t>& ModelSubsetProto::indicator_constraints() const
1382 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1383 // @@protoc_insertion_point(field_list:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1384 return _internal_indicator_constraints();
1386inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL ModelSubsetProto::mutable_indicator_constraints()
1387 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1388 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
1389 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.ModelSubsetProto.indicator_constraints)
1390 ::google::protobuf::internal::TSanWrite(&_impl_);
1391 return _internal_mutable_indicator_constraints();
1392}
1393inline const ::google::protobuf::RepeatedField<::int64_t>&
1394ModelSubsetProto::_internal_indicator_constraints() const {
1395 ::google::protobuf::internal::TSanRead(&_impl_);
1396 return _impl_.indicator_constraints_;
1397}
1398inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
1399ModelSubsetProto::_internal_mutable_indicator_constraints() {
1400 ::google::protobuf::internal::TSanRead(&_impl_);
1401 return &_impl_.indicator_constraints_;
1402}
1403
1404// -------------------------------------------------------------------
1405
1406// ComputeInfeasibleSubsystemResultProto
1407
1408// .operations_research.math_opt.FeasibilityStatusProto feasibility = 1;
1410 ::google::protobuf::internal::TSanWrite(&_impl_);
1411 _impl_.feasibility_ = 0;
1412 ClearHasBit(_impl_._has_bits_[0],
1413 0x00000002U);
1414}
1415inline ::operations_research::math_opt::FeasibilityStatusProto ComputeInfeasibleSubsystemResultProto::feasibility() const {
1416 // @@protoc_insertion_point(field_get:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.feasibility)
1417 return _internal_feasibility();
1418}
1420 _internal_set_feasibility(value);
1421 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
1422 // @@protoc_insertion_point(field_set:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.feasibility)
1423}
1424inline ::operations_research::math_opt::FeasibilityStatusProto ComputeInfeasibleSubsystemResultProto::_internal_feasibility() const {
1425 ::google::protobuf::internal::TSanRead(&_impl_);
1426 return static_cast<::operations_research::math_opt::FeasibilityStatusProto>(_impl_.feasibility_);
1427}
1428inline void ComputeInfeasibleSubsystemResultProto::_internal_set_feasibility(::operations_research::math_opt::FeasibilityStatusProto value) {
1429 ::google::protobuf::internal::TSanWrite(&_impl_);
1430 _impl_.feasibility_ = value;
1431}
1432
1433// .operations_research.math_opt.ModelSubsetProto infeasible_subsystem = 2;
1435 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
1436 PROTOBUF_ASSUME(!value || _impl_.infeasible_subsystem_ != nullptr);
1437 return value;
1438}
1440 ::google::protobuf::internal::TSanWrite(&_impl_);
1441 if (_impl_.infeasible_subsystem_ != nullptr) _impl_.infeasible_subsystem_->Clear();
1442 ClearHasBit(_impl_._has_bits_[0],
1443 0x00000001U);
1444}
1445inline const ::operations_research::math_opt::ModelSubsetProto& ComputeInfeasibleSubsystemResultProto::_internal_infeasible_subsystem() const {
1446 ::google::protobuf::internal::TSanRead(&_impl_);
1447 const ::operations_research::math_opt::ModelSubsetProto* p = _impl_.infeasible_subsystem_;
1450inline const ::operations_research::math_opt::ModelSubsetProto& ComputeInfeasibleSubsystemResultProto::infeasible_subsystem() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1451 // @@protoc_insertion_point(field_get:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1452 return _internal_infeasible_subsystem();
1453}
1455 ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE value) {
1456 ::google::protobuf::internal::TSanWrite(&_impl_);
1457 if (GetArena() == nullptr) {
1458 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.infeasible_subsystem_);
1459 }
1460 _impl_.infeasible_subsystem_ = reinterpret_cast<::operations_research::math_opt::ModelSubsetProto*>(value);
1461 if (value != nullptr) {
1462 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1463 } else {
1464 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1466 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1467}
1468inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE ComputeInfeasibleSubsystemResultProto::release_infeasible_subsystem() {
1469 ::google::protobuf::internal::TSanWrite(&_impl_);
1470
1471 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1472 ::operations_research::math_opt::ModelSubsetProto* released = _impl_.infeasible_subsystem_;
1473 _impl_.infeasible_subsystem_ = nullptr;
1474 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1475 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1476 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1477 if (GetArena() == nullptr) {
1478 delete old;
1479 }
1480 } else {
1481 if (GetArena() != nullptr) {
1482 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1484 }
1485 return released;
1486}
1487inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NULLABLE ComputeInfeasibleSubsystemResultProto::unsafe_arena_release_infeasible_subsystem() {
1488 ::google::protobuf::internal::TSanWrite(&_impl_);
1489 // @@protoc_insertion_point(field_release:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1490
1491 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1492 ::operations_research::math_opt::ModelSubsetProto* temp = _impl_.infeasible_subsystem_;
1493 _impl_.infeasible_subsystem_ = nullptr;
1494 return temp;
1495}
1496inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NONNULL ComputeInfeasibleSubsystemResultProto::_internal_mutable_infeasible_subsystem() {
1497 ::google::protobuf::internal::TSanWrite(&_impl_);
1498 if (_impl_.infeasible_subsystem_ == nullptr) {
1499 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ModelSubsetProto>(GetArena());
1500 _impl_.infeasible_subsystem_ = reinterpret_cast<::operations_research::math_opt::ModelSubsetProto*>(p);
1501 }
1502 return _impl_.infeasible_subsystem_;
1503}
1504inline ::operations_research::math_opt::ModelSubsetProto* PROTOBUF_NONNULL ComputeInfeasibleSubsystemResultProto::mutable_infeasible_subsystem()
1505 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1506 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1507 ::operations_research::math_opt::ModelSubsetProto* _msg = _internal_mutable_infeasible_subsystem();
1508 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1509 return _msg;
1510}
1512 ::google::protobuf::Arena* message_arena = GetArena();
1513 ::google::protobuf::internal::TSanWrite(&_impl_);
1514 if (message_arena == nullptr) {
1515 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.infeasible_subsystem_);
1516 }
1517
1518 if (value != nullptr) {
1519 ::google::protobuf::Arena* submessage_arena = value->GetArena();
1520 if (message_arena != submessage_arena) {
1521 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1522 }
1523 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
1524 } else {
1525 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
1527
1528 _impl_.infeasible_subsystem_ = reinterpret_cast<::operations_research::math_opt::ModelSubsetProto*>(value);
1529 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.infeasible_subsystem)
1530}
1531
1532// bool is_minimal = 3;
1534 ::google::protobuf::internal::TSanWrite(&_impl_);
1535 _impl_.is_minimal_ = false;
1536 ClearHasBit(_impl_._has_bits_[0],
1537 0x00000004U);
1538}
1540 // @@protoc_insertion_point(field_get:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.is_minimal)
1541 return _internal_is_minimal();
1542}
1544 _internal_set_is_minimal(value);
1545 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
1546 // @@protoc_insertion_point(field_set:operations_research.math_opt.ComputeInfeasibleSubsystemResultProto.is_minimal)
1547}
1548inline bool ComputeInfeasibleSubsystemResultProto::_internal_is_minimal() const {
1549 ::google::protobuf::internal::TSanRead(&_impl_);
1550 return _impl_.is_minimal_;
1551}
1552inline void ComputeInfeasibleSubsystemResultProto::_internal_set_is_minimal(bool value) {
1553 ::google::protobuf::internal::TSanWrite(&_impl_);
1554 _impl_.is_minimal_ = value;
1555}
1556
1557#ifdef __GNUC__
1558#pragma GCC diagnostic pop
1559#endif // __GNUC__
1560
1561// @@protoc_insertion_point(namespace_scope)
1562} // namespace math_opt
1563} // namespace operations_research
1564
1565
1566// @@protoc_insertion_point(global_scope)
1567
1568#include "google/protobuf/port_undef.inc"
1569
1570#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
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
::operations_research::math_opt::FeasibilityStatusProto feasibility() const
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)
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()
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > & linear_constraints() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
const ::google::protobuf::RepeatedField<::int64_t > & variable_integrality() const
ModelSubsetProto & operator=(const ModelSubsetProto &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void set_second_order_cone_constraints(int index, ::int64_t value)
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
::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()
::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
const ::google::protobuf::RepeatedField<::int64_t > & sos2_constraints() const
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ModelSubsetProto_Bounds > & variable_bounds() const
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()
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_
OR-Tools root namespace.