Google OR-Tools v9.14
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.31.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 != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/map.h" // IWYU pragma: export
32#include "google/protobuf/map_type_handler.h" // IWYU pragma: export
33#include "google/protobuf/map_entry.h"
34#include "google/protobuf/map_field.h"
35#include "google/protobuf/unknown_field_set.h"
37// @@protoc_insertion_point(includes)
38
39// Must be included last.
40#include "google/protobuf/port_def.inc"
41
42#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_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 protected:
255 explicit VariablesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
256 VariablesProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const VariablesProto& from);
258 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, VariablesProto&& from) noexcept
259 : VariablesProto(arena) {
260 *this = ::std::move(from);
261 }
262 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
263 static void* PROTOBUF_NONNULL PlacementNew_(
264 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
265 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
266 static constexpr auto InternalNewImpl_();
267
268 public:
269 static constexpr auto InternalGenerateClassData_();
270
271 ::google::protobuf::Metadata GetMetadata() const;
272 // nested types ----------------------------------------------------
273
274 // accessors -------------------------------------------------------
275 enum : int {
276 kIdsFieldNumber = 1,
277 kLowerBoundsFieldNumber = 2,
281 };
282 // repeated int64 ids = 1;
283 int ids_size() const;
284 private:
285 int _internal_ids_size() const;
286
287 public:
288 void clear_ids() ;
289 ::int64_t ids(int index) const;
290 void set_ids(int index, ::int64_t value);
291 void add_ids(::int64_t value);
292 const ::google::protobuf::RepeatedField<::int64_t>& ids() const;
293 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_ids();
294
295 private:
296 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids() const;
297 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
298
299 public:
300 // repeated double lower_bounds = 2;
301 int lower_bounds_size() const;
302 private:
303 int _internal_lower_bounds_size() const;
304
305 public:
306 void clear_lower_bounds() ;
307 double lower_bounds(int index) const;
308 void set_lower_bounds(int index, double value);
309 void add_lower_bounds(double value);
310 const ::google::protobuf::RepeatedField<double>& lower_bounds() const;
311 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_lower_bounds();
312
313 private:
314 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds() const;
315 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
316
317 public:
318 // repeated double upper_bounds = 3;
319 int upper_bounds_size() const;
320 private:
321 int _internal_upper_bounds_size() const;
322
323 public:
324 void clear_upper_bounds() ;
325 double upper_bounds(int index) const;
326 void set_upper_bounds(int index, double value);
327 void add_upper_bounds(double value);
328 const ::google::protobuf::RepeatedField<double>& upper_bounds() const;
329 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_upper_bounds();
330
331 private:
332 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds() const;
333 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
334
335 public:
336 // repeated bool integers = 4;
337 int integers_size() const;
338 private:
339 int _internal_integers_size() const;
340
341 public:
342 void clear_integers() ;
343 bool integers(int index) const;
344 void set_integers(int index, bool value);
345 void add_integers(bool value);
346 const ::google::protobuf::RepeatedField<bool>& integers() const;
347 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL mutable_integers();
348
349 private:
350 const ::google::protobuf::RepeatedField<bool>& _internal_integers() const;
351 ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL _internal_mutable_integers();
352
353 public:
354 // repeated string names = 5;
355 int names_size() const;
356 private:
357 int _internal_names_size() const;
358
359 public:
360 void clear_names() ;
361 const ::std::string& names(int index) const;
362 ::std::string* PROTOBUF_NONNULL mutable_names(int index);
363 template <typename Arg_ = const ::std::string&, typename... Args_>
364 void set_names(int index, Arg_&& value, Args_... args);
365 ::std::string* PROTOBUF_NONNULL add_names();
366 template <typename Arg_ = const ::std::string&, typename... Args_>
367 void add_names(Arg_&& value, Args_... args);
368 const ::google::protobuf::RepeatedPtrField<::std::string>& names() const;
369 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_names();
370
371 private:
372 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names() const;
373 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
374
375 public:
376 // @@protoc_insertion_point(class_scope:operations_research.math_opt.VariablesProto)
377 private:
378 class _Internal;
379 friend class ::google::protobuf::internal::TcParser;
380 static const ::google::protobuf::internal::TcParseTable<3, 5,
381 0, 57,
382 2>
383 _table_;
384
385 friend class ::google::protobuf::MessageLite;
386 friend class ::google::protobuf::Arena;
387 template <typename T>
388 friend class ::google::protobuf::Arena::InternalHelper;
389 using InternalArenaConstructable_ = void;
390 using DestructorSkippable_ = void;
391 struct Impl_ {
392 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
393 inline explicit Impl_(
394 ::google::protobuf::internal::InternalVisibility visibility,
395 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
396 inline explicit Impl_(
397 ::google::protobuf::internal::InternalVisibility visibility,
398 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
399 const VariablesProto& from_msg);
400 ::google::protobuf::RepeatedField<::int64_t> ids_;
401 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
402 ::google::protobuf::RepeatedField<double> lower_bounds_;
403 ::google::protobuf::RepeatedField<double> upper_bounds_;
404 ::google::protobuf::RepeatedField<bool> integers_;
405 ::google::protobuf::RepeatedPtrField<::std::string> names_;
406 ::google::protobuf::internal::CachedSize _cached_size_;
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 protected:
538 explicit LinearConstraintsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
539 LinearConstraintsProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const LinearConstraintsProto& from);
541 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, LinearConstraintsProto&& from) noexcept
542 : LinearConstraintsProto(arena) {
543 *this = ::std::move(from);
544 }
545 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
546 static void* PROTOBUF_NONNULL PlacementNew_(
547 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
548 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
549 static constexpr auto InternalNewImpl_();
550
551 public:
552 static constexpr auto InternalGenerateClassData_();
553
554 ::google::protobuf::Metadata GetMetadata() const;
555 // nested types ----------------------------------------------------
556
557 // accessors -------------------------------------------------------
558 enum : int {
559 kIdsFieldNumber = 1,
560 kLowerBoundsFieldNumber = 2,
561 kUpperBoundsFieldNumber = 3,
563 };
564 // repeated int64 ids = 1;
565 int ids_size() const;
566 private:
567 int _internal_ids_size() const;
568
569 public:
570 void clear_ids() ;
571 ::int64_t ids(int index) const;
572 void set_ids(int index, ::int64_t value);
573 void add_ids(::int64_t value);
574 const ::google::protobuf::RepeatedField<::int64_t>& ids() const;
575 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL mutable_ids();
576
577 private:
578 const ::google::protobuf::RepeatedField<::int64_t>& _internal_ids() const;
579 ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL _internal_mutable_ids();
580
581 public:
582 // repeated double lower_bounds = 2;
583 int lower_bounds_size() const;
584 private:
585 int _internal_lower_bounds_size() const;
586
587 public:
588 void clear_lower_bounds() ;
589 double lower_bounds(int index) const;
590 void set_lower_bounds(int index, double value);
591 void add_lower_bounds(double value);
592 const ::google::protobuf::RepeatedField<double>& lower_bounds() const;
593 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_lower_bounds();
594
595 private:
596 const ::google::protobuf::RepeatedField<double>& _internal_lower_bounds() const;
597 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_lower_bounds();
598
599 public:
600 // repeated double upper_bounds = 3;
601 int upper_bounds_size() const;
602 private:
603 int _internal_upper_bounds_size() const;
604
605 public:
606 void clear_upper_bounds() ;
607 double upper_bounds(int index) const;
608 void set_upper_bounds(int index, double value);
609 void add_upper_bounds(double value);
610 const ::google::protobuf::RepeatedField<double>& upper_bounds() const;
611 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_upper_bounds();
612
613 private:
614 const ::google::protobuf::RepeatedField<double>& _internal_upper_bounds() const;
615 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_upper_bounds();
616
617 public:
618 // repeated string names = 4;
619 int names_size() const;
620 private:
621 int _internal_names_size() const;
622
623 public:
624 void clear_names() ;
625 const ::std::string& names(int index) const;
626 ::std::string* PROTOBUF_NONNULL mutable_names(int index);
627 template <typename Arg_ = const ::std::string&, typename... Args_>
628 void set_names(int index, Arg_&& value, Args_... args);
629 ::std::string* PROTOBUF_NONNULL add_names();
630 template <typename Arg_ = const ::std::string&, typename... Args_>
631 void add_names(Arg_&& value, Args_... args);
632 const ::google::protobuf::RepeatedPtrField<::std::string>& names() const;
633 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_names();
634
635 private:
636 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_names() const;
637 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_names();
638
639 public:
640 // @@protoc_insertion_point(class_scope:operations_research.math_opt.LinearConstraintsProto)
641 private:
642 class _Internal;
643 friend class ::google::protobuf::internal::TcParser;
644 static const ::google::protobuf::internal::TcParseTable<2, 4,
645 0, 65,
646 2>
647 _table_;
648
649 friend class ::google::protobuf::MessageLite;
650 friend class ::google::protobuf::Arena;
651 template <typename T>
652 friend class ::google::protobuf::Arena::InternalHelper;
653 using InternalArenaConstructable_ = void;
654 using DestructorSkippable_ = void;
655 struct Impl_ {
656 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
657 inline explicit Impl_(
658 ::google::protobuf::internal::InternalVisibility visibility,
659 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
660 inline explicit Impl_(
661 ::google::protobuf::internal::InternalVisibility visibility,
662 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
663 const LinearConstraintsProto& from_msg);
664 ::google::protobuf::RepeatedField<::int64_t> ids_;
665 ::google::protobuf::internal::CachedSize _ids_cached_byte_size_;
666 ::google::protobuf::RepeatedField<double> lower_bounds_;
667 ::google::protobuf::RepeatedField<double> upper_bounds_;
668 ::google::protobuf::RepeatedPtrField<::std::string> names_;
669 ::google::protobuf::internal::CachedSize _cached_size_;
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 protected:
801 explicit SosConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
802 SosConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SosConstraintProto& from);
804 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SosConstraintProto&& from) noexcept
805 : SosConstraintProto(arena) {
806 *this = ::std::move(from);
808 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
809 static void* PROTOBUF_NONNULL PlacementNew_(
810 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
811 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
812 static constexpr auto InternalNewImpl_();
813
814 public:
815 static constexpr auto InternalGenerateClassData_();
816
817 ::google::protobuf::Metadata GetMetadata() const;
818 // nested types ----------------------------------------------------
819
820 // accessors -------------------------------------------------------
821 enum : int {
822 kExpressionsFieldNumber = 1,
823 kWeightsFieldNumber = 2,
824 kNameFieldNumber = 3,
825 };
826 // repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
827 int expressions_size() const;
828 private:
829 int _internal_expressions_size() const;
830
831 public:
832 void clear_expressions() ;
834 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL mutable_expressions();
835
836 private:
837 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_expressions() const;
838 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_expressions();
839 public:
840 const ::operations_research::math_opt::LinearExpressionProto& expressions(int index) const;
842 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& expressions() const;
843 // repeated double weights = 2;
844 int weights_size() const;
845 private:
846 int _internal_weights_size() const;
847
848 public:
849 void clear_weights() ;
850 double weights(int index) const;
851 void set_weights(int index, double value);
852 void add_weights(double value);
853 const ::google::protobuf::RepeatedField<double>& weights() const;
854 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL mutable_weights();
855
856 private:
857 const ::google::protobuf::RepeatedField<double>& _internal_weights() const;
858 ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL _internal_mutable_weights();
859
860 public:
861 // string name = 3;
862 void clear_name() ;
863 const ::std::string& name() const;
864 template <typename Arg_ = const ::std::string&, typename... Args_>
865 void set_name(Arg_&& arg, Args_... args);
866 ::std::string* PROTOBUF_NONNULL mutable_name();
867 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
868 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
870 private:
871 const ::std::string& _internal_name() const;
872 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
873 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
874
875 public:
876 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SosConstraintProto)
877 private:
878 class _Internal;
879 friend class ::google::protobuf::internal::TcParser;
880 static const ::google::protobuf::internal::TcParseTable<2, 3,
881 1, 60,
882 2>
883 _table_;
884
885 friend class ::google::protobuf::MessageLite;
886 friend class ::google::protobuf::Arena;
887 template <typename T>
888 friend class ::google::protobuf::Arena::InternalHelper;
889 using InternalArenaConstructable_ = void;
890 using DestructorSkippable_ = void;
891 struct Impl_ {
892 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
893 inline explicit Impl_(
894 ::google::protobuf::internal::InternalVisibility visibility,
895 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
896 inline explicit Impl_(
897 ::google::protobuf::internal::InternalVisibility visibility,
898 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
899 const SosConstraintProto& from_msg);
900 ::google::protobuf::internal::HasBits<1> _has_bits_;
901 ::google::protobuf::internal::CachedSize _cached_size_;
902 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > expressions_;
903 ::google::protobuf::RepeatedField<double> weights_;
904 ::google::protobuf::internal::ArenaStringPtr name_;
905 PROTOBUF_TSAN_DECLARE_MEMBER
906 };
907 union { Impl_ _impl_; };
908 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
909};
910
911OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_;
912// -------------------------------------------------------------------
913
914class OR_PROTO_DLL SecondOrderConeConstraintProto final : public ::google::protobuf::Message
915/* @@protoc_insertion_point(class_definition:operations_research.math_opt.SecondOrderConeConstraintProto) */ {
916 public:
918 ~SecondOrderConeConstraintProto() PROTOBUF_FINAL;
920#if defined(PROTOBUF_CUSTOM_VTABLE)
921 void operator delete(SecondOrderConeConstraintProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
922 SharedDtor(*msg);
923 ::google::protobuf::internal::SizedDelete(msg, sizeof(SecondOrderConeConstraintProto));
924 }
925#endif
926
927 template <typename = void>
928 explicit PROTOBUF_CONSTEXPR SecondOrderConeConstraintProto(::google::protobuf::internal::ConstantInitialized);
929
931 inline SecondOrderConeConstraintProto(SecondOrderConeConstraintProto&& from) noexcept
932 : SecondOrderConeConstraintProto(nullptr, ::std::move(from)) {}
934 CopyFrom(from);
935 return *this;
937 inline SecondOrderConeConstraintProto& operator=(SecondOrderConeConstraintProto&& from) noexcept {
938 if (this == &from) return *this;
939 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
940 InternalSwap(&from);
941 } else {
942 CopyFrom(from);
943 }
944 return *this;
945 }
946
947 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
948 ABSL_ATTRIBUTE_LIFETIME_BOUND {
949 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
950 }
951 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
952 ABSL_ATTRIBUTE_LIFETIME_BOUND {
953 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
954 }
955
956 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
957 return GetDescriptor();
958 }
959 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
960 return default_instance().GetMetadata().descriptor;
962 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
963 return default_instance().GetMetadata().reflection;
965 static const SecondOrderConeConstraintProto& default_instance() {
966 return *reinterpret_cast<const SecondOrderConeConstraintProto*>(
968 }
969 static constexpr int kIndexInFileMessages = 4;
971 inline void Swap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other) {
972 if (other == this) return;
973 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
974 InternalSwap(other);
975 } else {
976 ::google::protobuf::internal::GenericSwap(this, other);
977 }
978 }
979 void UnsafeArenaSwap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other) {
980 if (other == this) return;
981 ABSL_DCHECK(GetArena() == other->GetArena());
982 InternalSwap(other);
983 }
985 // implements Message ----------------------------------------------
986
987 SecondOrderConeConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
988 return ::google::protobuf::Message::DefaultConstruct<SecondOrderConeConstraintProto>(arena);
989 }
990 using ::google::protobuf::Message::CopyFrom;
991 void CopyFrom(const SecondOrderConeConstraintProto& from);
992 using ::google::protobuf::Message::MergeFrom;
993 void MergeFrom(const SecondOrderConeConstraintProto& from) { SecondOrderConeConstraintProto::MergeImpl(*this, from); }
994
995 private:
996 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
997 const ::google::protobuf::MessageLite& from_msg);
999 public:
1000 bool IsInitialized() const {
1001 return true;
1002 }
1003 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1004 #if defined(PROTOBUF_CUSTOM_VTABLE)
1005 private:
1006 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1007 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1008 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1009 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1010
1011 public:
1012 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1013 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1014 ::uint8_t* PROTOBUF_NONNULL target,
1015 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1016 return _InternalSerialize(*this, target, stream);
1017 }
1018 #else // PROTOBUF_CUSTOM_VTABLE
1019 ::size_t ByteSizeLong() const final;
1020 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1021 ::uint8_t* PROTOBUF_NONNULL target,
1022 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1023 #endif // PROTOBUF_CUSTOM_VTABLE
1024 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1025
1026 private:
1027 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1028 static void SharedDtor(MessageLite& self);
1029 void InternalSwap(SecondOrderConeConstraintProto* PROTOBUF_NONNULL other);
1030 private:
1031 template <typename T>
1032 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1033 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.SecondOrderConeConstraintProto"; }
1034
1035 protected:
1036 explicit SecondOrderConeConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1037 SecondOrderConeConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SecondOrderConeConstraintProto& from);
1039 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SecondOrderConeConstraintProto&& from) noexcept
1041 *this = ::std::move(from);
1042 }
1043 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1044 static void* PROTOBUF_NONNULL PlacementNew_(
1045 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1046 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1047 static constexpr auto InternalNewImpl_();
1048
1049 public:
1050 static constexpr auto InternalGenerateClassData_();
1051
1052 ::google::protobuf::Metadata GetMetadata() const;
1053 // nested types ----------------------------------------------------
1054
1055 // accessors -------------------------------------------------------
1056 enum : int {
1058 kNameFieldNumber = 3,
1060 };
1061 // repeated .operations_research.math_opt.LinearExpressionProto arguments_to_norm = 2;
1063 private:
1064 int _internal_arguments_to_norm_size() const;
1065
1066 public:
1069 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL mutable_arguments_to_norm();
1070
1071 private:
1072 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& _internal_arguments_to_norm() const;
1073 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL _internal_mutable_arguments_to_norm();
1074 public:
1075 const ::operations_research::math_opt::LinearExpressionProto& arguments_to_norm(int index) const;
1077 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& arguments_to_norm() const;
1078 // string name = 3;
1079 void clear_name() ;
1080 const ::std::string& name() const;
1081 template <typename Arg_ = const ::std::string&, typename... Args_>
1082 void set_name(Arg_&& arg, Args_... args);
1083 ::std::string* PROTOBUF_NONNULL mutable_name();
1084 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1085 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1086
1087 private:
1088 const ::std::string& _internal_name() const;
1089 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1090 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1091
1092 public:
1093 // .operations_research.math_opt.LinearExpressionProto upper_bound = 1;
1094 bool has_upper_bound() const;
1095 void clear_upper_bound() ;
1096 const ::operations_research::math_opt::LinearExpressionProto& upper_bound() const;
1102
1103 private:
1104 const ::operations_research::math_opt::LinearExpressionProto& _internal_upper_bound() const;
1105 ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL _internal_mutable_upper_bound();
1106
1107 public:
1108 // @@protoc_insertion_point(class_scope:operations_research.math_opt.SecondOrderConeConstraintProto)
1109 private:
1110 class _Internal;
1111 friend class ::google::protobuf::internal::TcParser;
1112 static const ::google::protobuf::internal::TcParseTable<2, 3,
1113 2, 72,
1114 2>
1115 _table_;
1117 friend class ::google::protobuf::MessageLite;
1118 friend class ::google::protobuf::Arena;
1119 template <typename T>
1120 friend class ::google::protobuf::Arena::InternalHelper;
1121 using InternalArenaConstructable_ = void;
1122 using DestructorSkippable_ = void;
1123 struct Impl_ {
1124 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1125 inline explicit Impl_(
1126 ::google::protobuf::internal::InternalVisibility visibility,
1127 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1128 inline explicit Impl_(
1129 ::google::protobuf::internal::InternalVisibility visibility,
1130 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1131 const SecondOrderConeConstraintProto& from_msg);
1132 ::google::protobuf::internal::HasBits<1> _has_bits_;
1133 ::google::protobuf::internal::CachedSize _cached_size_;
1134 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::LinearExpressionProto > arguments_to_norm_;
1135 ::google::protobuf::internal::ArenaStringPtr name_;
1136 ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NULLABLE upper_bound_;
1137 PROTOBUF_TSAN_DECLARE_MEMBER
1138 };
1139 union { Impl_ _impl_; };
1140 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1141};
1142
1143OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull SecondOrderConeConstraintProto_class_data_;
1144// -------------------------------------------------------------------
1146class OR_PROTO_DLL QuadraticConstraintProto final : public ::google::protobuf::Message
1147/* @@protoc_insertion_point(class_definition:operations_research.math_opt.QuadraticConstraintProto) */ {
1148 public:
1150 ~QuadraticConstraintProto() PROTOBUF_FINAL;
1151
1152#if defined(PROTOBUF_CUSTOM_VTABLE)
1153 void operator delete(QuadraticConstraintProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1154 SharedDtor(*msg);
1155 ::google::protobuf::internal::SizedDelete(msg, sizeof(QuadraticConstraintProto));
1156 }
1157#endif
1158
1159 template <typename = void>
1160 explicit PROTOBUF_CONSTEXPR QuadraticConstraintProto(::google::protobuf::internal::ConstantInitialized);
1161
1162 inline QuadraticConstraintProto(const QuadraticConstraintProto& from) : QuadraticConstraintProto(nullptr, from) {}
1163 inline QuadraticConstraintProto(QuadraticConstraintProto&& from) noexcept
1164 : QuadraticConstraintProto(nullptr, ::std::move(from)) {}
1165 inline QuadraticConstraintProto& operator=(const QuadraticConstraintProto& from) {
1167 return *this;
1170 if (this == &from) return *this;
1171 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1172 InternalSwap(&from);
1173 } else {
1174 CopyFrom(from);
1176 return *this;
1177 }
1178
1179 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1180 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1181 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1182 }
1183 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1184 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1185 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1186 }
1187
1188 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1190 }
1191 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1192 return default_instance().GetMetadata().descriptor;
1193 }
1194 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1195 return default_instance().GetMetadata().reflection;
1196 }
1201 static constexpr int kIndexInFileMessages = 3;
1202 friend void swap(QuadraticConstraintProto& a, QuadraticConstraintProto& b) { a.Swap(&b); }
1203 inline void Swap(QuadraticConstraintProto* PROTOBUF_NONNULL other) {
1204 if (other == this) return;
1205 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1206 InternalSwap(other);
1207 } else {
1208 ::google::protobuf::internal::GenericSwap(this, other);
1210 }
1211 void UnsafeArenaSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other) {
1212 if (other == this) return;
1213 ABSL_DCHECK(GetArena() == other->GetArena());
1214 InternalSwap(other);
1215 }
1216
1217 // implements Message ----------------------------------------------
1218
1219 QuadraticConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1220 return ::google::protobuf::Message::DefaultConstruct<QuadraticConstraintProto>(arena);
1221 }
1222 using ::google::protobuf::Message::CopyFrom;
1223 void CopyFrom(const QuadraticConstraintProto& from);
1224 using ::google::protobuf::Message::MergeFrom;
1225 void MergeFrom(const QuadraticConstraintProto& from) { QuadraticConstraintProto::MergeImpl(*this, from); }
1226
1227 private:
1228 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1229 const ::google::protobuf::MessageLite& from_msg);
1230
1231 public:
1232 bool IsInitialized() const {
1233 return true;
1234 }
1235 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1236 #if defined(PROTOBUF_CUSTOM_VTABLE)
1237 private:
1238 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1239 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1240 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1241 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1242
1243 public:
1244 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1245 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1246 ::uint8_t* PROTOBUF_NONNULL target,
1247 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1248 return _InternalSerialize(*this, target, stream);
1249 }
1250 #else // PROTOBUF_CUSTOM_VTABLE
1251 ::size_t ByteSizeLong() const final;
1252 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1253 ::uint8_t* PROTOBUF_NONNULL target,
1254 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1255 #endif // PROTOBUF_CUSTOM_VTABLE
1256 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1257
1258 private:
1259 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1260 static void SharedDtor(MessageLite& self);
1261 void InternalSwap(QuadraticConstraintProto* PROTOBUF_NONNULL other);
1262 private:
1263 template <typename T>
1264 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1265 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.QuadraticConstraintProto"; }
1266
1267 protected:
1268 explicit QuadraticConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1269 QuadraticConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const QuadraticConstraintProto& from);
1271 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, QuadraticConstraintProto&& from) noexcept
1272 : QuadraticConstraintProto(arena) {
1273 *this = ::std::move(from);
1274 }
1275 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1276 static void* PROTOBUF_NONNULL PlacementNew_(
1277 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1279 static constexpr auto InternalNewImpl_();
1280
1281 public:
1282 static constexpr auto InternalGenerateClassData_();
1283
1284 ::google::protobuf::Metadata GetMetadata() const;
1285 // nested types ----------------------------------------------------
1286
1287 // accessors -------------------------------------------------------
1288 enum : int {
1289 kNameFieldNumber = 5,
1294 };
1295 // string name = 5;
1296 void clear_name() ;
1297 const ::std::string& name() const;
1298 template <typename Arg_ = const ::std::string&, typename... Args_>
1299 void set_name(Arg_&& arg, Args_... args);
1300 ::std::string* PROTOBUF_NONNULL mutable_name();
1301 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1302 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1303
1304 private:
1305 const ::std::string& _internal_name() const;
1306 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1307 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1308
1309 public:
1310 // .operations_research.math_opt.SparseDoubleVectorProto linear_terms = 1;
1311 bool has_linear_terms() const;
1312 void clear_linear_terms() ;
1313 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_terms() const;
1319
1320 private:
1321 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_terms() const;
1322 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_terms();
1323
1324 public:
1325 // .operations_research.math_opt.SparseDoubleMatrixProto quadratic_terms = 2;
1326 bool has_quadratic_terms() const;
1327 void clear_quadratic_terms() ;
1328 const ::operations_research::math_opt::SparseDoubleMatrixProto& quadratic_terms() const;
1334
1335 private:
1336 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_terms() const;
1337 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_quadratic_terms();
1338
1339 public:
1340 // double lower_bound = 3;
1341 void clear_lower_bound() ;
1342 double lower_bound() const;
1343 void set_lower_bound(double value);
1344
1345 private:
1346 double _internal_lower_bound() const;
1347 void _internal_set_lower_bound(double value);
1348
1349 public:
1350 // double upper_bound = 4;
1351 void clear_upper_bound() ;
1352 double upper_bound() const;
1353 void set_upper_bound(double value);
1354
1355 private:
1356 double _internal_upper_bound() const;
1357 void _internal_set_upper_bound(double value);
1358
1359 public:
1360 // @@protoc_insertion_point(class_scope:operations_research.math_opt.QuadraticConstraintProto)
1361 private:
1362 class _Internal;
1363 friend class ::google::protobuf::internal::TcParser;
1364 static const ::google::protobuf::internal::TcParseTable<3, 5,
1365 2, 66,
1366 2>
1367 _table_;
1368
1369 friend class ::google::protobuf::MessageLite;
1370 friend class ::google::protobuf::Arena;
1371 template <typename T>
1372 friend class ::google::protobuf::Arena::InternalHelper;
1373 using InternalArenaConstructable_ = void;
1374 using DestructorSkippable_ = void;
1375 struct Impl_ {
1376 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1377 inline explicit Impl_(
1378 ::google::protobuf::internal::InternalVisibility visibility,
1379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1380 inline explicit Impl_(
1381 ::google::protobuf::internal::InternalVisibility visibility,
1382 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1383 const QuadraticConstraintProto& from_msg);
1384 ::google::protobuf::internal::HasBits<1> _has_bits_;
1385 ::google::protobuf::internal::CachedSize _cached_size_;
1386 ::google::protobuf::internal::ArenaStringPtr name_;
1387 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_terms_;
1388 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE quadratic_terms_;
1389 double lower_bound_;
1390 double upper_bound_;
1391 PROTOBUF_TSAN_DECLARE_MEMBER
1392 };
1393 union { Impl_ _impl_; };
1394 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1395};
1396
1397OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_;
1398// -------------------------------------------------------------------
1400class OR_PROTO_DLL ObjectiveProto final : public ::google::protobuf::Message
1401/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ObjectiveProto) */ {
1402 public:
1403 inline ObjectiveProto() : ObjectiveProto(nullptr) {}
1404 ~ObjectiveProto() PROTOBUF_FINAL;
1405
1406#if defined(PROTOBUF_CUSTOM_VTABLE)
1407 void operator delete(ObjectiveProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1408 SharedDtor(*msg);
1409 ::google::protobuf::internal::SizedDelete(msg, sizeof(ObjectiveProto));
1411#endif
1412
1413 template <typename = void>
1414 explicit PROTOBUF_CONSTEXPR ObjectiveProto(::google::protobuf::internal::ConstantInitialized);
1415
1416 inline ObjectiveProto(const ObjectiveProto& from) : ObjectiveProto(nullptr, from) {}
1417 inline ObjectiveProto(ObjectiveProto&& from) noexcept
1418 : ObjectiveProto(nullptr, ::std::move(from)) {}
1419 inline ObjectiveProto& operator=(const ObjectiveProto& from) {
1420 CopyFrom(from);
1421 return *this;
1422 }
1423 inline ObjectiveProto& operator=(ObjectiveProto&& from) noexcept {
1424 if (this == &from) return *this;
1425 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1426 InternalSwap(&from);
1427 } else {
1428 CopyFrom(from);
1429 }
1430 return *this;
1431 }
1432
1433 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1434 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1435 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1436 }
1437 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1438 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1439 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1441
1442 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1443 return GetDescriptor();
1445 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1446 return default_instance().GetMetadata().descriptor;
1447 }
1448 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1449 return default_instance().GetMetadata().reflection;
1450 }
1451 static const ObjectiveProto& default_instance() {
1452 return *reinterpret_cast<const ObjectiveProto*>(
1454 }
1455 static constexpr int kIndexInFileMessages = 1;
1456 friend void swap(ObjectiveProto& a, ObjectiveProto& b) { a.Swap(&b); }
1457 inline void Swap(ObjectiveProto* PROTOBUF_NONNULL other) {
1458 if (other == this) return;
1459 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1460 InternalSwap(other);
1461 } else {
1462 ::google::protobuf::internal::GenericSwap(this, other);
1465 void UnsafeArenaSwap(ObjectiveProto* PROTOBUF_NONNULL other) {
1466 if (other == this) return;
1467 ABSL_DCHECK(GetArena() == other->GetArena());
1468 InternalSwap(other);
1469 }
1470
1471 // implements Message ----------------------------------------------
1473 ObjectiveProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1474 return ::google::protobuf::Message::DefaultConstruct<ObjectiveProto>(arena);
1475 }
1476 using ::google::protobuf::Message::CopyFrom;
1477 void CopyFrom(const ObjectiveProto& from);
1478 using ::google::protobuf::Message::MergeFrom;
1479 void MergeFrom(const ObjectiveProto& from) { ObjectiveProto::MergeImpl(*this, from); }
1481 private:
1482 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1483 const ::google::protobuf::MessageLite& from_msg);
1484
1485 public:
1486 bool IsInitialized() const {
1487 return true;
1488 }
1489 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1490 #if defined(PROTOBUF_CUSTOM_VTABLE)
1491 private:
1492 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1493 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1494 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1495 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1496
1497 public:
1498 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1499 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1500 ::uint8_t* PROTOBUF_NONNULL target,
1501 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1502 return _InternalSerialize(*this, target, stream);
1503 }
1504 #else // PROTOBUF_CUSTOM_VTABLE
1505 ::size_t ByteSizeLong() const final;
1506 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1507 ::uint8_t* PROTOBUF_NONNULL target,
1508 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1509 #endif // PROTOBUF_CUSTOM_VTABLE
1510 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1511
1512 private:
1513 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1514 static void SharedDtor(MessageLite& self);
1515 void InternalSwap(ObjectiveProto* PROTOBUF_NONNULL other);
1516 private:
1517 template <typename T>
1518 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1519 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ObjectiveProto"; }
1520
1521 protected:
1522 explicit ObjectiveProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1523 ObjectiveProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ObjectiveProto& from);
1525 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ObjectiveProto&& from) noexcept
1526 : ObjectiveProto(arena) {
1527 *this = ::std::move(from);
1528 }
1529 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1530 static void* PROTOBUF_NONNULL PlacementNew_(
1531 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1532 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1533 static constexpr auto InternalNewImpl_();
1534
1535 public:
1536 static constexpr auto InternalGenerateClassData_();
1537
1538 ::google::protobuf::Metadata GetMetadata() const;
1539 // nested types ----------------------------------------------------
1540
1541 // accessors -------------------------------------------------------
1542 enum : int {
1543 kNameFieldNumber = 5,
1549 };
1550 // string name = 5;
1551 void clear_name() ;
1552 const ::std::string& name() const;
1553 template <typename Arg_ = const ::std::string&, typename... Args_>
1554 void set_name(Arg_&& arg, Args_... args);
1555 ::std::string* PROTOBUF_NONNULL mutable_name();
1556 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1557 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1558
1559 private:
1560 const ::std::string& _internal_name() const;
1561 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1562 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1563
1564 public:
1565 // .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
1566 bool has_linear_coefficients() const;
1568 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_coefficients() const;
1574
1575 private:
1576 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_coefficients() const;
1577 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_coefficients();
1578
1579 public:
1580 // .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
1581 bool has_quadratic_coefficients() const;
1583 const ::operations_research::math_opt::SparseDoubleMatrixProto& quadratic_coefficients() const;
1589
1590 private:
1591 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_quadratic_coefficients() const;
1592 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_quadratic_coefficients();
1593
1594 public:
1595 // double offset = 2;
1596 void clear_offset() ;
1597 double offset() const;
1598 void set_offset(double value);
1599
1600 private:
1601 double _internal_offset() const;
1602 void _internal_set_offset(double value);
1603
1604 public:
1605 // int64 priority = 6;
1606 void clear_priority() ;
1607 ::int64_t priority() const;
1608 void set_priority(::int64_t value);
1609
1610 private:
1611 ::int64_t _internal_priority() const;
1612 void _internal_set_priority(::int64_t value);
1613
1614 public:
1615 // bool maximize = 1;
1616 void clear_maximize() ;
1617 bool maximize() const;
1618 void set_maximize(bool value);
1619
1620 private:
1621 bool _internal_maximize() const;
1622 void _internal_set_maximize(bool value);
1623
1624 public:
1625 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ObjectiveProto)
1626 private:
1627 class _Internal;
1628 friend class ::google::protobuf::internal::TcParser;
1629 static const ::google::protobuf::internal::TcParseTable<3, 6,
1630 2, 56,
1631 2>
1632 _table_;
1633
1634 friend class ::google::protobuf::MessageLite;
1635 friend class ::google::protobuf::Arena;
1636 template <typename T>
1637 friend class ::google::protobuf::Arena::InternalHelper;
1638 using InternalArenaConstructable_ = void;
1639 using DestructorSkippable_ = void;
1640 struct Impl_ {
1641 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1642 inline explicit Impl_(
1643 ::google::protobuf::internal::InternalVisibility visibility,
1644 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1645 inline explicit Impl_(
1646 ::google::protobuf::internal::InternalVisibility visibility,
1647 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1648 const ObjectiveProto& from_msg);
1649 ::google::protobuf::internal::HasBits<1> _has_bits_;
1650 ::google::protobuf::internal::CachedSize _cached_size_;
1651 ::google::protobuf::internal::ArenaStringPtr name_;
1652 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_coefficients_;
1653 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE quadratic_coefficients_;
1654 double offset_;
1655 ::int64_t priority_;
1656 bool maximize_;
1657 PROTOBUF_TSAN_DECLARE_MEMBER
1658 };
1659 union { Impl_ _impl_; };
1660 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1661};
1662
1663OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ObjectiveProto_class_data_;
1664// -------------------------------------------------------------------
1665
1666class OR_PROTO_DLL IndicatorConstraintProto final : public ::google::protobuf::Message
1667/* @@protoc_insertion_point(class_definition:operations_research.math_opt.IndicatorConstraintProto) */ {
1668 public:
1670 ~IndicatorConstraintProto() PROTOBUF_FINAL;
1671
1672#if defined(PROTOBUF_CUSTOM_VTABLE)
1673 void operator delete(IndicatorConstraintProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1674 SharedDtor(*msg);
1675 ::google::protobuf::internal::SizedDelete(msg, sizeof(IndicatorConstraintProto));
1676 }
1677#endif
1678
1679 template <typename = void>
1680 explicit PROTOBUF_CONSTEXPR IndicatorConstraintProto(::google::protobuf::internal::ConstantInitialized);
1681
1682 inline IndicatorConstraintProto(const IndicatorConstraintProto& from) : IndicatorConstraintProto(nullptr, from) {}
1684 : IndicatorConstraintProto(nullptr, ::std::move(from)) {}
1685 inline IndicatorConstraintProto& operator=(const IndicatorConstraintProto& from) {
1686 CopyFrom(from);
1687 return *this;
1689 inline IndicatorConstraintProto& operator=(IndicatorConstraintProto&& from) noexcept {
1690 if (this == &from) return *this;
1691 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1692 InternalSwap(&from);
1693 } else {
1694 CopyFrom(from);
1695 }
1696 return *this;
1698
1699 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1701 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1702 }
1703 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1704 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1705 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1706 }
1708 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1709 return GetDescriptor();
1710 }
1711 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1712 return default_instance().GetMetadata().descriptor;
1713 }
1714 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1715 return default_instance().GetMetadata().reflection;
1717 static const IndicatorConstraintProto& default_instance() {
1718 return *reinterpret_cast<const IndicatorConstraintProto*>(
1720 }
1721 static constexpr int kIndexInFileMessages = 6;
1723 inline void Swap(IndicatorConstraintProto* PROTOBUF_NONNULL other) {
1724 if (other == this) return;
1725 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1726 InternalSwap(other);
1727 } else {
1728 ::google::protobuf::internal::GenericSwap(this, other);
1731 void UnsafeArenaSwap(IndicatorConstraintProto* PROTOBUF_NONNULL other) {
1732 if (other == this) return;
1733 ABSL_DCHECK(GetArena() == other->GetArena());
1734 InternalSwap(other);
1735 }
1736
1737 // implements Message ----------------------------------------------
1738
1739 IndicatorConstraintProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1740 return ::google::protobuf::Message::DefaultConstruct<IndicatorConstraintProto>(arena);
1741 }
1742 using ::google::protobuf::Message::CopyFrom;
1743 void CopyFrom(const IndicatorConstraintProto& from);
1744 using ::google::protobuf::Message::MergeFrom;
1745 void MergeFrom(const IndicatorConstraintProto& from) { IndicatorConstraintProto::MergeImpl(*this, from); }
1746
1747 private:
1748 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1749 const ::google::protobuf::MessageLite& from_msg);
1750
1751 public:
1752 bool IsInitialized() const {
1753 return true;
1754 }
1755 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1756 #if defined(PROTOBUF_CUSTOM_VTABLE)
1757 private:
1758 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1759 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1760 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1761 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1762
1763 public:
1764 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1765 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1766 ::uint8_t* PROTOBUF_NONNULL target,
1767 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1768 return _InternalSerialize(*this, target, stream);
1769 }
1770 #else // PROTOBUF_CUSTOM_VTABLE
1771 ::size_t ByteSizeLong() const final;
1772 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1773 ::uint8_t* PROTOBUF_NONNULL target,
1774 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1775 #endif // PROTOBUF_CUSTOM_VTABLE
1776 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1777
1778 private:
1779 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1780 static void SharedDtor(MessageLite& self);
1781 void InternalSwap(IndicatorConstraintProto* PROTOBUF_NONNULL other);
1782 private:
1783 template <typename T>
1785 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.IndicatorConstraintProto"; }
1786
1787 protected:
1788 explicit IndicatorConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1789 IndicatorConstraintProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IndicatorConstraintProto& from);
1791 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IndicatorConstraintProto&& from) noexcept
1792 : IndicatorConstraintProto(arena) {
1793 *this = ::std::move(from);
1794 }
1795 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1796 static void* PROTOBUF_NONNULL PlacementNew_(
1797 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1798 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1799 static constexpr auto InternalNewImpl_();
1800
1801 public:
1802 static constexpr auto InternalGenerateClassData_();
1803
1804 ::google::protobuf::Metadata GetMetadata() const;
1805 // nested types ----------------------------------------------------
1806
1807 // accessors -------------------------------------------------------
1808 enum : int {
1809 kNameFieldNumber = 5,
1815 };
1816 // string name = 5;
1817 void clear_name() ;
1818 const ::std::string& name() const;
1819 template <typename Arg_ = const ::std::string&, typename... Args_>
1820 void set_name(Arg_&& arg, Args_... args);
1821 ::std::string* PROTOBUF_NONNULL mutable_name();
1822 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1823 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1824
1825 private:
1826 const ::std::string& _internal_name() const;
1827 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1828 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1829
1830 public:
1831 // .operations_research.math_opt.SparseDoubleVectorProto expression = 2;
1832 bool has_expression() const;
1833 void clear_expression() ;
1834 const ::operations_research::math_opt::SparseDoubleVectorProto& expression() const;
1840
1841 private:
1842 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_expression() const;
1843 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_expression();
1844
1845 public:
1846 // optional int64 indicator_id = 1;
1847 bool has_indicator_id() const;
1848 void clear_indicator_id() ;
1849 ::int64_t indicator_id() const;
1850 void set_indicator_id(::int64_t value);
1851
1852 private:
1853 ::int64_t _internal_indicator_id() const;
1854 void _internal_set_indicator_id(::int64_t value);
1855
1856 public:
1857 // double lower_bound = 3;
1858 void clear_lower_bound() ;
1859 double lower_bound() const;
1860 void set_lower_bound(double value);
1861
1862 private:
1863 double _internal_lower_bound() const;
1864 void _internal_set_lower_bound(double value);
1865
1866 public:
1867 // double upper_bound = 4;
1868 void clear_upper_bound() ;
1869 double upper_bound() const;
1870 void set_upper_bound(double value);
1871
1872 private:
1873 double _internal_upper_bound() const;
1874 void _internal_set_upper_bound(double value);
1875
1876 public:
1877 // bool activate_on_zero = 6;
1878 void clear_activate_on_zero() ;
1879 bool activate_on_zero() const;
1880 void set_activate_on_zero(bool value);
1881
1882 private:
1883 bool _internal_activate_on_zero() const;
1884 void _internal_set_activate_on_zero(bool value);
1885
1886 public:
1887 // @@protoc_insertion_point(class_scope:operations_research.math_opt.IndicatorConstraintProto)
1888 private:
1889 class _Internal;
1890 friend class ::google::protobuf::internal::TcParser;
1891 static const ::google::protobuf::internal::TcParseTable<3, 6,
1892 1, 66,
1893 2>
1894 _table_;
1895
1896 friend class ::google::protobuf::MessageLite;
1897 friend class ::google::protobuf::Arena;
1898 template <typename T>
1899 friend class ::google::protobuf::Arena::InternalHelper;
1900 using InternalArenaConstructable_ = void;
1901 using DestructorSkippable_ = void;
1902 struct Impl_ {
1903 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1904 inline explicit Impl_(
1905 ::google::protobuf::internal::InternalVisibility visibility,
1906 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1907 inline explicit Impl_(
1908 ::google::protobuf::internal::InternalVisibility visibility,
1909 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1910 const IndicatorConstraintProto& from_msg);
1911 ::google::protobuf::internal::HasBits<1> _has_bits_;
1912 ::google::protobuf::internal::CachedSize _cached_size_;
1913 ::google::protobuf::internal::ArenaStringPtr name_;
1914 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE expression_;
1915 ::int64_t indicator_id_;
1916 double lower_bound_;
1917 double upper_bound_;
1918 bool activate_on_zero_;
1919 PROTOBUF_TSAN_DECLARE_MEMBER
1920 };
1921 union { Impl_ _impl_; };
1922 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1923};
1924
1925OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull IndicatorConstraintProto_class_data_;
1926// -------------------------------------------------------------------
1927
1928class ModelProto_Sos2ConstraintsEntry_DoNotUse final
1929 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1930 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1931 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1932 public:
1933 using SuperType =
1934 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1935 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1936 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1938 template <typename = void>
1939 explicit PROTOBUF_CONSTEXPR ModelProto_Sos2ConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1940 explicit ModelProto_Sos2ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1941 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1943 }
1944
1945
1946 static constexpr auto InternalGenerateClassData_();
1947
1948 private:
1949 friend class ::google::protobuf::MessageLite;
1950 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1951
1952 friend class ::google::protobuf::internal::TcParser;
1953 static const ::google::protobuf::internal::TcParseTable<1, 2,
1954 1, 0,
1955 2>
1956 _table_;
1957
1958 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1959 static void* PROTOBUF_NONNULL PlacementNew_(
1960 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1961 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1962 static constexpr auto InternalNewImpl_();
1963};
1964OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_Sos2ConstraintsEntry_DoNotUse_class_data_;
1965// -------------------------------------------------------------------
1966
1968 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1969 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1970 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
1971 public:
1972 using SuperType =
1973 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
1974 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
1975 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
1977 template <typename = void>
1978 explicit PROTOBUF_CONSTEXPR ModelProto_Sos1ConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
1979 explicit ModelProto_Sos1ConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1980 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
1983
1984
1985 static constexpr auto InternalGenerateClassData_();
1986
1987 private:
1988 friend class ::google::protobuf::MessageLite;
1989 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
1991 friend class ::google::protobuf::internal::TcParser;
1992 static const ::google::protobuf::internal::TcParseTable<1, 2,
1993 1, 0,
1994 2>
1995 _table_;
1996
1997 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1998 static void* PROTOBUF_NONNULL PlacementNew_(
1999 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2000 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2001 static constexpr auto InternalNewImpl_();
2002};
2003OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_;
2004// -------------------------------------------------------------------
2005
2007 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2008 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2009 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2010 public:
2011 using SuperType =
2012 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2013 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2014 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2016 template <typename = void>
2017 explicit PROTOBUF_CONSTEXPR ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2018 explicit ModelProto_SecondOrderConeConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2019 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2021 }
2023
2024 static constexpr auto InternalGenerateClassData_();
2025
2026 private:
2027 friend class ::google::protobuf::MessageLite;
2028 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2029
2030 friend class ::google::protobuf::internal::TcParser;
2031 static const ::google::protobuf::internal::TcParseTable<1, 2,
2032 1, 0,
2033 2>
2034 _table_;
2035
2036 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2037 static void* PROTOBUF_NONNULL PlacementNew_(
2038 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2039 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2040 static constexpr auto InternalNewImpl_();
2042OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_SecondOrderConeConstraintsEntry_DoNotUse_class_data_;
2043// -------------------------------------------------------------------
2044
2046 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2047 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2048 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2049 public:
2050 using SuperType =
2051 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2052 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2053 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2055 template <typename = void>
2056 explicit PROTOBUF_CONSTEXPR ModelProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2057 explicit ModelProto_QuadraticConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2058 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2060 }
2061
2063 static constexpr auto InternalGenerateClassData_();
2064
2065 private:
2066 friend class ::google::protobuf::MessageLite;
2067 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2069 friend class ::google::protobuf::internal::TcParser;
2070 static const ::google::protobuf::internal::TcParseTable<1, 2,
2071 1, 0,
2072 2>
2073 _table_;
2074
2075 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2076 static void* PROTOBUF_NONNULL PlacementNew_(
2077 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2078 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2079 static constexpr auto InternalNewImpl_();
2080};
2081OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_;
2082// -------------------------------------------------------------------
2083
2085 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2086 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2087 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2088 public:
2089 using SuperType =
2090 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2091 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2092 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2094 template <typename = void>
2095 explicit PROTOBUF_CONSTEXPR ModelProto_IndicatorConstraintsEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2096 explicit ModelProto_IndicatorConstraintsEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2097 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2099 }
2100
2101
2102 static constexpr auto InternalGenerateClassData_();
2103
2104 private:
2105 friend class ::google::protobuf::MessageLite;
2106 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2107
2108 friend class ::google::protobuf::internal::TcParser;
2109 static const ::google::protobuf::internal::TcParseTable<1, 2,
2110 1, 0,
2111 2>
2112 _table_;
2113
2114 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2115 static void* PROTOBUF_NONNULL PlacementNew_(
2116 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2117 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2118 static constexpr auto InternalNewImpl_();
2120OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_IndicatorConstraintsEntry_DoNotUse_class_data_;
2121// -------------------------------------------------------------------
2122
2124 : public ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2125 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2126 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
2127 public:
2128 using SuperType =
2129 ::google::protobuf::internal::MapEntry<::int64_t, ::google::protobuf::Message,
2130 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2131 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
2133 template <typename = void>
2134 explicit PROTOBUF_CONSTEXPR ModelProto_AuxiliaryObjectivesEntry_DoNotUse(::google::protobuf::internal::ConstantInitialized);
2135 explicit ModelProto_AuxiliaryObjectivesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2136 static constexpr const void* PROTOBUF_NONNULL internal_default_instance() {
2138 }
2139
2140
2141 static constexpr auto InternalGenerateClassData_();
2143 private:
2144 friend class ::google::protobuf::MessageLite;
2145 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2146
2147 friend class ::google::protobuf::internal::TcParser;
2148 static const ::google::protobuf::internal::TcParseTable<1, 2,
2149 1, 0,
2151 _table_;
2152
2153 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2154 static void* PROTOBUF_NONNULL PlacementNew_(
2155 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2156 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2157 static constexpr auto InternalNewImpl_();
2159OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_;
2160// -------------------------------------------------------------------
2162class OR_PROTO_DLL ModelProto final : public ::google::protobuf::Message
2163/* @@protoc_insertion_point(class_definition:operations_research.math_opt.ModelProto) */ {
2164 public:
2165 inline ModelProto() : ModelProto(nullptr) {}
2166 ~ModelProto() PROTOBUF_FINAL;
2167
2168#if defined(PROTOBUF_CUSTOM_VTABLE)
2169 void operator delete(ModelProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
2170 SharedDtor(*msg);
2171 ::google::protobuf::internal::SizedDelete(msg, sizeof(ModelProto));
2172 }
2173#endif
2174
2175 template <typename = void>
2176 explicit PROTOBUF_CONSTEXPR ModelProto(::google::protobuf::internal::ConstantInitialized);
2178 inline ModelProto(const ModelProto& from) : ModelProto(nullptr, from) {}
2179 inline ModelProto(ModelProto&& from) noexcept
2180 : ModelProto(nullptr, ::std::move(from)) {}
2181 inline ModelProto& operator=(const ModelProto& from) {
2182 CopyFrom(from);
2183 return *this;
2184 }
2185 inline ModelProto& operator=(ModelProto&& from) noexcept {
2186 if (this == &from) return *this;
2187 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
2188 InternalSwap(&from);
2189 } else {
2190 CopyFrom(from);
2192 return *this;
2195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
2196 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2197 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
2198 }
2199 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
2200 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2201 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
2202 }
2203
2204 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
2205 return GetDescriptor();
2206 }
2207 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
2208 return default_instance().GetMetadata().descriptor;
2209 }
2210 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
2211 return default_instance().GetMetadata().reflection;
2212 }
2213 static const ModelProto& default_instance() {
2214 return *reinterpret_cast<const ModelProto*>(
2216 }
2217 static constexpr int kIndexInFileMessages = 13;
2218 friend void swap(ModelProto& a, ModelProto& b) { a.Swap(&b); }
2219 inline void Swap(ModelProto* PROTOBUF_NONNULL other) {
2220 if (other == this) return;
2221 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2222 InternalSwap(other);
2223 } else {
2224 ::google::protobuf::internal::GenericSwap(this, other);
2226 }
2227 void UnsafeArenaSwap(ModelProto* PROTOBUF_NONNULL other) {
2228 if (other == this) return;
2229 ABSL_DCHECK(GetArena() == other->GetArena());
2230 InternalSwap(other);
2231 }
2233 // implements Message ----------------------------------------------
2235 ModelProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2236 return ::google::protobuf::Message::DefaultConstruct<ModelProto>(arena);
2237 }
2238 using ::google::protobuf::Message::CopyFrom;
2239 void CopyFrom(const ModelProto& from);
2240 using ::google::protobuf::Message::MergeFrom;
2241 void MergeFrom(const ModelProto& from) { ModelProto::MergeImpl(*this, from); }
2243 private:
2244 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2245 const ::google::protobuf::MessageLite& from_msg);
2246
2247 public:
2248 bool IsInitialized() const {
2249 return true;
2251 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2252 #if defined(PROTOBUF_CUSTOM_VTABLE)
2253 private:
2254 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2255 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2256 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2257 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2258
2259 public:
2260 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2261 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2262 ::uint8_t* PROTOBUF_NONNULL target,
2263 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2264 return _InternalSerialize(*this, target, stream);
2265 }
2266 #else // PROTOBUF_CUSTOM_VTABLE
2267 ::size_t ByteSizeLong() const final;
2268 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2269 ::uint8_t* PROTOBUF_NONNULL target,
2270 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2271 #endif // PROTOBUF_CUSTOM_VTABLE
2272 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2273
2274 private:
2275 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2276 static void SharedDtor(MessageLite& self);
2277 void InternalSwap(ModelProto* PROTOBUF_NONNULL other);
2278 private:
2279 template <typename T>
2280 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2281 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.ModelProto"; }
2282
2283 protected:
2284 explicit ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2285 ModelProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ModelProto& from);
2286 ModelProto(
2287 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ModelProto&& from) noexcept
2288 : ModelProto(arena) {
2289 *this = ::std::move(from);
2290 }
2291 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2292 static void* PROTOBUF_NONNULL PlacementNew_(
2293 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2294 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2295 static constexpr auto InternalNewImpl_();
2296
2297 public:
2298 static constexpr auto InternalGenerateClassData_();
2299
2300 ::google::protobuf::Metadata GetMetadata() const;
2301 // nested types ----------------------------------------------------
2302
2303 // accessors -------------------------------------------------------
2304 enum : int {
2311 kNameFieldNumber = 1,
2316 };
2317 // map<int64, .operations_research.math_opt.QuadraticConstraintProto> quadratic_constraints = 6;
2318 int quadratic_constraints_size() const;
2319 private:
2320 int _internal_quadratic_constraints_size() const;
2322 public:
2324 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& quadratic_constraints() const;
2325 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL mutable_quadratic_constraints();
2327 private:
2328 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& _internal_quadratic_constraints() const;
2329 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL _internal_mutable_quadratic_constraints();
2331 public:
2332 // map<int64, .operations_research.math_opt.SosConstraintProto> sos1_constraints = 7;
2333 int sos1_constraints_size() const;
2334 private:
2335 int _internal_sos1_constraints_size() const;
2336
2337 public:
2338 void clear_sos1_constraints() ;
2339 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& sos1_constraints() const;
2340 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL mutable_sos1_constraints();
2341
2342 private:
2343 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos1_constraints() const;
2344 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos1_constraints();
2345
2346 public:
2347 // map<int64, .operations_research.math_opt.SosConstraintProto> sos2_constraints = 8;
2348 int sos2_constraints_size() const;
2349 private:
2350 int _internal_sos2_constraints_size() const;
2351
2352 public:
2353 void clear_sos2_constraints() ;
2354 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& sos2_constraints() const;
2355 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL mutable_sos2_constraints();
2356
2357 private:
2358 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& _internal_sos2_constraints() const;
2359 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL _internal_mutable_sos2_constraints();
2360
2361 public:
2362 // map<int64, .operations_research.math_opt.IndicatorConstraintProto> indicator_constraints = 9;
2363 int indicator_constraints_size() const;
2364 private:
2365 int _internal_indicator_constraints_size() const;
2366
2367 public:
2369 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& indicator_constraints() const;
2370 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL mutable_indicator_constraints();
2371
2372 private:
2373 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& _internal_indicator_constraints() const;
2374 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL _internal_mutable_indicator_constraints();
2375
2376 public:
2377 // map<int64, .operations_research.math_opt.ObjectiveProto> auxiliary_objectives = 10;
2378 int auxiliary_objectives_size() const;
2379 private:
2380 int _internal_auxiliary_objectives_size() const;
2381
2382 public:
2384 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& auxiliary_objectives() const;
2385 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL mutable_auxiliary_objectives();
2386
2387 private:
2388 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& _internal_auxiliary_objectives() const;
2389 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL _internal_mutable_auxiliary_objectives();
2390
2391 public:
2392 // map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> second_order_cone_constraints = 11;
2394 private:
2395 int _internal_second_order_cone_constraints_size() const;
2396
2397 public:
2399 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& second_order_cone_constraints() const;
2400 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL mutable_second_order_cone_constraints();
2401
2402 private:
2403 const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& _internal_second_order_cone_constraints() const;
2404 ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL _internal_mutable_second_order_cone_constraints();
2405
2406 public:
2407 // string name = 1;
2408 void clear_name() ;
2409 const ::std::string& name() const;
2410 template <typename Arg_ = const ::std::string&, typename... Args_>
2411 void set_name(Arg_&& arg, Args_... args);
2412 ::std::string* PROTOBUF_NONNULL mutable_name();
2413 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
2414 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
2415
2416 private:
2417 const ::std::string& _internal_name() const;
2418 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
2419 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
2420
2421 public:
2422 // .operations_research.math_opt.VariablesProto variables = 2;
2423 bool has_variables() const;
2424 void clear_variables() ;
2425 const ::operations_research::math_opt::VariablesProto& variables() const;
2431
2432 private:
2433 const ::operations_research::math_opt::VariablesProto& _internal_variables() const;
2434 ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL _internal_mutable_variables();
2435
2436 public:
2437 // .operations_research.math_opt.ObjectiveProto objective = 3;
2438 bool has_objective() const;
2439 void clear_objective() ;
2440 const ::operations_research::math_opt::ObjectiveProto& objective() const;
2441 [[nodiscard]] ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE release_objective();
2446
2447 private:
2448 const ::operations_research::math_opt::ObjectiveProto& _internal_objective() const;
2449 ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL _internal_mutable_objective();
2450
2451 public:
2452 // .operations_research.math_opt.LinearConstraintsProto linear_constraints = 4;
2453 bool has_linear_constraints() const;
2455 const ::operations_research::math_opt::LinearConstraintsProto& linear_constraints() const;
2461
2462 private:
2463 const ::operations_research::math_opt::LinearConstraintsProto& _internal_linear_constraints() const;
2464 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL _internal_mutable_linear_constraints();
2465
2466 public:
2467 // .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix = 5;
2468 bool has_linear_constraint_matrix() const;
2470 const ::operations_research::math_opt::SparseDoubleMatrixProto& linear_constraint_matrix() const;
2476
2477 private:
2478 const ::operations_research::math_opt::SparseDoubleMatrixProto& _internal_linear_constraint_matrix() const;
2479 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL _internal_mutable_linear_constraint_matrix();
2480
2481 public:
2482 // @@protoc_insertion_point(class_scope:operations_research.math_opt.ModelProto)
2483 private:
2484 class _Internal;
2485 friend class ::google::protobuf::internal::TcParser;
2486 static const ::google::protobuf::internal::TcParseTable<3, 11,
2487 16, 60,
2488 2>
2489 _table_;
2490
2491 friend class ::google::protobuf::MessageLite;
2492 friend class ::google::protobuf::Arena;
2493 template <typename T>
2494 friend class ::google::protobuf::Arena::InternalHelper;
2495 using InternalArenaConstructable_ = void;
2496 using DestructorSkippable_ = void;
2497 struct Impl_ {
2498 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2499 inline explicit Impl_(
2500 ::google::protobuf::internal::InternalVisibility visibility,
2501 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2502 inline explicit Impl_(
2503 ::google::protobuf::internal::InternalVisibility visibility,
2504 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2505 const ModelProto& from_msg);
2506 ::google::protobuf::internal::HasBits<1> _has_bits_;
2507 ::google::protobuf::internal::CachedSize _cached_size_;
2509 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2510 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2511 quadratic_constraints_;
2513 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2514 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2515 sos1_constraints_;
2517 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2518 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2519 sos2_constraints_;
2521 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2522 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2523 indicator_constraints_;
2525 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2526 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2527 auxiliary_objectives_;
2529 ::google::protobuf::internal::WireFormatLite::TYPE_INT64,
2530 ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
2531 second_order_cone_constraints_;
2532 ::google::protobuf::internal::ArenaStringPtr name_;
2533 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE variables_;
2534 ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE objective_;
2535 ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE linear_constraints_;
2536 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE linear_constraint_matrix_;
2537 PROTOBUF_TSAN_DECLARE_MEMBER
2538 };
2539 union { Impl_ _impl_; };
2540 friend struct ::TableStruct_ortools_2fmath_5fopt_2fmodel_2eproto;
2541};
2542
2543OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull ModelProto_class_data_;
2544
2545// ===================================================================
2546
2547
2548
2549
2550// ===================================================================
2551
2552
2553#ifdef __GNUC__
2554#pragma GCC diagnostic push
2555#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2556#endif // __GNUC__
2557// -------------------------------------------------------------------
2558
2559// VariablesProto
2560
2561// repeated int64 ids = 1;
2562inline int VariablesProto::_internal_ids_size() const {
2563 return _internal_ids().size();
2564}
2565inline int VariablesProto::ids_size() const {
2566 return _internal_ids_size();
2567}
2568inline void VariablesProto::clear_ids() {
2569 ::google::protobuf::internal::TSanWrite(&_impl_);
2570 _impl_.ids_.Clear();
2571}
2572inline ::int64_t VariablesProto::ids(int index) const {
2573 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.ids)
2574 return _internal_ids().Get(index);
2575}
2576inline void VariablesProto::set_ids(int index, ::int64_t value) {
2577 _internal_mutable_ids()->Set(index, value);
2578 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.ids)
2579}
2580inline void VariablesProto::add_ids(::int64_t value) {
2581 ::google::protobuf::internal::TSanWrite(&_impl_);
2582 _internal_mutable_ids()->Add(value);
2583 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.ids)
2584}
2585inline const ::google::protobuf::RepeatedField<::int64_t>& VariablesProto::ids() const
2586 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2587 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.ids)
2588 return _internal_ids();
2589}
2590inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL VariablesProto::mutable_ids()
2591 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2592 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.ids)
2593 ::google::protobuf::internal::TSanWrite(&_impl_);
2594 return _internal_mutable_ids();
2595}
2596inline const ::google::protobuf::RepeatedField<::int64_t>&
2597VariablesProto::_internal_ids() const {
2598 ::google::protobuf::internal::TSanRead(&_impl_);
2599 return _impl_.ids_;
2600}
2601inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
2602VariablesProto::_internal_mutable_ids() {
2603 ::google::protobuf::internal::TSanRead(&_impl_);
2604 return &_impl_.ids_;
2605}
2606
2607// repeated double lower_bounds = 2;
2608inline int VariablesProto::_internal_lower_bounds_size() const {
2609 return _internal_lower_bounds().size();
2610}
2611inline int VariablesProto::lower_bounds_size() const {
2612 return _internal_lower_bounds_size();
2613}
2615 ::google::protobuf::internal::TSanWrite(&_impl_);
2616 _impl_.lower_bounds_.Clear();
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 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.lower_bounds)
2630}
2631inline const ::google::protobuf::RepeatedField<double>& VariablesProto::lower_bounds() const
2632 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2633 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.lower_bounds)
2634 return _internal_lower_bounds();
2635}
2636inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL VariablesProto::mutable_lower_bounds()
2637 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2638 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.lower_bounds)
2639 ::google::protobuf::internal::TSanWrite(&_impl_);
2640 return _internal_mutable_lower_bounds();
2641}
2642inline const ::google::protobuf::RepeatedField<double>&
2643VariablesProto::_internal_lower_bounds() const {
2644 ::google::protobuf::internal::TSanRead(&_impl_);
2645 return _impl_.lower_bounds_;
2646}
2647inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2648VariablesProto::_internal_mutable_lower_bounds() {
2649 ::google::protobuf::internal::TSanRead(&_impl_);
2650 return &_impl_.lower_bounds_;
2651}
2652
2653// repeated double upper_bounds = 3;
2654inline int VariablesProto::_internal_upper_bounds_size() const {
2655 return _internal_upper_bounds().size();
2656}
2657inline int VariablesProto::upper_bounds_size() const {
2658 return _internal_upper_bounds_size();
2659}
2661 ::google::protobuf::internal::TSanWrite(&_impl_);
2662 _impl_.upper_bounds_.Clear();
2663}
2664inline double VariablesProto::upper_bounds(int index) const {
2665 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.upper_bounds)
2666 return _internal_upper_bounds().Get(index);
2667}
2668inline void VariablesProto::set_upper_bounds(int index, double value) {
2669 _internal_mutable_upper_bounds()->Set(index, value);
2670 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.upper_bounds)
2671}
2672inline void VariablesProto::add_upper_bounds(double value) {
2673 ::google::protobuf::internal::TSanWrite(&_impl_);
2674 _internal_mutable_upper_bounds()->Add(value);
2675 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.upper_bounds)
2676}
2677inline const ::google::protobuf::RepeatedField<double>& VariablesProto::upper_bounds() const
2678 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2679 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.upper_bounds)
2680 return _internal_upper_bounds();
2681}
2682inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL VariablesProto::mutable_upper_bounds()
2683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2684 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.upper_bounds)
2685 ::google::protobuf::internal::TSanWrite(&_impl_);
2686 return _internal_mutable_upper_bounds();
2687}
2688inline const ::google::protobuf::RepeatedField<double>&
2689VariablesProto::_internal_upper_bounds() const {
2690 ::google::protobuf::internal::TSanRead(&_impl_);
2691 return _impl_.upper_bounds_;
2692}
2693inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
2694VariablesProto::_internal_mutable_upper_bounds() {
2695 ::google::protobuf::internal::TSanRead(&_impl_);
2696 return &_impl_.upper_bounds_;
2697}
2698
2699// repeated bool integers = 4;
2700inline int VariablesProto::_internal_integers_size() const {
2701 return _internal_integers().size();
2702}
2703inline int VariablesProto::integers_size() const {
2704 return _internal_integers_size();
2705}
2706inline void VariablesProto::clear_integers() {
2707 ::google::protobuf::internal::TSanWrite(&_impl_);
2708 _impl_.integers_.Clear();
2709}
2710inline bool VariablesProto::integers(int index) const {
2711 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.integers)
2712 return _internal_integers().Get(index);
2713}
2714inline void VariablesProto::set_integers(int index, bool value) {
2715 _internal_mutable_integers()->Set(index, value);
2716 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.integers)
2717}
2718inline void VariablesProto::add_integers(bool value) {
2719 ::google::protobuf::internal::TSanWrite(&_impl_);
2720 _internal_mutable_integers()->Add(value);
2721 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.integers)
2722}
2723inline const ::google::protobuf::RepeatedField<bool>& VariablesProto::integers() const
2724 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2725 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.integers)
2726 return _internal_integers();
2727}
2728inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL VariablesProto::mutable_integers()
2729 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2730 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.integers)
2731 ::google::protobuf::internal::TSanWrite(&_impl_);
2732 return _internal_mutable_integers();
2733}
2734inline const ::google::protobuf::RepeatedField<bool>&
2735VariablesProto::_internal_integers() const {
2736 ::google::protobuf::internal::TSanRead(&_impl_);
2737 return _impl_.integers_;
2738}
2739inline ::google::protobuf::RepeatedField<bool>* PROTOBUF_NONNULL
2740VariablesProto::_internal_mutable_integers() {
2741 ::google::protobuf::internal::TSanRead(&_impl_);
2742 return &_impl_.integers_;
2743}
2744
2745// repeated string names = 5;
2746inline int VariablesProto::_internal_names_size() const {
2747 return _internal_names().size();
2748}
2749inline int VariablesProto::names_size() const {
2750 return _internal_names_size();
2751}
2752inline void VariablesProto::clear_names() {
2753 ::google::protobuf::internal::TSanWrite(&_impl_);
2754 _impl_.names_.Clear();
2755}
2756inline ::std::string* PROTOBUF_NONNULL VariablesProto::add_names()
2757 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2758 ::google::protobuf::internal::TSanWrite(&_impl_);
2759 ::std::string* _s = _internal_mutable_names()->Add();
2760 // @@protoc_insertion_point(field_add_mutable:operations_research.math_opt.VariablesProto.names)
2761 return _s;
2762}
2763inline const ::std::string& VariablesProto::names(int index) const
2764 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2765 // @@protoc_insertion_point(field_get:operations_research.math_opt.VariablesProto.names)
2766 return _internal_names().Get(index);
2768inline ::std::string* PROTOBUF_NONNULL VariablesProto::mutable_names(int index)
2769 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2770 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.VariablesProto.names)
2771 return _internal_mutable_names()->Mutable(index);
2772}
2773template <typename Arg_, typename... Args_>
2774inline void VariablesProto::set_names(int index, Arg_&& value, Args_... args) {
2775 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
2776 args... );
2777 // @@protoc_insertion_point(field_set:operations_research.math_opt.VariablesProto.names)
2778}
2779template <typename Arg_, typename... Args_>
2780inline void VariablesProto::add_names(Arg_&& value, Args_... args) {
2781 ::google::protobuf::internal::TSanWrite(&_impl_);
2782 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_names(),
2783 ::std::forward<Arg_>(value),
2784 args... );
2785 // @@protoc_insertion_point(field_add:operations_research.math_opt.VariablesProto.names)
2787inline const ::google::protobuf::RepeatedPtrField<::std::string>& VariablesProto::names()
2788 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2789 // @@protoc_insertion_point(field_list:operations_research.math_opt.VariablesProto.names)
2790 return _internal_names();
2791}
2792inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2793VariablesProto::mutable_names() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2794 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.VariablesProto.names)
2795 ::google::protobuf::internal::TSanWrite(&_impl_);
2796 return _internal_mutable_names();
2797}
2798inline const ::google::protobuf::RepeatedPtrField<::std::string>&
2799VariablesProto::_internal_names() const {
2800 ::google::protobuf::internal::TSanRead(&_impl_);
2801 return _impl_.names_;
2802}
2803inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
2804VariablesProto::_internal_mutable_names() {
2805 ::google::protobuf::internal::TSanRead(&_impl_);
2806 return &_impl_.names_;
2807}
2808
2809// -------------------------------------------------------------------
2810
2811// ObjectiveProto
2812
2813// bool maximize = 1;
2814inline void ObjectiveProto::clear_maximize() {
2815 ::google::protobuf::internal::TSanWrite(&_impl_);
2816 _impl_.maximize_ = false;
2817 _impl_._has_bits_[0] &= ~0x00000020u;
2818}
2819inline bool ObjectiveProto::maximize() const {
2820 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.maximize)
2821 return _internal_maximize();
2822}
2823inline void ObjectiveProto::set_maximize(bool value) {
2824 _internal_set_maximize(value);
2825 _impl_._has_bits_[0] |= 0x00000020u;
2826 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.maximize)
2827}
2828inline bool ObjectiveProto::_internal_maximize() const {
2829 ::google::protobuf::internal::TSanRead(&_impl_);
2830 return _impl_.maximize_;
2831}
2832inline void ObjectiveProto::_internal_set_maximize(bool value) {
2833 ::google::protobuf::internal::TSanWrite(&_impl_);
2834 _impl_.maximize_ = value;
2835}
2836
2837// double offset = 2;
2839 ::google::protobuf::internal::TSanWrite(&_impl_);
2840 _impl_.offset_ = 0;
2841 _impl_._has_bits_[0] &= ~0x00000008u;
2843inline double ObjectiveProto::offset() const {
2844 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.offset)
2845 return _internal_offset();
2846}
2847inline void ObjectiveProto::set_offset(double value) {
2848 _internal_set_offset(value);
2849 _impl_._has_bits_[0] |= 0x00000008u;
2850 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.offset)
2851}
2852inline double ObjectiveProto::_internal_offset() const {
2853 ::google::protobuf::internal::TSanRead(&_impl_);
2854 return _impl_.offset_;
2855}
2856inline void ObjectiveProto::_internal_set_offset(double value) {
2857 ::google::protobuf::internal::TSanWrite(&_impl_);
2858 _impl_.offset_ = value;
2859}
2860
2861// .operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
2863 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2864 PROTOBUF_ASSUME(!value || _impl_.linear_coefficients_ != nullptr);
2865 return value;
2867inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveProto::_internal_linear_coefficients() const {
2868 ::google::protobuf::internal::TSanRead(&_impl_);
2869 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_coefficients_;
2871}
2872inline const ::operations_research::math_opt::SparseDoubleVectorProto& ObjectiveProto::linear_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2873 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2874 return _internal_linear_coefficients();
2875}
2878 ::google::protobuf::internal::TSanWrite(&_impl_);
2879 if (GetArena() == nullptr) {
2880 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
2882 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2883 if (value != nullptr) {
2884 _impl_._has_bits_[0] |= 0x00000002u;
2885 } else {
2886 _impl_._has_bits_[0] &= ~0x00000002u;
2887 }
2888 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2889}
2890inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveProto::release_linear_coefficients() {
2891 ::google::protobuf::internal::TSanWrite(&_impl_);
2892
2893 _impl_._has_bits_[0] &= ~0x00000002u;
2895 _impl_.linear_coefficients_ = nullptr;
2896 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2897 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2898 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2899 if (GetArena() == nullptr) {
2900 delete old;
2901 }
2902 } else {
2903 if (GetArena() != nullptr) {
2904 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2905 }
2906 }
2907 return released;
2908}
2909inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE ObjectiveProto::unsafe_arena_release_linear_coefficients() {
2910 ::google::protobuf::internal::TSanWrite(&_impl_);
2911 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2912
2913 _impl_._has_bits_[0] &= ~0x00000002u;
2915 _impl_.linear_coefficients_ = nullptr;
2916 return temp;
2917}
2918inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_linear_coefficients() {
2919 ::google::protobuf::internal::TSanWrite(&_impl_);
2920 if (_impl_.linear_coefficients_ == nullptr) {
2921 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2922 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2923 }
2924 return _impl_.linear_coefficients_;
2925}
2926inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL ObjectiveProto::mutable_linear_coefficients()
2927 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2928 _impl_._has_bits_[0] |= 0x00000002u;
2929 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_coefficients();
2930 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2931 return _msg;
2932}
2934 ::google::protobuf::Arena* message_arena = GetArena();
2935 ::google::protobuf::internal::TSanWrite(&_impl_);
2936 if (message_arena == nullptr) {
2937 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_coefficients_);
2938 }
2939
2940 if (value != nullptr) {
2941 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2942 if (message_arena != submessage_arena) {
2943 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2944 }
2945 _impl_._has_bits_[0] |= 0x00000002u;
2946 } else {
2947 _impl_._has_bits_[0] &= ~0x00000002u;
2948 }
2949
2950 _impl_.linear_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2951 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.linear_coefficients)
2953
2954// .operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
2956 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2957 PROTOBUF_ASSUME(!value || _impl_.quadratic_coefficients_ != nullptr);
2958 return value;
2959}
2960inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveProto::_internal_quadratic_coefficients() const {
2961 ::google::protobuf::internal::TSanRead(&_impl_);
2962 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_coefficients_;
2964}
2965inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ObjectiveProto::quadratic_coefficients() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2966 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
2967 return _internal_quadratic_coefficients();
2968}
2970 ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE value) {
2971 ::google::protobuf::internal::TSanWrite(&_impl_);
2972 if (GetArena() == nullptr) {
2973 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
2975 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
2976 if (value != nullptr) {
2977 _impl_._has_bits_[0] |= 0x00000004u;
2978 } else {
2979 _impl_._has_bits_[0] &= ~0x00000004u;
2980 }
2981 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
2982}
2983inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveProto::release_quadratic_coefficients() {
2984 ::google::protobuf::internal::TSanWrite(&_impl_);
2985
2986 _impl_._has_bits_[0] &= ~0x00000004u;
2987 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.quadratic_coefficients_;
2988 _impl_.quadratic_coefficients_ = nullptr;
2989 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2990 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2991 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2992 if (GetArena() == nullptr) {
2993 delete old;
2994 }
2995 } else {
2996 if (GetArena() != nullptr) {
2997 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2998 }
2999 }
3000 return released;
3001}
3002inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ObjectiveProto::unsafe_arena_release_quadratic_coefficients() {
3003 ::google::protobuf::internal::TSanWrite(&_impl_);
3004 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3005
3006 _impl_._has_bits_[0] &= ~0x00000004u;
3008 _impl_.quadratic_coefficients_ = nullptr;
3009 return temp;
3010}
3011inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_quadratic_coefficients() {
3012 ::google::protobuf::internal::TSanWrite(&_impl_);
3013 if (_impl_.quadratic_coefficients_ == nullptr) {
3014 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3015 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
3016 }
3017 return _impl_.quadratic_coefficients_;
3018}
3019inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ObjectiveProto::mutable_quadratic_coefficients()
3020 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3021 _impl_._has_bits_[0] |= 0x00000004u;
3022 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_quadratic_coefficients();
3023 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3024 return _msg;
3025}
3027 ::google::protobuf::Arena* message_arena = GetArena();
3028 ::google::protobuf::internal::TSanWrite(&_impl_);
3029 if (message_arena == nullptr) {
3030 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_coefficients_);
3031 }
3032
3033 if (value != nullptr) {
3034 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3035 if (message_arena != submessage_arena) {
3036 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3037 }
3038 _impl_._has_bits_[0] |= 0x00000004u;
3039 } else {
3040 _impl_._has_bits_[0] &= ~0x00000004u;
3041 }
3042
3043 _impl_.quadratic_coefficients_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3044 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.quadratic_coefficients)
3046
3047// string name = 5;
3048inline void ObjectiveProto::clear_name() {
3049 ::google::protobuf::internal::TSanWrite(&_impl_);
3050 _impl_.name_.ClearToEmpty();
3051 _impl_._has_bits_[0] &= ~0x00000001u;
3052}
3053inline const ::std::string& ObjectiveProto::name() const
3054 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3055 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.name)
3056 return _internal_name();
3057}
3058template <typename Arg_, typename... Args_>
3059PROTOBUF_ALWAYS_INLINE void ObjectiveProto::set_name(Arg_&& arg, Args_... args) {
3060 ::google::protobuf::internal::TSanWrite(&_impl_);
3061 _impl_._has_bits_[0] |= 0x00000001u;
3062 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3063 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.name)
3064}
3065inline ::std::string* PROTOBUF_NONNULL ObjectiveProto::mutable_name()
3066 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3067 ::std::string* _s = _internal_mutable_name();
3068 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ObjectiveProto.name)
3069 return _s;
3070}
3071inline const ::std::string& ObjectiveProto::_internal_name() const {
3072 ::google::protobuf::internal::TSanRead(&_impl_);
3073 return _impl_.name_.Get();
3074}
3075inline void ObjectiveProto::_internal_set_name(const ::std::string& value) {
3076 ::google::protobuf::internal::TSanWrite(&_impl_);
3077 _impl_._has_bits_[0] |= 0x00000001u;
3078 _impl_.name_.Set(value, GetArena());
3079}
3080inline ::std::string* PROTOBUF_NONNULL ObjectiveProto::_internal_mutable_name() {
3081 ::google::protobuf::internal::TSanWrite(&_impl_);
3082 _impl_._has_bits_[0] |= 0x00000001u;
3083 return _impl_.name_.Mutable( GetArena());
3085inline ::std::string* PROTOBUF_NULLABLE ObjectiveProto::release_name() {
3086 ::google::protobuf::internal::TSanWrite(&_impl_);
3087 // @@protoc_insertion_point(field_release:operations_research.math_opt.ObjectiveProto.name)
3088 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
3089 return nullptr;
3090 }
3091 _impl_._has_bits_[0] &= ~0x00000001u;
3092 auto* released = _impl_.name_.Release();
3093 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3094 _impl_.name_.Set("", GetArena());
3095 }
3096 return released;
3097}
3098inline void ObjectiveProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3099 ::google::protobuf::internal::TSanWrite(&_impl_);
3100 if (value != nullptr) {
3101 _impl_._has_bits_[0] |= 0x00000001u;
3102 } else {
3103 _impl_._has_bits_[0] &= ~0x00000001u;
3105 _impl_.name_.SetAllocated(value, GetArena());
3106 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3107 _impl_.name_.Set("", GetArena());
3108 }
3109 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ObjectiveProto.name)
3110}
3111
3112// int64 priority = 6;
3113inline void ObjectiveProto::clear_priority() {
3114 ::google::protobuf::internal::TSanWrite(&_impl_);
3115 _impl_.priority_ = ::int64_t{0};
3116 _impl_._has_bits_[0] &= ~0x00000010u;
3118inline ::int64_t ObjectiveProto::priority() const {
3119 // @@protoc_insertion_point(field_get:operations_research.math_opt.ObjectiveProto.priority)
3120 return _internal_priority();
3121}
3122inline void ObjectiveProto::set_priority(::int64_t value) {
3123 _internal_set_priority(value);
3124 _impl_._has_bits_[0] |= 0x00000010u;
3125 // @@protoc_insertion_point(field_set:operations_research.math_opt.ObjectiveProto.priority)
3126}
3127inline ::int64_t ObjectiveProto::_internal_priority() const {
3128 ::google::protobuf::internal::TSanRead(&_impl_);
3129 return _impl_.priority_;
3130}
3131inline void ObjectiveProto::_internal_set_priority(::int64_t value) {
3132 ::google::protobuf::internal::TSanWrite(&_impl_);
3133 _impl_.priority_ = value;
3134}
3135
3136// -------------------------------------------------------------------
3138// LinearConstraintsProto
3139
3140// repeated int64 ids = 1;
3141inline int LinearConstraintsProto::_internal_ids_size() const {
3142 return _internal_ids().size();
3143}
3144inline int LinearConstraintsProto::ids_size() const {
3145 return _internal_ids_size();
3146}
3148 ::google::protobuf::internal::TSanWrite(&_impl_);
3149 _impl_.ids_.Clear();
3150}
3151inline ::int64_t LinearConstraintsProto::ids(int index) const {
3152 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.ids)
3153 return _internal_ids().Get(index);
3154}
3155inline void LinearConstraintsProto::set_ids(int index, ::int64_t value) {
3156 _internal_mutable_ids()->Set(index, value);
3157 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.ids)
3158}
3159inline void LinearConstraintsProto::add_ids(::int64_t value) {
3160 ::google::protobuf::internal::TSanWrite(&_impl_);
3161 _internal_mutable_ids()->Add(value);
3162 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.ids)
3163}
3164inline const ::google::protobuf::RepeatedField<::int64_t>& LinearConstraintsProto::ids() const
3165 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3166 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.ids)
3167 return _internal_ids();
3168}
3169inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL LinearConstraintsProto::mutable_ids()
3170 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3171 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.ids)
3172 ::google::protobuf::internal::TSanWrite(&_impl_);
3173 return _internal_mutable_ids();
3174}
3175inline const ::google::protobuf::RepeatedField<::int64_t>&
3176LinearConstraintsProto::_internal_ids() const {
3177 ::google::protobuf::internal::TSanRead(&_impl_);
3178 return _impl_.ids_;
3180inline ::google::protobuf::RepeatedField<::int64_t>* PROTOBUF_NONNULL
3181LinearConstraintsProto::_internal_mutable_ids() {
3182 ::google::protobuf::internal::TSanRead(&_impl_);
3183 return &_impl_.ids_;
3185
3186// repeated double lower_bounds = 2;
3187inline int LinearConstraintsProto::_internal_lower_bounds_size() const {
3188 return _internal_lower_bounds().size();
3191 return _internal_lower_bounds_size();
3192}
3194 ::google::protobuf::internal::TSanWrite(&_impl_);
3195 _impl_.lower_bounds_.Clear();
3196}
3197inline double LinearConstraintsProto::lower_bounds(int index) const {
3198 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3199 return _internal_lower_bounds().Get(index);
3200}
3201inline void LinearConstraintsProto::set_lower_bounds(int index, double value) {
3202 _internal_mutable_lower_bounds()->Set(index, value);
3203 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3204}
3205inline void LinearConstraintsProto::add_lower_bounds(double value) {
3206 ::google::protobuf::internal::TSanWrite(&_impl_);
3207 _internal_mutable_lower_bounds()->Add(value);
3208 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3209}
3210inline const ::google::protobuf::RepeatedField<double>& LinearConstraintsProto::lower_bounds() const
3211 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3212 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3213 return _internal_lower_bounds();
3214}
3215inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL LinearConstraintsProto::mutable_lower_bounds()
3216 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3217 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.lower_bounds)
3218 ::google::protobuf::internal::TSanWrite(&_impl_);
3219 return _internal_mutable_lower_bounds();
3220}
3221inline const ::google::protobuf::RepeatedField<double>&
3222LinearConstraintsProto::_internal_lower_bounds() const {
3223 ::google::protobuf::internal::TSanRead(&_impl_);
3224 return _impl_.lower_bounds_;
3226inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3227LinearConstraintsProto::_internal_mutable_lower_bounds() {
3228 ::google::protobuf::internal::TSanRead(&_impl_);
3229 return &_impl_.lower_bounds_;
3231
3232// repeated double upper_bounds = 3;
3233inline int LinearConstraintsProto::_internal_upper_bounds_size() const {
3234 return _internal_upper_bounds().size();
3237 return _internal_upper_bounds_size();
3238}
3240 ::google::protobuf::internal::TSanWrite(&_impl_);
3241 _impl_.upper_bounds_.Clear();
3242}
3243inline double LinearConstraintsProto::upper_bounds(int index) const {
3244 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3245 return _internal_upper_bounds().Get(index);
3246}
3247inline void LinearConstraintsProto::set_upper_bounds(int index, double value) {
3248 _internal_mutable_upper_bounds()->Set(index, value);
3249 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3250}
3251inline void LinearConstraintsProto::add_upper_bounds(double value) {
3252 ::google::protobuf::internal::TSanWrite(&_impl_);
3253 _internal_mutable_upper_bounds()->Add(value);
3254 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3255}
3256inline const ::google::protobuf::RepeatedField<double>& LinearConstraintsProto::upper_bounds() const
3257 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3258 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3259 return _internal_upper_bounds();
3260}
3261inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL LinearConstraintsProto::mutable_upper_bounds()
3262 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3263 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.upper_bounds)
3264 ::google::protobuf::internal::TSanWrite(&_impl_);
3265 return _internal_mutable_upper_bounds();
3266}
3267inline const ::google::protobuf::RepeatedField<double>&
3268LinearConstraintsProto::_internal_upper_bounds() const {
3269 ::google::protobuf::internal::TSanRead(&_impl_);
3270 return _impl_.upper_bounds_;
3272inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3273LinearConstraintsProto::_internal_mutable_upper_bounds() {
3274 ::google::protobuf::internal::TSanRead(&_impl_);
3275 return &_impl_.upper_bounds_;
3277
3278// repeated string names = 4;
3279inline int LinearConstraintsProto::_internal_names_size() const {
3280 return _internal_names().size();
3282inline int LinearConstraintsProto::names_size() const {
3283 return _internal_names_size();
3284}
3286 ::google::protobuf::internal::TSanWrite(&_impl_);
3287 _impl_.names_.Clear();
3288}
3289inline ::std::string* PROTOBUF_NONNULL LinearConstraintsProto::add_names()
3290 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3291 ::google::protobuf::internal::TSanWrite(&_impl_);
3292 ::std::string* _s = _internal_mutable_names()->Add();
3293 // @@protoc_insertion_point(field_add_mutable:operations_research.math_opt.LinearConstraintsProto.names)
3294 return _s;
3295}
3296inline const ::std::string& LinearConstraintsProto::names(int index) const
3297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3298 // @@protoc_insertion_point(field_get:operations_research.math_opt.LinearConstraintsProto.names)
3299 return _internal_names().Get(index);
3300}
3301inline ::std::string* PROTOBUF_NONNULL LinearConstraintsProto::mutable_names(int index)
3302 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3303 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.LinearConstraintsProto.names)
3304 return _internal_mutable_names()->Mutable(index);
3306template <typename Arg_, typename... Args_>
3307inline void LinearConstraintsProto::set_names(int index, Arg_&& value, Args_... args) {
3308 ::google::protobuf::internal::AssignToString(*_internal_mutable_names()->Mutable(index), ::std::forward<Arg_>(value),
3309 args... );
3310 // @@protoc_insertion_point(field_set:operations_research.math_opt.LinearConstraintsProto.names)
3311}
3312template <typename Arg_, typename... Args_>
3313inline void LinearConstraintsProto::add_names(Arg_&& value, Args_... args) {
3314 ::google::protobuf::internal::TSanWrite(&_impl_);
3315 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_names(),
3316 ::std::forward<Arg_>(value),
3317 args... );
3318 // @@protoc_insertion_point(field_add:operations_research.math_opt.LinearConstraintsProto.names)
3319}
3320inline const ::google::protobuf::RepeatedPtrField<::std::string>& LinearConstraintsProto::names()
3321 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3322 // @@protoc_insertion_point(field_list:operations_research.math_opt.LinearConstraintsProto.names)
3323 return _internal_names();
3324}
3325inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3326LinearConstraintsProto::mutable_names() ABSL_ATTRIBUTE_LIFETIME_BOUND {
3327 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.LinearConstraintsProto.names)
3328 ::google::protobuf::internal::TSanWrite(&_impl_);
3329 return _internal_mutable_names();
3330}
3331inline const ::google::protobuf::RepeatedPtrField<::std::string>&
3332LinearConstraintsProto::_internal_names() const {
3333 ::google::protobuf::internal::TSanRead(&_impl_);
3334 return _impl_.names_;
3335}
3336inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
3337LinearConstraintsProto::_internal_mutable_names() {
3338 ::google::protobuf::internal::TSanRead(&_impl_);
3339 return &_impl_.names_;
3341
3342// -------------------------------------------------------------------
3343
3344// QuadraticConstraintProto
3345
3346// .operations_research.math_opt.SparseDoubleVectorProto linear_terms = 1;
3348 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3349 PROTOBUF_ASSUME(!value || _impl_.linear_terms_ != nullptr);
3350 return value;
3351}
3352inline const ::operations_research::math_opt::SparseDoubleVectorProto& QuadraticConstraintProto::_internal_linear_terms() const {
3353 ::google::protobuf::internal::TSanRead(&_impl_);
3354 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_terms_;
3356}
3357inline const ::operations_research::math_opt::SparseDoubleVectorProto& QuadraticConstraintProto::linear_terms() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3358 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3359 return _internal_linear_terms();
3360}
3363 ::google::protobuf::internal::TSanWrite(&_impl_);
3364 if (GetArena() == nullptr) {
3365 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_terms_);
3366 }
3367 _impl_.linear_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3368 if (value != nullptr) {
3369 _impl_._has_bits_[0] |= 0x00000002u;
3370 } else {
3371 _impl_._has_bits_[0] &= ~0x00000002u;
3372 }
3373 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3374}
3375inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE QuadraticConstraintProto::release_linear_terms() {
3376 ::google::protobuf::internal::TSanWrite(&_impl_);
3377
3378 _impl_._has_bits_[0] &= ~0x00000002u;
3380 _impl_.linear_terms_ = nullptr;
3381 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3382 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3383 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3384 if (GetArena() == nullptr) {
3385 delete old;
3386 }
3387 } else {
3388 if (GetArena() != nullptr) {
3389 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3390 }
3391 }
3392 return released;
3393}
3394inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE QuadraticConstraintProto::unsafe_arena_release_linear_terms() {
3395 ::google::protobuf::internal::TSanWrite(&_impl_);
3396 // @@protoc_insertion_point(field_release:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3397
3398 _impl_._has_bits_[0] &= ~0x00000002u;
3400 _impl_.linear_terms_ = nullptr;
3401 return temp;
3402}
3403inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_linear_terms() {
3404 ::google::protobuf::internal::TSanWrite(&_impl_);
3405 if (_impl_.linear_terms_ == nullptr) {
3406 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3407 _impl_.linear_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3408 }
3409 return _impl_.linear_terms_;
3410}
3411inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL QuadraticConstraintProto::mutable_linear_terms()
3412 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3413 _impl_._has_bits_[0] |= 0x00000002u;
3414 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_terms();
3415 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3416 return _msg;
3417}
3419 ::google::protobuf::Arena* message_arena = GetArena();
3420 ::google::protobuf::internal::TSanWrite(&_impl_);
3421 if (message_arena == nullptr) {
3422 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_terms_);
3423 }
3424
3425 if (value != nullptr) {
3426 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3427 if (message_arena != submessage_arena) {
3428 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3429 }
3430 _impl_._has_bits_[0] |= 0x00000002u;
3431 } else {
3432 _impl_._has_bits_[0] &= ~0x00000002u;
3433 }
3434
3435 _impl_.linear_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3436 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.QuadraticConstraintProto.linear_terms)
3437}
3438
3439// .operations_research.math_opt.SparseDoubleMatrixProto quadratic_terms = 2;
3441 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3442 PROTOBUF_ASSUME(!value || _impl_.quadratic_terms_ != nullptr);
3443 return value;
3444}
3445inline const ::operations_research::math_opt::SparseDoubleMatrixProto& QuadraticConstraintProto::_internal_quadratic_terms() const {
3446 ::google::protobuf::internal::TSanRead(&_impl_);
3447 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.quadratic_terms_;
3449}
3450inline const ::operations_research::math_opt::SparseDoubleMatrixProto& QuadraticConstraintProto::quadratic_terms() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3451 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3452 return _internal_quadratic_terms();
3453}
3456 ::google::protobuf::internal::TSanWrite(&_impl_);
3457 if (GetArena() == nullptr) {
3458 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_terms_);
3459 }
3460 _impl_.quadratic_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3461 if (value != nullptr) {
3462 _impl_._has_bits_[0] |= 0x00000004u;
3463 } else {
3464 _impl_._has_bits_[0] &= ~0x00000004u;
3465 }
3466 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3467}
3468inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE QuadraticConstraintProto::release_quadratic_terms() {
3469 ::google::protobuf::internal::TSanWrite(&_impl_);
3470
3471 _impl_._has_bits_[0] &= ~0x00000004u;
3473 _impl_.quadratic_terms_ = nullptr;
3474 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3475 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3476 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3477 if (GetArena() == nullptr) {
3478 delete old;
3479 }
3480 } else {
3481 if (GetArena() != nullptr) {
3482 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3483 }
3484 }
3485 return released;
3486}
3487inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE QuadraticConstraintProto::unsafe_arena_release_quadratic_terms() {
3488 ::google::protobuf::internal::TSanWrite(&_impl_);
3489 // @@protoc_insertion_point(field_release:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3490
3491 _impl_._has_bits_[0] &= ~0x00000004u;
3493 _impl_.quadratic_terms_ = nullptr;
3494 return temp;
3495}
3496inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_quadratic_terms() {
3497 ::google::protobuf::internal::TSanWrite(&_impl_);
3498 if (_impl_.quadratic_terms_ == nullptr) {
3499 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
3500 _impl_.quadratic_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
3501 }
3502 return _impl_.quadratic_terms_;
3503}
3504inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL QuadraticConstraintProto::mutable_quadratic_terms()
3505 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3506 _impl_._has_bits_[0] |= 0x00000004u;
3507 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_quadratic_terms();
3508 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3509 return _msg;
3510}
3512 ::google::protobuf::Arena* message_arena = GetArena();
3513 ::google::protobuf::internal::TSanWrite(&_impl_);
3514 if (message_arena == nullptr) {
3515 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.quadratic_terms_);
3516 }
3517
3518 if (value != nullptr) {
3519 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3520 if (message_arena != submessage_arena) {
3521 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3522 }
3523 _impl_._has_bits_[0] |= 0x00000004u;
3524 } else {
3525 _impl_._has_bits_[0] &= ~0x00000004u;
3526 }
3527
3528 _impl_.quadratic_terms_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
3529 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.QuadraticConstraintProto.quadratic_terms)
3530}
3531
3532// double lower_bound = 3;
3534 ::google::protobuf::internal::TSanWrite(&_impl_);
3535 _impl_.lower_bound_ = 0;
3536 _impl_._has_bits_[0] &= ~0x00000008u;
3537}
3538inline double QuadraticConstraintProto::lower_bound() const {
3539 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.lower_bound)
3540 return _internal_lower_bound();
3541}
3542inline void QuadraticConstraintProto::set_lower_bound(double value) {
3543 _internal_set_lower_bound(value);
3544 _impl_._has_bits_[0] |= 0x00000008u;
3545 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintProto.lower_bound)
3546}
3547inline double QuadraticConstraintProto::_internal_lower_bound() const {
3548 ::google::protobuf::internal::TSanRead(&_impl_);
3549 return _impl_.lower_bound_;
3550}
3551inline void QuadraticConstraintProto::_internal_set_lower_bound(double value) {
3552 ::google::protobuf::internal::TSanWrite(&_impl_);
3553 _impl_.lower_bound_ = value;
3555
3556// double upper_bound = 4;
3558 ::google::protobuf::internal::TSanWrite(&_impl_);
3559 _impl_.upper_bound_ = 0;
3560 _impl_._has_bits_[0] &= ~0x00000010u;
3561}
3562inline double QuadraticConstraintProto::upper_bound() const {
3563 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.upper_bound)
3564 return _internal_upper_bound();
3565}
3566inline void QuadraticConstraintProto::set_upper_bound(double value) {
3567 _internal_set_upper_bound(value);
3568 _impl_._has_bits_[0] |= 0x00000010u;
3569 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintProto.upper_bound)
3570}
3571inline double QuadraticConstraintProto::_internal_upper_bound() const {
3572 ::google::protobuf::internal::TSanRead(&_impl_);
3573 return _impl_.upper_bound_;
3574}
3575inline void QuadraticConstraintProto::_internal_set_upper_bound(double value) {
3576 ::google::protobuf::internal::TSanWrite(&_impl_);
3577 _impl_.upper_bound_ = value;
3579
3580// string name = 5;
3582 ::google::protobuf::internal::TSanWrite(&_impl_);
3583 _impl_.name_.ClearToEmpty();
3584 _impl_._has_bits_[0] &= ~0x00000001u;
3585}
3586inline const ::std::string& QuadraticConstraintProto::name() const
3587 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3588 // @@protoc_insertion_point(field_get:operations_research.math_opt.QuadraticConstraintProto.name)
3589 return _internal_name();
3590}
3591template <typename Arg_, typename... Args_>
3592PROTOBUF_ALWAYS_INLINE void QuadraticConstraintProto::set_name(Arg_&& arg, Args_... args) {
3593 ::google::protobuf::internal::TSanWrite(&_impl_);
3594 _impl_._has_bits_[0] |= 0x00000001u;
3595 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3596 // @@protoc_insertion_point(field_set:operations_research.math_opt.QuadraticConstraintProto.name)
3597}
3598inline ::std::string* PROTOBUF_NONNULL QuadraticConstraintProto::mutable_name()
3599 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3600 ::std::string* _s = _internal_mutable_name();
3601 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.QuadraticConstraintProto.name)
3602 return _s;
3603}
3604inline const ::std::string& QuadraticConstraintProto::_internal_name() const {
3605 ::google::protobuf::internal::TSanRead(&_impl_);
3606 return _impl_.name_.Get();
3608inline void QuadraticConstraintProto::_internal_set_name(const ::std::string& value) {
3609 ::google::protobuf::internal::TSanWrite(&_impl_);
3610 _impl_._has_bits_[0] |= 0x00000001u;
3611 _impl_.name_.Set(value, GetArena());
3612}
3613inline ::std::string* PROTOBUF_NONNULL QuadraticConstraintProto::_internal_mutable_name() {
3614 ::google::protobuf::internal::TSanWrite(&_impl_);
3615 _impl_._has_bits_[0] |= 0x00000001u;
3616 return _impl_.name_.Mutable( GetArena());
3617}
3618inline ::std::string* PROTOBUF_NULLABLE QuadraticConstraintProto::release_name() {
3619 ::google::protobuf::internal::TSanWrite(&_impl_);
3620 // @@protoc_insertion_point(field_release:operations_research.math_opt.QuadraticConstraintProto.name)
3621 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
3622 return nullptr;
3623 }
3624 _impl_._has_bits_[0] &= ~0x00000001u;
3625 auto* released = _impl_.name_.Release();
3626 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3627 _impl_.name_.Set("", GetArena());
3628 }
3629 return released;
3630}
3631inline void QuadraticConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3632 ::google::protobuf::internal::TSanWrite(&_impl_);
3633 if (value != nullptr) {
3634 _impl_._has_bits_[0] |= 0x00000001u;
3635 } else {
3636 _impl_._has_bits_[0] &= ~0x00000001u;
3637 }
3638 _impl_.name_.SetAllocated(value, GetArena());
3639 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3640 _impl_.name_.Set("", GetArena());
3641 }
3642 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.QuadraticConstraintProto.name)
3643}
3644
3645// -------------------------------------------------------------------
3646
3647// SecondOrderConeConstraintProto
3648
3649// .operations_research.math_opt.LinearExpressionProto upper_bound = 1;
3651 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3652 PROTOBUF_ASSUME(!value || _impl_.upper_bound_ != nullptr);
3653 return value;
3654}
3655inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::_internal_upper_bound() const {
3656 ::google::protobuf::internal::TSanRead(&_impl_);
3657 const ::operations_research::math_opt::LinearExpressionProto* p = _impl_.upper_bound_;
3659}
3660inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::upper_bound() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3661 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3662 return _internal_upper_bound();
3663}
3666 ::google::protobuf::internal::TSanWrite(&_impl_);
3667 if (GetArena() == nullptr) {
3668 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bound_);
3669 }
3670 _impl_.upper_bound_ = reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*>(value);
3671 if (value != nullptr) {
3672 _impl_._has_bits_[0] |= 0x00000002u;
3673 } else {
3674 _impl_._has_bits_[0] &= ~0x00000002u;
3675 }
3676 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3677}
3678inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NULLABLE SecondOrderConeConstraintProto::release_upper_bound() {
3679 ::google::protobuf::internal::TSanWrite(&_impl_);
3680
3681 _impl_._has_bits_[0] &= ~0x00000002u;
3683 _impl_.upper_bound_ = nullptr;
3684 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3685 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3686 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3687 if (GetArena() == nullptr) {
3688 delete old;
3689 }
3690 } else {
3691 if (GetArena() != nullptr) {
3692 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3693 }
3694 }
3695 return released;
3696}
3697inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NULLABLE SecondOrderConeConstraintProto::unsafe_arena_release_upper_bound() {
3698 ::google::protobuf::internal::TSanWrite(&_impl_);
3699 // @@protoc_insertion_point(field_release:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3701 _impl_._has_bits_[0] &= ~0x00000002u;
3703 _impl_.upper_bound_ = nullptr;
3704 return temp;
3705}
3706inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_upper_bound() {
3707 ::google::protobuf::internal::TSanWrite(&_impl_);
3708 if (_impl_.upper_bound_ == nullptr) {
3709 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearExpressionProto>(GetArena());
3710 _impl_.upper_bound_ = reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*>(p);
3711 }
3712 return _impl_.upper_bound_;
3713}
3714inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_upper_bound()
3715 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3716 _impl_._has_bits_[0] |= 0x00000002u;
3717 ::operations_research::math_opt::LinearExpressionProto* _msg = _internal_mutable_upper_bound();
3718 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3719 return _msg;
3720}
3722 ::google::protobuf::Arena* message_arena = GetArena();
3723 ::google::protobuf::internal::TSanWrite(&_impl_);
3724 if (message_arena == nullptr) {
3725 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.upper_bound_);
3726 }
3727
3728 if (value != nullptr) {
3729 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3730 if (message_arena != submessage_arena) {
3731 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3732 }
3733 _impl_._has_bits_[0] |= 0x00000002u;
3734 } else {
3735 _impl_._has_bits_[0] &= ~0x00000002u;
3737
3738 _impl_.upper_bound_ = reinterpret_cast<::operations_research::math_opt::LinearExpressionProto*>(value);
3739 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SecondOrderConeConstraintProto.upper_bound)
3740}
3741
3742// repeated .operations_research.math_opt.LinearExpressionProto arguments_to_norm = 2;
3743inline int SecondOrderConeConstraintProto::_internal_arguments_to_norm_size() const {
3744 return _internal_arguments_to_norm().size();
3745}
3747 return _internal_arguments_to_norm_size();
3748}
3749inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_arguments_to_norm(int index)
3750 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3751 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3752 return _internal_mutable_arguments_to_norm()->Mutable(index);
3753}
3754inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_arguments_to_norm()
3755 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3756 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3757 ::google::protobuf::internal::TSanWrite(&_impl_);
3758 return _internal_mutable_arguments_to_norm();
3759}
3760inline const ::operations_research::math_opt::LinearExpressionProto& SecondOrderConeConstraintProto::arguments_to_norm(int index) const
3761 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3762 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3763 return _internal_arguments_to_norm().Get(index);
3764}
3765inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SecondOrderConeConstraintProto::add_arguments_to_norm()
3766 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3767 ::google::protobuf::internal::TSanWrite(&_impl_);
3768 ::operations_research::math_opt::LinearExpressionProto* _add = _internal_mutable_arguments_to_norm()->Add();
3769 // @@protoc_insertion_point(field_add:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3770 return _add;
3772inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& SecondOrderConeConstraintProto::arguments_to_norm() const
3773 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3774 // @@protoc_insertion_point(field_list:operations_research.math_opt.SecondOrderConeConstraintProto.arguments_to_norm)
3775 return _internal_arguments_to_norm();
3777inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3778SecondOrderConeConstraintProto::_internal_arguments_to_norm() const {
3779 ::google::protobuf::internal::TSanRead(&_impl_);
3780 return _impl_.arguments_to_norm_;
3781}
3782inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3783SecondOrderConeConstraintProto::_internal_mutable_arguments_to_norm() {
3784 ::google::protobuf::internal::TSanRead(&_impl_);
3785 return &_impl_.arguments_to_norm_;
3786}
3788// string name = 3;
3790 ::google::protobuf::internal::TSanWrite(&_impl_);
3791 _impl_.name_.ClearToEmpty();
3792 _impl_._has_bits_[0] &= ~0x00000001u;
3793}
3794inline const ::std::string& SecondOrderConeConstraintProto::name() const
3795 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3796 // @@protoc_insertion_point(field_get:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3797 return _internal_name();
3798}
3799template <typename Arg_, typename... Args_>
3800PROTOBUF_ALWAYS_INLINE void SecondOrderConeConstraintProto::set_name(Arg_&& arg, Args_... args) {
3801 ::google::protobuf::internal::TSanWrite(&_impl_);
3802 _impl_._has_bits_[0] |= 0x00000001u;
3803 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3804 // @@protoc_insertion_point(field_set:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3805}
3806inline ::std::string* PROTOBUF_NONNULL SecondOrderConeConstraintProto::mutable_name()
3807 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3808 ::std::string* _s = _internal_mutable_name();
3809 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3810 return _s;
3812inline const ::std::string& SecondOrderConeConstraintProto::_internal_name() const {
3813 ::google::protobuf::internal::TSanRead(&_impl_);
3814 return _impl_.name_.Get();
3815}
3816inline void SecondOrderConeConstraintProto::_internal_set_name(const ::std::string& value) {
3817 ::google::protobuf::internal::TSanWrite(&_impl_);
3818 _impl_._has_bits_[0] |= 0x00000001u;
3819 _impl_.name_.Set(value, GetArena());
3820}
3821inline ::std::string* PROTOBUF_NONNULL SecondOrderConeConstraintProto::_internal_mutable_name() {
3822 ::google::protobuf::internal::TSanWrite(&_impl_);
3823 _impl_._has_bits_[0] |= 0x00000001u;
3824 return _impl_.name_.Mutable( GetArena());
3825}
3826inline ::std::string* PROTOBUF_NULLABLE SecondOrderConeConstraintProto::release_name() {
3827 ::google::protobuf::internal::TSanWrite(&_impl_);
3828 // @@protoc_insertion_point(field_release:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3829 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
3830 return nullptr;
3831 }
3832 _impl_._has_bits_[0] &= ~0x00000001u;
3833 auto* released = _impl_.name_.Release();
3834 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3835 _impl_.name_.Set("", GetArena());
3836 }
3837 return released;
3838}
3839inline void SecondOrderConeConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3840 ::google::protobuf::internal::TSanWrite(&_impl_);
3841 if (value != nullptr) {
3842 _impl_._has_bits_[0] |= 0x00000001u;
3843 } else {
3844 _impl_._has_bits_[0] &= ~0x00000001u;
3845 }
3846 _impl_.name_.SetAllocated(value, GetArena());
3847 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3848 _impl_.name_.Set("", GetArena());
3849 }
3850 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SecondOrderConeConstraintProto.name)
3851}
3852
3853// -------------------------------------------------------------------
3854
3855// SosConstraintProto
3856
3857// repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
3858inline int SosConstraintProto::_internal_expressions_size() const {
3859 return _internal_expressions().size();
3860}
3862 return _internal_expressions_size();
3863}
3864inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SosConstraintProto::mutable_expressions(int index)
3865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3866 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SosConstraintProto.expressions)
3867 return _internal_mutable_expressions()->Mutable(index);
3868}
3869inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL SosConstraintProto::mutable_expressions()
3870 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3871 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintProto.expressions)
3872 ::google::protobuf::internal::TSanWrite(&_impl_);
3873 return _internal_mutable_expressions();
3874}
3875inline const ::operations_research::math_opt::LinearExpressionProto& SosConstraintProto::expressions(int index) const
3876 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3877 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.expressions)
3878 return _internal_expressions().Get(index);
3879}
3880inline ::operations_research::math_opt::LinearExpressionProto* PROTOBUF_NONNULL SosConstraintProto::add_expressions()
3881 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3882 ::google::protobuf::internal::TSanWrite(&_impl_);
3883 ::operations_research::math_opt::LinearExpressionProto* _add = _internal_mutable_expressions()->Add();
3884 // @@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintProto.expressions)
3885 return _add;
3886}
3887inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>& SosConstraintProto::expressions() const
3888 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3889 // @@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintProto.expressions)
3890 return _internal_expressions();
3891}
3892inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>&
3893SosConstraintProto::_internal_expressions() const {
3894 ::google::protobuf::internal::TSanRead(&_impl_);
3895 return _impl_.expressions_;
3896}
3897inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto>* PROTOBUF_NONNULL
3898SosConstraintProto::_internal_mutable_expressions() {
3899 ::google::protobuf::internal::TSanRead(&_impl_);
3900 return &_impl_.expressions_;
3901}
3902
3903// repeated double weights = 2;
3904inline int SosConstraintProto::_internal_weights_size() const {
3905 return _internal_weights().size();
3906}
3907inline int SosConstraintProto::weights_size() const {
3908 return _internal_weights_size();
3909}
3911 ::google::protobuf::internal::TSanWrite(&_impl_);
3912 _impl_.weights_.Clear();
3913}
3914inline double SosConstraintProto::weights(int index) const {
3915 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.weights)
3916 return _internal_weights().Get(index);
3917}
3918inline void SosConstraintProto::set_weights(int index, double value) {
3919 _internal_mutable_weights()->Set(index, value);
3920 // @@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintProto.weights)
3921}
3922inline void SosConstraintProto::add_weights(double value) {
3923 ::google::protobuf::internal::TSanWrite(&_impl_);
3924 _internal_mutable_weights()->Add(value);
3925 // @@protoc_insertion_point(field_add:operations_research.math_opt.SosConstraintProto.weights)
3926}
3927inline const ::google::protobuf::RepeatedField<double>& SosConstraintProto::weights() const
3928 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3929 // @@protoc_insertion_point(field_list:operations_research.math_opt.SosConstraintProto.weights)
3930 return _internal_weights();
3931}
3932inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL SosConstraintProto::mutable_weights()
3933 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3934 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.SosConstraintProto.weights)
3935 ::google::protobuf::internal::TSanWrite(&_impl_);
3936 return _internal_mutable_weights();
3938inline const ::google::protobuf::RepeatedField<double>&
3939SosConstraintProto::_internal_weights() const {
3940 ::google::protobuf::internal::TSanRead(&_impl_);
3941 return _impl_.weights_;
3942}
3943inline ::google::protobuf::RepeatedField<double>* PROTOBUF_NONNULL
3944SosConstraintProto::_internal_mutable_weights() {
3945 ::google::protobuf::internal::TSanRead(&_impl_);
3946 return &_impl_.weights_;
3947}
3948
3949// string name = 3;
3951 ::google::protobuf::internal::TSanWrite(&_impl_);
3952 _impl_.name_.ClearToEmpty();
3953 _impl_._has_bits_[0] &= ~0x00000001u;
3954}
3955inline const ::std::string& SosConstraintProto::name() const
3956 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3957 // @@protoc_insertion_point(field_get:operations_research.math_opt.SosConstraintProto.name)
3958 return _internal_name();
3959}
3960template <typename Arg_, typename... Args_>
3961PROTOBUF_ALWAYS_INLINE void SosConstraintProto::set_name(Arg_&& arg, Args_... args) {
3962 ::google::protobuf::internal::TSanWrite(&_impl_);
3963 _impl_._has_bits_[0] |= 0x00000001u;
3964 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3965 // @@protoc_insertion_point(field_set:operations_research.math_opt.SosConstraintProto.name)
3966}
3967inline ::std::string* PROTOBUF_NONNULL SosConstraintProto::mutable_name()
3968 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3969 ::std::string* _s = _internal_mutable_name();
3970 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.SosConstraintProto.name)
3971 return _s;
3972}
3973inline const ::std::string& SosConstraintProto::_internal_name() const {
3974 ::google::protobuf::internal::TSanRead(&_impl_);
3975 return _impl_.name_.Get();
3976}
3977inline void SosConstraintProto::_internal_set_name(const ::std::string& value) {
3978 ::google::protobuf::internal::TSanWrite(&_impl_);
3979 _impl_._has_bits_[0] |= 0x00000001u;
3980 _impl_.name_.Set(value, GetArena());
3981}
3982inline ::std::string* PROTOBUF_NONNULL SosConstraintProto::_internal_mutable_name() {
3983 ::google::protobuf::internal::TSanWrite(&_impl_);
3984 _impl_._has_bits_[0] |= 0x00000001u;
3985 return _impl_.name_.Mutable( GetArena());
3986}
3987inline ::std::string* PROTOBUF_NULLABLE SosConstraintProto::release_name() {
3988 ::google::protobuf::internal::TSanWrite(&_impl_);
3989 // @@protoc_insertion_point(field_release:operations_research.math_opt.SosConstraintProto.name)
3990 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
3991 return nullptr;
3992 }
3993 _impl_._has_bits_[0] &= ~0x00000001u;
3994 auto* released = _impl_.name_.Release();
3995 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3996 _impl_.name_.Set("", GetArena());
3997 }
3998 return released;
3999}
4000inline void SosConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
4001 ::google::protobuf::internal::TSanWrite(&_impl_);
4002 if (value != nullptr) {
4003 _impl_._has_bits_[0] |= 0x00000001u;
4004 } else {
4005 _impl_._has_bits_[0] &= ~0x00000001u;
4006 }
4007 _impl_.name_.SetAllocated(value, GetArena());
4008 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4009 _impl_.name_.Set("", GetArena());
4011 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.SosConstraintProto.name)
4012}
4013
4014// -------------------------------------------------------------------
4015
4016// IndicatorConstraintProto
4017
4018// optional int64 indicator_id = 1;
4020 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4021 return value;
4022}
4024 ::google::protobuf::internal::TSanWrite(&_impl_);
4025 _impl_.indicator_id_ = ::int64_t{0};
4026 _impl_._has_bits_[0] &= ~0x00000004u;
4027}
4028inline ::int64_t IndicatorConstraintProto::indicator_id() const {
4029 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.indicator_id)
4030 return _internal_indicator_id();
4031}
4032inline void IndicatorConstraintProto::set_indicator_id(::int64_t value) {
4033 _internal_set_indicator_id(value);
4034 _impl_._has_bits_[0] |= 0x00000004u;
4035 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.indicator_id)
4036}
4037inline ::int64_t IndicatorConstraintProto::_internal_indicator_id() const {
4038 ::google::protobuf::internal::TSanRead(&_impl_);
4039 return _impl_.indicator_id_;
4040}
4041inline void IndicatorConstraintProto::_internal_set_indicator_id(::int64_t value) {
4042 ::google::protobuf::internal::TSanWrite(&_impl_);
4043 _impl_.indicator_id_ = value;
4044}
4045
4046// bool activate_on_zero = 6;
4048 ::google::protobuf::internal::TSanWrite(&_impl_);
4049 _impl_.activate_on_zero_ = false;
4050 _impl_._has_bits_[0] &= ~0x00000020u;
4051}
4053 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.activate_on_zero)
4054 return _internal_activate_on_zero();
4055}
4057 _internal_set_activate_on_zero(value);
4058 _impl_._has_bits_[0] |= 0x00000020u;
4059 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.activate_on_zero)
4060}
4061inline bool IndicatorConstraintProto::_internal_activate_on_zero() const {
4062 ::google::protobuf::internal::TSanRead(&_impl_);
4063 return _impl_.activate_on_zero_;
4064}
4065inline void IndicatorConstraintProto::_internal_set_activate_on_zero(bool value) {
4066 ::google::protobuf::internal::TSanWrite(&_impl_);
4067 _impl_.activate_on_zero_ = value;
4068}
4069
4070// .operations_research.math_opt.SparseDoubleVectorProto expression = 2;
4072 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4073 PROTOBUF_ASSUME(!value || _impl_.expression_ != nullptr);
4074 return value;
4075}
4076inline const ::operations_research::math_opt::SparseDoubleVectorProto& IndicatorConstraintProto::_internal_expression() const {
4077 ::google::protobuf::internal::TSanRead(&_impl_);
4078 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.expression_;
4081inline const ::operations_research::math_opt::SparseDoubleVectorProto& IndicatorConstraintProto::expression() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4082 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.expression)
4083 return _internal_expression();
4084}
4087 ::google::protobuf::internal::TSanWrite(&_impl_);
4088 if (GetArena() == nullptr) {
4089 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expression_);
4090 }
4091 _impl_.expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
4092 if (value != nullptr) {
4093 _impl_._has_bits_[0] |= 0x00000002u;
4094 } else {
4095 _impl_._has_bits_[0] &= ~0x00000002u;
4096 }
4097 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.IndicatorConstraintProto.expression)
4098}
4099inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE IndicatorConstraintProto::release_expression() {
4100 ::google::protobuf::internal::TSanWrite(&_impl_);
4101
4102 _impl_._has_bits_[0] &= ~0x00000002u;
4103 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.expression_;
4104 _impl_.expression_ = nullptr;
4105 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4106 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4107 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4108 if (GetArena() == nullptr) {
4109 delete old;
4110 }
4111 } else {
4112 if (GetArena() != nullptr) {
4113 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4114 }
4115 }
4116 return released;
4117}
4118inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE IndicatorConstraintProto::unsafe_arena_release_expression() {
4119 ::google::protobuf::internal::TSanWrite(&_impl_);
4120 // @@protoc_insertion_point(field_release:operations_research.math_opt.IndicatorConstraintProto.expression)
4121
4122 _impl_._has_bits_[0] &= ~0x00000002u;
4124 _impl_.expression_ = nullptr;
4125 return temp;
4126}
4127inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_expression() {
4128 ::google::protobuf::internal::TSanWrite(&_impl_);
4129 if (_impl_.expression_ == nullptr) {
4130 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
4131 _impl_.expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
4132 }
4133 return _impl_.expression_;
4134}
4135inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL IndicatorConstraintProto::mutable_expression()
4136 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4137 _impl_._has_bits_[0] |= 0x00000002u;
4138 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_expression();
4139 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.IndicatorConstraintProto.expression)
4140 return _msg;
4141}
4143 ::google::protobuf::Arena* message_arena = GetArena();
4144 ::google::protobuf::internal::TSanWrite(&_impl_);
4145 if (message_arena == nullptr) {
4146 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expression_);
4147 }
4148
4149 if (value != nullptr) {
4150 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4151 if (message_arena != submessage_arena) {
4152 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4153 }
4154 _impl_._has_bits_[0] |= 0x00000002u;
4155 } else {
4156 _impl_._has_bits_[0] &= ~0x00000002u;
4157 }
4158
4159 _impl_.expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
4160 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.IndicatorConstraintProto.expression)
4161}
4162
4163// double lower_bound = 3;
4165 ::google::protobuf::internal::TSanWrite(&_impl_);
4166 _impl_.lower_bound_ = 0;
4167 _impl_._has_bits_[0] &= ~0x00000008u;
4168}
4169inline double IndicatorConstraintProto::lower_bound() const {
4170 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.lower_bound)
4171 return _internal_lower_bound();
4172}
4173inline void IndicatorConstraintProto::set_lower_bound(double value) {
4174 _internal_set_lower_bound(value);
4175 _impl_._has_bits_[0] |= 0x00000008u;
4176 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.lower_bound)
4177}
4178inline double IndicatorConstraintProto::_internal_lower_bound() const {
4179 ::google::protobuf::internal::TSanRead(&_impl_);
4180 return _impl_.lower_bound_;
4181}
4182inline void IndicatorConstraintProto::_internal_set_lower_bound(double value) {
4183 ::google::protobuf::internal::TSanWrite(&_impl_);
4184 _impl_.lower_bound_ = value;
4185}
4186
4187// double upper_bound = 4;
4189 ::google::protobuf::internal::TSanWrite(&_impl_);
4190 _impl_.upper_bound_ = 0;
4191 _impl_._has_bits_[0] &= ~0x00000010u;
4192}
4194 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.upper_bound)
4195 return _internal_upper_bound();
4196}
4198 _internal_set_upper_bound(value);
4199 _impl_._has_bits_[0] |= 0x00000010u;
4200 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.upper_bound)
4201}
4202inline double IndicatorConstraintProto::_internal_upper_bound() const {
4203 ::google::protobuf::internal::TSanRead(&_impl_);
4204 return _impl_.upper_bound_;
4205}
4206inline void IndicatorConstraintProto::_internal_set_upper_bound(double value) {
4207 ::google::protobuf::internal::TSanWrite(&_impl_);
4208 _impl_.upper_bound_ = value;
4209}
4210
4211// string name = 5;
4213 ::google::protobuf::internal::TSanWrite(&_impl_);
4214 _impl_.name_.ClearToEmpty();
4215 _impl_._has_bits_[0] &= ~0x00000001u;
4216}
4217inline const ::std::string& IndicatorConstraintProto::name() const
4218 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4219 // @@protoc_insertion_point(field_get:operations_research.math_opt.IndicatorConstraintProto.name)
4220 return _internal_name();
4222template <typename Arg_, typename... Args_>
4223PROTOBUF_ALWAYS_INLINE void IndicatorConstraintProto::set_name(Arg_&& arg, Args_... args) {
4224 ::google::protobuf::internal::TSanWrite(&_impl_);
4225 _impl_._has_bits_[0] |= 0x00000001u;
4226 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
4227 // @@protoc_insertion_point(field_set:operations_research.math_opt.IndicatorConstraintProto.name)
4228}
4229inline ::std::string* PROTOBUF_NONNULL IndicatorConstraintProto::mutable_name()
4230 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4231 ::std::string* _s = _internal_mutable_name();
4232 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.IndicatorConstraintProto.name)
4233 return _s;
4234}
4235inline const ::std::string& IndicatorConstraintProto::_internal_name() const {
4236 ::google::protobuf::internal::TSanRead(&_impl_);
4237 return _impl_.name_.Get();
4238}
4239inline void IndicatorConstraintProto::_internal_set_name(const ::std::string& value) {
4240 ::google::protobuf::internal::TSanWrite(&_impl_);
4241 _impl_._has_bits_[0] |= 0x00000001u;
4242 _impl_.name_.Set(value, GetArena());
4243}
4244inline ::std::string* PROTOBUF_NONNULL IndicatorConstraintProto::_internal_mutable_name() {
4245 ::google::protobuf::internal::TSanWrite(&_impl_);
4246 _impl_._has_bits_[0] |= 0x00000001u;
4247 return _impl_.name_.Mutable( GetArena());
4248}
4249inline ::std::string* PROTOBUF_NULLABLE IndicatorConstraintProto::release_name() {
4250 ::google::protobuf::internal::TSanWrite(&_impl_);
4251 // @@protoc_insertion_point(field_release:operations_research.math_opt.IndicatorConstraintProto.name)
4252 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
4253 return nullptr;
4254 }
4255 _impl_._has_bits_[0] &= ~0x00000001u;
4256 auto* released = _impl_.name_.Release();
4257 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4258 _impl_.name_.Set("", GetArena());
4259 }
4260 return released;
4261}
4262inline void IndicatorConstraintProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
4263 ::google::protobuf::internal::TSanWrite(&_impl_);
4264 if (value != nullptr) {
4265 _impl_._has_bits_[0] |= 0x00000001u;
4266 } else {
4267 _impl_._has_bits_[0] &= ~0x00000001u;
4268 }
4269 _impl_.name_.SetAllocated(value, GetArena());
4270 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4271 _impl_.name_.Set("", GetArena());
4272 }
4273 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.IndicatorConstraintProto.name)
4274}
4275
4276// -------------------------------------------------------------------
4277
4278// -------------------------------------------------------------------
4279
4280// -------------------------------------------------------------------
4281
4282// -------------------------------------------------------------------
4283
4284// -------------------------------------------------------------------
4285
4286// -------------------------------------------------------------------
4287
4288// -------------------------------------------------------------------
4289
4290// ModelProto
4291
4292// string name = 1;
4293inline void ModelProto::clear_name() {
4294 ::google::protobuf::internal::TSanWrite(&_impl_);
4295 _impl_.name_.ClearToEmpty();
4296 _impl_._has_bits_[0] &= ~0x00000001u;
4297}
4298inline const ::std::string& ModelProto::name() const
4299 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4300 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.name)
4301 return _internal_name();
4302}
4303template <typename Arg_, typename... Args_>
4304PROTOBUF_ALWAYS_INLINE void ModelProto::set_name(Arg_&& arg, Args_... args) {
4305 ::google::protobuf::internal::TSanWrite(&_impl_);
4306 _impl_._has_bits_[0] |= 0x00000001u;
4307 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
4308 // @@protoc_insertion_point(field_set:operations_research.math_opt.ModelProto.name)
4309}
4310inline ::std::string* PROTOBUF_NONNULL ModelProto::mutable_name()
4311 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4312 ::std::string* _s = _internal_mutable_name();
4313 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.name)
4314 return _s;
4315}
4316inline const ::std::string& ModelProto::_internal_name() const {
4317 ::google::protobuf::internal::TSanRead(&_impl_);
4318 return _impl_.name_.Get();
4319}
4320inline void ModelProto::_internal_set_name(const ::std::string& value) {
4321 ::google::protobuf::internal::TSanWrite(&_impl_);
4322 _impl_._has_bits_[0] |= 0x00000001u;
4323 _impl_.name_.Set(value, GetArena());
4325inline ::std::string* PROTOBUF_NONNULL ModelProto::_internal_mutable_name() {
4326 ::google::protobuf::internal::TSanWrite(&_impl_);
4327 _impl_._has_bits_[0] |= 0x00000001u;
4328 return _impl_.name_.Mutable( GetArena());
4330inline ::std::string* PROTOBUF_NULLABLE ModelProto::release_name() {
4331 ::google::protobuf::internal::TSanWrite(&_impl_);
4332 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.name)
4333 if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
4334 return nullptr;
4336 _impl_._has_bits_[0] &= ~0x00000001u;
4337 auto* released = _impl_.name_.Release();
4338 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
4339 _impl_.name_.Set("", GetArena());
4340 }
4341 return released;
4342}
4343inline void ModelProto::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
4344 ::google::protobuf::internal::TSanWrite(&_impl_);
4345 if (value != nullptr) {
4346 _impl_._has_bits_[0] |= 0x00000001u;
4347 } else {
4348 _impl_._has_bits_[0] &= ~0x00000001u;
4349 }
4350 _impl_.name_.SetAllocated(value, GetArena());
4351 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
4352 _impl_.name_.Set("", GetArena());
4353 }
4354 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.name)
4355}
4356
4357// .operations_research.math_opt.VariablesProto variables = 2;
4358inline bool ModelProto::has_variables() const {
4359 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4360 PROTOBUF_ASSUME(!value || _impl_.variables_ != nullptr);
4361 return value;
4362}
4363inline void ModelProto::clear_variables() {
4364 ::google::protobuf::internal::TSanWrite(&_impl_);
4365 if (_impl_.variables_ != nullptr) _impl_.variables_->Clear();
4366 _impl_._has_bits_[0] &= ~0x00000002u;
4367}
4368inline const ::operations_research::math_opt::VariablesProto& ModelProto::_internal_variables() const {
4369 ::google::protobuf::internal::TSanRead(&_impl_);
4370 const ::operations_research::math_opt::VariablesProto* p = _impl_.variables_;
4372}
4373inline const ::operations_research::math_opt::VariablesProto& ModelProto::variables() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4374 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.variables)
4375 return _internal_variables();
4376}
4378 ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE value) {
4379 ::google::protobuf::internal::TSanWrite(&_impl_);
4380 if (GetArena() == nullptr) {
4381 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variables_);
4382 }
4383 _impl_.variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4384 if (value != nullptr) {
4385 _impl_._has_bits_[0] |= 0x00000002u;
4386 } else {
4387 _impl_._has_bits_[0] &= ~0x00000002u;
4388 }
4389 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.variables)
4390}
4391inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelProto::release_variables() {
4392 ::google::protobuf::internal::TSanWrite(&_impl_);
4393
4394 _impl_._has_bits_[0] &= ~0x00000002u;
4396 _impl_.variables_ = nullptr;
4397 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4398 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4399 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4400 if (GetArena() == nullptr) {
4401 delete old;
4402 }
4403 } else {
4404 if (GetArena() != nullptr) {
4405 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4406 }
4407 }
4408 return released;
4409}
4410inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_variables() {
4411 ::google::protobuf::internal::TSanWrite(&_impl_);
4412 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.variables)
4413
4414 _impl_._has_bits_[0] &= ~0x00000002u;
4415 ::operations_research::math_opt::VariablesProto* temp = _impl_.variables_;
4416 _impl_.variables_ = nullptr;
4417 return temp;
4418}
4419inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_variables() {
4420 ::google::protobuf::internal::TSanWrite(&_impl_);
4421 if (_impl_.variables_ == nullptr) {
4422 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::VariablesProto>(GetArena());
4423 _impl_.variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(p);
4424 }
4425 return _impl_.variables_;
4426}
4427inline ::operations_research::math_opt::VariablesProto* PROTOBUF_NONNULL ModelProto::mutable_variables()
4428 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4429 _impl_._has_bits_[0] |= 0x00000002u;
4430 ::operations_research::math_opt::VariablesProto* _msg = _internal_mutable_variables();
4431 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.variables)
4432 return _msg;
4433}
4435 ::google::protobuf::Arena* message_arena = GetArena();
4436 ::google::protobuf::internal::TSanWrite(&_impl_);
4437 if (message_arena == nullptr) {
4438 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.variables_);
4439 }
4440
4441 if (value != nullptr) {
4442 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4443 if (message_arena != submessage_arena) {
4444 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4445 }
4446 _impl_._has_bits_[0] |= 0x00000002u;
4447 } else {
4448 _impl_._has_bits_[0] &= ~0x00000002u;
4449 }
4450
4451 _impl_.variables_ = reinterpret_cast<::operations_research::math_opt::VariablesProto*>(value);
4452 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.variables)
4453}
4454
4455// .operations_research.math_opt.ObjectiveProto objective = 3;
4456inline bool ModelProto::has_objective() const {
4457 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4458 PROTOBUF_ASSUME(!value || _impl_.objective_ != nullptr);
4459 return value;
4460}
4461inline void ModelProto::clear_objective() {
4462 ::google::protobuf::internal::TSanWrite(&_impl_);
4463 if (_impl_.objective_ != nullptr) _impl_.objective_->Clear();
4464 _impl_._has_bits_[0] &= ~0x00000004u;
4466inline const ::operations_research::math_opt::ObjectiveProto& ModelProto::_internal_objective() const {
4467 ::google::protobuf::internal::TSanRead(&_impl_);
4468 const ::operations_research::math_opt::ObjectiveProto* p = _impl_.objective_;
4470}
4471inline const ::operations_research::math_opt::ObjectiveProto& ModelProto::objective() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4472 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.objective)
4473 return _internal_objective();
4474}
4476 ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE value) {
4477 ::google::protobuf::internal::TSanWrite(&_impl_);
4478 if (GetArena() == nullptr) {
4479 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_);
4480 }
4481 _impl_.objective_ = reinterpret_cast<::operations_research::math_opt::ObjectiveProto*>(value);
4482 if (value != nullptr) {
4483 _impl_._has_bits_[0] |= 0x00000004u;
4484 } else {
4485 _impl_._has_bits_[0] &= ~0x00000004u;
4486 }
4487 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.objective)
4488}
4489inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE ModelProto::release_objective() {
4490 ::google::protobuf::internal::TSanWrite(&_impl_);
4491
4492 _impl_._has_bits_[0] &= ~0x00000004u;
4494 _impl_.objective_ = nullptr;
4495 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4496 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4497 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4498 if (GetArena() == nullptr) {
4499 delete old;
4500 }
4501 } else {
4502 if (GetArena() != nullptr) {
4503 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4504 }
4505 }
4506 return released;
4507}
4508inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_objective() {
4509 ::google::protobuf::internal::TSanWrite(&_impl_);
4510 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.objective)
4511
4512 _impl_._has_bits_[0] &= ~0x00000004u;
4513 ::operations_research::math_opt::ObjectiveProto* temp = _impl_.objective_;
4514 _impl_.objective_ = nullptr;
4515 return temp;
4516}
4517inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_objective() {
4518 ::google::protobuf::internal::TSanWrite(&_impl_);
4519 if (_impl_.objective_ == nullptr) {
4520 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::ObjectiveProto>(GetArena());
4521 _impl_.objective_ = reinterpret_cast<::operations_research::math_opt::ObjectiveProto*>(p);
4522 }
4523 return _impl_.objective_;
4524}
4525inline ::operations_research::math_opt::ObjectiveProto* PROTOBUF_NONNULL ModelProto::mutable_objective()
4526 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4527 _impl_._has_bits_[0] |= 0x00000004u;
4528 ::operations_research::math_opt::ObjectiveProto* _msg = _internal_mutable_objective();
4529 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.objective)
4530 return _msg;
4531}
4533 ::google::protobuf::Arena* message_arena = GetArena();
4534 ::google::protobuf::internal::TSanWrite(&_impl_);
4535 if (message_arena == nullptr) {
4536 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.objective_);
4537 }
4538
4539 if (value != nullptr) {
4540 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4541 if (message_arena != submessage_arena) {
4542 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4543 }
4544 _impl_._has_bits_[0] |= 0x00000004u;
4545 } else {
4546 _impl_._has_bits_[0] &= ~0x00000004u;
4547 }
4548
4549 _impl_.objective_ = reinterpret_cast<::operations_research::math_opt::ObjectiveProto*>(value);
4550 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.objective)
4551}
4552
4553// map<int64, .operations_research.math_opt.ObjectiveProto> auxiliary_objectives = 10;
4554inline int ModelProto::_internal_auxiliary_objectives_size() const {
4555 return _internal_auxiliary_objectives().size();
4557inline int ModelProto::auxiliary_objectives_size() const {
4558 return _internal_auxiliary_objectives_size();
4559}
4561 ::google::protobuf::internal::TSanWrite(&_impl_);
4562 _impl_.auxiliary_objectives_.Clear();
4564inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& ModelProto::_internal_auxiliary_objectives() const {
4565 ::google::protobuf::internal::TSanRead(&_impl_);
4566 return _impl_.auxiliary_objectives_.GetMap();
4567}
4568inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>& ModelProto::auxiliary_objectives() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4569 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.auxiliary_objectives)
4570 return _internal_auxiliary_objectives();
4571}
4572inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_auxiliary_objectives() {
4573 ::google::protobuf::internal::TSanWrite(&_impl_);
4574 return _impl_.auxiliary_objectives_.MutableMap();
4575}
4576inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto>* PROTOBUF_NONNULL ModelProto::mutable_auxiliary_objectives()
4577 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4578 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.auxiliary_objectives)
4579 return _internal_mutable_auxiliary_objectives();
4580}
4581
4582// .operations_research.math_opt.LinearConstraintsProto linear_constraints = 4;
4583inline bool ModelProto::has_linear_constraints() const {
4584 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4585 PROTOBUF_ASSUME(!value || _impl_.linear_constraints_ != nullptr);
4586 return value;
4587}
4589 ::google::protobuf::internal::TSanWrite(&_impl_);
4590 if (_impl_.linear_constraints_ != nullptr) _impl_.linear_constraints_->Clear();
4591 _impl_._has_bits_[0] &= ~0x00000008u;
4592}
4593inline const ::operations_research::math_opt::LinearConstraintsProto& ModelProto::_internal_linear_constraints() const {
4594 ::google::protobuf::internal::TSanRead(&_impl_);
4595 const ::operations_research::math_opt::LinearConstraintsProto* p = _impl_.linear_constraints_;
4597}
4598inline const ::operations_research::math_opt::LinearConstraintsProto& ModelProto::linear_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4599 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.linear_constraints)
4600 return _internal_linear_constraints();
4601}
4604 ::google::protobuf::internal::TSanWrite(&_impl_);
4605 if (GetArena() == nullptr) {
4606 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraints_);
4608 _impl_.linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4609 if (value != nullptr) {
4610 _impl_._has_bits_[0] |= 0x00000008u;
4611 } else {
4612 _impl_._has_bits_[0] &= ~0x00000008u;
4613 }
4614 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.linear_constraints)
4615}
4616inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelProto::release_linear_constraints() {
4617 ::google::protobuf::internal::TSanWrite(&_impl_);
4618
4619 _impl_._has_bits_[0] &= ~0x00000008u;
4621 _impl_.linear_constraints_ = nullptr;
4622 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4623 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4624 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4625 if (GetArena() == nullptr) {
4626 delete old;
4627 }
4628 } else {
4629 if (GetArena() != nullptr) {
4630 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4631 }
4632 }
4633 return released;
4634}
4635inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_linear_constraints() {
4636 ::google::protobuf::internal::TSanWrite(&_impl_);
4637 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.linear_constraints)
4638
4639 _impl_._has_bits_[0] &= ~0x00000008u;
4640 ::operations_research::math_opt::LinearConstraintsProto* temp = _impl_.linear_constraints_;
4641 _impl_.linear_constraints_ = nullptr;
4642 return temp;
4643}
4644inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraints() {
4645 ::google::protobuf::internal::TSanWrite(&_impl_);
4646 if (_impl_.linear_constraints_ == nullptr) {
4647 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::LinearConstraintsProto>(GetArena());
4648 _impl_.linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(p);
4649 }
4650 return _impl_.linear_constraints_;
4651}
4652inline ::operations_research::math_opt::LinearConstraintsProto* PROTOBUF_NONNULL ModelProto::mutable_linear_constraints()
4653 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4654 _impl_._has_bits_[0] |= 0x00000008u;
4655 ::operations_research::math_opt::LinearConstraintsProto* _msg = _internal_mutable_linear_constraints();
4656 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.linear_constraints)
4657 return _msg;
4658}
4660 ::google::protobuf::Arena* message_arena = GetArena();
4661 ::google::protobuf::internal::TSanWrite(&_impl_);
4662 if (message_arena == nullptr) {
4663 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraints_);
4664 }
4665
4666 if (value != nullptr) {
4667 ::google::protobuf::Arena* submessage_arena = value->GetArena();
4668 if (message_arena != submessage_arena) {
4669 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4670 }
4671 _impl_._has_bits_[0] |= 0x00000008u;
4672 } else {
4673 _impl_._has_bits_[0] &= ~0x00000008u;
4674 }
4675
4676 _impl_.linear_constraints_ = reinterpret_cast<::operations_research::math_opt::LinearConstraintsProto*>(value);
4677 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.linear_constraints)
4678}
4679
4680// .operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix = 5;
4681inline bool ModelProto::has_linear_constraint_matrix() const {
4682 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
4683 PROTOBUF_ASSUME(!value || _impl_.linear_constraint_matrix_ != nullptr);
4684 return value;
4685}
4686inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelProto::_internal_linear_constraint_matrix() const {
4687 ::google::protobuf::internal::TSanRead(&_impl_);
4688 const ::operations_research::math_opt::SparseDoubleMatrixProto* p = _impl_.linear_constraint_matrix_;
4691inline const ::operations_research::math_opt::SparseDoubleMatrixProto& ModelProto::linear_constraint_matrix() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4692 // @@protoc_insertion_point(field_get:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4693 return _internal_linear_constraint_matrix();
4694}
4697 ::google::protobuf::internal::TSanWrite(&_impl_);
4698 if (GetArena() == nullptr) {
4699 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_);
4700 }
4701 _impl_.linear_constraint_matrix_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4702 if (value != nullptr) {
4703 _impl_._has_bits_[0] |= 0x00000010u;
4704 } else {
4705 _impl_._has_bits_[0] &= ~0x00000010u;
4706 }
4707 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4708}
4709inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelProto::release_linear_constraint_matrix() {
4710 ::google::protobuf::internal::TSanWrite(&_impl_);
4711
4712 _impl_._has_bits_[0] &= ~0x00000010u;
4713 ::operations_research::math_opt::SparseDoubleMatrixProto* released = _impl_.linear_constraint_matrix_;
4714 _impl_.linear_constraint_matrix_ = nullptr;
4715 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
4716 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
4717 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4718 if (GetArena() == nullptr) {
4719 delete old;
4720 }
4721 } else {
4722 if (GetArena() != nullptr) {
4723 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
4724 }
4725 }
4726 return released;
4727}
4728inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NULLABLE ModelProto::unsafe_arena_release_linear_constraint_matrix() {
4729 ::google::protobuf::internal::TSanWrite(&_impl_);
4730 // @@protoc_insertion_point(field_release:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4731
4732 _impl_._has_bits_[0] &= ~0x00000010u;
4733 ::operations_research::math_opt::SparseDoubleMatrixProto* temp = _impl_.linear_constraint_matrix_;
4734 _impl_.linear_constraint_matrix_ = nullptr;
4735 return temp;
4736}
4737inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelProto::_internal_mutable_linear_constraint_matrix() {
4738 ::google::protobuf::internal::TSanWrite(&_impl_);
4739 if (_impl_.linear_constraint_matrix_ == nullptr) {
4740 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleMatrixProto>(GetArena());
4741 _impl_.linear_constraint_matrix_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(p);
4742 }
4743 return _impl_.linear_constraint_matrix_;
4744}
4745inline ::operations_research::math_opt::SparseDoubleMatrixProto* PROTOBUF_NONNULL ModelProto::mutable_linear_constraint_matrix()
4746 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4747 _impl_._has_bits_[0] |= 0x00000010u;
4748 ::operations_research::math_opt::SparseDoubleMatrixProto* _msg = _internal_mutable_linear_constraint_matrix();
4749 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4750 return _msg;
4751}
4753 ::google::protobuf::Arena* message_arena = GetArena();
4754 ::google::protobuf::internal::TSanWrite(&_impl_);
4755 if (message_arena == nullptr) {
4756 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_constraint_matrix_);
4757 }
4758
4759 if (value != nullptr) {
4760 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
4761 if (message_arena != submessage_arena) {
4762 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
4763 }
4764 _impl_._has_bits_[0] |= 0x00000010u;
4765 } else {
4766 _impl_._has_bits_[0] &= ~0x00000010u;
4767 }
4768
4769 _impl_.linear_constraint_matrix_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleMatrixProto*>(value);
4770 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.ModelProto.linear_constraint_matrix)
4771}
4772
4773// map<int64, .operations_research.math_opt.QuadraticConstraintProto> quadratic_constraints = 6;
4774inline int ModelProto::_internal_quadratic_constraints_size() const {
4775 return _internal_quadratic_constraints().size();
4777inline int ModelProto::quadratic_constraints_size() const {
4778 return _internal_quadratic_constraints_size();
4779}
4781 ::google::protobuf::internal::TSanWrite(&_impl_);
4782 _impl_.quadratic_constraints_.Clear();
4784inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& ModelProto::_internal_quadratic_constraints() const {
4785 ::google::protobuf::internal::TSanRead(&_impl_);
4786 return _impl_.quadratic_constraints_.GetMap();
4787}
4788inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>& ModelProto::quadratic_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4789 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.quadratic_constraints)
4790 return _internal_quadratic_constraints();
4791}
4792inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_quadratic_constraints() {
4793 ::google::protobuf::internal::TSanWrite(&_impl_);
4794 return _impl_.quadratic_constraints_.MutableMap();
4795}
4796inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_quadratic_constraints()
4797 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4798 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.quadratic_constraints)
4799 return _internal_mutable_quadratic_constraints();
4800}
4801
4802// map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> second_order_cone_constraints = 11;
4803inline int ModelProto::_internal_second_order_cone_constraints_size() const {
4804 return _internal_second_order_cone_constraints().size();
4805}
4807 return _internal_second_order_cone_constraints_size();
4810 ::google::protobuf::internal::TSanWrite(&_impl_);
4811 _impl_.second_order_cone_constraints_.Clear();
4812}
4813inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& ModelProto::_internal_second_order_cone_constraints() const {
4814 ::google::protobuf::internal::TSanRead(&_impl_);
4815 return _impl_.second_order_cone_constraints_.GetMap();
4816}
4817inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>& ModelProto::second_order_cone_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4818 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.second_order_cone_constraints)
4819 return _internal_second_order_cone_constraints();
4820}
4821inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_second_order_cone_constraints() {
4822 ::google::protobuf::internal::TSanWrite(&_impl_);
4823 return _impl_.second_order_cone_constraints_.MutableMap();
4824}
4825inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_second_order_cone_constraints()
4826 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4827 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.second_order_cone_constraints)
4828 return _internal_mutable_second_order_cone_constraints();
4829}
4830
4831// map<int64, .operations_research.math_opt.SosConstraintProto> sos1_constraints = 7;
4832inline int ModelProto::_internal_sos1_constraints_size() const {
4833 return _internal_sos1_constraints().size();
4834}
4835inline int ModelProto::sos1_constraints_size() const {
4836 return _internal_sos1_constraints_size();
4839 ::google::protobuf::internal::TSanWrite(&_impl_);
4840 _impl_.sos1_constraints_.Clear();
4841}
4842inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos1_constraints() const {
4843 ::google::protobuf::internal::TSanRead(&_impl_);
4844 return _impl_.sos1_constraints_.GetMap();
4845}
4846inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::sos1_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4847 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.sos1_constraints)
4848 return _internal_sos1_constraints();
4849}
4850inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos1_constraints() {
4851 ::google::protobuf::internal::TSanWrite(&_impl_);
4852 return _impl_.sos1_constraints_.MutableMap();
4853}
4854inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_sos1_constraints()
4855 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4856 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.sos1_constraints)
4857 return _internal_mutable_sos1_constraints();
4858}
4859
4860// map<int64, .operations_research.math_opt.SosConstraintProto> sos2_constraints = 8;
4861inline int ModelProto::_internal_sos2_constraints_size() const {
4862 return _internal_sos2_constraints().size();
4863}
4864inline int ModelProto::sos2_constraints_size() const {
4865 return _internal_sos2_constraints_size();
4868 ::google::protobuf::internal::TSanWrite(&_impl_);
4869 _impl_.sos2_constraints_.Clear();
4870}
4871inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::_internal_sos2_constraints() const {
4872 ::google::protobuf::internal::TSanRead(&_impl_);
4873 return _impl_.sos2_constraints_.GetMap();
4874}
4875inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>& ModelProto::sos2_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4876 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.sos2_constraints)
4877 return _internal_sos2_constraints();
4878}
4879inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_sos2_constraints() {
4880 ::google::protobuf::internal::TSanWrite(&_impl_);
4881 return _impl_.sos2_constraints_.MutableMap();
4882}
4883inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_sos2_constraints()
4884 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4885 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.sos2_constraints)
4886 return _internal_mutable_sos2_constraints();
4887}
4888
4889// map<int64, .operations_research.math_opt.IndicatorConstraintProto> indicator_constraints = 9;
4890inline int ModelProto::_internal_indicator_constraints_size() const {
4891 return _internal_indicator_constraints().size();
4892}
4893inline int ModelProto::indicator_constraints_size() const {
4894 return _internal_indicator_constraints_size();
4897 ::google::protobuf::internal::TSanWrite(&_impl_);
4898 _impl_.indicator_constraints_.Clear();
4899}
4900inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& ModelProto::_internal_indicator_constraints() const {
4901 ::google::protobuf::internal::TSanRead(&_impl_);
4902 return _impl_.indicator_constraints_.GetMap();
4903}
4904inline const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>& ModelProto::indicator_constraints() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
4905 // @@protoc_insertion_point(field_map:operations_research.math_opt.ModelProto.indicator_constraints)
4906 return _internal_indicator_constraints();
4907}
4908inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL ModelProto::_internal_mutable_indicator_constraints() {
4909 ::google::protobuf::internal::TSanWrite(&_impl_);
4910 return _impl_.indicator_constraints_.MutableMap();
4911}
4912inline ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto>* PROTOBUF_NONNULL ModelProto::mutable_indicator_constraints()
4913 ABSL_ATTRIBUTE_LIFETIME_BOUND {
4914 // @@protoc_insertion_point(field_mutable_map:operations_research.math_opt.ModelProto.indicator_constraints)
4915 return _internal_mutable_indicator_constraints();
4916}
4917
4918#ifdef __GNUC__
4919#pragma GCC diagnostic pop
4920#endif // __GNUC__
4921
4922// @@protoc_insertion_point(namespace_scope)
4923} // namespace math_opt
4924} // namespace operations_research
4925
4926
4927// @@protoc_insertion_point(global_scope)
4928
4929#include "google/protobuf/port_undef.inc"
4930
4931#endif // ortools_2fmath_5fopt_2fmodel_2eproto_2epb_2eh
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition model.pb.h:1716
void unsafe_arena_set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4109
void UnsafeArenaSwap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1739
void set_allocated_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4166
::google::protobuf::Metadata GetMetadata() const
Definition model.pb.cc:3425
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_expression()
Definition model.pb.h:4142
friend void swap(IndicatorConstraintProto &a, IndicatorConstraintProto &b)
Definition model.pb.h:1730
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:1719
static const IndicatorConstraintProto & default_instance()
Definition model.pb.h:1725
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:4286
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:4273
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_expression()
Definition model.pb.h:4123
bool has_expression() const
.operations_research.math_opt.SparseDoubleVectorProto expression = 2;
Definition model.pb.h:4095
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_expression()
Definition model.pb.h:4159
const ::operations_research::math_opt::SparseDoubleVectorProto & expression() const
Definition model.pb.h:4105
IndicatorConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition model.pb.h:1747
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:4253
bool has_indicator_id() const
optional int64 indicator_id = 1;
Definition model.pb.h:4043
void clear_activate_on_zero()
bool activate_on_zero = 6;
Definition model.pb.h:4071
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:1707
void Swap(IndicatorConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1731
friend class ::google::protobuf::MessageLite
Definition model.pb.h:652
void Swap(LinearConstraintsProto *PROTOBUF_NONNULL other)
Definition model.pb.h:476
::std::string *PROTOBUF_NONNULL add_names()
Definition model.pb.h:3309
const ::google::protobuf::RepeatedField< double > & upper_bounds() const
Definition model.pb.h:3276
void MergeFrom(const LinearConstraintsProto &from)
Definition model.pb.h:498
int lower_bounds_size() const
repeated double lower_bounds = 2;
Definition model.pb.h:3210
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:1714
int ids_size() const
repeated int64 ids = 1;
Definition model.pb.h:3164
const ::std::string & names(int index) const
Definition model.pb.h:3316
void CopyFrom(const LinearConstraintsProto &from)
Definition model.pb.cc:1831
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds()
Definition model.pb.h:3235
::std::string *PROTOBUF_NONNULL mutable_names(int index)
Definition model.pb.h:3321
static const LinearConstraintsProto & default_instance()
Definition model.pb.h:470
void set_names(int index, Arg_ &&value, Args_... args)
Definition model.pb.h:3327
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
Definition model.pb.cc:1694
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds()
Definition model.pb.h:3281
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:3189
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:3340
int upper_bounds_size() const
repeated double upper_bounds = 3;
Definition model.pb.h:3256
int names_size() const
repeated string names = 4;
Definition model.pb.h:3302
const ::google::protobuf::RepeatedField< double > & lower_bounds() const
Definition model.pb.h:3230
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names()
Definition model.pb.h:3346
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
Definition model.pb.h:3184
::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:2102
::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:2062
::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:2022
::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:1982
static constexpr const void *PROTOBUF_NONNULL internal_default_instance()
Definition model.pb.h:1950
::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:1942
void Swap(ModelProto *PROTOBUF_NONNULL other)
Definition model.pb.h:2234
int sos1_constraints_size() const
map<int64, .operations_research.math_opt.SosConstraintProto> sos1_constraints = 7;
Definition model.pb.h:4866
int second_order_cone_constraints_size() const
map<int64, .operations_research.math_opt.SecondOrderConeConstraintProto> second_order_cone_constraint...
Definition model.pb.h:4837
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraints()
Definition model.pb.h:4666
void unsafe_arena_set_allocated_objective(::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4506
::operations_research::math_opt::VariablesProto *PROTOBUF_NONNULL mutable_variables()
Definition model.pb.h:4458
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_linear_constraint_matrix()
Definition model.pb.h:4776
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:4361
void unsafe_arena_set_allocated_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4633
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_linear_constraint_matrix()
Definition model.pb.h:4740
int auxiliary_objectives_size() const
map<int64, .operations_research.math_opt.ObjectiveProto> auxiliary_objectives = 10;
Definition model.pb.h:4588
void set_allocated_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4465
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE release_variables()
Definition model.pb.h:4422
const ::operations_research::math_opt::VariablesProto & variables() const
Definition model.pb.h:4404
ModelProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition model.pb.h:2250
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_sos2_constraints()
Definition model.pb.h:4914
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > & quadratic_constraints() const
Definition model.pb.h:4819
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition model.pb.h:2225
const ::operations_research::math_opt::LinearConstraintsProto & linear_constraints() const
Definition model.pb.h:4629
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NONNULL mutable_objective()
Definition model.pb.h:4556
void set_name(Arg_ &&arg, Args_... args)
int quadratic_constraints_size() const
map<int64, .operations_research.math_opt.QuadraticConstraintProto> quadratic_constraints = 6;
Definition model.pb.h:4808
bool has_objective() const
.operations_research.math_opt.ObjectiveProto objective = 3;
Definition model.pb.h:4487
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE release_objective()
Definition model.pb.h:4520
const ::std::string & name() const
Definition model.pb.h:4329
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE release_linear_constraints()
Definition model.pb.h:4647
int indicator_constraints_size() const
map<int64, .operations_research.math_opt.IndicatorConstraintProto> indicator_constraints = 9;
Definition model.pb.h:4924
::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE unsafe_arena_release_variables()
Definition model.pb.h:4441
bool has_linear_constraints() const
.operations_research.math_opt.LinearConstraintsProto linear_constraints = 4;
Definition model.pb.h:4614
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & sos1_constraints() const
Definition model.pb.h:4877
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:4341
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > *PROTOBUF_NONNULL mutable_auxiliary_objectives()
Definition model.pb.h:4607
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:2210
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > & sos2_constraints() const
Definition model.pb.h:4906
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > & second_order_cone_constraints() const
Definition model.pb.h:4848
void set_allocated_objective(::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4563
::operations_research::math_opt::ObjectiveProto *PROTOBUF_NULLABLE unsafe_arena_release_objective()
Definition model.pb.h:4539
const ::operations_research::math_opt::ObjectiveProto & objective() const
Definition model.pb.h:4502
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::QuadraticConstraintProto > *PROTOBUF_NONNULL mutable_quadratic_constraints()
Definition model.pb.h:4827
void unsafe_arena_set_allocated_linear_constraint_matrix(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4726
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:4369
bool has_linear_constraint_matrix() const
.operations_research.math_opt.SparseDoubleMatrixProto linear_constraint_matrix = 5;
Definition model.pb.h:4712
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SecondOrderConeConstraintProto > *PROTOBUF_NONNULL mutable_second_order_cone_constraints()
Definition model.pb.h:4856
const ::operations_research::math_opt::SparseDoubleMatrixProto & linear_constraint_matrix() const
Definition model.pb.h:4722
::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NONNULL mutable_linear_constraints()
Definition model.pb.h:4683
void set_allocated_linear_constraints(::operations_research::math_opt::LinearConstraintsProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4690
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > *PROTOBUF_NONNULL mutable_indicator_constraints()
Definition model.pb.h:4943
void set_allocated_linear_constraint_matrix(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4783
void unsafe_arena_set_allocated_variables(::operations_research::math_opt::VariablesProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:4408
bool has_variables() const
.operations_research.math_opt.VariablesProto variables = 2;
Definition model.pb.h:4389
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::ObjectiveProto > & auxiliary_objectives() const
Definition model.pb.h:4599
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:4374
const ::google::protobuf::Map<::int64_t, ::operations_research::math_opt::IndicatorConstraintProto > & indicator_constraints() const
Definition model.pb.h:4935
int sos2_constraints_size() const
map<int64, .operations_research.math_opt.SosConstraintProto> sos2_constraints = 8;
Definition model.pb.h:4895
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_constraint_matrix()
Definition model.pb.h:4759
static const ModelProto & default_instance()
Definition model.pb.h:2228
::google::protobuf::Map<::int64_t, ::operations_research::math_opt::SosConstraintProto > *PROTOBUF_NONNULL mutable_sos1_constraints()
Definition model.pb.h:4885
void set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:2952
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_coefficients() const
Definition model.pb.h:2891
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_coefficients()
Definition model.pb.h:3002
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_coefficients()
Definition model.pb.h:2945
bool has_quadratic_coefficients() const
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_coefficients = 4;
Definition model.pb.h:2974
friend void swap(ObjectiveProto &a, ObjectiveProto &b)
Definition model.pb.h:1463
bool has_linear_coefficients() const
.operations_research.math_opt.SparseDoubleVectorProto linear_coefficients = 3;
Definition model.pb.h:2881
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_coefficients()
Definition model.pb.h:3038
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:3117
::google::protobuf::Metadata GetMetadata() const
Definition model.pb.cc:1503
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:3104
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_coefficients()
Definition model.pb.h:2909
void clear_priority()
int64 priority = 6;
Definition model.pb.h:3132
void unsafe_arena_set_allocated_linear_coefficients(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:2895
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:2988
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:1296
static const ObjectiveProto & default_instance()
Definition model.pb.h:1458
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_coefficients()
Definition model.pb.h:3021
void set_allocated_quadratic_coefficients(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3045
void Swap(ObjectiveProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1464
static constexpr auto InternalGenerateClassData_()
Definition model.pb.cc:1155
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:3084
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_coefficients() const
Definition model.pb.h:2984
const ::std::string & name() const
Definition model.pb.h:3072
ObjectiveProto & operator=(const ObjectiveProto &from)
Definition model.pb.h:1426
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_coefficients()
Definition model.pb.h:2928
friend class ::google::protobuf::Arena
Definition model.pb.h:1642
ObjectiveProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition model.pb.h:1480
void MergeFrom(const QuadraticConstraintProto &from)
Definition model.pb.h:1231
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:1197
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition model.pb.cc:1948
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NONNULL mutable_quadratic_terms()
Definition model.pb.h:3525
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:3619
QuadraticConstraintProto & operator=(const QuadraticConstraintProto &from)
Definition model.pb.h:1171
void CopyFrom(const QuadraticConstraintProto &from)
Definition model.pb.cc:2256
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_terms()
Definition model.pb.h:3396
bool has_linear_terms() const
.operations_research.math_opt.SparseDoubleVectorProto linear_terms = 1;
Definition model.pb.h:3368
QuadraticConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition model.pb.h:1225
static const QuadraticConstraintProto & default_instance()
Definition model.pb.h:1203
void set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3439
void unsafe_arena_set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3475
const ::operations_research::math_opt::SparseDoubleMatrixProto & quadratic_terms() const
Definition model.pb.h:3471
void unsafe_arena_set_allocated_linear_terms(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3382
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_terms() const
Definition model.pb.h:3378
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:2093
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:3639
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE release_quadratic_terms()
Definition model.pb.h:3489
::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE unsafe_arena_release_quadratic_terms()
Definition model.pb.h:3508
::google::protobuf::Metadata GetMetadata() const
Definition model.pb.cc:2279
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_terms()
Definition model.pb.h:3415
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:3652
bool has_quadratic_terms() const
.operations_research.math_opt.SparseDoubleMatrixProto quadratic_terms = 2;
Definition model.pb.h:3461
void set_allocated_quadratic_terms(::operations_research::math_opt::SparseDoubleMatrixProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3532
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
Definition model.pb.h:1200
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_terms()
Definition model.pb.h:3432
void Swap(QuadraticConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:1209
void Swap(SecondOrderConeConstraintProto *PROTOBUF_NONNULL other)
Definition model.pb.h:976
SecondOrderConeConstraintProto & operator=(const SecondOrderConeConstraintProto &from)
Definition model.pb.h:938
friend void swap(SecondOrderConeConstraintProto &a, SecondOrderConeConstraintProto &b)
Definition model.pb.h:975
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_upper_bound()
Definition model.pb.h:3736
void MergeFrom(const SecondOrderConeConstraintProto &from)
Definition model.pb.h:998
SecondOrderConeConstraintProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
Definition model.pb.h:992
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & arguments_to_norm() const
Definition model.pb.h:3794
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE release_upper_bound()
Definition model.pb.h:3700
const ::operations_research::math_opt::LinearExpressionProto & upper_bound() const
Definition model.pb.h:3682
int arguments_to_norm_size() const
repeated .operations_research.math_opt.LinearExpressionProto arguments_to_norm = 2;
Definition model.pb.h:3768
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL mutable_arguments_to_norm(int index)
Definition model.pb.h:3771
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
Definition model.pb.h:964
void CopyFrom(const SecondOrderConeConstraintProto &from)
Definition model.pb.cc:2624
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
Definition model.pb.cc:2364
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
Definition model.pb.h:952
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
Definition model.pb.h:961
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:3861
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:2499
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL add_arguments_to_norm()
Definition model.pb.h:3787
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > *PROTOBUF_NONNULL mutable_arguments_to_norm()
Definition model.pb.h:3776
bool has_upper_bound() const
.operations_research.math_opt.LinearExpressionProto upper_bound = 1;
Definition model.pb.h:3672
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE unsafe_arena_release_upper_bound()
Definition model.pb.h:3719
void unsafe_arena_set_allocated_upper_bound(::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3686
const ::operations_research::math_opt::LinearExpressionProto & arguments_to_norm(int index) const
Definition model.pb.h:3782
void set_allocated_upper_bound(::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NULLABLE value)
Definition model.pb.h:3743
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
Definition model.pb.cc:2413
friend class ::google::protobuf::MessageLite
Definition model.pb.h:889
::std::string *PROTOBUF_NULLABLE release_name()
Definition model.pb.h:4010
void set_allocated_name(::std::string *PROTOBUF_NULLABLE value)
Definition model.pb.h:4023
const ::operations_research::math_opt::LinearExpressionProto & expressions(int index) const
Definition model.pb.h:3898
::std::string *PROTOBUF_NONNULL mutable_name()
Definition model.pb.h:3990
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
int expressions_size() const
repeated .operations_research.math_opt.LinearExpressionProto expressions = 1;
Definition model.pb.h:3884
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::LinearExpressionProto > & expressions() const
Definition model.pb.h:3910
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
Definition model.pb.cc:2852
void set_weights(int index, double value)
Definition model.pb.h:3941
::operations_research::math_opt::LinearExpressionProto *PROTOBUF_NONNULL add_expressions()
Definition model.pb.h:3903
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:3955
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:3892
const ::google::protobuf::RepeatedField< double > & weights() const
Definition model.pb.h:3950
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:3887
SosConstraintProto & operator=(const SosConstraintProto &from)
Definition model.pb.h:702
int weights_size() const
repeated double weights = 2;
Definition model.pb.h:3930
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:2969
void set_lower_bounds(int index, double value)
Definition model.pb.h:2640
VariablesProto(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, VariablesProto &&from) noexcept
Definition model.pb.h:259
void set_integers(int index, bool value)
Definition model.pb.h:2732
friend class ::google::protobuf::MessageLite
Definition model.pb.h:387
void CopyFrom(const VariablesProto &from)
Definition model.pb.cc:1028
const ::std::string & names(int index) const
Definition model.pb.h:2781
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:2649
::std::string *PROTOBUF_NONNULL add_names()
Definition model.pb.h:2774
int integers_size() const
repeated bool integers = 4;
Definition model.pb.h:2721
const ::google::protobuf::RepeatedField< bool > & integers() const
Definition model.pb.h:2741
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_upper_bounds()
Definition model.pb.h:2700
int upper_bounds_size() const
repeated double upper_bounds = 3;
Definition model.pb.h:2675
void set_ids(int index, ::int64_t value)
Definition model.pb.h:2594
::google::protobuf::RepeatedField< double > *PROTOBUF_NONNULL mutable_lower_bounds()
Definition model.pb.h:2654
int lower_bounds_size() const
repeated double lower_bounds = 2;
Definition model.pb.h:2629
VariablesProto & operator=(const VariablesProto &from)
Definition model.pb.h:154
::google::protobuf::RepeatedField< bool > *PROTOBUF_NONNULL mutable_integers()
Definition model.pb.h:2746
VariablesProto(const VariablesProto &from)
Definition model.pb.h:151
const ::google::protobuf::RepeatedField< double > & upper_bounds() const
Definition model.pb.h:2695
const ::google::protobuf::RepeatedPtrField<::std::string > & names() const
Definition model.pb.h:2805
void set_upper_bounds(int index, double value)
Definition model.pb.h:2686
::std::string *PROTOBUF_NONNULL mutable_names(int index)
Definition model.pb.h:2786
void set_names(int index, Arg_ &&value, Args_... args)
Definition model.pb.h:2792
::google::protobuf::RepeatedField<::int64_t > *PROTOBUF_NONNULL mutable_ids()
Definition model.pb.h:2608
const ::google::protobuf::RepeatedField<::int64_t > & ids() const
Definition model.pb.h:2603
::google::protobuf::RepeatedPtrField<::std::string > *PROTOBUF_NONNULL mutable_names()
Definition model.pb.h:2811
void Swap(VariablesProto *PROTOBUF_NONNULL other)
Definition model.pb.h:192
int ids_size() const
repeated int64 ids = 1;
Definition model.pb.h:2583
int names_size() const
repeated string names = 5;
Definition model.pb.h:2767
PROTOBUF_CONSTEXPR VariablesProto(::google::protobuf::internal::ConstantInitialized)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fmodel_2eproto
Definition model.pb.cc:653
::absl::string_view GetAnyMessageName()
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 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:2409
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_AuxiliaryObjectivesEntry_DoNotUse_class_data_
Definition model.pb.cc:3474
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:3668
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:1179
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:801
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull LinearConstraintsProto_class_data_
Definition model.pb.cc:1630
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:3862
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:4204
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_QuadraticConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:3571
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:3959
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull SosConstraintProto_class_data_
Definition model.pb.cc:2768
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull QuadraticConstraintProto_class_data_
Definition model.pb.cc:1981
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:3112
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ModelProto_Sos1ConstraintsEntry_DoNotUse_class_data_
Definition model.pb.cc:3765
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
In SWIG mode, we don't want anything besides these top-level includes.
Internal implementation detail – do not use these members.
Definition model.pb.h:54