Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
model.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/model.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fmath_5fopt_2fmodel_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fmodel_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_2fmodel_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_2fmodel_2eproto;
59} // extern "C"
60namespace operations_research {
61namespace math_opt {
65OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_;
69OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_;
70class ModelProto;
73OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_class_data_;
77OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_;
81OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_;
85OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_;
89OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_;
93OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_;
97OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_;
98class ObjectiveProto;
101OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_;
105OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_;
109OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_;
113OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_;
114class VariablesProto;
117OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull VariablesProto_class_data_;
118} // namespace math_opt
119} // namespace operations_research
120namespace google {
121namespace protobuf {
122} // namespace protobuf
123} // namespace google
124
125namespace operations_research {
126namespace math_opt {
127
128// ===================================================================
129
130
131// -------------------------------------------------------------------
132
133class OR_PROTO_DLL VariablesProto final : public ::google::protobuf::Message
134/* @@protoc_insertion_point(class_definition:operations_research.math_opt.VariablesProto) */ {
135 public:
136 inline VariablesProto() : VariablesProto(nullptr) {}
137 ~VariablesProto() PROTOBUF_FINAL;
139#if defined(PROTOBUF_CUSTOM_VTABLE)
140 void operator delete(VariablesProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
141 SharedDtor(*msg);
142 ::google::protobuf::internal::SizedDelete(msg, sizeof(VariablesProto));
143 }
144#endif
145
146 template <typename = void>
147 explicit PROTOBUF_CONSTEXPR VariablesProto(::google::protobuf::internal::ConstantInitialized);
148
149 inline VariablesProto(const VariablesProto& from) : VariablesProto(nullptr, from) {}
150 inline VariablesProto(VariablesProto&& from) noexcept
151 : VariablesProto(nullptr, ::std::move(from)) {}
153 CopyFrom(from);
154 return *this;
155 }
156 inline VariablesProto& operator=(VariablesProto&& from) noexcept {
157 if (this == &from) return *this;
158 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
159 InternalSwap(&from);
160 } else {
161 CopyFrom(from);
162 }
163 return *this;
164 }
165
166 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
167 ABSL_ATTRIBUTE_LIFETIME_BOUND {
168 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
169 }
170 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
171 ABSL_ATTRIBUTE_LIFETIME_BOUND {
172 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
173 }
174
175 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
176 return GetDescriptor();
178 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
179 return default_instance().GetMetadata().descriptor;
181 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
182 return default_instance().GetMetadata().reflection;
184 static const VariablesProto& default_instance() {
185 return *reinterpret_cast<const VariablesProto*>(
187 }
188 static constexpr int kIndexInFileMessages = 0;
189 friend void swap(VariablesProto& a, VariablesProto& b) { a.Swap(&b); }
190 inline void Swap(VariablesProto* PROTOBUF_NONNULL other) {
191 if (other == this) return;
192 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
193 InternalSwap(other);
194 } else {
195 ::google::protobuf::internal::GenericSwap(this, other);
196 }
197 }
198 void UnsafeArenaSwap(VariablesProto* PROTOBUF_NONNULL other) {
199 if (other == this) return;
200 ABSL_DCHECK(GetArena() == other->GetArena());
201 InternalSwap(other);
202 }
203
204 // implements Message ----------------------------------------------
205
206 VariablesProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
207 return ::google::protobuf::Message::DefaultConstruct<VariablesProto>(arena);
209 using ::google::protobuf::Message::CopyFrom;
210 void CopyFrom(const VariablesProto& from);
211 using ::google::protobuf::Message::MergeFrom;
212 void MergeFrom(const VariablesProto& from) { VariablesProto::MergeImpl(*this, from); }
213
214 private:
215 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
216 const ::google::protobuf::MessageLite& from_msg);
217
218 public:
219 bool IsInitialized() const {
220 return true;
222 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
223 #if defined(PROTOBUF_CUSTOM_VTABLE)
224 private:
225 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
226 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
227 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
228 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
229
230 public:
231 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
232 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
233 ::uint8_t* PROTOBUF_NONNULL target,
234 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
235 return _InternalSerialize(*this, target, stream);
236 }
237 #else // PROTOBUF_CUSTOM_VTABLE
238 ::size_t ByteSizeLong() const final;
239 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
240 ::uint8_t* PROTOBUF_NONNULL target,
241 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
242 #endif // PROTOBUF_CUSTOM_VTABLE
243 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
244
245 private:
246 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
247 static void SharedDtor(MessageLite& self);
248 void InternalSwap(VariablesProto* PROTOBUF_NONNULL other);
249 private:
250 template <typename T>
251 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
252 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.VariablesProto"; }
253
254 explicit VariablesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
255 VariablesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const VariablesProto& from);
257 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, VariablesProto&& from) noexcept
258 : VariablesProto(arena) {
259 *this = ::std::move(from);
260 }
261 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
262 static void* PROTOBUF_NONNULL PlacementNew_(
263 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
264 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
265 static constexpr auto InternalNewImpl_();
266
267 public:
268 static constexpr auto InternalGenerateClassData_();
269
270 ::google::protobuf::Metadata GetMetadata() const;
271 // nested types ----------------------------------------------------
272
273 // accessors -------------------------------------------------------
274 enum : int {
275 kIdsFieldNumber = 1,
276 kLowerBoundsFieldNumber = 2,
280 };
281 // repeated int64 ids = 1;
282 int ids_size() const;
283 private:
284 int _internal_ids_size() const;
285
286 public:
287 void clear_ids() ;
288 ::int64_t ids(int index) const;
289 void set_ids(int index, ::int64_t value);
290 void add_ids(::int64_t value);
291 const ::google::protobuf::RepeatedField<::int64_t>& ids() const;
292 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_ids();
293
294 private:
295 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids() const;
296 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
297
298 public:
299 // repeated double lower_bounds = 2;
300 int lower_bounds_size() const;
301 private:
302 int _internal_lower_bounds_size() const;
303
304 public:
305 void clear_lower_bounds() ;
306 double lower_bounds(int index) const;
307 void set_lower_bounds(int index, double value);
308 void add_lower_bounds(double value);
309 const ::google::protobuf::RepeatedField<double>& lower_bounds() const;
310 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_lower_bounds();
311
312 private:
313 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds() const;
314 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
315
316 public:
317 // repeated double upper_bounds = 3;
318 int upper_bounds_size() const;
319 private:
320 int _internal_upper_bounds_size() const;
321
322 public:
323 void clear_upper_bounds() ;
324 double upper_bounds(int index) const;
325 void set_upper_bounds(int index, double value);
326 void add_upper_bounds(double value);
327 const ::google::protobuf::RepeatedField<double>& upper_bounds() const;
328 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_upper_bounds();
329
330 private:
331 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds() const;
332 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
333
334 public:
335 // repeated bool integers = 4;
336 int integers_size() const;
337 private:
338 int _internal_integers_size() const;
339
340 public:
341 void clear_integers() ;
342 bool integers(int index) const;
343 void set_integers(int index, bool value);
344 void add_integers(bool value);
345 const ::google::protobuf::RepeatedField<bool>& integers() const;
346 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL mutable_integers();
347
348 private:
349 const ::google::protobuf::RepeatedField<bool>& _internal_integers() const;
350 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL _internal_mutable_integers();
351
352 public:
353 // repeated string names = 5;
354 int names_size() const;
355 private:
356 int _internal_names_size() const;
357
358 public:
359 void clear_names() ;
360 const ::std::string& names(int index) const;
361 ::std::string* PROTOBUF_NONNULL mutable_names(int index);
362 template <typename Arg_ = const ::std::string&, typename... Args_>
363 void set_names(int index, Arg_&& value, Args_... args);
364 ::std::string* PROTOBUF_NONNULL add_names();
365 template <typename Arg_ = const ::std::string&, typename... Args_>
366 void add_names(Arg_&& value, Args_... args);
367 const ::google::protobuf::RepeatedPtrField<::std::string>& names() const;
368 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_names();
369
370 private:
371 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names() const;
372 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
373
374 public:
375 // @@protoc_insertion_point(class_scope:operations_research.math_opt.VariablesProto)
376 private:
377 class _Internal;
378 friend class ::google::protobuf::internal::TcParser;
379 static const ::google::protobuf::internal::TcParseTable<3, 5,
380 0, 57,
381 2>
382 _table_;
383
384 friend class ::google::protobuf::MessageLite;
385 friend class ::google::protobuf::Arena;
386 template <typename T>
387 friend class ::google::protobuf::Arena::InternalHelper;
388 using InternalArenaConstructable_ = void;
389 using DestructorSkippable_ = void;
390 struct Impl_ {
391 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
392 inline explicit Impl_(
393 ::google::protobuf::internal::InternalVisibility visibility,
394 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
395 inline explicit Impl_(
396 ::google::protobuf::internal::InternalVisibility visibility,
397 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
398 const VariablesProto& from_msg);
399 ::google::protobuf::internal::HasBits<1> _has_bits_;
400 ::google::protobuf::internal::CachedSize _cached_size_;
401 ::google::protobuf::RepeatedField<::int64_t> ids_;
402 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
403 ::google::protobuf::RepeatedField<double> lower_bounds_;
404 ::google::protobuf::RepeatedField<double> upper_bounds_;
405 ::google::protobuf::RepeatedField<bool> integers_;
406 ::google::protobuf::RepeatedPtrField<::std::string> names_;
407 PROTOBUF_TSAN_DECLARE_MEMBER
408 };
409 union { Impl_ _impl_; };
410 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
413OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull VariablesProto_class_data_;
414// -------------------------------------------------------------------
415
416class OR_PROTO_DLL LinearConstraintsProto final : public ::google::protobuf::Message
417/* @@protoc_insertion_point(class_definition:operations_research.math_opt.LinearConstraintsProto) */ {
418 public:
420 ~LinearConstraintsProto() PROTOBUF_FINAL;
421
422#if defined(PROTOBUF_CUSTOM_VTABLE)
423 void operator delete(LinearConstraintsProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
424 SharedDtor(*msg);
425 ::google::protobuf::internal::SizedDelete(msg, sizeof(LinearConstraintsProto));
426 }
427#endif
428
429 template <typename = void>
430 explicit PROTOBUF_CONSTEXPR LinearConstraintsProto(::google::protobuf::internal::ConstantInitialized);
431
432 inline LinearConstraintsProto(const LinearConstraintsProto& from) : LinearConstraintsProto(nullptr, from) {}
434 : LinearConstraintsProto(nullptr, ::std::move(from)) {}
436 CopyFrom(from);
437 return *this;
439 inline LinearConstraintsProto& operator=(LinearConstraintsProto&& from) noexcept {
440 if (this == &from) return *this;
441 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
442 InternalSwap(&from);
443 } else {
444 CopyFrom(from);
445 }
446 return *this;
447 }
448
449 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
450 ABSL_ATTRIBUTE_LIFETIME_BOUND {
451 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
453 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
454 ABSL_ATTRIBUTE_LIFETIME_BOUND {
455 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
457
458 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
459 return GetDescriptor();
460 }
461 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
462 return default_instance().GetMetadata().descriptor;
463 }
464 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
465 return default_instance().GetMetadata().reflection;
466 }
471 static constexpr int kIndexInFileMessages = 2;
472 friend void swap(LinearConstraintsProto& a, LinearConstraintsProto& b) { a.Swap(&b); }
473 inline void Swap(LinearConstraintsProto* PROTOBUF_NONNULL other) {
474 if (other == this) return;
475 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
476 InternalSwap(other);
477 } else {
478 ::google::protobuf::internal::GenericSwap(this, other);
479 }
480 }
481 void UnsafeArenaSwap(LinearConstraintsProto* PROTOBUF_NONNULL other) {
482 if (other == this) return;
483 ABSL_DCHECK(GetArena() == other->GetArena());
484 InternalSwap(other);
485 }
486
487 // implements Message ----------------------------------------------
488
489 LinearConstraintsProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
490 return ::google::protobuf::Message::DefaultConstruct<LinearConstraintsProto>(arena);
491 }
492 using ::google::protobuf::Message::CopyFrom;
493 void CopyFrom(const LinearConstraintsProto& from);
494 using ::google::protobuf::Message::MergeFrom;
495 void MergeFrom(const LinearConstraintsProto& from) { LinearConstraintsProto::MergeImpl(*this, from); }
496
497 private:
498 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
499 const ::google::protobuf::MessageLite& from_msg);
500
501 public:
502 bool IsInitialized() const {
503 return true;
504 }
505 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
506 #if defined(PROTOBUF_CUSTOM_VTABLE)
507 private:
508 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
509 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
510 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
511 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
512
513 public:
514 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
515 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
516 ::uint8_t* PROTOBUF_NONNULL target,
517 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
518 return _InternalSerialize(*this, target, stream);
519 }
520 #else // PROTOBUF_CUSTOM_VTABLE
521 ::size_t ByteSizeLong() const final;
522 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
523 ::uint8_t* PROTOBUF_NONNULL target,
524 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
525 #endif // PROTOBUF_CUSTOM_VTABLE
526 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
527
528 private:
529 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
530 static void SharedDtor(MessageLite& self);
531 void InternalSwap(LinearConstraintsProto* PROTOBUF_NONNULL other);
532 private:
533 template <typename T>
534 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
535 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.LinearConstraintsProto"; }
536
537 explicit LinearConstraintsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
538 LinearConstraintsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LinearConstraintsProto& from);
540 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LinearConstraintsProto&& from) noexcept
541 : LinearConstraintsProto(arena) {
542 *this = ::std::move(from);
543 }
544 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
545 static void* PROTOBUF_NONNULL PlacementNew_(
546 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
547 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
548 static constexpr auto InternalNewImpl_();
549
550 public:
551 static constexpr auto InternalGenerateClassData_();
552
553 ::google::protobuf::Metadata GetMetadata() const;
554 // nested types ----------------------------------------------------
555
556 // accessors -------------------------------------------------------
557 enum : int {
558 kIdsFieldNumber = 1,
559 kLowerBoundsFieldNumber = 2,
560 kUpperBoundsFieldNumber = 3,
562 };
563 // repeated int64 ids = 1;
564 int ids_size() const;
565 private:
566 int _internal_ids_size() const;
567
568 public:
569 void clear_ids() ;
570 ::int64_t ids(int index) const;
571 void set_ids(int index, ::int64_t value);
572 void add_ids(::int64_t value);
573 const ::google::protobuf::RepeatedField<::int64_t>& ids() const;
574 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_ids();
575
576 private:
577 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids() const;
578 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
579
580 public:
581 // repeated double lower_bounds = 2;
582 int lower_bounds_size() const;
583 private:
584 int _internal_lower_bounds_size() const;
585
586 public:
587 void clear_lower_bounds() ;
588 double lower_bounds(int index) const;
589 void set_lower_bounds(int index, double value);
590 void add_lower_bounds(double value);
591 const ::google::protobuf::RepeatedField<double>& lower_bounds() const;
592 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_lower_bounds();
593
594 private:
595 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds() const;
596 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
597
598 public:
599 // repeated double upper_bounds = 3;
600 int upper_bounds_size() const;
601 private:
602 int _internal_upper_bounds_size() const;
603
604 public:
605 void clear_upper_bounds() ;
606 double upper_bounds(int index) const;
607 void set_upper_bounds(int index, double value);
608 void add_upper_bounds(double value);
609 const ::google::protobuf::RepeatedField<double>& upper_bounds() const;
610 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_upper_bounds();
611
612 private:
613 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds() const;
614 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
615
616 public:
617 // repeated string names = 4;
618 int names_size() const;
619 private:
620 int _internal_names_size() const;
621
622 public:
623 void clear_names() ;
624 const ::std::string& names(int index) const;
625 ::std::string* PROTOBUF_NONNULL mutable_names(int index);
626 template <typename Arg_ = const ::std::string&, typename... Args_>
627 void set_names(int index, Arg_&& value, Args_... args);
628 ::std::string* PROTOBUF_NONNULL add_names();
629 template <typename Arg_ = const ::std::string&, typename... Args_>
630 void add_names(Arg_&& value, Args_... args);
631 const ::google::protobuf::RepeatedPtrField<::std::string>& names() const;
632 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_names();
633
634 private:
635 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names() const;
636 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
637
638 public:
639 // @@protoc_insertion_point(class_scope:operations_research.math_opt.LinearConstraintsProto)
640 private:
641 class _Internal;
642 friend class ::google::protobuf::internal::TcParser;
643 static const ::google::protobuf::internal::TcParseTable<2, 4,
644 0, 65,
645 2>
646 _table_;
647
648 friend class ::google::protobuf::MessageLite;
649 friend class ::google::protobuf::Arena;
650 template <typename T>
651 friend class ::google::protobuf::Arena::InternalHelper;
652 using InternalArenaConstructable_ = void;
653 using DestructorSkippable_ = void;
654 struct Impl_ {
655 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
656 inline explicit Impl_(
657 ::google::protobuf::internal::InternalVisibility visibility,
658 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
659 inline explicit Impl_(
660 ::google::protobuf::internal::InternalVisibility visibility,
661 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
662 const LinearConstraintsProto& from_msg);
663 ::google::protobuf::internal::HasBits<1> _has_bits_;
664 ::google::protobuf::internal::CachedSize _cached_size_;
665 ::google::protobuf::RepeatedField<::int64_t> ids_;
666 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
667 ::google::protobuf::RepeatedField<double> lower_bounds_;
668 ::google::protobuf::RepeatedField<double> upper_bounds_;
669 ::google::protobuf::RepeatedPtrField<::std::string> names_;
670 PROTOBUF_TSAN_DECLARE_MEMBER
671 };
672 union { Impl_ _impl_; };
673 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
674};
676OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_;
677// -------------------------------------------------------------------
678
679class OR_PROTO_DLL SosConstraintProto final : public ::google::protobuf::Message
680/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SosConstraintProto) */ {
681 public:
682 inline SosConstraintProto() : SosConstraintProto(nullptr) {}
683 ~SosConstraintProto() PROTOBUF_FINAL;
684
685#if defined(PROTOBUF_CUSTOM_VTABLE)
686 void operator delete(SosConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
687 SharedDtor(*msg);
688 ::google::protobuf::internal::SizedDelete(msg, sizeof(SosConstraintProto));
689 }
690#endif
691
692 template <typename = void>
693 explicit PROTOBUF_CONSTEXPR SosConstraintProto(::google::protobuf::internal::ConstantInitialized);
694
695 inline SosConstraintProto(const SosConstraintProto& from) : SosConstraintProto(nullptr, from) {}
696 inline SosConstraintProto(SosConstraintProto&& from) noexcept
697 : SosConstraintProto(nullptr, ::std::move(from)) {}
698 inline SosConstraintProto& operator=(const SosConstraintProto& from) {
699 CopyFrom(from);
700 return *this;
701 }
703 if (this == &from) return *this;
704 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
705 InternalSwap(&from);
706 } else {
707 CopyFrom(from);
708 }
709 return *this;
710 }
711
712 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
713 ABSL_ATTRIBUTE_LIFETIME_BOUND {
714 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
715 }
716 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
717 ABSL_ATTRIBUTE_LIFETIME_BOUND {
718 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
719 }
721 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
722 return GetDescriptor();
723 }
724 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
725 return default_instance().GetMetadata().descriptor;
726 }
727 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
728 return default_instance().GetMetadata().reflection;
729 }
730 static const SosConstraintProto& default_instance() {
731 return *reinterpret_cast<const SosConstraintProto*>(
733 }
734 static constexpr int kIndexInFileMessages = 5;
735 friend void swap(SosConstraintProto& a, SosConstraintProto& b) { a.Swap(&b); }
736 inline void Swap(SosConstraintProto* PROTOBUF_NONNULL other) {
737 if (other == this) return;
738 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
739 InternalSwap(other);
740 } else {
741 ::google::protobuf::internal::GenericSwap(this, other);
742 }
743 }
744 void UnsafeArenaSwap(SosConstraintProto* PROTOBUF_NONNULL other) {
745 if (other == this) return;
746 ABSL_DCHECK(GetArena() == other->GetArena());
747 InternalSwap(other);
749
750 // implements Message ----------------------------------------------
751
752 SosConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
753 return ::google::protobuf::Message::DefaultConstruct<SosConstraintProto>(arena);
754 }
755 using ::google::protobuf::Message::CopyFrom;
756 void CopyFrom(const SosConstraintProto& from);
757 using ::google::protobuf::Message::MergeFrom;
758 void MergeFrom(const SosConstraintProto& from) { SosConstraintProto::MergeImpl(*this, from); }
759
760 private:
761 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
762 const ::google::protobuf::MessageLite& from_msg);
763
764 public:
765 bool IsInitialized() const {
766 return true;
767 }
768 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
769 #if defined(PROTOBUF_CUSTOM_VTABLE)
770 private:
771 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
772 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
773 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
774 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
775
776 public:
777 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
778 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
779 ::uint8_t* PROTOBUF_NONNULL target,
780 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
781 return _InternalSerialize(*this, target, stream);
782 }
783 #else // PROTOBUF_CUSTOM_VTABLE
784 ::size_t ByteSizeLong() const final;
785 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
786 ::uint8_t* PROTOBUF_NONNULL target,
787 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
788 #endif // PROTOBUF_CUSTOM_VTABLE
789 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
790
791 private:
792 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
793 static void SharedDtor(MessageLite& self);
794 void InternalSwap(SosConstraintProto* PROTOBUF_NONNULL other);
795 private:
796 template <typename T>
797 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
798 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SosConstraintProto"; }
799
800 explicit SosConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
801 SosConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SosConstraintProto& from);
803 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SosConstraintProto&& from) noexcept
804 : SosConstraintProto(arena) {
805 *this = ::std::move(from);
806 }
807 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
808 static void* PROTOBUF_NONNULL PlacementNew_(
809 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
810 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
811 static constexpr auto InternalNewImpl_();
812
813 public:
814 static constexpr auto InternalGenerateClassData_();
815
816 ::google::protobuf::Metadata GetMetadata() const;
817 // nested types ----------------------------------------------------
818
819 // accessors -------------------------------------------------------
820 enum : int {
821 kExpressionsFieldNumber = 1,
822 kWeightsFieldNumber = 2,
823 kNameFieldNumber = 3,
824 };
825 // repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
826 int expressions_size() const;
827 private:
828 int _internal_expressions_size() const;
829
830 public:
831 void clear_expressions() ;
833 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL mutable_expressions();
834
835 private:
836 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_expressions() const;
837 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_expressions();
838 public:
839 const ::operations_research::math_opt::LinearExpressionProto& expressions(int index) const;
841 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& expressions() const;
842 // repeated double weights = 2;
843 int weights_size() const;
844 private:
845 int _internal_weights_size() const;
846
847 public:
848 void clear_weights() ;
849 double weights(int index) const;
850 void set_weights(int index, double value);
851 void add_weights(double value);
852 const ::google::protobuf::RepeatedField<double>& weights() const;
853 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_weights();
854
855 private:
856 const ::google::protobuf::RepeatedField<double>& _internal_weights() const;
857 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_weights();
858
859 public:
860 // string name = 3;
861 void clear_name() ;
862 const ::std::string& name() const;
863 template <typename Arg_ = const ::std::string&, typename... Args_>
864 void set_name(Arg_&& arg, Args_... args);
865 ::std::string* PROTOBUF_NONNULL mutable_name();
866 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
867 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
869 private:
870 const ::std::string& _internal_name() const;
871 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
872 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
873
874 public:
875 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SosConstraintProto)
876 private:
877 class _Internal;
878 friend class ::google::protobuf::internal::TcParser;
879 static const ::google::protobuf::internal::TcParseTable<2, 3,
880 1, 60,
881 2>
882 _table_;
883
884 friend class ::google::protobuf::MessageLite;
885 friend class ::google::protobuf::Arena;
886 template <typename T>
887 friend class ::google::protobuf::Arena::InternalHelper;
888 using InternalArenaConstructable_ = void;
889 using DestructorSkippable_ = void;
890 struct Impl_ {
891 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
892 inline explicit Impl_(
893 ::google::protobuf::internal::InternalVisibility visibility,
894 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
895 inline explicit Impl_(
896 ::google::protobuf::internal::InternalVisibility visibility,
897 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
898 const SosConstraintProto& from_msg);
899 ::google::protobuf::internal::HasBits<1> _has_bits_;
900 ::google::protobuf::internal::CachedSize _cached_size_;
901 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > expressions_;
902 ::google::protobuf::RepeatedField<double> weights_;
903 ::google::protobuf::internal::ArenaStringPtr name_;
904 PROTOBUF_TSAN_DECLARE_MEMBER
905 };
906 union { Impl_ _impl_; };
907 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
908};
909
910OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_;
911// -------------------------------------------------------------------
912
913class OR_PROTO_DLL SecondOrderConeConstraintProto final : public ::google::protobuf::Message
914/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SecondOrderConeConstraintProto) */ {
915 public:
917 ~SecondOrderConeConstraintProto() PROTOBUF_FINAL;
919#if defined(PROTOBUF_CUSTOM_VTABLE)
920 void operator delete(SecondOrderConeConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
921 SharedDtor(*msg);
922 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecondOrderConeConstraintProto));
923 }
924#endif
925
926 template <typename = void>
927 explicit PROTOBUF_CONSTEXPR SecondOrderConeConstraintProto(::google::protobuf::internal::ConstantInitialized);
928
930 inline SecondOrderConeConstraintProto(SecondOrderConeConstraintProto&& from) noexcept
931 : SecondOrderConeConstraintProto(nullptr, ::std::move(from)) {}
933 CopyFrom(from);
934 return *this;
936 inline SecondOrderConeConstraintProto& operator=(SecondOrderConeConstraintProto&& from) noexcept {
937 if (this == &from) return *this;
938 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
939 InternalSwap(&from);
940 } else {
941 CopyFrom(from);
942 }
943 return *this;
944 }
945
946 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
947 ABSL_ATTRIBUTE_LIFETIME_BOUND {
948 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
949 }
950 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
951 ABSL_ATTRIBUTE_LIFETIME_BOUND {
952 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
953 }
954
955 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
956 return GetDescriptor();
957 }
958 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
959 return default_instance().GetMetadata().descriptor;
961 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
962 return default_instance().GetMetadata().reflection;
964 static const SecondOrderConeConstraintProto& default_instance() {
965 return *reinterpret_cast<const SecondOrderConeConstraintProto*>(
967 }
968 static constexpr int kIndexInFileMessages = 4;
970 inline void Swap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other) {
971 if (other == this) return;
972 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
973 InternalSwap(other);
974 } else {
975 ::google::protobuf::internal::GenericSwap(this, other);
976 }
977 }
978 void UnsafeArenaSwap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other) {
979 if (other == this) return;
980 ABSL_DCHECK(GetArena() == other->GetArena());
981 InternalSwap(other);
982 }
984 // implements Message ----------------------------------------------
985
986 SecondOrderConeConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
987 return ::google::protobuf::Message::DefaultConstruct<SecondOrderConeConstraintProto>(arena);
988 }
989 using ::google::protobuf::Message::CopyFrom;
990 void CopyFrom(const SecondOrderConeConstraintProto& from);
991 using ::google::protobuf::Message::MergeFrom;
992 void MergeFrom(const SecondOrderConeConstraintProto& from) { SecondOrderConeConstraintProto::MergeImpl(*this, from); }
993
994 private:
995 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
996 const ::google::protobuf::MessageLite& from_msg);
998 public:
999 bool IsInitialized() const {
1000 return true;
1001 }
1002 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1003 #if defined(PROTOBUF_CUSTOM_VTABLE)
1004 private:
1005 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1006 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1007 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1008 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1009
1010 public:
1011 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1012 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1013 ::uint8_t* PROTOBUF_NONNULL target,
1014 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1015 return _InternalSerialize(*this, target, stream);
1016 }
1017 #else // PROTOBUF_CUSTOM_VTABLE
1018 ::size_t ByteSizeLong() const final;
1019 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1020 ::uint8_t* PROTOBUF_NONNULL target,
1021 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1022 #endif // PROTOBUF_CUSTOM_VTABLE
1023 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1024
1025 private:
1026 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1027 static void SharedDtor(MessageLite& self);
1028 void InternalSwap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other);
1029 private:
1030 template <typename T>
1031 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1032 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SecondOrderConeConstraintProto"; }
1033
1034 explicit SecondOrderConeConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1035 SecondOrderConeConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecondOrderConeConstraintProto& from);
1037 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecondOrderConeConstraintProto&& from) noexcept
1039 *this = ::std::move(from);
1040 }
1041 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1042 static void* PROTOBUF_NONNULL PlacementNew_(
1043 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1044 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1045 static constexpr auto InternalNewImpl_();
1046
1047 public:
1048 static constexpr auto InternalGenerateClassData_();
1049
1050 ::google::protobuf::Metadata GetMetadata() const;
1051 // nested types ----------------------------------------------------
1052
1053 // accessors -------------------------------------------------------
1054 enum : int {
1055 kArgumentsToNormFieldNumber = 2,
1056 kNameFieldNumber = 3,
1057 kUpperBoundFieldNumber = 1,
1058 };
1059 // repeated .operations_research.math_opt.LinearExpressionProto arguments_to_norm = 2;
1061 private:
1062 int _internal_arguments_to_norm_size() const;
1063
1064 public:
1067 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL mutable_arguments_to_norm();
1068
1069 private:
1070 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_arguments_to_norm() const;
1071 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_arguments_to_norm();
1072 public:
1073 const ::operations_research::math_opt::LinearExpressionProto& arguments_to_norm(int index) const;
1075 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& arguments_to_norm() const;
1076 // string name = 3;
1077 void clear_name() ;
1078 const ::std::string& name() const;
1079 template <typename Arg_ = const ::std::string&, typename... Args_>
1080 void set_name(Arg_&& arg, Args_... args);
1081 ::std::string* PROTOBUF_NONNULL mutable_name();
1082 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1083 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1084
1085 private:
1086 const ::std::string& _internal_name() const;
1087 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1088 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1089
1090 public:
1091 // .operations_research.math_opt.LinearExpressionProto upper_bound = 1;
1092 bool has_upper_bound() const;
1093 void clear_upper_bound() ;
1094 const ::operations_research::math_opt::LinearExpressionProto& upper_bound() const;
1100
1101 private:
1102 const ::operations_research::math_opt::LinearExpressionProto& _internal_upper_bound() const;
1103 ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL _internal_mutable_upper_bound();
1104
1105 public:
1106 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SecondOrderConeConstraintProto)
1107 private:
1108 class _Internal;
1109 friend class ::google::protobuf::internal::TcParser;
1110 static const ::google::protobuf::internal::TcParseTable<2, 3,
1111 2, 72,
1112 2>
1113 _table_;
1115 friend class ::google::protobuf::MessageLite;
1116 friend class ::google::protobuf::Arena;
1117 template <typename T>
1118 friend class ::google::protobuf::Arena::InternalHelper;
1119 using InternalArenaConstructable_ = void;
1120 using DestructorSkippable_ = void;
1121 struct Impl_ {
1122 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1123 inline explicit Impl_(
1124 ::google::protobuf::internal::InternalVisibility visibility,
1125 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1126 inline explicit Impl_(
1127 ::google::protobuf::internal::InternalVisibility visibility,
1128 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1129 const SecondOrderConeConstraintProto& from_msg);
1130 ::google::protobuf::internal::HasBits<1> _has_bits_;
1131 ::google::protobuf::internal::CachedSize _cached_size_;
1132 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > arguments_to_norm_;
1133 ::google::protobuf::internal::ArenaStringPtr name_;
1134 ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NULLABLE upper_bound_;
1135 PROTOBUF_TSAN_DECLARE_MEMBER
1136 };
1137 union { Impl_ _impl_; };
1138 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1139};
1140
1141OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_;
1142// -------------------------------------------------------------------
1144class OR_PROTO_DLL QuadraticConstraintProto final : public ::google::protobuf::Message
1145/* @@protoc_insertion_point(class_definition:operations_research.math_opt.QuadraticConstraintProto) */ {
1146 public:
1148 ~QuadraticConstraintProto() PROTOBUF_FINAL;
1149
1150#if defined(PROTOBUF_CUSTOM_VTABLE)
1151 void operator delete(QuadraticConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1152 SharedDtor(*msg);
1153 ::google::protobuf::internal::SizedDelete(msg, sizeof(QuadraticConstraintProto));
1154 }
1155#endif
1156
1157 template <typename = void>
1158 explicit PROTOBUF_CONSTEXPR QuadraticConstraintProto(::google::protobuf::internal::ConstantInitialized);
1159
1160 inline QuadraticConstraintProto(const QuadraticConstraintProto& from) : QuadraticConstraintProto(nullptr, from) {}
1161 inline QuadraticConstraintProto(QuadraticConstraintProto&& from) noexcept
1162 : QuadraticConstraintProto(nullptr, ::std::move(from)) {}
1163 inline QuadraticConstraintProto& operator=(const QuadraticConstraintProto& from) {
1165 return *this;
1168 if (this == &from) return *this;
1169 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1170 InternalSwap(&from);
1171 } else {
1172 CopyFrom(from);
1174 return *this;
1175 }
1176
1177 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1178 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1179 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1180 }
1181 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1182 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1183 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1184 }
1185
1186 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1188 }
1189 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1190 return default_instance().GetMetadata().descriptor;
1191 }
1192 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1193 return default_instance().GetMetadata().reflection;
1194 }
1199 static constexpr int kIndexInFileMessages = 3;
1200 friend void swap(QuadraticConstraintProto& a, QuadraticConstraintProto& b) { a.Swap(&b); }
1201 inline void Swap(QuadraticConstraintProto* PROTOBUF_NONNULL other) {
1202 if (other == this) return;
1203 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1204 InternalSwap(other);
1205 } else {
1206 ::google::protobuf::internal::GenericSwap(this, other);
1208 }
1209 void UnsafeArenaSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other) {
1210 if (other == this) return;
1211 ABSL_DCHECK(GetArena() == other->GetArena());
1212 InternalSwap(other);
1213 }
1214
1215 // implements Message ----------------------------------------------
1216
1217 QuadraticConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1218 return ::google::protobuf::Message::DefaultConstruct<QuadraticConstraintProto>(arena);
1219 }
1220 using ::google::protobuf::Message::CopyFrom;
1221 void CopyFrom(const QuadraticConstraintProto& from);
1222 using ::google::protobuf::Message::MergeFrom;
1223 void MergeFrom(const QuadraticConstraintProto& from) { QuadraticConstraintProto::MergeImpl(*this, from); }
1224
1225 private:
1226 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1227 const ::google::protobuf::MessageLite& from_msg);
1228
1229 public:
1230 bool IsInitialized() const {
1231 return true;
1232 }
1233 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1234 #if defined(PROTOBUF_CUSTOM_VTABLE)
1235 private:
1236 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1237 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1238 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1239 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1240
1241 public:
1242 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1243 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1244 ::uint8_t* PROTOBUF_NONNULL target,
1245 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1246 return _InternalSerialize(*this, target, stream);
1247 }
1248 #else // PROTOBUF_CUSTOM_VTABLE
1249 ::size_t ByteSizeLong() const final;
1250 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1251 ::uint8_t* PROTOBUF_NONNULL target,
1252 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1253 #endif // PROTOBUF_CUSTOM_VTABLE
1254 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1255
1256 private:
1257 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1258 static void SharedDtor(MessageLite& self);
1259 void InternalSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other);
1260 private:
1261 template <typename T>
1262 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1263 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.QuadraticConstraintProto"; }
1264
1265 explicit QuadraticConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1266 QuadraticConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuadraticConstraintProto& from);
1268 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, QuadraticConstraintProto&& from) noexcept
1269 : QuadraticConstraintProto(arena) {
1270 *this = ::std::move(from);
1271 }
1272 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1273 static void* PROTOBUF_NONNULL PlacementNew_(
1274 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1275 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1276 static constexpr auto InternalNewImpl_();
1277
1278 public:
1279 static constexpr auto InternalGenerateClassData_();
1280
1281 ::google::protobuf::Metadata GetMetadata() const;
1282 // nested types ----------------------------------------------------
1283
1284 // accessors -------------------------------------------------------
1285 enum : int {
1286 kNameFieldNumber = 5,
1287 kLinearTermsFieldNumber = 1,
1288 kQuadraticTermsFieldNumber = 2,
1289 kLowerBoundFieldNumber = 3,
1290 kUpperBoundFieldNumber = 4,
1291 };
1292 // string name = 5;
1293 void clear_name() ;
1294 const ::std::string& name() const;
1295 template <typename Arg_ = const ::std::string&, typename... Args_>
1296 void set_name(Arg_&& arg, Args_... args);
1297 ::std::string* PROTOBUF_NONNULL mutable_name();
1298 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1299 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1300
1301 private:
1302 const ::std::string& _internal_name() const;
1303 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1304 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1305
1306 public:
1307 // .operations_research.math_opt.SparseDoubleVectorProto linear_terms = 1;
1308 bool has_linear_terms() const;
1309 void clear_linear_terms() ;
1310 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_terms() const;
1316
1317 private:
1318 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_terms() const;
1319 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_terms();
1320
1321 public:
1322 // .operations_research.math_opt.SparseDoubleMatrixProto quadratic_terms = 2;
1323 bool has_quadratic_terms() const;
1324 void clear_quadratic_terms() ;
1325 const ::operations_research::math_opt::SparseDoubleMatrixProto& quadratic_terms() const;
1331
1332 private:
1333 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_terms() const;
1334 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_quadratic_terms();
1335
1336 public:
1337 // double lower_bound = 3;
1338 void clear_lower_bound() ;
1339 double lower_bound() const;
1340 void set_lower_bound(double value);
1341
1342 private:
1343 double _internal_lower_bound() const;
1344 void _internal_set_lower_bound(double value);
1345
1346 public:
1347 // double upper_bound = 4;
1348 void clear_upper_bound() ;
1349 double upper_bound() const;
1350 void set_upper_bound(double value);
1351
1352 private:
1353 double _internal_upper_bound() const;
1354 void _internal_set_upper_bound(double value);
1355
1356 public:
1357 // @@protoc_insertion_point(class_scope:operations_research.math_opt.QuadraticConstraintProto)
1358 private:
1359 class _Internal;
1360 friend class ::google::protobuf::internal::TcParser;
1361 static const ::google::protobuf::internal::TcParseTable<3, 5,
1362 2, 66,
1363 2>
1364 _table_;
1365
1366 friend class ::google::protobuf::MessageLite;
1367 friend class ::google::protobuf::Arena;
1368 template <typename T>
1369 friend class ::google::protobuf::Arena::InternalHelper;
1370 using InternalArenaConstructable_ = void;
1371 using DestructorSkippable_ = void;
1372 struct Impl_ {
1373 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1374 inline explicit Impl_(
1375 ::google::protobuf::internal::InternalVisibility visibility,
1376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1377 inline explicit Impl_(
1378 ::google::protobuf::internal::InternalVisibility visibility,
1379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1380 const QuadraticConstraintProto& from_msg);
1381 ::google::protobuf::internal::HasBits<1> _has_bits_;
1382 ::google::protobuf::internal::CachedSize _cached_size_;
1383 ::google::protobuf::internal::ArenaStringPtr name_;
1384 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_terms_;
1385 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE quadratic_terms_;
1386 double lower_bound_;
1387 double upper_bound_;
1388 PROTOBUF_TSAN_DECLARE_MEMBER
1389 };
1390 union { Impl_ _impl_; };
1391 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1392};
1393
1394OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_;
1395// -------------------------------------------------------------------
1397class OR_PROTO_DLL ObjectiveProto final : public ::google::protobuf::Message
1398/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ObjectiveProto) */ {
1399 public:
1400 inline ObjectiveProto() : ObjectiveProto(nullptr) {}
1401 ~ObjectiveProto() PROTOBUF_FINAL;
1402
1403#if defined(PROTOBUF_CUSTOM_VTABLE)
1404 void operator delete(ObjectiveProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1405 SharedDtor(*msg);
1406 ::google::protobuf::internal::SizedDelete(msg, sizeof(ObjectiveProto));
1408#endif
1409
1410 template <typename = void>
1411 explicit PROTOBUF_CONSTEXPR ObjectiveProto(::google::protobuf::internal::ConstantInitialized);
1412
1413 inline ObjectiveProto(const ObjectiveProto& from) : ObjectiveProto(nullptr, from) {}
1414 inline ObjectiveProto(ObjectiveProto&& from) noexcept
1415 : ObjectiveProto(nullptr, ::std::move(from)) {}
1416 inline ObjectiveProto& operator=(const ObjectiveProto& from) {
1417 CopyFrom(from);
1418 return *this;
1419 }
1420 inline ObjectiveProto& operator=(ObjectiveProto&& from) noexcept {
1421 if (this == &from) return *this;
1422 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1423 InternalSwap(&from);
1424 } else {
1425 CopyFrom(from);
1426 }
1427 return *this;
1428 }
1429
1430 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1431 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1432 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1433 }
1434 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1435 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1436 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1438
1439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1440 return GetDescriptor();
1442 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1443 return default_instance().GetMetadata().descriptor;
1444 }
1445 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1446 return default_instance().GetMetadata().reflection;
1447 }
1448 static const ObjectiveProto& default_instance() {
1449 return *reinterpret_cast<const ObjectiveProto*>(
1451 }
1452 static constexpr int kIndexInFileMessages = 1;
1453 friend void swap(ObjectiveProto& a, ObjectiveProto& b) { a.Swap(&b); }
1454 inline void Swap(ObjectiveProto* PROTOBUF_NONNULL other) {
1455 if (other == this) return;
1456 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1457 InternalSwap(other);
1458 } else {
1459 ::google::protobuf::internal::GenericSwap(this, other);
1462 void UnsafeArenaSwap(ObjectiveProto* PROTOBUF_NONNULL other) {
1463 if (other == this) return;
1464 ABSL_DCHECK(GetArena() == other->GetArena());
1465 InternalSwap(other);
1466 }
1467
1468 // implements Message ----------------------------------------------
1470 ObjectiveProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1471 return ::google::protobuf::Message::DefaultConstruct<ObjectiveProto>(arena);
1472 }
1473 using ::google::protobuf::Message::CopyFrom;
1474 void CopyFrom(const ObjectiveProto& from);
1475 using ::google::protobuf::Message::MergeFrom;
1476 void MergeFrom(const ObjectiveProto& from) { ObjectiveProto::MergeImpl(*this, from); }
1478 private:
1479 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1480 const ::google::protobuf::MessageLite& from_msg);
1481
1482 public:
1483 bool IsInitialized() const {
1484 return true;
1485 }
1486 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1487 #if defined(PROTOBUF_CUSTOM_VTABLE)
1488 private:
1489 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1490 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1491 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1492 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1493
1494 public:
1495 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1496 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1497 ::uint8_t* PROTOBUF_NONNULL target,
1498 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1499 return _InternalSerialize(*this, target, stream);
1500 }
1501 #else // PROTOBUF_CUSTOM_VTABLE
1502 ::size_t ByteSizeLong() const final;
1503 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1504 ::uint8_t* PROTOBUF_NONNULL target,
1505 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1506 #endif // PROTOBUF_CUSTOM_VTABLE
1507 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1508
1509 private:
1510 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1511 static void SharedDtor(MessageLite& self);
1512 void InternalSwap(ObjectiveProto* PROTOBUF_NONNULL other);
1513 private:
1514 template <typename T>
1515 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1516 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ObjectiveProto"; }
1517
1518 explicit ObjectiveProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1519 ObjectiveProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveProto& from);
1521 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ObjectiveProto&& from) noexcept
1522 : ObjectiveProto(arena) {
1523 *this = ::std::move(from);
1524 }
1525 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1526 static void* PROTOBUF_NONNULL PlacementNew_(
1527 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1528 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1529 static constexpr auto InternalNewImpl_();
1530
1531 public:
1532 static constexpr auto InternalGenerateClassData_();
1533
1534 ::google::protobuf::Metadata GetMetadata() const;
1535 // nested types ----------------------------------------------------
1536
1537 // accessors -------------------------------------------------------
1538 enum : int {
1539 kNameFieldNumber = 5,
1540 kLinearCoefficientsFieldNumber = 3,
1541 kQuadraticCoefficientsFieldNumber = 4,
1542 kOffsetFieldNumber = 2,
1543 kPriorityFieldNumber = 6,
1544 kMaximizeFieldNumber = 1,
1545 };
1546 // string name = 5;
1547 void clear_name() ;
1548 const ::std::string& name() const;
1549 template <typename Arg_ = const ::std::string&, typename... Args_>
1550 void set_name(Arg_&& arg, Args_... args);
1551 ::std::string* PROTOBUF_NONNULL mutable_name();
1552 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1553 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1554
1555 private:
1556 const ::std::string& _internal_name() const;
1557 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1558 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1559
1560 public:
1561 // .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
1562 bool has_linear_coefficients() const;
1564 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_coefficients() const;
1570
1571 private:
1572 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_coefficients() const;
1573 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_coefficients();
1574
1575 public:
1576 // .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
1577 bool has_quadratic_coefficients() const;
1579 const ::operations_research::math_opt::SparseDoubleMatrixProto& quadratic_coefficients() const;
1585
1586 private:
1587 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_coefficients() const;
1588 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_quadratic_coefficients();
1589
1590 public:
1591 // double offset = 2;
1592 void clear_offset() ;
1593 double offset() const;
1594 void set_offset(double value);
1595
1596 private:
1597 double _internal_offset() const;
1598 void _internal_set_offset(double value);
1599
1600 public:
1601 // int64 priority = 6;
1602 void clear_priority() ;
1603 ::int64_t priority() const;
1604 void set_priority(::int64_t value);
1605
1606 private:
1607 ::int64_t _internal_priority() const;
1608 void _internal_set_priority(::int64_t value);
1609
1610 public:
1611 // bool maximize = 1;
1612 void clear_maximize() ;
1613 bool maximize() const;
1614 void set_maximize(bool value);
1615
1616 private:
1617 bool _internal_maximize() const;
1618 void _internal_set_maximize(bool value);
1619
1620 public:
1621 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ObjectiveProto)
1622 private:
1623 class _Internal;
1624 friend class ::google::protobuf::internal::TcParser;
1625 static const ::google::protobuf::internal::TcParseTable<3, 6,
1626 2, 56,
1627 2>
1628 _table_;
1629
1630 friend class ::google::protobuf::MessageLite;
1631 friend class ::google::protobuf::Arena;
1632 template <typename T>
1633 friend class ::google::protobuf::Arena::InternalHelper;
1634 using InternalArenaConstructable_ = void;
1635 using DestructorSkippable_ = void;
1636 struct Impl_ {
1637 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1638 inline explicit Impl_(
1639 ::google::protobuf::internal::InternalVisibility visibility,
1640 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1641 inline explicit Impl_(
1642 ::google::protobuf::internal::InternalVisibility visibility,
1643 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1644 const ObjectiveProto& from_msg);
1645 ::google::protobuf::internal::HasBits<1> _has_bits_;
1646 ::google::protobuf::internal::CachedSize _cached_size_;
1647 ::google::protobuf::internal::ArenaStringPtr name_;
1648 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_coefficients_;
1649 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE quadratic_coefficients_;
1650 double offset_;
1651 ::int64_t priority_;
1652 bool maximize_;
1653 PROTOBUF_TSAN_DECLARE_MEMBER
1654 };
1655 union { Impl_ _impl_; };
1656 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1657};
1658
1659OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_;
1660// -------------------------------------------------------------------
1661
1662class OR_PROTO_DLL IndicatorConstraintProto final : public ::google::protobuf::Message
1663/* @@protoc_insertion_point(class_definition:operations_research.math_opt.IndicatorConstraintProto) */ {
1664 public:
1666 ~IndicatorConstraintProto() PROTOBUF_FINAL;
1667
1668#if defined(PROTOBUF_CUSTOM_VTABLE)
1669 void operator delete(IndicatorConstraintProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1670 SharedDtor(*msg);
1671 ::google::protobuf::internal::SizedDelete(msg, sizeof(IndicatorConstraintProto));
1672 }
1673#endif
1674
1675 template <typename = void>
1676 explicit PROTOBUF_CONSTEXPR IndicatorConstraintProto(::google::protobuf::internal::ConstantInitialized);
1677
1678 inline IndicatorConstraintProto(const IndicatorConstraintProto& from) : IndicatorConstraintProto(nullptr, from) {}
1680 : IndicatorConstraintProto(nullptr, ::std::move(from)) {}
1681 inline IndicatorConstraintProto& operator=(const IndicatorConstraintProto& from) {
1682 CopyFrom(from);
1683 return *this;
1685 inline IndicatorConstraintProto& operator=(IndicatorConstraintProto&& from) noexcept {
1686 if (this == &from) return *this;
1687 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1688 InternalSwap(&from);
1689 } else {
1690 CopyFrom(from);
1691 }
1692 return *this;
1694
1695 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1696 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1697 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1698 }
1699 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1701 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1702 }
1704 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1705 return GetDescriptor();
1706 }
1707 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1708 return default_instance().GetMetadata().descriptor;
1709 }
1710 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1711 return default_instance().GetMetadata().reflection;
1713 static const IndicatorConstraintProto& default_instance() {
1714 return *reinterpret_cast<const IndicatorConstraintProto*>(
1716 }
1717 static constexpr int kIndexInFileMessages = 6;
1719 inline void Swap(IndicatorConstraintProto* PROTOBUF_NONNULL other) {
1720 if (other == this) return;
1721 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1722 InternalSwap(other);
1723 } else {
1724 ::google::protobuf::internal::GenericSwap(this, other);
1727 void UnsafeArenaSwap(IndicatorConstraintProto* PROTOBUF_NONNULL other) {
1728 if (other == this) return;
1729 ABSL_DCHECK(GetArena() == other->GetArena());
1730 InternalSwap(other);
1731 }
1732
1733 // implements Message ----------------------------------------------
1734
1735 IndicatorConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1736 return ::google::protobuf::Message::DefaultConstruct<IndicatorConstraintProto>(arena);
1737 }
1738 using ::google::protobuf::Message::CopyFrom;
1739 void CopyFrom(const IndicatorConstraintProto& from);
1740 using ::google::protobuf::Message::MergeFrom;
1741 void MergeFrom(const IndicatorConstraintProto& from) { IndicatorConstraintProto::MergeImpl(*this, from); }
1742
1743 private:
1744 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1745 const ::google::protobuf::MessageLite& from_msg);
1746
1747 public:
1748 bool IsInitialized() const {
1749 return true;
1750 }
1751 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1752 #if defined(PROTOBUF_CUSTOM_VTABLE)
1753 private:
1754 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1755 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1756 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1757 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1758
1759 public:
1760 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1761 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1762 ::uint8_t* PROTOBUF_NONNULL target,
1763 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1764 return _InternalSerialize(*this, target, stream);
1765 }
1766 #else // PROTOBUF_CUSTOM_VTABLE
1767 ::size_t ByteSizeLong() const final;
1768 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1769 ::uint8_t* PROTOBUF_NONNULL target,
1770 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1771 #endif // PROTOBUF_CUSTOM_VTABLE
1772 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1773
1774 private:
1775 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1776 static void SharedDtor(MessageLite& self);
1777 void InternalSwap(IndicatorConstraintProto* PROTOBUF_NONNULL other);
1778 private:
1779 template <typename T>
1781 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.IndicatorConstraintProto"; }
1782
1783 explicit IndicatorConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1784 IndicatorConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IndicatorConstraintProto& from);
1786 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IndicatorConstraintProto&& from) noexcept
1787 : IndicatorConstraintProto(arena) {
1788 *this = ::std::move(from);
1789 }
1790 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1791 static void* PROTOBUF_NONNULL PlacementNew_(
1792 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1793 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1794 static constexpr auto InternalNewImpl_();
1795
1796 public:
1797 static constexpr auto InternalGenerateClassData_();
1798
1799 ::google::protobuf::Metadata GetMetadata() const;
1800 // nested types ----------------------------------------------------
1801
1802 // accessors -------------------------------------------------------
1803 enum : int {
1804 kNameFieldNumber = 5,
1805 kExpressionFieldNumber = 2,
1806 kIndicatorIdFieldNumber = 1,
1807 kLowerBoundFieldNumber = 3,
1808 kUpperBoundFieldNumber = 4,
1809 kActivateOnZeroFieldNumber = 6,
1810 };
1811 // string name = 5;
1812 void clear_name() ;
1813 const ::std::string& name() const;
1814 template <typename Arg_ = const ::std::string&, typename... Args_>
1815 void set_name(Arg_&& arg, Args_... args);
1816 ::std::string* PROTOBUF_NONNULL mutable_name();
1817 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1818 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1819
1820 private:
1821 const ::std::string& _internal_name() const;
1822 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1823 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1824
1825 public:
1826 // .operations_research.math_opt.SparseDoubleVectorProto expression = 2;
1827 bool has_expression() const;
1828 void clear_expression() ;
1829 const ::operations_research::math_opt::SparseDoubleVectorProto& expression() const;
1835
1836 private:
1837 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_expression() const;
1838 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_expression();
1839
1840 public:
1841 // optional int64 indicator_id = 1;
1842 bool has_indicator_id() const;
1843 void clear_indicator_id() ;
1844 ::int64_t indicator_id() const;
1845 void set_indicator_id(::int64_t value);
1846
1847 private:
1848 ::int64_t _internal_indicator_id() const;
1849 void _internal_set_indicator_id(::int64_t value);
1850
1851 public:
1852 // double lower_bound = 3;
1853 void clear_lower_bound() ;
1854 double lower_bound() const;
1855 void set_lower_bound(double value);
1856
1857 private:
1858 double _internal_lower_bound() const;
1859 void _internal_set_lower_bound(double value);
1860
1861 public:
1862 // double upper_bound = 4;
1863 void clear_upper_bound() ;
1864 double upper_bound() const;
1865 void set_upper_bound(double value);
1866
1867 private:
1868 double _internal_upper_bound() const;
1869 void _internal_set_upper_bound(double value);
1870
1871 public:
1872 // bool activate_on_zero = 6;
1873 void clear_activate_on_zero() ;
1874 bool activate_on_zero() const;
1875 void set_activate_on_zero(bool value);
1876
1877 private:
1878 bool _internal_activate_on_zero() const;
1879 void _internal_set_activate_on_zero(bool value);
1880
1881 public:
1882 // @@protoc_insertion_point(class_scope:operations_research.math_opt.IndicatorConstraintProto)
1883 private:
1884 class _Internal;
1885 friend class ::google::protobuf::internal::TcParser;
1886 static const ::google::protobuf::internal::TcParseTable<3, 6,
1887 1, 66,
1888 2>
1889 _table_;
1890
1891 friend class ::google::protobuf::MessageLite;
1892 friend class ::google::protobuf::Arena;
1893 template <typename T>
1894 friend class ::google::protobuf::Arena::InternalHelper;
1895 using InternalArenaConstructable_ = void;
1896 using DestructorSkippable_ = void;
1897 struct Impl_ {
1898 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1899 inline explicit Impl_(
1900 ::google::protobuf::internal::InternalVisibility visibility,
1901 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1902 inline explicit Impl_(
1903 ::google::protobuf::internal::InternalVisibility visibility,
1904 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1905 const IndicatorConstraintProto& from_msg);
1906 ::google::protobuf::internal::HasBits<1> _has_bits_;
1907 ::google::protobuf::internal::CachedSize _cached_size_;
1908 ::google::protobuf::internal::ArenaStringPtr name_;
1909 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE expression_;
1910 ::int64_t indicator_id_;
1911 double lower_bound_;
1912 double upper_bound_;
1913 bool activate_on_zero_;
1914 PROTOBUF_TSAN_DECLARE_MEMBER
1915 };
1916 union { Impl_ _impl_; };
1917 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1918};
1919
1920OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_;
1921// -------------------------------------------------------------------
1922
1923class ModelProto_Sos2ConstraintsEntry_DoNotUse final
1924 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1925 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1926 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1927 public:
1928 using SuperType =
1929 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1930 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1931 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1933 template <typename = void>
1934 explicit PROTOBUF_CONSTEXPR ModelProto_Sos2ConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1935 explicit ModelProto_Sos2ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1936 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1938 }
1939
1940
1941 static constexpr auto InternalGenerateClassData_();
1942
1943 private:
1944 friend class ::google::protobuf::MessageLite;
1945 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1946
1947 friend class ::google::protobuf::internal::TcParser;
1948 static const ::google::protobuf::internal::TcParseTable<1, 2,
1949 1, 0,
1950 2>
1951 _table_;
1952
1953 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1954 static void* PROTOBUF_NONNULL PlacementNew_(
1955 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1956 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1957 static constexpr auto InternalNewImpl_();
1958};
1959OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_;
1960// -------------------------------------------------------------------
1961
1963 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1964 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1965 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1966 public:
1967 using SuperType =
1968 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1969 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1970 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1972 template <typename = void>
1973 explicit PROTOBUF_CONSTEXPR ModelProto_Sos1ConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1974 explicit ModelProto_Sos1ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1975 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1978
1979
1980 static constexpr auto InternalGenerateClassData_();
1981
1982 private:
1983 friend class ::google::protobuf::MessageLite;
1984 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1986 friend class ::google::protobuf::internal::TcParser;
1987 static const ::google::protobuf::internal::TcParseTable<1, 2,
1988 1, 0,
1989 2>
1990 _table_;
1991
1992 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1993 static void* PROTOBUF_NONNULL PlacementNew_(
1994 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1995 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1996 static constexpr auto InternalNewImpl_();
1997};
1998OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_;
1999// -------------------------------------------------------------------
2000
2002 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2003 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2004 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2005 public:
2006 using SuperType =
2007 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2008 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2009 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2011 template <typename = void>
2012 explicit PROTOBUF_CONSTEXPR ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2013 explicit ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2014 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2016 }
2018
2019 static constexpr auto InternalGenerateClassData_();
2020
2021 private:
2022 friend class ::google::protobuf::MessageLite;
2023 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2024
2025 friend class ::google::protobuf::internal::TcParser;
2026 static const ::google::protobuf::internal::TcParseTable<1, 2,
2027 1, 0,
2028 2>
2029 _table_;
2030
2031 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2032 static void* PROTOBUF_NONNULL PlacementNew_(
2033 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2034 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2035 static constexpr auto InternalNewImpl_();
2037OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_;
2038// -------------------------------------------------------------------
2039
2041 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2042 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2043 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2044 public:
2045 using SuperType =
2046 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2047 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2048 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2050 template <typename = void>
2051 explicit PROTOBUF_CONSTEXPR ModelProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2052 explicit ModelProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2053 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2055 }
2056
2058 static constexpr auto InternalGenerateClassData_();
2059
2060 private:
2061 friend class ::google::protobuf::MessageLite;
2062 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2064 friend class ::google::protobuf::internal::TcParser;
2065 static const ::google::protobuf::internal::TcParseTable<1, 2,
2066 1, 0,
2067 2>
2068 _table_;
2069
2070 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2071 static void* PROTOBUF_NONNULL PlacementNew_(
2072 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2073 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2074 static constexpr auto InternalNewImpl_();
2075};
2076OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_;
2077// -------------------------------------------------------------------
2078
2080 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2081 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2082 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2083 public:
2084 using SuperType =
2085 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2086 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2087 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2089 template <typename = void>
2090 explicit PROTOBUF_CONSTEXPR ModelProto_IndicatorConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2091 explicit ModelProto_IndicatorConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2092 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2094 }
2095
2096
2097 static constexpr auto InternalGenerateClassData_();
2098
2099 private:
2100 friend class ::google::protobuf::MessageLite;
2101 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2102
2103 friend class ::google::protobuf::internal::TcParser;
2104 static const ::google::protobuf::internal::TcParseTable<1, 2,
2105 1, 0,
2106 2>
2107 _table_;
2108
2109 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2110 static void* PROTOBUF_NONNULL PlacementNew_(
2111 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2112 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2113 static constexpr auto InternalNewImpl_();
2115OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_;
2116// -------------------------------------------------------------------
2117
2119 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2120 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2121 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2122 public:
2123 using SuperType =
2124 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2125 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2126 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2128 template <typename = void>
2129 explicit PROTOBUF_CONSTEXPR ModelProto_AuxiliaryObjectivesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2130 explicit ModelProto_AuxiliaryObjectivesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2131 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2133 }
2134
2135
2136 static constexpr auto InternalGenerateClassData_();
2138 private:
2139 friend class ::google::protobuf::MessageLite;
2140 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2141
2142 friend class ::google::protobuf::internal::TcParser;
2143 static const ::google::protobuf::internal::TcParseTable<1, 2,
2144 1, 0,
2146 _table_;
2147
2148 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2149 static void* PROTOBUF_NONNULL PlacementNew_(
2150 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2151 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2152 static constexpr auto InternalNewImpl_();
2154OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_;
2155// -------------------------------------------------------------------
2157class OR_PROTO_DLL ModelProto final : public ::google::protobuf::Message
2158/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelProto) */ {
2159 public:
2160 inline ModelProto() : ModelProto(nullptr) {}
2161 ~ModelProto() PROTOBUF_FINAL;
2162
2163#if defined(PROTOBUF_CUSTOM_VTABLE)
2164 void operator delete(ModelProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
2165 SharedDtor(*msg);
2166 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelProto));
2167 }
2168#endif
2169
2170 template <typename = void>
2171 explicit PROTOBUF_CONSTEXPR ModelProto(::google::protobuf::internal::ConstantInitialized);
2173 inline ModelProto(const ModelProto& from) : ModelProto(nullptr, from) {}
2174 inline ModelProto(ModelProto&& from) noexcept
2175 : ModelProto(nullptr, ::std::move(from)) {}
2176 inline ModelProto& operator=(const ModelProto& from) {
2177 CopyFrom(from);
2178 return *this;
2179 }
2180 inline ModelProto& operator=(ModelProto&& from) noexcept {
2181 if (this == &from) return *this;
2182 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2183 InternalSwap(&from);
2184 } else {
2185 CopyFrom(from);
2187 return *this;
2190 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2191 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2192 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2193 }
2194 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2195 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2196 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2197 }
2198
2199 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2200 return GetDescriptor();
2201 }
2202 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2203 return default_instance().GetMetadata().descriptor;
2204 }
2205 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2206 return default_instance().GetMetadata().reflection;
2207 }
2208 static const ModelProto& default_instance() {
2209 return *reinterpret_cast<const ModelProto*>(
2211 }
2212 static constexpr int kIndexInFileMessages = 13;
2213 friend void swap(ModelProto& a, ModelProto& b) { a.Swap(&b); }
2214 inline void Swap(ModelProto* PROTOBUF_NONNULL other) {
2215 if (other == this) return;
2216 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2217 InternalSwap(other);
2218 } else {
2219 ::google::protobuf::internal::GenericSwap(this, other);
2221 }
2222 void UnsafeArenaSwap(ModelProto* PROTOBUF_NONNULL other) {
2223 if (other == this) return;
2224 ABSL_DCHECK(GetArena() == other->GetArena());
2225 InternalSwap(other);
2226 }
2228 // implements Message ----------------------------------------------
2230 ModelProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2231 return ::google::protobuf::Message::DefaultConstruct<ModelProto>(arena);
2232 }
2233 using ::google::protobuf::Message::CopyFrom;
2234 void CopyFrom(const ModelProto& from);
2235 using ::google::protobuf::Message::MergeFrom;
2236 void MergeFrom(const ModelProto& from) { ModelProto::MergeImpl(*this, from); }
2238 private:
2239 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2240 const ::google::protobuf::MessageLite& from_msg);
2241
2242 public:
2243 bool IsInitialized() const {
2244 return true;
2246 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2247 #if defined(PROTOBUF_CUSTOM_VTABLE)
2248 private:
2249 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2250 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2251 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2252 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2253
2254 public:
2255 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2256 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2257 ::uint8_t* PROTOBUF_NONNULL target,
2258 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2259 return _InternalSerialize(*this, target, stream);
2260 }
2261 #else // PROTOBUF_CUSTOM_VTABLE
2262 ::size_t ByteSizeLong() const final;
2263 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2264 ::uint8_t* PROTOBUF_NONNULL target,
2265 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2266 #endif // PROTOBUF_CUSTOM_VTABLE
2267 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2268
2269 private:
2270 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2271 static void SharedDtor(MessageLite& self);
2272 void InternalSwap(ModelProto* PROTOBUF_NONNULL other);
2273 private:
2274 template <typename T>
2275 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2276 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelProto"; }
2277
2278 explicit ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2279 ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelProto& from);
2280 ModelProto(
2281 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelProto&& from) noexcept
2282 : ModelProto(arena) {
2283 *this = ::std::move(from);
2284 }
2285 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2286 static void* PROTOBUF_NONNULL PlacementNew_(
2287 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2288 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2289 static constexpr auto InternalNewImpl_();
2290
2291 public:
2292 static constexpr auto InternalGenerateClassData_();
2293
2294 ::google::protobuf::Metadata GetMetadata() const;
2295 // nested types ----------------------------------------------------
2296
2297 // accessors -------------------------------------------------------
2298 enum : int {
2299 kNameFieldNumber = 1,
2300 kVariablesFieldNumber = 2,
2301 kObjectiveFieldNumber = 3,
2302 kLinearConstraintsFieldNumber = 4,
2303 kLinearConstraintMatrixFieldNumber = 5,
2304 kQuadraticConstraintsFieldNumber = 6,
2305 kSos1ConstraintsFieldNumber = 7,
2306 kSos2ConstraintsFieldNumber = 8,
2307 kIndicatorConstraintsFieldNumber = 9,
2308 kAuxiliaryObjectivesFieldNumber = 10,
2309 kSecondOrderConeConstraintsFieldNumber = 11,
2310 };
2311 // string name = 1;
2312 void clear_name() ;
2313 const ::std::string& name() const;
2314 template <typename Arg_ = const ::std::string&, typename... Args_>
2315 void set_name(Arg_&& arg, Args_... args);
2316 ::std::string* PROTOBUF_NONNULL mutable_name();
2317 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
2318 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
2320 private:
2321 const ::std::string& _internal_name() const;
2322 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
2323 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2325 public:
2326 // .operations_research.math_opt.VariablesProto variables = 2;
2327 bool has_variables() const;
2328 void clear_variables() ;
2329 const ::operations_research::math_opt::VariablesProto& variables() const;
2335
2336 private:
2337 const ::operations_research::math_opt::VariablesProto& _internal_variables() const;
2338 ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL _internal_mutable_variables();
2339
2340 public:
2341 // .operations_research.math_opt.ObjectiveProto objective = 3;
2342 bool has_objective() const;
2343 void clear_objective() ;
2344 const ::operations_research::math_opt::ObjectiveProto& objective() const;
2345 [[nodiscard]] ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE release_objective();
2350
2351 private:
2352 const ::operations_research::math_opt::ObjectiveProto& _internal_objective() const;
2353 ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL _internal_mutable_objective();
2354
2355 public:
2356 // .operations_research.math_opt.LinearConstraintsProto linear_constraints = 4;
2357 bool has_linear_constraints() const;
2359 const ::operations_research::math_opt::LinearConstraintsProto& linear_constraints() const;
2365
2366 private:
2367 const ::operations_research::math_opt::LinearConstraintsProto& _internal_linear_constraints() const;
2368 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL _internal_mutable_linear_constraints();
2369
2370 public:
2371 // .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix = 5;
2372 bool has_linear_constraint_matrix() const;
2374 const ::operations_research::math_opt::SparseDoubleMatrixProto& linear_constraint_matrix() const;
2380
2381 private:
2382 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_linear_constraint_matrix() const;
2383 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_linear_constraint_matrix();
2384
2385 public:
2386 // map<int64, .operations_research.math_opt.QuadraticConstraintProto> quadratic_constraints = 6;
2387 int quadratic_constraints_size() const;
2388 private:
2389 int _internal_quadratic_constraints_size() const;
2390
2391 public:
2393 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& quadratic_constraints() const;
2394 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL mutable_quadratic_constraints();
2395
2396 private:
2397 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& _internal_quadratic_constraints() const;
2398 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL _internal_mutable_quadratic_constraints();
2399
2400 public:
2401 // map<int64, .operations_research.math_opt.SosConstraintProto> sos1_constraints = 7;
2402 int sos1_constraints_size() const;
2403 private:
2404 int _internal_sos1_constraints_size() const;
2405
2406 public:
2407 void clear_sos1_constraints() ;
2408 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& sos1_constraints() const;
2409 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL mutable_sos1_constraints();
2410
2411 private:
2412 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos1_constraints() const;
2413 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos1_constraints();
2414
2415 public:
2416 // map<int64, .operations_research.math_opt.SosConstraintProto> sos2_constraints = 8;
2417 int sos2_constraints_size() const;
2418 private:
2419 int _internal_sos2_constraints_size() const;
2420
2421 public:
2422 void clear_sos2_constraints() ;
2423 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& sos2_constraints() const;
2424 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL mutable_sos2_constraints();
2425
2426 private:
2427 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos2_constraints() const;
2428 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos2_constraints();
2429
2430 public:
2431 // map<int64, .operations_research.math_opt.IndicatorConstraintProto> indicator_constraints = 9;
2432 int indicator_constraints_size() const;
2433 private:
2434 int _internal_indicator_constraints_size() const;
2435
2436 public:
2438 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& indicator_constraints() const;
2439 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL mutable_indicator_constraints();
2440
2441 private:
2442 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& _internal_indicator_constraints() const;
2443 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL _internal_mutable_indicator_constraints();
2444
2445 public:
2446 // map<int64, .operations_research.math_opt.ObjectiveProto> auxiliary_objectives = 10;
2447 int auxiliary_objectives_size() const;
2448 private:
2449 int _internal_auxiliary_objectives_size() const;
2450
2451 public:
2453 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& auxiliary_objectives() const;
2454 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL mutable_auxiliary_objectives();
2455
2456 private:
2457 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& _internal_auxiliary_objectives() const;
2458 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL _internal_mutable_auxiliary_objectives();
2459
2460 public:
2461 // map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> second_order_cone_constraints = 11;
2463 private:
2464 int _internal_second_order_cone_constraints_size() const;
2465
2466 public:
2468 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& second_order_cone_constraints() const;
2469 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL mutable_second_order_cone_constraints();
2470
2471 private:
2472 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& _internal_second_order_cone_constraints() const;
2473 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraints();
2474
2475 public:
2476 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelProto)
2477 private:
2478 class _Internal;
2479 friend class ::google::protobuf::internal::TcParser;
2480 static const ::google::protobuf::internal::TcParseTable<3, 11,
2481 16, 60,
2482 2>
2483 _table_;
2484
2485 friend class ::google::protobuf::MessageLite;
2486 friend class ::google::protobuf::Arena;
2487 template <typename T>
2488 friend class ::google::protobuf::Arena::InternalHelper;
2489 using InternalArenaConstructable_ = void;
2490 using DestructorSkippable_ = void;
2491 struct Impl_ {
2492 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2493 inline explicit Impl_(
2494 ::google::protobuf::internal::InternalVisibility visibility,
2495 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2496 inline explicit Impl_(
2497 ::google::protobuf::internal::InternalVisibility visibility,
2498 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2499 const ModelProto& from_msg);
2500 ::google::protobuf::internal::HasBits<1> _has_bits_;
2501 ::google::protobuf::internal::CachedSize _cached_size_;
2502 ::google::protobuf::internal::ArenaStringPtr name_;
2504 ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE objective_;
2505 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE linear_constraints_;
2506 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE linear_constraint_matrix_;
2508 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2509 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2510 quadratic_constraints_;
2512 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2513 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2514 sos1_constraints_;
2516 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2517 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2518 sos2_constraints_;
2520 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2521 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2522 indicator_constraints_;
2524 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2525 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2526 auxiliary_objectives_;
2528 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2529 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2530 second_order_cone_constraints_;
2531 PROTOBUF_TSAN_DECLARE_MEMBER
2532 };
2533 union { Impl_ _impl_; };
2534 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2535};
2536
2537OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_class_data_;
2538
2539// ===================================================================
2540
2541
2542
2543
2544// ===================================================================
2545
2546
2547#ifdef __GNUC__
2548#pragma GCC diagnostic push
2549#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2550#endif // __GNUC__
2551// -------------------------------------------------------------------
2552
2553// VariablesProto
2554
2555// repeated int64 ids = 1;
2556inline int VariablesProto::_internal_ids_size() const {
2557 return _internal_ids().size();
2558}
2559inline int VariablesProto::ids_size() const {
2560 return _internal_ids_size();
2561}
2562inline void VariablesProto::clear_ids() {
2563 ::google::protobuf::internal::TSanWrite(&_impl_);
2564 _impl_.ids_.Clear();
2565 ClearHasBitForRepeated(_impl_._has_bits_[0],
2566 0x00000001U);
2567}
2568inline ::int64_t VariablesProto::ids(int index) const {
2569 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.ids)
2570 return _internal_ids().Get(index);
2571}
2572inline void VariablesProto::set_ids(int index, ::int64_t value) {
2573 _internal_mutable_ids()->Set(index, value);
2574 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.ids)
2575}
2576inline void VariablesProto::add_ids(::int64_t value) {
2577 ::google::protobuf::internal::TSanWrite(&_impl_);
2578 _internal_mutable_ids()->Add(value);
2579 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2580 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.ids)
2581}
2582inline const ::google::protobuf::RepeatedField<::int64_t>& VariablesProto::ids() const
2583 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2584 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.ids)
2585 return _internal_ids();
2587inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL VariablesProto::mutable_ids()
2588 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2589 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
2590 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.ids)
2591 ::google::protobuf::internal::TSanWrite(&_impl_);
2592 return _internal_mutable_ids();
2593}
2594inline const ::google::protobuf::RepeatedField<::int64_t>&
2595VariablesProto::_internal_ids() const {
2596 ::google::protobuf::internal::TSanRead(&_impl_);
2597 return _impl_.ids_;
2598}
2599inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2600VariablesProto::_internal_mutable_ids() {
2601 ::google::protobuf::internal::TSanRead(&_impl_);
2602 return &_impl_.ids_;
2603}
2604
2605// repeated double lower_bounds = 2;
2606inline int VariablesProto::_internal_lower_bounds_size() const {
2607 return _internal_lower_bounds().size();
2608}
2609inline int VariablesProto::lower_bounds_size() const {
2610 return _internal_lower_bounds_size();
2611}
2613 ::google::protobuf::internal::TSanWrite(&_impl_);
2614 _impl_.lower_bounds_.Clear();
2615 ClearHasBitForRepeated(_impl_._has_bits_[0],
2616 0x00000002U);
2617}
2618inline double VariablesProto::lower_bounds(int index) const {
2619 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.lower_bounds)
2620 return _internal_lower_bounds().Get(index);
2621}
2622inline void VariablesProto::set_lower_bounds(int index, double value) {
2623 _internal_mutable_lower_bounds()->Set(index, value);
2624 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.lower_bounds)
2625}
2626inline void VariablesProto::add_lower_bounds(double value) {
2627 ::google::protobuf::internal::TSanWrite(&_impl_);
2628 _internal_mutable_lower_bounds()->Add(value);
2629 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2630 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.lower_bounds)
2631}
2632inline const ::google::protobuf::RepeatedField<double>& VariablesProto::lower_bounds() const
2633 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2634 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.lower_bounds)
2635 return _internal_lower_bounds();
2637inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL VariablesProto::mutable_lower_bounds()
2638 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2639 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
2640 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.lower_bounds)
2641 ::google::protobuf::internal::TSanWrite(&_impl_);
2642 return _internal_mutable_lower_bounds();
2643}
2644inline const ::google::protobuf::RepeatedField<double>&
2645VariablesProto::_internal_lower_bounds() const {
2646 ::google::protobuf::internal::TSanRead(&_impl_);
2647 return _impl_.lower_bounds_;
2648}
2649inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2650VariablesProto::_internal_mutable_lower_bounds() {
2651 ::google::protobuf::internal::TSanRead(&_impl_);
2652 return &_impl_.lower_bounds_;
2653}
2654
2655// repeated double upper_bounds = 3;
2656inline int VariablesProto::_internal_upper_bounds_size() const {
2657 return _internal_upper_bounds().size();
2658}
2659inline int VariablesProto::upper_bounds_size() const {
2660 return _internal_upper_bounds_size();
2661}
2663 ::google::protobuf::internal::TSanWrite(&_impl_);
2664 _impl_.upper_bounds_.Clear();
2665 ClearHasBitForRepeated(_impl_._has_bits_[0],
2666 0x00000004U);
2667}
2668inline double VariablesProto::upper_bounds(int index) const {
2669 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.upper_bounds)
2670 return _internal_upper_bounds().Get(index);
2671}
2672inline void VariablesProto::set_upper_bounds(int index, double value) {
2673 _internal_mutable_upper_bounds()->Set(index, value);
2674 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.upper_bounds)
2675}
2676inline void VariablesProto::add_upper_bounds(double value) {
2677 ::google::protobuf::internal::TSanWrite(&_impl_);
2678 _internal_mutable_upper_bounds()->Add(value);
2679 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2680 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.upper_bounds)
2681}
2682inline const ::google::protobuf::RepeatedField<double>& VariablesProto::upper_bounds() const
2683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2684 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.upper_bounds)
2685 return _internal_upper_bounds();
2687inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL VariablesProto::mutable_upper_bounds()
2688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2689 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
2690 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.upper_bounds)
2691 ::google::protobuf::internal::TSanWrite(&_impl_);
2692 return _internal_mutable_upper_bounds();
2693}
2694inline const ::google::protobuf::RepeatedField<double>&
2695VariablesProto::_internal_upper_bounds() const {
2696 ::google::protobuf::internal::TSanRead(&_impl_);
2697 return _impl_.upper_bounds_;
2698}
2699inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2700VariablesProto::_internal_mutable_upper_bounds() {
2701 ::google::protobuf::internal::TSanRead(&_impl_);
2702 return &_impl_.upper_bounds_;
2703}
2704
2705// repeated bool integers = 4;
2706inline int VariablesProto::_internal_integers_size() const {
2707 return _internal_integers().size();
2708}
2709inline int VariablesProto::integers_size() const {
2710 return _internal_integers_size();
2711}
2712inline void VariablesProto::clear_integers() {
2713 ::google::protobuf::internal::TSanWrite(&_impl_);
2714 _impl_.integers_.Clear();
2715 ClearHasBitForRepeated(_impl_._has_bits_[0],
2716 0x00000008U);
2717}
2718inline bool VariablesProto::integers(int index) const {
2719 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.integers)
2720 return _internal_integers().Get(index);
2721}
2722inline void VariablesProto::set_integers(int index, bool value) {
2723 _internal_mutable_integers()->Set(index, value);
2724 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.integers)
2725}
2726inline void VariablesProto::add_integers(bool value) {
2727 ::google::protobuf::internal::TSanWrite(&_impl_);
2728 _internal_mutable_integers()->Add(value);
2729 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2730 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.integers)
2731}
2732inline const ::google::protobuf::RepeatedField<bool>& VariablesProto::integers() const
2733 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2734 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.integers)
2735 return _internal_integers();
2737inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL VariablesProto::mutable_integers()
2738 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2739 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
2740 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.integers)
2741 ::google::protobuf::internal::TSanWrite(&_impl_);
2742 return _internal_mutable_integers();
2743}
2744inline const ::google::protobuf::RepeatedField<bool>&
2745VariablesProto::_internal_integers() const {
2746 ::google::protobuf::internal::TSanRead(&_impl_);
2747 return _impl_.integers_;
2748}
2749inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
2750VariablesProto::_internal_mutable_integers() {
2751 ::google::protobuf::internal::TSanRead(&_impl_);
2752 return &_impl_.integers_;
2753}
2754
2755// repeated string names = 5;
2756inline int VariablesProto::_internal_names_size() const {
2757 return _internal_names().size();
2758}
2759inline int VariablesProto::names_size() const {
2760 return _internal_names_size();
2761}
2762inline void VariablesProto::clear_names() {
2763 ::google::protobuf::internal::TSanWrite(&_impl_);
2764 _impl_.names_.Clear();
2765 ClearHasBitForRepeated(_impl_._has_bits_[0],
2766 0x00000010U);
2767}
2768inline ::std::string* PROTOBUF_NONNULL VariablesProto::add_names()
2769 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2770 ::google::protobuf::internal::TSanWrite(&_impl_);
2771 ::std::string* _s =
2772 _internal_mutable_names()->InternalAddWithArena(
2773 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
2774 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
2775 // @@protoc_insertion_point(field_add_mutable:operations_research.math_opt.VariablesProto.names)
2776 return _s;
2778inline const ::std::string& VariablesProto::names(int index) const
2779 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2780 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.names)
2781 return _internal_names().Get(index);
2782}
2783inline ::std::string* PROTOBUF_NONNULL VariablesProto::mutable_names(int index)
2784 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2785 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariablesProto.names)
2786 return _internal_mutable_names()->Mutable(index);
2787}
2788template <typename Arg_, typename... Args_>
2789inline void VariablesProto::set_names(int index, Arg_&& value, Args_... args) {
2790 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
2791 args... );
2792 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.names)
2793}
2794template <typename Arg_, typename... Args_>
2795inline void VariablesProto::add_names(Arg_&& value, Args_... args) {
2796 ::google::protobuf::internal::TSanWrite(&_impl_);
2797 ::google::protobuf::internal::AddToRepeatedPtrField(
2798 ::google::protobuf::MessageLite::internal_visibility(), GetArena(),
2799 *_internal_mutable_names(), ::std::forward<Arg_>(value),
2800 args... );
2801 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
2802 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.names)
2803}
2804inline const ::google::protobuf::RepeatedPtrField<::std::string>& VariablesProto::names()
2805 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2806 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.names)
2807 return _internal_names();
2808}
2809inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2810VariablesProto::mutable_names() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2811 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000010U);
2812 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.names)
2813 ::google::protobuf::internal::TSanWrite(&_impl_);
2814 return _internal_mutable_names();
2815}
2816inline const ::google::protobuf::RepeatedPtrField<::std::string>&
2817VariablesProto::_internal_names() const {
2818 ::google::protobuf::internal::TSanRead(&_impl_);
2819 return _impl_.names_;
2820}
2821inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2822VariablesProto::_internal_mutable_names() {
2823 ::google::protobuf::internal::TSanRead(&_impl_);
2824 return &_impl_.names_;
2825}
2826
2827// -------------------------------------------------------------------
2829// ObjectiveProto
2830
2831// bool maximize = 1;
2832inline void ObjectiveProto::clear_maximize() {
2833 ::google::protobuf::internal::TSanWrite(&_impl_);
2834 _impl_.maximize_ = false;
2835 ClearHasBit(_impl_._has_bits_[0],
2836 0x00000020U);
2837}
2838inline bool ObjectiveProto::maximize() const {
2839 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.maximize)
2840 return _internal_maximize();
2841}
2842inline void ObjectiveProto::set_maximize(bool value) {
2843 _internal_set_maximize(value);
2844 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2845 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.maximize)
2846}
2847inline bool ObjectiveProto::_internal_maximize() const {
2848 ::google::protobuf::internal::TSanRead(&_impl_);
2849 return _impl_.maximize_;
2850}
2851inline void ObjectiveProto::_internal_set_maximize(bool value) {
2852 ::google::protobuf::internal::TSanWrite(&_impl_);
2853 _impl_.maximize_ = value;
2854}
2855
2856// double offset = 2;
2858 ::google::protobuf::internal::TSanWrite(&_impl_);
2859 _impl_.offset_ = 0;
2860 ClearHasBit(_impl_._has_bits_[0],
2861 0x00000008U);
2862}
2863inline double ObjectiveProto::offset() const {
2864 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.offset)
2865 return _internal_offset();
2866}
2867inline void ObjectiveProto::set_offset(double value) {
2868 _internal_set_offset(value);
2869 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2870 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.offset)
2871}
2872inline double ObjectiveProto::_internal_offset() const {
2873 ::google::protobuf::internal::TSanRead(&_impl_);
2874 return _impl_.offset_;
2875}
2876inline void ObjectiveProto::_internal_set_offset(double value) {
2877 ::google::protobuf::internal::TSanWrite(&_impl_);
2878 _impl_.offset_ = value;
2879}
2880
2881// .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
2883 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2884 PROTOBUF_ASSUME(!value || _impl_.linear_coefficients_ != nullptr);
2885 return value;
2887inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveProto::_internal_linear_coefficients() const {
2888 ::google::protobuf::internal::TSanRead(&_impl_);
2889 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_coefficients_;
2891}
2892inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveProto::linear_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2893 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2894 return _internal_linear_coefficients();
2895}
2898 ::google::protobuf::internal::TSanWrite(&_impl_);
2899 if (GetArena() == nullptr) {
2900 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
2902 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2903 if (value != nullptr) {
2904 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2905 } else {
2906 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2907 }
2908 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2909}
2910inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveProto::release_linear_coefficients() {
2911 ::google::protobuf::internal::TSanWrite(&_impl_);
2912
2913 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2915 _impl_.linear_coefficients_ = nullptr;
2916 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2917 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2918 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2919 if (GetArena() == nullptr) {
2920 delete old;
2921 }
2922 } else {
2923 if (GetArena() != nullptr) {
2924 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2925 }
2926 }
2927 return released;
2928}
2929inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveProto::unsafe_arena_release_linear_coefficients() {
2930 ::google::protobuf::internal::TSanWrite(&_impl_);
2931 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2932
2933 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2935 _impl_.linear_coefficients_ = nullptr;
2936 return temp;
2937}
2938inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_linear_coefficients() {
2939 ::google::protobuf::internal::TSanWrite(&_impl_);
2940 if (_impl_.linear_coefficients_ == nullptr) {
2941 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2942 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2943 }
2944 return _impl_.linear_coefficients_;
2945}
2946inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveProto::mutable_linear_coefficients()
2947 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2948 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2949 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_coefficients();
2950 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2951 return _msg;
2952}
2954 ::google::protobuf::Arena* message_arena = GetArena();
2955 ::google::protobuf::internal::TSanWrite(&_impl_);
2956 if (message_arena == nullptr) {
2957 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
2958 }
2959
2960 if (value != nullptr) {
2961 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2962 if (message_arena != submessage_arena) {
2963 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2964 }
2965 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2966 } else {
2967 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2968 }
2969
2970 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2971 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2973
2974// .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
2976 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2977 PROTOBUF_ASSUME(!value || _impl_.quadratic_coefficients_ != nullptr);
2978 return value;
2979}
2980inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveProto::_internal_quadratic_coefficients() const {
2981 ::google::protobuf::internal::TSanRead(&_impl_);
2982 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_coefficients_;
2984}
2985inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveProto::quadratic_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2986 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
2987 return _internal_quadratic_coefficients();
2988}
2990 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE value) {
2991 ::google::protobuf::internal::TSanWrite(&_impl_);
2992 if (GetArena() == nullptr) {
2993 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
2995 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
2996 if (value != nullptr) {
2997 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2998 } else {
2999 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3000 }
3001 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3002}
3003inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveProto::release_quadratic_coefficients() {
3004 ::google::protobuf::internal::TSanWrite(&_impl_);
3005
3006 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3007 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.quadratic_coefficients_;
3008 _impl_.quadratic_coefficients_ = nullptr;
3009 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3010 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3011 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3012 if (GetArena() == nullptr) {
3013 delete old;
3014 }
3015 } else {
3016 if (GetArena() != nullptr) {
3017 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3018 }
3019 }
3020 return released;
3021}
3022inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveProto::unsafe_arena_release_quadratic_coefficients() {
3023 ::google::protobuf::internal::TSanWrite(&_impl_);
3024 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3025
3026 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3028 _impl_.quadratic_coefficients_ = nullptr;
3029 return temp;
3030}
3031inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_quadratic_coefficients() {
3032 ::google::protobuf::internal::TSanWrite(&_impl_);
3033 if (_impl_.quadratic_coefficients_ == nullptr) {
3034 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3035 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
3036 }
3037 return _impl_.quadratic_coefficients_;
3038}
3039inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveProto::mutable_quadratic_coefficients()
3040 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3041 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3042 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_quadratic_coefficients();
3043 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3044 return _msg;
3045}
3047 ::google::protobuf::Arena* message_arena = GetArena();
3048 ::google::protobuf::internal::TSanWrite(&_impl_);
3049 if (message_arena == nullptr) {
3050 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
3051 }
3052
3053 if (value != nullptr) {
3054 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3055 if (message_arena != submessage_arena) {
3056 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3057 }
3058 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3059 } else {
3060 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3061 }
3062
3063 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3064 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3066
3067// string name = 5;
3068inline void ObjectiveProto::clear_name() {
3069 ::google::protobuf::internal::TSanWrite(&_impl_);
3070 _impl_.name_.ClearToEmpty();
3071 ClearHasBit(_impl_._has_bits_[0],
3072 0x00000001U);
3073}
3074inline const ::std::string& ObjectiveProto::name() const
3075 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3076 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.name)
3077 return _internal_name();
3078}
3079template <typename Arg_, typename... Args_>
3080PROTOBUF_ALWAYS_INLINE void ObjectiveProto::set_name(Arg_&& arg, Args_... args) {
3081 ::google::protobuf::internal::TSanWrite(&_impl_);
3082 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3083 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3084 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.name)
3085}
3086inline ::std::string* PROTOBUF_NONNULL ObjectiveProto::mutable_name()
3087 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3088 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3089 ::std::string* _s = _internal_mutable_name();
3090 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.name)
3091 return _s;
3092}
3093inline const ::std::string& ObjectiveProto::_internal_name() const {
3094 ::google::protobuf::internal::TSanRead(&_impl_);
3095 return _impl_.name_.Get();
3096}
3097inline void ObjectiveProto::_internal_set_name(const ::std::string& value) {
3098 ::google::protobuf::internal::TSanWrite(&_impl_);
3099 _impl_.name_.Set(value, GetArena());
3100}
3101inline ::std::string* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_name() {
3102 ::google::protobuf::internal::TSanWrite(&_impl_);
3103 return _impl_.name_.Mutable( GetArena());
3104}
3105inline ::std::string* PROTOBUF_NULLABLE ObjectiveProto::release_name() {
3106 ::google::protobuf::internal::TSanWrite(&_impl_);
3107 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.name)
3108 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
3109 return nullptr;
3110 }
3111 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3112 auto* released = _impl_.name_.Release();
3113 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3114 _impl_.name_.Set("", GetArena());
3115 }
3116 return released;
3117}
3118inline void ObjectiveProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3119 ::google::protobuf::internal::TSanWrite(&_impl_);
3120 if (value != nullptr) {
3121 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3122 } else {
3123 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3125 _impl_.name_.SetAllocated(value, GetArena());
3126 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3127 _impl_.name_.Set("", GetArena());
3128 }
3129 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.name)
3130}
3131
3132// int64 priority = 6;
3133inline void ObjectiveProto::clear_priority() {
3134 ::google::protobuf::internal::TSanWrite(&_impl_);
3135 _impl_.priority_ = ::int64_t{0};
3136 ClearHasBit(_impl_._has_bits_[0],
3137 0x00000010U);
3138}
3139inline ::int64_t ObjectiveProto::priority() const {
3140 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.priority)
3141 return _internal_priority();
3142}
3143inline void ObjectiveProto::set_priority(::int64_t value) {
3144 _internal_set_priority(value);
3145 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3146 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.priority)
3147}
3148inline ::int64_t ObjectiveProto::_internal_priority() const {
3149 ::google::protobuf::internal::TSanRead(&_impl_);
3150 return _impl_.priority_;
3151}
3152inline void ObjectiveProto::_internal_set_priority(::int64_t value) {
3153 ::google::protobuf::internal::TSanWrite(&_impl_);
3154 _impl_.priority_ = value;
3155}
3156
3157// -------------------------------------------------------------------
3159// LinearConstraintsProto
3160
3161// repeated int64 ids = 1;
3162inline int LinearConstraintsProto::_internal_ids_size() const {
3163 return _internal_ids().size();
3164}
3165inline int LinearConstraintsProto::ids_size() const {
3166 return _internal_ids_size();
3167}
3169 ::google::protobuf::internal::TSanWrite(&_impl_);
3170 _impl_.ids_.Clear();
3171 ClearHasBitForRepeated(_impl_._has_bits_[0],
3172 0x00000001U);
3173}
3174inline ::int64_t LinearConstraintsProto::ids(int index) const {
3175 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.ids)
3176 return _internal_ids().Get(index);
3177}
3178inline void LinearConstraintsProto::set_ids(int index, ::int64_t value) {
3179 _internal_mutable_ids()->Set(index, value);
3180 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.ids)
3181}
3182inline void LinearConstraintsProto::add_ids(::int64_t value) {
3183 ::google::protobuf::internal::TSanWrite(&_impl_);
3184 _internal_mutable_ids()->Add(value);
3185 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3186 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.ids)
3187}
3188inline const ::google::protobuf::RepeatedField<::int64_t>& LinearConstraintsProto::ids() const
3189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3190 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.ids)
3191 return _internal_ids();
3192}
3193inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL LinearConstraintsProto::mutable_ids()
3194 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3195 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3196 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.ids)
3197 ::google::protobuf::internal::TSanWrite(&_impl_);
3198 return _internal_mutable_ids();
3199}
3200inline const ::google::protobuf::RepeatedField<::int64_t>&
3201LinearConstraintsProto::_internal_ids() const {
3202 ::google::protobuf::internal::TSanRead(&_impl_);
3203 return _impl_.ids_;
3204}
3205inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3206LinearConstraintsProto::_internal_mutable_ids() {
3207 ::google::protobuf::internal::TSanRead(&_impl_);
3208 return &_impl_.ids_;
3209}
3210
3211// repeated double lower_bounds = 2;
3212inline int LinearConstraintsProto::_internal_lower_bounds_size() const {
3213 return _internal_lower_bounds().size();
3214}
3216 return _internal_lower_bounds_size();
3217}
3219 ::google::protobuf::internal::TSanWrite(&_impl_);
3220 _impl_.lower_bounds_.Clear();
3221 ClearHasBitForRepeated(_impl_._has_bits_[0],
3222 0x00000002U);
3223}
3224inline double LinearConstraintsProto::lower_bounds(int index) const {
3225 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3226 return _internal_lower_bounds().Get(index);
3227}
3228inline void LinearConstraintsProto::set_lower_bounds(int index, double value) {
3229 _internal_mutable_lower_bounds()->Set(index, value);
3230 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3231}
3232inline void LinearConstraintsProto::add_lower_bounds(double value) {
3233 ::google::protobuf::internal::TSanWrite(&_impl_);
3234 _internal_mutable_lower_bounds()->Add(value);
3235 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3236 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3237}
3238inline const ::google::protobuf::RepeatedField<double>& LinearConstraintsProto::lower_bounds() const
3239 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3240 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3241 return _internal_lower_bounds();
3242}
3243inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL LinearConstraintsProto::mutable_lower_bounds()
3244 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3245 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3246 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3247 ::google::protobuf::internal::TSanWrite(&_impl_);
3248 return _internal_mutable_lower_bounds();
3249}
3250inline const ::google::protobuf::RepeatedField<double>&
3251LinearConstraintsProto::_internal_lower_bounds() const {
3252 ::google::protobuf::internal::TSanRead(&_impl_);
3253 return _impl_.lower_bounds_;
3254}
3255inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3256LinearConstraintsProto::_internal_mutable_lower_bounds() {
3257 ::google::protobuf::internal::TSanRead(&_impl_);
3258 return &_impl_.lower_bounds_;
3259}
3260
3261// repeated double upper_bounds = 3;
3262inline int LinearConstraintsProto::_internal_upper_bounds_size() const {
3263 return _internal_upper_bounds().size();
3264}
3266 return _internal_upper_bounds_size();
3267}
3269 ::google::protobuf::internal::TSanWrite(&_impl_);
3270 _impl_.upper_bounds_.Clear();
3271 ClearHasBitForRepeated(_impl_._has_bits_[0],
3272 0x00000004U);
3273}
3274inline double LinearConstraintsProto::upper_bounds(int index) const {
3275 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3276 return _internal_upper_bounds().Get(index);
3277}
3278inline void LinearConstraintsProto::set_upper_bounds(int index, double value) {
3279 _internal_mutable_upper_bounds()->Set(index, value);
3280 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3281}
3282inline void LinearConstraintsProto::add_upper_bounds(double value) {
3283 ::google::protobuf::internal::TSanWrite(&_impl_);
3284 _internal_mutable_upper_bounds()->Add(value);
3285 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
3286 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3287}
3288inline const ::google::protobuf::RepeatedField<double>& LinearConstraintsProto::upper_bounds() const
3289 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3290 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3291 return _internal_upper_bounds();
3292}
3293inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL LinearConstraintsProto::mutable_upper_bounds()
3294 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3295 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
3296 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3297 ::google::protobuf::internal::TSanWrite(&_impl_);
3298 return _internal_mutable_upper_bounds();
3299}
3300inline const ::google::protobuf::RepeatedField<double>&
3301LinearConstraintsProto::_internal_upper_bounds() const {
3302 ::google::protobuf::internal::TSanRead(&_impl_);
3303 return _impl_.upper_bounds_;
3304}
3305inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3306LinearConstraintsProto::_internal_mutable_upper_bounds() {
3307 ::google::protobuf::internal::TSanRead(&_impl_);
3308 return &_impl_.upper_bounds_;
3309}
3310
3311// repeated string names = 4;
3312inline int LinearConstraintsProto::_internal_names_size() const {
3313 return _internal_names().size();
3314}
3315inline int LinearConstraintsProto::names_size() const {
3316 return _internal_names_size();
3317}
3319 ::google::protobuf::internal::TSanWrite(&_impl_);
3320 _impl_.names_.Clear();
3321 ClearHasBitForRepeated(_impl_._has_bits_[0],
3322 0x00000008U);
3323}
3324inline ::std::string* PROTOBUF_NONNULL LinearConstraintsProto::add_names()
3325 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3326 ::google::protobuf::internal::TSanWrite(&_impl_);
3327 ::std::string* _s =
3328 _internal_mutable_names()->InternalAddWithArena(
3329 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3330 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
3331 // @@protoc_insertion_point(field_add_mutable:operations_research.math_opt.LinearConstraintsProto.names)
3332 return _s;
3333}
3334inline const ::std::string& LinearConstraintsProto::names(int index) const
3335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3336 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.names)
3337 return _internal_names().Get(index);
3339inline ::std::string* PROTOBUF_NONNULL LinearConstraintsProto::mutable_names(int index)
3340 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3341 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.LinearConstraintsProto.names)
3342 return _internal_mutable_names()->Mutable(index);
3343}
3344template <typename Arg_, typename... Args_>
3345inline void LinearConstraintsProto::set_names(int index, Arg_&& value, Args_... args) {
3346 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
3347 args... );
3348 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.names)
3349}
3350template <typename Arg_, typename... Args_>
3351inline void LinearConstraintsProto::add_names(Arg_&& value, Args_... args) {
3352 ::google::protobuf::internal::TSanWrite(&_impl_);
3353 ::google::protobuf::internal::AddToRepeatedPtrField(
3354 ::google::protobuf::MessageLite::internal_visibility(), GetArena(),
3355 *_internal_mutable_names(), ::std::forward<Arg_>(value),
3356 args... );
3357 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
3358 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.names)
3360inline const ::google::protobuf::RepeatedPtrField<::std::string>& LinearConstraintsProto::names()
3361 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3362 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.names)
3363 return _internal_names();
3364}
3365inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3366LinearConstraintsProto::mutable_names() ABSL_ATTRIBUTE_LIFETIME_BOUND {
3367 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000008U);
3368 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.names)
3369 ::google::protobuf::internal::TSanWrite(&_impl_);
3370 return _internal_mutable_names();
3372inline const ::google::protobuf::RepeatedPtrField<::std::string>&
3373LinearConstraintsProto::_internal_names() const {
3374 ::google::protobuf::internal::TSanRead(&_impl_);
3375 return _impl_.names_;
3376}
3377inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3378LinearConstraintsProto::_internal_mutable_names() {
3379 ::google::protobuf::internal::TSanRead(&_impl_);
3380 return &_impl_.names_;
3381}
3382
3383// -------------------------------------------------------------------
3384
3385// QuadraticConstraintProto
3387// .operations_research.math_opt.SparseDoubleVectorProto linear_terms = 1;
3389 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
3390 PROTOBUF_ASSUME(!value || _impl_.linear_terms_ != nullptr);
3391 return value;
3392}
3393inline const ::operations_research::math_opt::SparseDoubleVectorProto& QuadraticConstraintProto::_internal_linear_terms() const {
3394 ::google::protobuf::internal::TSanRead(&_impl_);
3395 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_terms_;
3397}
3398inline const ::operations_research::math_opt::SparseDoubleVectorProto& QuadraticConstraintProto::linear_terms() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3399 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3400 return _internal_linear_terms();
3401}
3404 ::google::protobuf::internal::TSanWrite(&_impl_);
3405 if (GetArena() == nullptr) {
3406 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_terms_);
3407 }
3408 _impl_.linear_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3409 if (value != nullptr) {
3410 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3411 } else {
3412 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3413 }
3414 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3415}
3416inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE QuadraticConstraintProto::release_linear_terms() {
3417 ::google::protobuf::internal::TSanWrite(&_impl_);
3418
3419 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3421 _impl_.linear_terms_ = nullptr;
3422 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3423 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3424 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3425 if (GetArena() == nullptr) {
3426 delete old;
3427 }
3428 } else {
3429 if (GetArena() != nullptr) {
3430 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3431 }
3432 }
3433 return released;
3434}
3435inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE QuadraticConstraintProto::unsafe_arena_release_linear_terms() {
3436 ::google::protobuf::internal::TSanWrite(&_impl_);
3437 // @@protoc_insertion_point(field_release:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3438
3439 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3441 _impl_.linear_terms_ = nullptr;
3442 return temp;
3443}
3444inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_linear_terms() {
3445 ::google::protobuf::internal::TSanWrite(&_impl_);
3446 if (_impl_.linear_terms_ == nullptr) {
3447 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3448 _impl_.linear_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3449 }
3450 return _impl_.linear_terms_;
3451}
3452inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL QuadraticConstraintProto::mutable_linear_terms()
3453 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3454 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3455 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_terms();
3456 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3457 return _msg;
3458}
3460 ::google::protobuf::Arena* message_arena = GetArena();
3461 ::google::protobuf::internal::TSanWrite(&_impl_);
3462 if (message_arena == nullptr) {
3463 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_terms_);
3464 }
3465
3466 if (value != nullptr) {
3467 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3468 if (message_arena != submessage_arena) {
3469 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3470 }
3471 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3472 } else {
3473 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3474 }
3475
3476 _impl_.linear_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3477 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3478}
3479
3480// .operations_research.math_opt.SparseDoubleMatrixProto quadratic_terms = 2;
3482 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
3483 PROTOBUF_ASSUME(!value || _impl_.quadratic_terms_ != nullptr);
3484 return value;
3485}
3486inline const ::operations_research::math_opt::SparseDoubleMatrixProto& QuadraticConstraintProto::_internal_quadratic_terms() const {
3487 ::google::protobuf::internal::TSanRead(&_impl_);
3488 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_terms_;
3490}
3491inline const ::operations_research::math_opt::SparseDoubleMatrixProto& QuadraticConstraintProto::quadratic_terms() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3492 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3493 return _internal_quadratic_terms();
3494}
3497 ::google::protobuf::internal::TSanWrite(&_impl_);
3498 if (GetArena() == nullptr) {
3499 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_terms_);
3500 }
3501 _impl_.quadratic_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3502 if (value != nullptr) {
3503 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3504 } else {
3505 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3506 }
3507 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3508}
3509inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE QuadraticConstraintProto::release_quadratic_terms() {
3510 ::google::protobuf::internal::TSanWrite(&_impl_);
3511
3512 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3514 _impl_.quadratic_terms_ = nullptr;
3515 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3516 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3517 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3518 if (GetArena() == nullptr) {
3519 delete old;
3520 }
3521 } else {
3522 if (GetArena() != nullptr) {
3523 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3524 }
3525 }
3526 return released;
3527}
3528inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE QuadraticConstraintProto::unsafe_arena_release_quadratic_terms() {
3529 ::google::protobuf::internal::TSanWrite(&_impl_);
3530 // @@protoc_insertion_point(field_release:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3531
3532 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3534 _impl_.quadratic_terms_ = nullptr;
3535 return temp;
3536}
3537inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_quadratic_terms() {
3538 ::google::protobuf::internal::TSanWrite(&_impl_);
3539 if (_impl_.quadratic_terms_ == nullptr) {
3540 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3541 _impl_.quadratic_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
3542 }
3543 return _impl_.quadratic_terms_;
3544}
3545inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL QuadraticConstraintProto::mutable_quadratic_terms()
3546 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3547 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3548 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_quadratic_terms();
3549 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3550 return _msg;
3551}
3553 ::google::protobuf::Arena* message_arena = GetArena();
3554 ::google::protobuf::internal::TSanWrite(&_impl_);
3555 if (message_arena == nullptr) {
3556 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_terms_);
3557 }
3558
3559 if (value != nullptr) {
3560 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3561 if (message_arena != submessage_arena) {
3562 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3563 }
3564 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3565 } else {
3566 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3567 }
3568
3569 _impl_.quadratic_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3570 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3571}
3572
3573// double lower_bound = 3;
3575 ::google::protobuf::internal::TSanWrite(&_impl_);
3576 _impl_.lower_bound_ = 0;
3577 ClearHasBit(_impl_._has_bits_[0],
3578 0x00000008U);
3579}
3580inline double QuadraticConstraintProto::lower_bound() const {
3581 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.lower_bound)
3582 return _internal_lower_bound();
3583}
3584inline void QuadraticConstraintProto::set_lower_bound(double value) {
3585 _internal_set_lower_bound(value);
3586 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3587 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintProto.lower_bound)
3588}
3589inline double QuadraticConstraintProto::_internal_lower_bound() const {
3590 ::google::protobuf::internal::TSanRead(&_impl_);
3591 return _impl_.lower_bound_;
3592}
3593inline void QuadraticConstraintProto::_internal_set_lower_bound(double value) {
3594 ::google::protobuf::internal::TSanWrite(&_impl_);
3595 _impl_.lower_bound_ = value;
3596}
3597
3598// double upper_bound = 4;
3600 ::google::protobuf::internal::TSanWrite(&_impl_);
3601 _impl_.upper_bound_ = 0;
3602 ClearHasBit(_impl_._has_bits_[0],
3603 0x00000010U);
3604}
3606 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.upper_bound)
3607 return _internal_upper_bound();
3608}
3609inline void QuadraticConstraintProto::set_upper_bound(double value) {
3610 _internal_set_upper_bound(value);
3611 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3612 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintProto.upper_bound)
3613}
3614inline double QuadraticConstraintProto::_internal_upper_bound() const {
3615 ::google::protobuf::internal::TSanRead(&_impl_);
3616 return _impl_.upper_bound_;
3617}
3618inline void QuadraticConstraintProto::_internal_set_upper_bound(double value) {
3619 ::google::protobuf::internal::TSanWrite(&_impl_);
3620 _impl_.upper_bound_ = value;
3621}
3622
3623// string name = 5;
3625 ::google::protobuf::internal::TSanWrite(&_impl_);
3626 _impl_.name_.ClearToEmpty();
3627 ClearHasBit(_impl_._has_bits_[0],
3628 0x00000001U);
3629}
3630inline const ::std::string& QuadraticConstraintProto::name() const
3631 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3632 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.name)
3633 return _internal_name();
3634}
3635template <typename Arg_, typename... Args_>
3636PROTOBUF_ALWAYS_INLINE void QuadraticConstraintProto::set_name(Arg_&& arg, Args_... args) {
3637 ::google::protobuf::internal::TSanWrite(&_impl_);
3638 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3639 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3640 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintProto.name)
3641}
3642inline ::std::string* PROTOBUF_NONNULL QuadraticConstraintProto::mutable_name()
3643 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3644 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3645 ::std::string* _s = _internal_mutable_name();
3646 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.QuadraticConstraintProto.name)
3647 return _s;
3648}
3649inline const ::std::string& QuadraticConstraintProto::_internal_name() const {
3650 ::google::protobuf::internal::TSanRead(&_impl_);
3651 return _impl_.name_.Get();
3652}
3653inline void QuadraticConstraintProto::_internal_set_name(const ::std::string& value) {
3654 ::google::protobuf::internal::TSanWrite(&_impl_);
3655 _impl_.name_.Set(value, GetArena());
3656}
3657inline ::std::string* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_name() {
3658 ::google::protobuf::internal::TSanWrite(&_impl_);
3659 return _impl_.name_.Mutable( GetArena());
3660}
3661inline ::std::string* PROTOBUF_NULLABLE QuadraticConstraintProto::release_name() {
3662 ::google::protobuf::internal::TSanWrite(&_impl_);
3663 // @@protoc_insertion_point(field_release:operations_research.math_opt.QuadraticConstraintProto.name)
3664 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
3665 return nullptr;
3666 }
3667 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3668 auto* released = _impl_.name_.Release();
3669 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3670 _impl_.name_.Set("", GetArena());
3671 }
3672 return released;
3673}
3674inline void QuadraticConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3675 ::google::protobuf::internal::TSanWrite(&_impl_);
3676 if (value != nullptr) {
3677 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3678 } else {
3679 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3680 }
3681 _impl_.name_.SetAllocated(value, GetArena());
3682 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3683 _impl_.name_.Set("", GetArena());
3684 }
3685 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.QuadraticConstraintProto.name)
3686}
3687
3688// -------------------------------------------------------------------
3689
3690// SecondOrderConeConstraintProto
3691
3692// .operations_research.math_opt.LinearExpressionProto upper_bound = 1;
3694 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
3695 PROTOBUF_ASSUME(!value || _impl_.upper_bound_ != nullptr);
3696 return value;
3697}
3698inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::_internal_upper_bound() const {
3699 ::google::protobuf::internal::TSanRead(&_impl_);
3700 const ::operations_research::math_opt::LinearExpressionProto* p = _impl_.upper_bound_;
3702}
3703inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::upper_bound() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3704 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3705 return _internal_upper_bound();
3706}
3709 ::google::protobuf::internal::TSanWrite(&_impl_);
3710 if (GetArena() == nullptr) {
3711 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bound_);
3712 }
3713 _impl_.upper_bound_ = reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*>(value);
3714 if (value != nullptr) {
3715 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3716 } else {
3717 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3718 }
3719 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3720}
3721inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NULLABLE SecondOrderConeConstraintProto::release_upper_bound() {
3722 ::google::protobuf::internal::TSanWrite(&_impl_);
3723
3724 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3726 _impl_.upper_bound_ = nullptr;
3727 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3728 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3729 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3730 if (GetArena() == nullptr) {
3731 delete old;
3732 }
3733 } else {
3734 if (GetArena() != nullptr) {
3735 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3736 }
3737 }
3738 return released;
3739}
3740inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NULLABLE SecondOrderConeConstraintProto::unsafe_arena_release_upper_bound() {
3741 ::google::protobuf::internal::TSanWrite(&_impl_);
3742 // @@protoc_insertion_point(field_release:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3744 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3746 _impl_.upper_bound_ = nullptr;
3747 return temp;
3748}
3749inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_upper_bound() {
3750 ::google::protobuf::internal::TSanWrite(&_impl_);
3751 if (_impl_.upper_bound_ == nullptr) {
3752 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearExpressionProto>(GetArena());
3753 _impl_.upper_bound_ = reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*>(p);
3754 }
3755 return _impl_.upper_bound_;
3756}
3757inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_upper_bound()
3758 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3759 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3760 ::operations_research::math_opt::LinearExpressionProto* _msg = _internal_mutable_upper_bound();
3761 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3762 return _msg;
3763}
3765 ::google::protobuf::Arena* message_arena = GetArena();
3766 ::google::protobuf::internal::TSanWrite(&_impl_);
3767 if (message_arena == nullptr) {
3768 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bound_);
3769 }
3770
3771 if (value != nullptr) {
3772 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3773 if (message_arena != submessage_arena) {
3774 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3775 }
3776 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3777 } else {
3778 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3780
3781 _impl_.upper_bound_ = reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*>(value);
3782 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3783}
3784
3785// repeated .operations_research.math_opt.LinearExpressionProto arguments_to_norm = 2;
3786inline int SecondOrderConeConstraintProto::_internal_arguments_to_norm_size() const {
3787 return _internal_arguments_to_norm().size();
3788}
3790 return _internal_arguments_to_norm_size();
3791}
3792inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_arguments_to_norm(int index)
3793 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3794 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3795 return _internal_mutable_arguments_to_norm()->Mutable(index);
3796}
3797inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_arguments_to_norm()
3798 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3799 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3800 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3801 ::google::protobuf::internal::TSanWrite(&_impl_);
3802 return _internal_mutable_arguments_to_norm();
3803}
3804inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::arguments_to_norm(int index) const
3805 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3806 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3807 return _internal_arguments_to_norm().Get(index);
3808}
3809inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::add_arguments_to_norm()
3810 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3811 ::google::protobuf::internal::TSanWrite(&_impl_);
3813 _internal_mutable_arguments_to_norm()->InternalAddWithArena(
3814 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3815 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3816 // @@protoc_insertion_point(field_add:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3817 return _add;
3818}
3819inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& SecondOrderConeConstraintProto::arguments_to_norm() const
3820 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3821 // @@protoc_insertion_point(field_list:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3822 return _internal_arguments_to_norm();
3823}
3824inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3825SecondOrderConeConstraintProto::_internal_arguments_to_norm() const {
3826 ::google::protobuf::internal::TSanRead(&_impl_);
3827 return _impl_.arguments_to_norm_;
3828}
3829inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3830SecondOrderConeConstraintProto::_internal_mutable_arguments_to_norm() {
3831 ::google::protobuf::internal::TSanRead(&_impl_);
3832 return &_impl_.arguments_to_norm_;
3833}
3834
3835// string name = 3;
3837 ::google::protobuf::internal::TSanWrite(&_impl_);
3838 _impl_.name_.ClearToEmpty();
3839 ClearHasBit(_impl_._has_bits_[0],
3840 0x00000002U);
3842inline const ::std::string& SecondOrderConeConstraintProto::name() const
3843 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3844 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3845 return _internal_name();
3846}
3847template <typename Arg_, typename... Args_>
3848PROTOBUF_ALWAYS_INLINE void SecondOrderConeConstraintProto::set_name(Arg_&& arg, Args_... args) {
3849 ::google::protobuf::internal::TSanWrite(&_impl_);
3850 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3851 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3852 // @@protoc_insertion_point(field_set:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3853}
3854inline ::std::string* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_name()
3855 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3856 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3857 ::std::string* _s = _internal_mutable_name();
3858 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3859 return _s;
3860}
3861inline const ::std::string& SecondOrderConeConstraintProto::_internal_name() const {
3862 ::google::protobuf::internal::TSanRead(&_impl_);
3863 return _impl_.name_.Get();
3865inline void SecondOrderConeConstraintProto::_internal_set_name(const ::std::string& value) {
3866 ::google::protobuf::internal::TSanWrite(&_impl_);
3867 _impl_.name_.Set(value, GetArena());
3868}
3869inline ::std::string* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_name() {
3870 ::google::protobuf::internal::TSanWrite(&_impl_);
3871 return _impl_.name_.Mutable( GetArena());
3872}
3873inline ::std::string* PROTOBUF_NULLABLE SecondOrderConeConstraintProto::release_name() {
3874 ::google::protobuf::internal::TSanWrite(&_impl_);
3875 // @@protoc_insertion_point(field_release:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3876 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000002U)) {
3877 return nullptr;
3878 }
3879 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3880 auto* released = _impl_.name_.Release();
3881 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3882 _impl_.name_.Set("", GetArena());
3883 }
3884 return released;
3885}
3886inline void SecondOrderConeConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3887 ::google::protobuf::internal::TSanWrite(&_impl_);
3888 if (value != nullptr) {
3889 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3890 } else {
3891 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3892 }
3893 _impl_.name_.SetAllocated(value, GetArena());
3894 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3895 _impl_.name_.Set("", GetArena());
3896 }
3897 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3898}
3899
3900// -------------------------------------------------------------------
3901
3902// SosConstraintProto
3903
3904// repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
3905inline int SosConstraintProto::_internal_expressions_size() const {
3906 return _internal_expressions().size();
3907}
3909 return _internal_expressions_size();
3910}
3911inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SosConstraintProto::mutable_expressions(int index)
3912 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3913 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SosConstraintProto.expressions)
3914 return _internal_mutable_expressions()->Mutable(index);
3915}
3916inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL SosConstraintProto::mutable_expressions()
3917 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3918 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3919 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintProto.expressions)
3920 ::google::protobuf::internal::TSanWrite(&_impl_);
3921 return _internal_mutable_expressions();
3922}
3923inline const ::operations_research::math_opt::LinearExpressionProto& SosConstraintProto::expressions(int index) const
3924 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3925 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.expressions)
3926 return _internal_expressions().Get(index);
3927}
3928inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SosConstraintProto::add_expressions()
3929 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3930 ::google::protobuf::internal::TSanWrite(&_impl_);
3932 _internal_mutable_expressions()->InternalAddWithArena(
3933 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3934 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3935 // @@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintProto.expressions)
3936 return _add;
3937}
3938inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& SosConstraintProto::expressions() const
3939 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3940 // @@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintProto.expressions)
3941 return _internal_expressions();
3942}
3943inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3944SosConstraintProto::_internal_expressions() const {
3945 ::google::protobuf::internal::TSanRead(&_impl_);
3946 return _impl_.expressions_;
3947}
3948inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3949SosConstraintProto::_internal_mutable_expressions() {
3950 ::google::protobuf::internal::TSanRead(&_impl_);
3951 return &_impl_.expressions_;
3952}
3953
3954// repeated double weights = 2;
3955inline int SosConstraintProto::_internal_weights_size() const {
3956 return _internal_weights().size();
3957}
3958inline int SosConstraintProto::weights_size() const {
3959 return _internal_weights_size();
3960}
3962 ::google::protobuf::internal::TSanWrite(&_impl_);
3963 _impl_.weights_.Clear();
3964 ClearHasBitForRepeated(_impl_._has_bits_[0],
3965 0x00000002U);
3966}
3967inline double SosConstraintProto::weights(int index) const {
3968 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.weights)
3969 return _internal_weights().Get(index);
3970}
3971inline void SosConstraintProto::set_weights(int index, double value) {
3972 _internal_mutable_weights()->Set(index, value);
3973 // @@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintProto.weights)
3974}
3975inline void SosConstraintProto::add_weights(double value) {
3976 ::google::protobuf::internal::TSanWrite(&_impl_);
3977 _internal_mutable_weights()->Add(value);
3978 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3979 // @@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintProto.weights)
3980}
3981inline const ::google::protobuf::RepeatedField<double>& SosConstraintProto::weights() const
3982 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3983 // @@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintProto.weights)
3984 return _internal_weights();
3985}
3986inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL SosConstraintProto::mutable_weights()
3987 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3988 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000002U);
3989 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintProto.weights)
3990 ::google::protobuf::internal::TSanWrite(&_impl_);
3991 return _internal_mutable_weights();
3992}
3993inline const ::google::protobuf::RepeatedField<double>&
3994SosConstraintProto::_internal_weights() const {
3995 ::google::protobuf::internal::TSanRead(&_impl_);
3996 return _impl_.weights_;
3997}
3998inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3999SosConstraintProto::_internal_mutable_weights() {
4000 ::google::protobuf::internal::TSanRead(&_impl_);
4001 return &_impl_.weights_;
4002}
4003
4004// string name = 3;
4005inline void SosConstraintProto::clear_name() {
4006 ::google::protobuf::internal::TSanWrite(&_impl_);
4007 _impl_.name_.ClearToEmpty();
4008 ClearHasBit(_impl_._has_bits_[0],
4009 0x00000004U);
4010}
4011inline const ::std::string& SosConstraintProto::name() const
4012 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4013 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.name)
4014 return _internal_name();
4015}
4016template <typename Arg_, typename... Args_>
4017PROTOBUF_ALWAYS_INLINE void SosConstraintProto::set_name(Arg_&& arg, Args_... args) {
4018 ::google::protobuf::internal::TSanWrite(&_impl_);
4019 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4020 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
4021 // @@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintProto.name)
4022}
4023inline ::std::string* PROTOBUF_NONNULL SosConstraintProto::mutable_name()
4024 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4025 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4026 ::std::string* _s = _internal_mutable_name();
4027 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SosConstraintProto.name)
4028 return _s;
4029}
4030inline const ::std::string& SosConstraintProto::_internal_name() const {
4031 ::google::protobuf::internal::TSanRead(&_impl_);
4032 return _impl_.name_.Get();
4033}
4034inline void SosConstraintProto::_internal_set_name(const ::std::string& value) {
4035 ::google::protobuf::internal::TSanWrite(&_impl_);
4036 _impl_.name_.Set(value, GetArena());
4037}
4038inline ::std::string* PROTOBUF_NONNULL SosConstraintProto::_internal_mutable_name() {
4039 ::google::protobuf::internal::TSanWrite(&_impl_);
4040 return _impl_.name_.Mutable( GetArena());
4041}
4042inline ::std::string* PROTOBUF_NULLABLE SosConstraintProto::release_name() {
4043 ::google::protobuf::internal::TSanWrite(&_impl_);
4044 // @@protoc_insertion_point(field_release:operations_research.math_opt.SosConstraintProto.name)
4045 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000004U)) {
4046 return nullptr;
4047 }
4048 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4049 auto* released = _impl_.name_.Release();
4050 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4051 _impl_.name_.Set("", GetArena());
4052 }
4053 return released;
4054}
4055inline void SosConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
4056 ::google::protobuf::internal::TSanWrite(&_impl_);
4057 if (value != nullptr) {
4058 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4059 } else {
4060 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4061 }
4062 _impl_.name_.SetAllocated(value, GetArena());
4063 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4064 _impl_.name_.Set("", GetArena());
4066 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SosConstraintProto.name)
4067}
4068
4069// -------------------------------------------------------------------
4070
4071// IndicatorConstraintProto
4072
4073// optional int64 indicator_id = 1;
4075 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
4076 return value;
4077}
4079 ::google::protobuf::internal::TSanWrite(&_impl_);
4080 _impl_.indicator_id_ = ::int64_t{0};
4081 ClearHasBit(_impl_._has_bits_[0],
4082 0x00000004U);
4083}
4084inline ::int64_t IndicatorConstraintProto::indicator_id() const {
4085 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.indicator_id)
4086 return _internal_indicator_id();
4087}
4088inline void IndicatorConstraintProto::set_indicator_id(::int64_t value) {
4089 _internal_set_indicator_id(value);
4090 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4091 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.indicator_id)
4092}
4093inline ::int64_t IndicatorConstraintProto::_internal_indicator_id() const {
4094 ::google::protobuf::internal::TSanRead(&_impl_);
4095 return _impl_.indicator_id_;
4096}
4097inline void IndicatorConstraintProto::_internal_set_indicator_id(::int64_t value) {
4098 ::google::protobuf::internal::TSanWrite(&_impl_);
4099 _impl_.indicator_id_ = value;
4100}
4101
4102// bool activate_on_zero = 6;
4104 ::google::protobuf::internal::TSanWrite(&_impl_);
4105 _impl_.activate_on_zero_ = false;
4106 ClearHasBit(_impl_._has_bits_[0],
4107 0x00000020U);
4110 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.activate_on_zero)
4111 return _internal_activate_on_zero();
4113inline void IndicatorConstraintProto::set_activate_on_zero(bool value) {
4114 _internal_set_activate_on_zero(value);
4115 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
4116 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.activate_on_zero)
4117}
4118inline bool IndicatorConstraintProto::_internal_activate_on_zero() const {
4119 ::google::protobuf::internal::TSanRead(&_impl_);
4120 return _impl_.activate_on_zero_;
4121}
4122inline void IndicatorConstraintProto::_internal_set_activate_on_zero(bool value) {
4123 ::google::protobuf::internal::TSanWrite(&_impl_);
4124 _impl_.activate_on_zero_ = value;
4125}
4126
4127// .operations_research.math_opt.SparseDoubleVectorProto expression = 2;
4128inline bool IndicatorConstraintProto::has_expression() const {
4129 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
4130 PROTOBUF_ASSUME(!value || _impl_.expression_ != nullptr);
4131 return value;
4132}
4133inline const ::operations_research::math_opt::SparseDoubleVectorProto& IndicatorConstraintProto::_internal_expression() const {
4134 ::google::protobuf::internal::TSanRead(&_impl_);
4135 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.expression_;
4138inline const ::operations_research::math_opt::SparseDoubleVectorProto& IndicatorConstraintProto::expression() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4139 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.expression)
4140 return _internal_expression();
4141}
4144 ::google::protobuf::internal::TSanWrite(&_impl_);
4145 if (GetArena() == nullptr) {
4146 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expression_);
4147 }
4148 _impl_.expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
4149 if (value != nullptr) {
4150 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4151 } else {
4152 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4153 }
4154 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.IndicatorConstraintProto.expression)
4155}
4156inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE IndicatorConstraintProto::release_expression() {
4157 ::google::protobuf::internal::TSanWrite(&_impl_);
4158
4159 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4160 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.expression_;
4161 _impl_.expression_ = nullptr;
4162 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4163 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4164 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4165 if (GetArena() == nullptr) {
4166 delete old;
4167 }
4168 } else {
4169 if (GetArena() != nullptr) {
4170 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4171 }
4172 }
4173 return released;
4174}
4175inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE IndicatorConstraintProto::unsafe_arena_release_expression() {
4176 ::google::protobuf::internal::TSanWrite(&_impl_);
4177 // @@protoc_insertion_point(field_release:operations_research.math_opt.IndicatorConstraintProto.expression)
4178
4179 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4181 _impl_.expression_ = nullptr;
4182 return temp;
4183}
4184inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_expression() {
4185 ::google::protobuf::internal::TSanWrite(&_impl_);
4186 if (_impl_.expression_ == nullptr) {
4187 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
4188 _impl_.expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
4189 }
4190 return _impl_.expression_;
4191}
4192inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL IndicatorConstraintProto::mutable_expression()
4193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4194 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4195 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_expression();
4196 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.IndicatorConstraintProto.expression)
4197 return _msg;
4198}
4200 ::google::protobuf::Arena* message_arena = GetArena();
4201 ::google::protobuf::internal::TSanWrite(&_impl_);
4202 if (message_arena == nullptr) {
4203 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expression_);
4204 }
4205
4206 if (value != nullptr) {
4207 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4208 if (message_arena != submessage_arena) {
4209 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4210 }
4211 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4212 } else {
4213 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4214 }
4215
4216 _impl_.expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
4217 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.IndicatorConstraintProto.expression)
4218}
4219
4220// double lower_bound = 3;
4222 ::google::protobuf::internal::TSanWrite(&_impl_);
4223 _impl_.lower_bound_ = 0;
4224 ClearHasBit(_impl_._has_bits_[0],
4225 0x00000008U);
4226}
4227inline double IndicatorConstraintProto::lower_bound() const {
4228 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.lower_bound)
4229 return _internal_lower_bound();
4230}
4231inline void IndicatorConstraintProto::set_lower_bound(double value) {
4232 _internal_set_lower_bound(value);
4233 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4234 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.lower_bound)
4235}
4236inline double IndicatorConstraintProto::_internal_lower_bound() const {
4237 ::google::protobuf::internal::TSanRead(&_impl_);
4238 return _impl_.lower_bound_;
4239}
4240inline void IndicatorConstraintProto::_internal_set_lower_bound(double value) {
4241 ::google::protobuf::internal::TSanWrite(&_impl_);
4242 _impl_.lower_bound_ = value;
4243}
4244
4245// double upper_bound = 4;
4247 ::google::protobuf::internal::TSanWrite(&_impl_);
4248 _impl_.upper_bound_ = 0;
4249 ClearHasBit(_impl_._has_bits_[0],
4250 0x00000010U);
4252inline double IndicatorConstraintProto::upper_bound() const {
4253 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.upper_bound)
4254 return _internal_upper_bound();
4256inline void IndicatorConstraintProto::set_upper_bound(double value) {
4257 _internal_set_upper_bound(value);
4258 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4259 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.upper_bound)
4260}
4261inline double IndicatorConstraintProto::_internal_upper_bound() const {
4262 ::google::protobuf::internal::TSanRead(&_impl_);
4263 return _impl_.upper_bound_;
4264}
4265inline void IndicatorConstraintProto::_internal_set_upper_bound(double value) {
4266 ::google::protobuf::internal::TSanWrite(&_impl_);
4267 _impl_.upper_bound_ = value;
4268}
4269
4270// string name = 5;
4272 ::google::protobuf::internal::TSanWrite(&_impl_);
4273 _impl_.name_.ClearToEmpty();
4274 ClearHasBit(_impl_._has_bits_[0],
4275 0x00000001U);
4277inline const ::std::string& IndicatorConstraintProto::name() const
4278 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4279 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.name)
4280 return _internal_name();
4281}
4282template <typename Arg_, typename... Args_>
4283PROTOBUF_ALWAYS_INLINE void IndicatorConstraintProto::set_name(Arg_&& arg, Args_... args) {
4284 ::google::protobuf::internal::TSanWrite(&_impl_);
4285 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4286 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
4287 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.name)
4288}
4289inline ::std::string* PROTOBUF_NONNULL IndicatorConstraintProto::mutable_name()
4290 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4291 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4292 ::std::string* _s = _internal_mutable_name();
4293 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.IndicatorConstraintProto.name)
4294 return _s;
4296inline const ::std::string& IndicatorConstraintProto::_internal_name() const {
4297 ::google::protobuf::internal::TSanRead(&_impl_);
4298 return _impl_.name_.Get();
4299}
4300inline void IndicatorConstraintProto::_internal_set_name(const ::std::string& value) {
4301 ::google::protobuf::internal::TSanWrite(&_impl_);
4302 _impl_.name_.Set(value, GetArena());
4303}
4304inline ::std::string* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_name() {
4305 ::google::protobuf::internal::TSanWrite(&_impl_);
4306 return _impl_.name_.Mutable( GetArena());
4308inline ::std::string* PROTOBUF_NULLABLE IndicatorConstraintProto::release_name() {
4309 ::google::protobuf::internal::TSanWrite(&_impl_);
4310 // @@protoc_insertion_point(field_release:operations_research.math_opt.IndicatorConstraintProto.name)
4311 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
4312 return nullptr;
4314 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4315 auto* released = _impl_.name_.Release();
4316 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4317 _impl_.name_.Set("", GetArena());
4318 }
4319 return released;
4320}
4321inline void IndicatorConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
4322 ::google::protobuf::internal::TSanWrite(&_impl_);
4323 if (value != nullptr) {
4324 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4325 } else {
4326 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4327 }
4328 _impl_.name_.SetAllocated(value, GetArena());
4329 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4330 _impl_.name_.Set("", GetArena());
4331 }
4332 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.IndicatorConstraintProto.name)
4333}
4334
4335// -------------------------------------------------------------------
4336
4337// -------------------------------------------------------------------
4338
4339// -------------------------------------------------------------------
4340
4341// -------------------------------------------------------------------
4342
4343// -------------------------------------------------------------------
4344
4345// -------------------------------------------------------------------
4346
4347// -------------------------------------------------------------------
4348
4349// ModelProto
4350
4351// string name = 1;
4352inline void ModelProto::clear_name() {
4353 ::google::protobuf::internal::TSanWrite(&_impl_);
4354 _impl_.name_.ClearToEmpty();
4355 ClearHasBit(_impl_._has_bits_[0],
4356 0x00000001U);
4357}
4358inline const ::std::string& ModelProto::name() const
4359 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4360 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.name)
4361 return _internal_name();
4362}
4363template <typename Arg_, typename... Args_>
4364PROTOBUF_ALWAYS_INLINE void ModelProto::set_name(Arg_&& arg, Args_... args) {
4365 ::google::protobuf::internal::TSanWrite(&_impl_);
4366 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4367 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
4368 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelProto.name)
4369}
4370inline ::std::string* PROTOBUF_NONNULL ModelProto::mutable_name()
4371 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4372 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4373 ::std::string* _s = _internal_mutable_name();
4374 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.name)
4375 return _s;
4376}
4377inline const ::std::string& ModelProto::_internal_name() const {
4378 ::google::protobuf::internal::TSanRead(&_impl_);
4379 return _impl_.name_.Get();
4380}
4381inline void ModelProto::_internal_set_name(const ::std::string& value) {
4382 ::google::protobuf::internal::TSanWrite(&_impl_);
4383 _impl_.name_.Set(value, GetArena());
4384}
4385inline ::std::string* PROTOBUF_NONNULL ModelProto::_internal_mutable_name() {
4386 ::google::protobuf::internal::TSanWrite(&_impl_);
4387 return _impl_.name_.Mutable( GetArena());
4388}
4389inline ::std::string* PROTOBUF_NULLABLE ModelProto::release_name() {
4390 ::google::protobuf::internal::TSanWrite(&_impl_);
4391 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.name)
4392 if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
4393 return nullptr;
4394 }
4395 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4396 auto* released = _impl_.name_.Release();
4397 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4398 _impl_.name_.Set("", GetArena());
4399 }
4400 return released;
4402inline void ModelProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
4403 ::google::protobuf::internal::TSanWrite(&_impl_);
4404 if (value != nullptr) {
4405 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
4406 } else {
4407 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
4408 }
4409 _impl_.name_.SetAllocated(value, GetArena());
4410 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4411 _impl_.name_.Set("", GetArena());
4412 }
4413 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.name)
4414}
4415
4416// .operations_research.math_opt.VariablesProto variables = 2;
4417inline bool ModelProto::has_variables() const {
4418 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
4419 PROTOBUF_ASSUME(!value || _impl_.variables_ != nullptr);
4420 return value;
4421}
4422inline void ModelProto::clear_variables() {
4423 ::google::protobuf::internal::TSanWrite(&_impl_);
4424 if (_impl_.variables_ != nullptr) _impl_.variables_->Clear();
4425 ClearHasBit(_impl_._has_bits_[0],
4426 0x00000002U);
4427}
4428inline const ::operations_research::math_opt::VariablesProto& ModelProto::_internal_variables() const {
4429 ::google::protobuf::internal::TSanRead(&_impl_);
4430 const ::operations_research::math_opt::VariablesProto* p = _impl_.variables_;
4432}
4433inline const ::operations_research::math_opt::VariablesProto& ModelProto::variables() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4434 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.variables)
4435 return _internal_variables();
4436}
4438 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE value) {
4439 ::google::protobuf::internal::TSanWrite(&_impl_);
4440 if (GetArena() == nullptr) {
4441 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variables_);
4442 }
4443 _impl_.variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4444 if (value != nullptr) {
4445 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4446 } else {
4447 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4449 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.variables)
4450}
4451inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelProto::release_variables() {
4452 ::google::protobuf::internal::TSanWrite(&_impl_);
4454 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4456 _impl_.variables_ = nullptr;
4457 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4458 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4459 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4460 if (GetArena() == nullptr) {
4461 delete old;
4462 }
4463 } else {
4464 if (GetArena() != nullptr) {
4465 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4466 }
4467 }
4468 return released;
4469}
4470inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_variables() {
4471 ::google::protobuf::internal::TSanWrite(&_impl_);
4472 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.variables)
4473
4474 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4475 ::operations_research::math_opt::VariablesProto* temp = _impl_.variables_;
4476 _impl_.variables_ = nullptr;
4477 return temp;
4478}
4479inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_variables() {
4480 ::google::protobuf::internal::TSanWrite(&_impl_);
4481 if (_impl_.variables_ == nullptr) {
4482 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariablesProto>(GetArena());
4483 _impl_.variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(p);
4484 }
4485 return _impl_.variables_;
4486}
4487inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelProto::mutable_variables()
4488 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4489 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4490 ::operations_research::math_opt::VariablesProto* _msg = _internal_mutable_variables();
4491 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.variables)
4492 return _msg;
4493}
4495 ::google::protobuf::Arena* message_arena = GetArena();
4496 ::google::protobuf::internal::TSanWrite(&_impl_);
4497 if (message_arena == nullptr) {
4498 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variables_);
4499 }
4500
4501 if (value != nullptr) {
4502 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4503 if (message_arena != submessage_arena) {
4504 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4505 }
4506 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
4507 } else {
4508 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
4509 }
4510
4511 _impl_.variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4512 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.variables)
4513}
4514
4515// .operations_research.math_opt.ObjectiveProto objective = 3;
4516inline bool ModelProto::has_objective() const {
4517 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
4518 PROTOBUF_ASSUME(!value || _impl_.objective_ != nullptr);
4519 return value;
4520}
4521inline void ModelProto::clear_objective() {
4522 ::google::protobuf::internal::TSanWrite(&_impl_);
4523 if (_impl_.objective_ != nullptr) _impl_.objective_->Clear();
4524 ClearHasBit(_impl_._has_bits_[0],
4525 0x00000004U);
4526}
4527inline const ::operations_research::math_opt::ObjectiveProto& ModelProto::_internal_objective() const {
4528 ::google::protobuf::internal::TSanRead(&_impl_);
4529 const ::operations_research::math_opt::ObjectiveProto* p = _impl_.objective_;
4531}
4532inline const ::operations_research::math_opt::ObjectiveProto& ModelProto::objective() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4533 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.objective)
4534 return _internal_objective();
4535}
4537 ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE value) {
4538 ::google::protobuf::internal::TSanWrite(&_impl_);
4539 if (GetArena() == nullptr) {
4540 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_);
4541 }
4542 _impl_.objective_ = reinterpret_cast<::operations_research::math_opt::ObjectiveProto*>(value);
4543 if (value != nullptr) {
4544 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4545 } else {
4546 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4548 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.objective)
4549}
4550inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE ModelProto::release_objective() {
4551 ::google::protobuf::internal::TSanWrite(&_impl_);
4553 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4555 _impl_.objective_ = nullptr;
4556 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4557 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4558 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4559 if (GetArena() == nullptr) {
4560 delete old;
4561 }
4562 } else {
4563 if (GetArena() != nullptr) {
4564 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4565 }
4566 }
4567 return released;
4568}
4569inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_objective() {
4570 ::google::protobuf::internal::TSanWrite(&_impl_);
4571 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.objective)
4572
4573 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4574 ::operations_research::math_opt::ObjectiveProto* temp = _impl_.objective_;
4575 _impl_.objective_ = nullptr;
4576 return temp;
4577}
4578inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_objective() {
4579 ::google::protobuf::internal::TSanWrite(&_impl_);
4580 if (_impl_.objective_ == nullptr) {
4581 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveProto>(GetArena());
4582 _impl_.objective_ = reinterpret_cast<::operations_research::math_opt::ObjectiveProto*>(p);
4583 }
4584 return _impl_.objective_;
4585}
4586inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL ModelProto::mutable_objective()
4587 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4588 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4589 ::operations_research::math_opt::ObjectiveProto* _msg = _internal_mutable_objective();
4590 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.objective)
4591 return _msg;
4592}
4594 ::google::protobuf::Arena* message_arena = GetArena();
4595 ::google::protobuf::internal::TSanWrite(&_impl_);
4596 if (message_arena == nullptr) {
4597 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_);
4598 }
4599
4600 if (value != nullptr) {
4601 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4602 if (message_arena != submessage_arena) {
4603 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4604 }
4605 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
4606 } else {
4607 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
4608 }
4609
4610 _impl_.objective_ = reinterpret_cast<::operations_research::math_opt::ObjectiveProto*>(value);
4611 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.objective)
4612}
4613
4614// map<int64, .operations_research.math_opt.ObjectiveProto> auxiliary_objectives = 10;
4615inline int ModelProto::_internal_auxiliary_objectives_size() const {
4616 return _internal_auxiliary_objectives().size();
4618inline int ModelProto::auxiliary_objectives_size() const {
4619 return _internal_auxiliary_objectives_size();
4620}
4622 ::google::protobuf::internal::TSanWrite(&_impl_);
4623 _impl_.auxiliary_objectives_.Clear();
4624 ClearHasBitForRepeated(_impl_._has_bits_[0],
4625 0x00000200U);
4626}
4627inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& ModelProto::_internal_auxiliary_objectives() const {
4628 ::google::protobuf::internal::TSanRead(&_impl_);
4629 return _impl_.auxiliary_objectives_.GetMap();
4630}
4631inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& ModelProto::auxiliary_objectives() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4632 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.auxiliary_objectives)
4633 return _internal_auxiliary_objectives();
4634}
4635inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_auxiliary_objectives() {
4636 ::google::protobuf::internal::TSanWrite(&_impl_);
4637 return _impl_.auxiliary_objectives_.MutableMap();
4638}
4639inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL ModelProto::mutable_auxiliary_objectives()
4640 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4641 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000200U);
4642 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.auxiliary_objectives)
4643 return _internal_mutable_auxiliary_objectives();
4644}
4645
4646// .operations_research.math_opt.LinearConstraintsProto linear_constraints = 4;
4647inline bool ModelProto::has_linear_constraints() const {
4648 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
4649 PROTOBUF_ASSUME(!value || _impl_.linear_constraints_ != nullptr);
4650 return value;
4651}
4653 ::google::protobuf::internal::TSanWrite(&_impl_);
4654 if (_impl_.linear_constraints_ != nullptr) _impl_.linear_constraints_->Clear();
4655 ClearHasBit(_impl_._has_bits_[0],
4656 0x00000008U);
4657}
4658inline const ::operations_research::math_opt::LinearConstraintsProto& ModelProto::_internal_linear_constraints() const {
4659 ::google::protobuf::internal::TSanRead(&_impl_);
4660 const ::operations_research::math_opt::LinearConstraintsProto* p = _impl_.linear_constraints_;
4663inline const ::operations_research::math_opt::LinearConstraintsProto& ModelProto::linear_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4664 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.linear_constraints)
4665 return _internal_linear_constraints();
4666}
4669 ::google::protobuf::internal::TSanWrite(&_impl_);
4670 if (GetArena() == nullptr) {
4671 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraints_);
4672 }
4673 _impl_.linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4674 if (value != nullptr) {
4675 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4676 } else {
4677 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4679 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.linear_constraints)
4680}
4681inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelProto::release_linear_constraints() {
4682 ::google::protobuf::internal::TSanWrite(&_impl_);
4684 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4686 _impl_.linear_constraints_ = nullptr;
4687 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4688 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4689 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4690 if (GetArena() == nullptr) {
4691 delete old;
4692 }
4693 } else {
4694 if (GetArena() != nullptr) {
4695 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4696 }
4697 }
4698 return released;
4699}
4700inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_linear_constraints() {
4701 ::google::protobuf::internal::TSanWrite(&_impl_);
4702 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.linear_constraints)
4703
4704 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4705 ::operations_research::math_opt::LinearConstraintsProto* temp = _impl_.linear_constraints_;
4706 _impl_.linear_constraints_ = nullptr;
4707 return temp;
4708}
4709inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraints() {
4710 ::google::protobuf::internal::TSanWrite(&_impl_);
4711 if (_impl_.linear_constraints_ == nullptr) {
4712 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintsProto>(GetArena());
4713 _impl_.linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(p);
4714 }
4715 return _impl_.linear_constraints_;
4716}
4717inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelProto::mutable_linear_constraints()
4718 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4719 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4720 ::operations_research::math_opt::LinearConstraintsProto* _msg = _internal_mutable_linear_constraints();
4721 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.linear_constraints)
4722 return _msg;
4723}
4725 ::google::protobuf::Arena* message_arena = GetArena();
4726 ::google::protobuf::internal::TSanWrite(&_impl_);
4727 if (message_arena == nullptr) {
4728 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraints_);
4729 }
4730
4731 if (value != nullptr) {
4732 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4733 if (message_arena != submessage_arena) {
4734 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4735 }
4736 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4737 } else {
4738 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
4739 }
4740
4741 _impl_.linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4742 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.linear_constraints)
4743}
4744
4745// .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix = 5;
4746inline bool ModelProto::has_linear_constraint_matrix() const {
4747 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
4748 PROTOBUF_ASSUME(!value || _impl_.linear_constraint_matrix_ != nullptr);
4749 return value;
4750}
4751inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelProto::_internal_linear_constraint_matrix() const {
4752 ::google::protobuf::internal::TSanRead(&_impl_);
4753 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.linear_constraint_matrix_;
4756inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelProto::linear_constraint_matrix() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4757 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4758 return _internal_linear_constraint_matrix();
4759}
4762 ::google::protobuf::internal::TSanWrite(&_impl_);
4763 if (GetArena() == nullptr) {
4764 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_);
4765 }
4766 _impl_.linear_constraint_matrix_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4767 if (value != nullptr) {
4768 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4769 } else {
4770 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4771 }
4772 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4773}
4774inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelProto::release_linear_constraint_matrix() {
4775 ::google::protobuf::internal::TSanWrite(&_impl_);
4776
4777 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4778 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.linear_constraint_matrix_;
4779 _impl_.linear_constraint_matrix_ = nullptr;
4780 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4781 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4782 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4783 if (GetArena() == nullptr) {
4784 delete old;
4785 }
4786 } else {
4787 if (GetArena() != nullptr) {
4788 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4789 }
4790 }
4791 return released;
4792}
4793inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_linear_constraint_matrix() {
4794 ::google::protobuf::internal::TSanWrite(&_impl_);
4795 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4796
4797 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4798 ::operations_research::math_opt::SparseDoubleMatrixProto* temp = _impl_.linear_constraint_matrix_;
4799 _impl_.linear_constraint_matrix_ = nullptr;
4800 return temp;
4801}
4802inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraint_matrix() {
4803 ::google::protobuf::internal::TSanWrite(&_impl_);
4804 if (_impl_.linear_constraint_matrix_ == nullptr) {
4805 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
4806 _impl_.linear_constraint_matrix_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
4807 }
4808 return _impl_.linear_constraint_matrix_;
4809}
4810inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelProto::mutable_linear_constraint_matrix()
4811 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4812 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4813 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_linear_constraint_matrix();
4814 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4815 return _msg;
4816}
4818 ::google::protobuf::Arena* message_arena = GetArena();
4819 ::google::protobuf::internal::TSanWrite(&_impl_);
4820 if (message_arena == nullptr) {
4821 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_);
4822 }
4823
4824 if (value != nullptr) {
4825 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4826 if (message_arena != submessage_arena) {
4827 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4828 }
4829 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4830 } else {
4831 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
4832 }
4833
4834 _impl_.linear_constraint_matrix_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4835 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4836}
4837
4838// map<int64, .operations_research.math_opt.QuadraticConstraintProto> quadratic_constraints = 6;
4839inline int ModelProto::_internal_quadratic_constraints_size() const {
4840 return _internal_quadratic_constraints().size();
4842inline int ModelProto::quadratic_constraints_size() const {
4843 return _internal_quadratic_constraints_size();
4844}
4846 ::google::protobuf::internal::TSanWrite(&_impl_);
4847 _impl_.quadratic_constraints_.Clear();
4848 ClearHasBitForRepeated(_impl_._has_bits_[0],
4849 0x00000020U);
4850}
4851inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& ModelProto::_internal_quadratic_constraints() const {
4852 ::google::protobuf::internal::TSanRead(&_impl_);
4853 return _impl_.quadratic_constraints_.GetMap();
4854}
4855inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& ModelProto::quadratic_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4856 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.quadratic_constraints)
4857 return _internal_quadratic_constraints();
4858}
4859inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_quadratic_constraints() {
4860 ::google::protobuf::internal::TSanWrite(&_impl_);
4861 return _impl_.quadratic_constraints_.MutableMap();
4862}
4863inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_quadratic_constraints()
4864 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4865 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000020U);
4866 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.quadratic_constraints)
4867 return _internal_mutable_quadratic_constraints();
4868}
4869
4870// map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> second_order_cone_constraints = 11;
4871inline int ModelProto::_internal_second_order_cone_constraints_size() const {
4872 return _internal_second_order_cone_constraints().size();
4875 return _internal_second_order_cone_constraints_size();
4878 ::google::protobuf::internal::TSanWrite(&_impl_);
4879 _impl_.second_order_cone_constraints_.Clear();
4880 ClearHasBitForRepeated(_impl_._has_bits_[0],
4881 0x00000400U);
4882}
4883inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& ModelProto::_internal_second_order_cone_constraints() const {
4884 ::google::protobuf::internal::TSanRead(&_impl_);
4885 return _impl_.second_order_cone_constraints_.GetMap();
4887inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& ModelProto::second_order_cone_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4888 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.second_order_cone_constraints)
4889 return _internal_second_order_cone_constraints();
4890}
4891inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_second_order_cone_constraints() {
4892 ::google::protobuf::internal::TSanWrite(&_impl_);
4893 return _impl_.second_order_cone_constraints_.MutableMap();
4895inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_second_order_cone_constraints()
4896 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4897 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000400U);
4898 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.second_order_cone_constraints)
4899 return _internal_mutable_second_order_cone_constraints();
4900}
4901
4902// map<int64, .operations_research.math_opt.SosConstraintProto> sos1_constraints = 7;
4903inline int ModelProto::_internal_sos1_constraints_size() const {
4904 return _internal_sos1_constraints().size();
4906inline int ModelProto::sos1_constraints_size() const {
4907 return _internal_sos1_constraints_size();
4910 ::google::protobuf::internal::TSanWrite(&_impl_);
4911 _impl_.sos1_constraints_.Clear();
4912 ClearHasBitForRepeated(_impl_._has_bits_[0],
4913 0x00000040U);
4914}
4915inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos1_constraints() const {
4916 ::google::protobuf::internal::TSanRead(&_impl_);
4917 return _impl_.sos1_constraints_.GetMap();
4919inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::sos1_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4920 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.sos1_constraints)
4921 return _internal_sos1_constraints();
4922}
4923inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos1_constraints() {
4924 ::google::protobuf::internal::TSanWrite(&_impl_);
4925 return _impl_.sos1_constraints_.MutableMap();
4927inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_sos1_constraints()
4928 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4929 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000040U);
4930 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.sos1_constraints)
4931 return _internal_mutable_sos1_constraints();
4932}
4933
4934// map<int64, .operations_research.math_opt.SosConstraintProto> sos2_constraints = 8;
4935inline int ModelProto::_internal_sos2_constraints_size() const {
4936 return _internal_sos2_constraints().size();
4938inline int ModelProto::sos2_constraints_size() const {
4939 return _internal_sos2_constraints_size();
4942 ::google::protobuf::internal::TSanWrite(&_impl_);
4943 _impl_.sos2_constraints_.Clear();
4944 ClearHasBitForRepeated(_impl_._has_bits_[0],
4945 0x00000080U);
4946}
4947inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos2_constraints() const {
4948 ::google::protobuf::internal::TSanRead(&_impl_);
4949 return _impl_.sos2_constraints_.GetMap();
4951inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::sos2_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4952 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.sos2_constraints)
4953 return _internal_sos2_constraints();
4954}
4955inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos2_constraints() {
4956 ::google::protobuf::internal::TSanWrite(&_impl_);
4957 return _impl_.sos2_constraints_.MutableMap();
4959inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_sos2_constraints()
4960 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4961 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000080U);
4962 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.sos2_constraints)
4963 return _internal_mutable_sos2_constraints();
4964}
4965
4966// map<int64, .operations_research.math_opt.IndicatorConstraintProto> indicator_constraints = 9;
4967inline int ModelProto::_internal_indicator_constraints_size() const {
4968 return _internal_indicator_constraints().size();
4970inline int ModelProto::indicator_constraints_size() const {
4971 return _internal_indicator_constraints_size();
4974 ::google::protobuf::internal::TSanWrite(&_impl_);
4975 _impl_.indicator_constraints_.Clear();
4976 ClearHasBitForRepeated(_impl_._has_bits_[0],
4977 0x00000100U);
4978}
4979inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& ModelProto::_internal_indicator_constraints() const {
4980 ::google::protobuf::internal::TSanRead(&_impl_);
4981 return _impl_.indicator_constraints_.GetMap();
4983inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& ModelProto::indicator_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4984 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.indicator_constraints)
4985 return _internal_indicator_constraints();
4986}
4987inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_indicator_constraints() {
4988 ::google::protobuf::internal::TSanWrite(&_impl_);
4989 return _impl_.indicator_constraints_.MutableMap();
4991inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_indicator_constraints()
4992 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4993 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000100U);
4994 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.indicator_constraints)
4995 return _internal_mutable_indicator_constraints();
4996}
4997
4998#ifdef __GNUC__
4999#pragma GCC diagnostic pop
5000#endif // __GNUC__
5002// @@protoc_insertion_point(namespace_scope)
5003} // namespace math_opt
5004} // namespace operations_research
5005
5006
5007// @@protoc_insertion_point(global_scope)
5008
5009#include "google/protobuf/port_undef.inc"
5010
5011#endif // ortools_2fmath_5fopt_2fmodel_2eproto_2epb_2eh
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition model.pb.h:1712
void unsafe_arena_set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4166
void UnsafeArenaSwap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1735
void set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4223
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_expression()
Definition model.pb.h:4199
friend void swap(IndicatorConstraintProto &a, IndicatorConstraintProto &b)
Definition model.pb.h:1726
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:1715
static const IndicatorConstraintProto & default_instance()
Definition model.pb.h:1721
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:4345
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:4332
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_expression()
Definition model.pb.h:4180
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_expression()
Definition model.pb.h:4216
const ::operations_research::math_opt::SparseDoubleVectorProto & expression() const
Definition model.pb.h:4162
IndicatorConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition model.pb.h:1743
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:4313
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:1703
void Swap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1727
friend class ::google::protobuf::MessageLite
Definition model.pb.h:651
void Swap(LinearConstraintsProto *PROTOBUF_NONNULL other)
Definition model.pb.h:476
::std::string *PROTOBUF_NONNULL add_names()
Definition model.pb.h:3344
const ::google::protobuf::RepeatedField< double > & upper_bounds() const
Definition model.pb.h:3308
void MergeFrom(const LinearConstraintsProto &from)
Definition model.pb.h:498
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:1822
const ::std::string & names(int index) const
Definition model.pb.h:3354
void CopyFrom(const LinearConstraintsProto &from)
Definition model.pb.cc:1973
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds()
Definition model.pb.h:3263
::std::string *PROTOBUF_NONNULL mutable_names(int index)
Definition model.pb.h:3359
static const LinearConstraintsProto & default_instance()
Definition model.pb.h:470
void set_names(int index, Arg_ &&value, Args_... args)
Definition model.pb.h:3365
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition model.pb.cc:1790
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds()
Definition model.pb.h:3313
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:464
PROTOBUF_CONSTEXPR LinearConstraintsProto(::google::protobuf::internal::ConstantInitialized)
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
Definition model.pb.h:3213
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:452
LinearConstraintsProto & operator=(const LinearConstraintsProto &from)
Definition model.pb.h:438
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition model.pb.h:467
const ::google::protobuf::RepeatedPtrField<::std::string > & names() const
Definition model.pb.h:3380
const ::google::protobuf::RepeatedField< double > & lower_bounds() const
Definition model.pb.h:3258
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names()
Definition model.pb.h:3386
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
Definition model.pb.h:3208
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
Definition model.pb.h:2097
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
Definition model.pb.h:2057
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
Definition model.pb.h:2017
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
Definition model.pb.h:1977
static constexpr const void *PROTOBUF_NONNULL internal_default_instance()
Definition model.pb.h:1945
::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message, ::google::protobuf::internal::WireFormatLite::TYPE_INT64, ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE > SuperType
Definition model.pb.h:1937
void Swap(ModelProto *PROTOBUF_NONNULL other)
Definition model.pb.h:2229
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraints()
Definition model.pb.h:4731
void unsafe_arena_set_allocated_objective(::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4567
::operations_research::math_opt::VariablesProto *PROTOBUF_NONNULL mutable_variables()
Definition model.pb.h:4518
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_linear_constraint_matrix()
Definition model.pb.h:4841
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:4420
void unsafe_arena_set_allocated_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4698
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_linear_constraint_matrix()
Definition model.pb.h:4805
void set_allocated_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4525
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE release_variables()
Definition model.pb.h:4482
const ::operations_research::math_opt::VariablesProto & variables() const
Definition model.pb.h:4464
ModelProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition model.pb.h:2245
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_sos2_constraints()
Definition model.pb.h:4990
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > & quadratic_constraints() const
Definition model.pb.h:4886
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition model.pb.h:2220
const ::operations_research::math_opt::LinearConstraintsProto & linear_constraints() const
Definition model.pb.h:4694
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NONNULL mutable_objective()
Definition model.pb.h:4617
void set_name(Arg_ &&arg, Args_... args)
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE release_objective()
Definition model.pb.h:4581
const ::std::string & name() const
Definition model.pb.h:4389
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE release_linear_constraints()
Definition model.pb.h:4712
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE unsafe_arena_release_variables()
Definition model.pb.h:4501
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & sos1_constraints() const
Definition model.pb.h:4950
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:4401
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > *PROTOBUF_NONNULL mutable_auxiliary_objectives()
Definition model.pb.h:4670
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:2205
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & sos2_constraints() const
Definition model.pb.h:4982
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > & second_order_cone_constraints() const
Definition model.pb.h:4918
void set_allocated_objective(::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4624
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE unsafe_arena_release_objective()
Definition model.pb.h:4600
const ::operations_research::math_opt::ObjectiveProto & objective() const
Definition model.pb.h:4563
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > *PROTOBUF_NONNULL mutable_quadratic_constraints()
Definition model.pb.h:4894
void unsafe_arena_set_allocated_linear_constraint_matrix(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4791
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:4572
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > *PROTOBUF_NONNULL mutable_second_order_cone_constraints()
Definition model.pb.h:4926
const ::operations_research::math_opt::SparseDoubleMatrixProto & linear_constraint_matrix() const
Definition model.pb.h:4787
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NONNULL mutable_linear_constraints()
Definition model.pb.h:4748
void set_allocated_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4755
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > *PROTOBUF_NONNULL mutable_indicator_constraints()
Definition model.pb.h:5022
void set_allocated_linear_constraint_matrix(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4848
void unsafe_arena_set_allocated_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4468
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > & auxiliary_objectives() const
Definition model.pb.h:4662
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:4433
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > & indicator_constraints() const
Definition model.pb.h:5014
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraint_matrix()
Definition model.pb.h:4824
static const ModelProto & default_instance()
Definition model.pb.h:2223
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_sos1_constraints()
Definition model.pb.h:4958
void set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:2972
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_coefficients() const
Definition model.pb.h:2911
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_coefficients()
Definition model.pb.h:3022
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_coefficients()
Definition model.pb.h:2965
friend void swap(ObjectiveProto &a, ObjectiveProto &b)
Definition model.pb.h:1460
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_coefficients()
Definition model.pb.h:3058
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:3137
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:3124
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_coefficients()
Definition model.pb.h:2929
void unsafe_arena_set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:2915
void set_name(Arg_ &&arg, Args_... args)
void unsafe_arena_set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3008
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:1375
static const ObjectiveProto & default_instance()
Definition model.pb.h:1455
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_coefficients()
Definition model.pb.h:3041
void set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3065
void Swap(ObjectiveProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1461
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:3105
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_coefficients() const
Definition model.pb.h:3004
const ::std::string & name() const
Definition model.pb.h:3093
ObjectiveProto & operator=(const ObjectiveProto &from)
Definition model.pb.h:1423
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_coefficients()
Definition model.pb.h:2948
ObjectiveProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition model.pb.h:1477
void MergeFrom(const QuadraticConstraintProto &from)
Definition model.pb.h:1229
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:1195
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_terms()
Definition model.pb.h:3566
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:3663
QuadraticConstraintProto & operator=(const QuadraticConstraintProto &from)
Definition model.pb.h:1169
void CopyFrom(const QuadraticConstraintProto &from)
Definition model.pb.cc:2413
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_terms()
Definition model.pb.h:3437
QuadraticConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition model.pb.h:1223
static const QuadraticConstraintProto & default_instance()
Definition model.pb.h:1201
void set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3480
void unsafe_arena_set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3516
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_terms() const
Definition model.pb.h:3512
void unsafe_arena_set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3423
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_terms() const
Definition model.pb.h:3419
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:2241
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:3682
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_terms()
Definition model.pb.h:3530
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_terms()
Definition model.pb.h:3549
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_terms()
Definition model.pb.h:3456
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:3695
void set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3573
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition model.pb.h:1198
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_terms()
Definition model.pb.h:3473
void Swap(QuadraticConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1207
void Swap(SecondOrderConeConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:975
SecondOrderConeConstraintProto & operator=(const SecondOrderConeConstraintProto &from)
Definition model.pb.h:937
friend void swap(SecondOrderConeConstraintProto &a, SecondOrderConeConstraintProto &b)
Definition model.pb.h:974
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_upper_bound()
Definition model.pb.h:3779
void MergeFrom(const SecondOrderConeConstraintProto &from)
Definition model.pb.h:997
SecondOrderConeConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
Definition model.pb.h:991
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & arguments_to_norm() const
Definition model.pb.h:3841
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE release_upper_bound()
Definition model.pb.h:3743
const ::operations_research::math_opt::LinearExpressionProto & upper_bound() const
Definition model.pb.h:3725
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_arguments_to_norm(int index)
Definition model.pb.h:3814
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:963
void CopyFrom(const SecondOrderConeConstraintProto &from)
Definition model.pb.cc:2801
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:951
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition model.pb.h:960
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:3908
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:2664
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL add_arguments_to_norm()
Definition model.pb.h:3831
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL mutable_arguments_to_norm()
Definition model.pb.h:3819
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE unsafe_arena_release_upper_bound()
Definition model.pb.h:3762
void unsafe_arena_set_allocated_upper_bound(::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3729
const ::operations_research::math_opt::LinearExpressionProto & arguments_to_norm(int index) const
Definition model.pb.h:3826
void set_allocated_upper_bound(::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3786
friend class ::google::protobuf::MessageLite
Definition model.pb.h:888
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:4065
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:4078
const ::operations_research::math_opt::LinearExpressionProto & expressions(int index) const
Definition model.pb.h:3946
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:4046
friend void swap(SosConstraintProto &a, SosConstraintProto &b)
Definition model.pb.h:739
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:716
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & expressions() const
Definition model.pb.h:3961
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:3040
void set_weights(int index, double value)
Definition model.pb.h:3994
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL add_expressions()
Definition model.pb.h:3951
PROTOBUF_CONSTEXPR SosConstraintProto(::google::protobuf::internal::ConstantInitialized)
void Swap(SosConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:740
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_weights()
Definition model.pb.h:4009
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:728
void MergeFrom(const SosConstraintProto &from)
Definition model.pb.h:762
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL mutable_expressions()
Definition model.pb.h:3939
const ::google::protobuf::RepeatedField< double > & weights() const
Definition model.pb.h:4004
static const SosConstraintProto & default_instance()
Definition model.pb.h:734
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_expressions(int index)
Definition model.pb.h:3934
SosConstraintProto & operator=(const SosConstraintProto &from)
Definition model.pb.h:702
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:720
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition model.pb.h:725
void set_name(Arg_ &&arg, Args_... args)
void CopyFrom(const SosConstraintProto &from)
Definition model.pb.cc:3177
void set_lower_bounds(int index, double value)
Definition model.pb.h:2640
void set_integers(int index, bool value)
Definition model.pb.h:2740
friend class ::google::protobuf::MessageLite
Definition model.pb.h:386
void CopyFrom(const VariablesProto &from)
Definition model.pb.cc:1101
const ::std::string & names(int index) const
Definition model.pb.h:2796
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:168
const ::google::protobuf::RepeatedField< double > & lower_bounds() const
Definition model.pb.h:2650
::std::string *PROTOBUF_NONNULL add_names()
Definition model.pb.h:2786
const ::google::protobuf::RepeatedField< bool > & integers() const
Definition model.pb.h:2750
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds()
Definition model.pb.h:2705
void set_ids(int index, ::int64_t value)
Definition model.pb.h:2590
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds()
Definition model.pb.h:2655
VariablesProto & operator=(const VariablesProto &from)
Definition model.pb.h:154
::google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL mutable_integers()
Definition model.pb.h:2755
VariablesProto(const VariablesProto &from)
Definition model.pb.h:151
const ::google::protobuf::RepeatedField< double > & upper_bounds() const
Definition model.pb.h:2700
const ::google::protobuf::RepeatedPtrField<::std::string > & names() const
Definition model.pb.h:2822
void set_upper_bounds(int index, double value)
Definition model.pb.h:2690
::std::string *PROTOBUF_NONNULL mutable_names(int index)
Definition model.pb.h:2801
void set_names(int index, Arg_ &&value, Args_... args)
Definition model.pb.h:2807
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
Definition model.pb.h:2605
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
Definition model.pb.h:2600
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names()
Definition model.pb.h:2828
void Swap(VariablesProto *PROTOBUF_NONNULL other)
Definition model.pb.h:192
PROTOBUF_CONSTEXPR VariablesProto(::google::protobuf::internal::ConstantInitialized)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto
Definition model.pb.cc:666
::absl::string_view GetAnyMessageName()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearExpressionProtoDefaultTypeInternal _LinearExpressionProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProtoDefaultTypeInternal _ModelProto_default_instance_
Definition model.pb.cc:385
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_AuxiliaryObjectivesEntry_DoNotUseDefaultTypeInternal _ModelProto_AuxiliaryObjectivesEntry_DoNotUse_default_instance_
Definition model.pb.cc:348
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_
Definition model.pb.cc:2572
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_
Definition model.pb.cc:3695
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_IndicatorConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_IndicatorConstraintsEntry_DoNotUse_default_instance_
Definition model.pb.cc:330
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:3889
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_QuadraticConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_QuadraticConstraintsEntry_DoNotUse_default_instance_
Definition model.pb.cc:312
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_
Definition model.pb.cc:1258
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IndicatorConstraintProtoDefaultTypeInternal _IndicatorConstraintProto_default_instance_
Definition model.pb.cc:240
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SosConstraintProtoDefaultTypeInternal _SosConstraintProto_default_instance_
Definition model.pb.cc:116
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull VariablesProto_class_data_
Definition model.pb.cc:822
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_
Definition model.pb.cc:1726
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleVectorProtoDefaultTypeInternal _SparseDoubleVectorProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ObjectiveProtoDefaultTypeInternal _ObjectiveProto_default_instance_
Definition model.pb.cc:208
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuadraticConstraintProtoDefaultTypeInternal _QuadraticConstraintProto_default_instance_
Definition model.pb.cc:176
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:4083
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseDoubleMatrixProtoDefaultTypeInternal _SparseDoubleMatrixProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_SecondOrderConeConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_default_instance_
Definition model.pb.cc:294
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_class_data_
Definition model.pb.cc:4405
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:3792
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LinearConstraintsProtoDefaultTypeInternal _LinearConstraintsProto_default_instance_
Definition model.pb.cc:87
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SecondOrderConeConstraintProtoDefaultTypeInternal _SecondOrderConeConstraintProto_default_instance_
Definition model.pb.cc:145
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VariablesProtoDefaultTypeInternal _VariablesProto_default_instance_
Definition model.pb.cc:58
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:4180
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_
Definition model.pb.cc:2950
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_
Definition model.pb.cc:2129
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos1ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos1ConstraintsEntry_DoNotUse_default_instance_
Definition model.pb.cc:276
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_
Definition model.pb.cc:3324
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:3986
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ModelProto_Sos2ConstraintsEntry_DoNotUseDefaultTypeInternal _ModelProto_Sos2ConstraintsEntry_DoNotUse_default_instance_
Definition model.pb.cc:258
OR-Tools root namespace.