Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
callback.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/callback.proto
4// Protobuf C++ Version: 6.33.1
5
6#ifndef ortools_2fmath_5fopt_2fcallback_2eproto_2epb_2eh
7#define ortools_2fmath_5fopt_2fcallback_2eproto_2epb_2eh
8
9#include <limits>
10#include <string>
11#include <type_traits>
12#include <utility>
13
14#include "google/protobuf/runtime_version.h"
15#if PROTOBUF_VERSION != 6033001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/generated_enum_reflection.h"
32#include "google/protobuf/unknown_field_set.h"
33#include "google/protobuf/duration.pb.h"
35// @@protoc_insertion_point(includes)
36
37// Must be included last.
38#include "google/protobuf/port_def.inc"
39
40#define PROTOBUF_INTERNAL_EXPORT_ortools_2fmath_5fopt_2fcallback_2eproto OR_PROTO_DLL
41
42namespace google {
43namespace protobuf {
44namespace internal {
45template <typename T>
46::absl::string_view GetAnyMessageName();
47} // namespace internal
48} // namespace protobuf
49} // namespace google
50
51// Internal implementation detail -- do not use these members.
53 static const ::uint32_t offsets[];
54};
55extern "C" {
56OR_PROTO_DLL extern const ::google::protobuf::internal::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto;
57} // extern "C"
58namespace operations_research {
59namespace math_opt {
60enum CallbackEventProto : int;
61OR_PROTO_DLL extern const uint32_t CallbackEventProto_internal_data_[];
65OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_;
69OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_;
73OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_;
77OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_;
81OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_;
85OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_;
89OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_;
93OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_;
94} // namespace math_opt
95} // namespace operations_research
96namespace google {
97namespace protobuf {
98template <>
99internal::EnumTraitsT<::operations_research::math_opt::CallbackEventProto_internal_data_>
100 internal::EnumTraitsImpl::value<::operations_research::math_opt::CallbackEventProto>;
101} // namespace protobuf
102} // namespace google
103
104namespace operations_research {
105namespace math_opt {
119
120OR_PROTO_DLL extern const uint32_t CallbackEventProto_internal_data_[];
122 static_cast<CallbackEventProto>(0);
124 static_cast<CallbackEventProto>(6);
125inline bool CallbackEventProto_IsValid(int value) {
126 return 0 <= value && value <= 6;
127}
128inline constexpr int CallbackEventProto_ARRAYSIZE = 6 + 1;
129OR_PROTO_DLL const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL CallbackEventProto_descriptor();
130template <typename T>
131const ::std::string& CallbackEventProto_Name(T value) {
132 static_assert(::std::is_same<T, CallbackEventProto>::value ||
133 ::std::is_integral<T>::value,
134 "Incorrect type passed to CallbackEventProto_Name().");
135 return CallbackEventProto_Name(static_cast<CallbackEventProto>(value));
136}
137template <>
138inline const ::std::string& CallbackEventProto_Name(CallbackEventProto value) {
139 return ::google::protobuf::internal::NameOfDenseEnum<CallbackEventProto_descriptor, 0, 6>(
140 static_cast<int>(value));
141}
143 ::absl::string_view name, CallbackEventProto* PROTOBUF_NONNULL value) {
144 return ::google::protobuf::internal::ParseNamedEnum<CallbackEventProto>(CallbackEventProto_descriptor(), name,
145 value);
146}
147
148// ===================================================================
149
150
151// -------------------------------------------------------------------
152
153class OR_PROTO_DLL CallbackDataProto_SimplexStats final : public ::google::protobuf::Message
154/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.SimplexStats) */ {
155 public:
157 ~CallbackDataProto_SimplexStats() PROTOBUF_FINAL;
159#if defined(PROTOBUF_CUSTOM_VTABLE)
160 void operator delete(CallbackDataProto_SimplexStats* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
161 SharedDtor(*msg);
162 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_SimplexStats));
163 }
164#endif
165
166 template <typename = void>
167 explicit PROTOBUF_CONSTEXPR CallbackDataProto_SimplexStats(::google::protobuf::internal::ConstantInitialized);
168
171 : CallbackDataProto_SimplexStats(nullptr, ::std::move(from)) {}
174 return *this;
175 }
176 inline CallbackDataProto_SimplexStats& operator=(CallbackDataProto_SimplexStats&& from) noexcept {
177 if (this == &from) return *this;
178 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
179 InternalSwap(&from);
180 } else {
181 CopyFrom(from);
182 }
183 return *this;
184 }
185
186 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
187 ABSL_ATTRIBUTE_LIFETIME_BOUND {
188 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
189 }
190 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
191 ABSL_ATTRIBUTE_LIFETIME_BOUND {
192 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
193 }
194
195 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
196 return GetDescriptor();
198 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
199 return default_instance().GetMetadata().descriptor;
201 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
202 return default_instance().GetMetadata().reflection;
204 static const CallbackDataProto_SimplexStats& default_instance() {
205 return *reinterpret_cast<const CallbackDataProto_SimplexStats*>(
207 }
208 static constexpr int kIndexInFileMessages = 1;
209 friend void swap(CallbackDataProto_SimplexStats& a, CallbackDataProto_SimplexStats& b) { a.Swap(&b); }
210 inline void Swap(CallbackDataProto_SimplexStats* PROTOBUF_NONNULL other) {
211 if (other == this) return;
212 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
213 InternalSwap(other);
214 } else {
215 ::google::protobuf::internal::GenericSwap(this, other);
216 }
217 }
218 void UnsafeArenaSwap(CallbackDataProto_SimplexStats* PROTOBUF_NONNULL other) {
219 if (other == this) return;
220 ABSL_DCHECK(GetArena() == other->GetArena());
221 InternalSwap(other);
222 }
223
224 // implements Message ----------------------------------------------
225
226 CallbackDataProto_SimplexStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
227 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_SimplexStats>(arena);
229 using ::google::protobuf::Message::CopyFrom;
230 void CopyFrom(const CallbackDataProto_SimplexStats& from);
231 using ::google::protobuf::Message::MergeFrom;
232 void MergeFrom(const CallbackDataProto_SimplexStats& from) { CallbackDataProto_SimplexStats::MergeImpl(*this, from); }
233
234 private:
235 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
236 const ::google::protobuf::MessageLite& from_msg);
237
238 public:
239 bool IsInitialized() const {
240 return true;
242 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
243 #if defined(PROTOBUF_CUSTOM_VTABLE)
244 private:
245 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
246 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
247 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
248 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
249
250 public:
251 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
252 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
253 ::uint8_t* PROTOBUF_NONNULL target,
254 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
255 return _InternalSerialize(*this, target, stream);
256 }
257 #else // PROTOBUF_CUSTOM_VTABLE
258 ::size_t ByteSizeLong() const final;
259 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
260 ::uint8_t* PROTOBUF_NONNULL target,
261 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
262 #endif // PROTOBUF_CUSTOM_VTABLE
263 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
264
265 private:
266 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
267 static void SharedDtor(MessageLite& self);
268 void InternalSwap(CallbackDataProto_SimplexStats* PROTOBUF_NONNULL other);
269 private:
270 template <typename T>
271 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
272 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.SimplexStats"; }
273
274 explicit CallbackDataProto_SimplexStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
275 CallbackDataProto_SimplexStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_SimplexStats& from);
277 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_SimplexStats&& from) noexcept
279 *this = ::std::move(from);
280 }
281 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
282 static void* PROTOBUF_NONNULL PlacementNew_(
283 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
284 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
285 static constexpr auto InternalNewImpl_();
286
287 public:
288 static constexpr auto InternalGenerateClassData_();
289
290 ::google::protobuf::Metadata GetMetadata() const;
291 // nested types ----------------------------------------------------
292
293 // accessors -------------------------------------------------------
294 enum : int {
295 kIterationCountFieldNumber = 1,
296 kObjectiveValueFieldNumber = 2,
300 };
301 // optional int64 iteration_count = 1;
302 bool has_iteration_count() const;
303 void clear_iteration_count() ;
304 ::int64_t iteration_count() const;
305 void set_iteration_count(::int64_t value);
306
307 private:
308 ::int64_t _internal_iteration_count() const;
309 void _internal_set_iteration_count(::int64_t value);
310
311 public:
312 // optional double objective_value = 2;
313 bool has_objective_value() const;
314 void clear_objective_value() ;
315 double objective_value() const;
316 void set_objective_value(double value);
317
318 private:
319 double _internal_objective_value() const;
320 void _internal_set_objective_value(double value);
321
322 public:
323 // optional double primal_infeasibility = 3;
324 bool has_primal_infeasibility() const;
326 double primal_infeasibility() const;
327 void set_primal_infeasibility(double value);
328
329 private:
330 double _internal_primal_infeasibility() const;
331 void _internal_set_primal_infeasibility(double value);
332
333 public:
334 // optional double dual_infeasibility = 4;
335 bool has_dual_infeasibility() const;
337 double dual_infeasibility() const;
338 void set_dual_infeasibility(double value);
339
340 private:
341 double _internal_dual_infeasibility() const;
342 void _internal_set_dual_infeasibility(double value);
343
344 public:
345 // optional bool is_pertubated = 5;
346 bool has_is_pertubated() const;
347 void clear_is_pertubated() ;
348 bool is_pertubated() const;
349 void set_is_pertubated(bool value);
350
351 private:
352 bool _internal_is_pertubated() const;
353 void _internal_set_is_pertubated(bool value);
354
355 public:
356 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.SimplexStats)
357 private:
358 class _Internal;
359 friend class ::google::protobuf::internal::TcParser;
360 static const ::google::protobuf::internal::TcParseTable<3, 5,
361 0, 0,
362 2>
363 _table_;
364
365 friend class ::google::protobuf::MessageLite;
366 friend class ::google::protobuf::Arena;
367 template <typename T>
368 friend class ::google::protobuf::Arena::InternalHelper;
369 using InternalArenaConstructable_ = void;
370 using DestructorSkippable_ = void;
371 struct Impl_ {
372 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
373 inline explicit Impl_(
374 ::google::protobuf::internal::InternalVisibility visibility,
375 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
376 inline explicit Impl_(
377 ::google::protobuf::internal::InternalVisibility visibility,
378 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
379 const CallbackDataProto_SimplexStats& from_msg);
380 ::google::protobuf::internal::HasBits<1> _has_bits_;
381 ::google::protobuf::internal::CachedSize _cached_size_;
382 ::int64_t iteration_count_;
383 double objective_value_;
384 double primal_infeasibility_;
385 double dual_infeasibility_;
386 bool is_pertubated_;
387 PROTOBUF_TSAN_DECLARE_MEMBER
388 };
389 union { Impl_ _impl_; };
390 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
393OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_;
394// -------------------------------------------------------------------
395
396class OR_PROTO_DLL CallbackDataProto_PresolveStats final : public ::google::protobuf::Message
397/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.PresolveStats) */ {
398 public:
400 ~CallbackDataProto_PresolveStats() PROTOBUF_FINAL;
401
402#if defined(PROTOBUF_CUSTOM_VTABLE)
403 void operator delete(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
404 SharedDtor(*msg);
405 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_PresolveStats));
406 }
407#endif
408
409 template <typename = void>
410 explicit PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStats(::google::protobuf::internal::ConstantInitialized);
411
414 : CallbackDataProto_PresolveStats(nullptr, ::std::move(from)) {}
416 CopyFrom(from);
417 return *this;
419 inline CallbackDataProto_PresolveStats& operator=(CallbackDataProto_PresolveStats&& from) noexcept {
420 if (this == &from) return *this;
421 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
422 InternalSwap(&from);
423 } else {
424 CopyFrom(from);
425 }
426 return *this;
427 }
428
429 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
430 ABSL_ATTRIBUTE_LIFETIME_BOUND {
431 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
433 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
434 ABSL_ATTRIBUTE_LIFETIME_BOUND {
435 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
437
438 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
439 return GetDescriptor();
440 }
441 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
442 return default_instance().GetMetadata().descriptor;
443 }
444 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
445 return default_instance().GetMetadata().reflection;
446 }
451 static constexpr int kIndexInFileMessages = 0;
453 inline void Swap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other) {
454 if (other == this) return;
455 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
456 InternalSwap(other);
457 } else {
458 ::google::protobuf::internal::GenericSwap(this, other);
459 }
460 }
461 void UnsafeArenaSwap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other) {
462 if (other == this) return;
463 ABSL_DCHECK(GetArena() == other->GetArena());
464 InternalSwap(other);
465 }
466
467 // implements Message ----------------------------------------------
468
469 CallbackDataProto_PresolveStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
470 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_PresolveStats>(arena);
471 }
472 using ::google::protobuf::Message::CopyFrom;
474 using ::google::protobuf::Message::MergeFrom;
475 void MergeFrom(const CallbackDataProto_PresolveStats& from) { CallbackDataProto_PresolveStats::MergeImpl(*this, from); }
476
477 private:
478 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
479 const ::google::protobuf::MessageLite& from_msg);
480
481 public:
482 bool IsInitialized() const {
483 return true;
484 }
485 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
486 #if defined(PROTOBUF_CUSTOM_VTABLE)
487 private:
488 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
489 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
490 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
491 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
492
493 public:
494 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
495 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
496 ::uint8_t* PROTOBUF_NONNULL target,
497 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
498 return _InternalSerialize(*this, target, stream);
499 }
500 #else // PROTOBUF_CUSTOM_VTABLE
501 ::size_t ByteSizeLong() const final;
502 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
503 ::uint8_t* PROTOBUF_NONNULL target,
504 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
505 #endif // PROTOBUF_CUSTOM_VTABLE
506 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
507
508 private:
509 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
510 static void SharedDtor(MessageLite& self);
511 void InternalSwap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other);
512 private:
513 template <typename T>
514 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
515 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.PresolveStats"; }
516
517 explicit CallbackDataProto_PresolveStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
518 CallbackDataProto_PresolveStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_PresolveStats& from);
520 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_PresolveStats&& from) noexcept
522 *this = ::std::move(from);
523 }
524 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
525 static void* PROTOBUF_NONNULL PlacementNew_(
526 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
527 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
528 static constexpr auto InternalNewImpl_();
529
530 public:
531 static constexpr auto InternalGenerateClassData_();
532
533 ::google::protobuf::Metadata GetMetadata() const;
534 // nested types ----------------------------------------------------
535
536 // accessors -------------------------------------------------------
537 enum : int {
538 kRemovedVariablesFieldNumber = 1,
539 kRemovedConstraintsFieldNumber = 2,
540 kBoundChangesFieldNumber = 3,
542 };
543 // optional int64 removed_variables = 1;
546 ::int64_t removed_variables() const;
547 void set_removed_variables(::int64_t value);
548
549 private:
550 ::int64_t _internal_removed_variables() const;
551 void _internal_set_removed_variables(::int64_t value);
552
553 public:
554 // optional int64 removed_constraints = 2;
555 bool has_removed_constraints() const;
557 ::int64_t removed_constraints() const;
558 void set_removed_constraints(::int64_t value);
559
560 private:
561 ::int64_t _internal_removed_constraints() const;
562 void _internal_set_removed_constraints(::int64_t value);
563
564 public:
565 // optional int64 bound_changes = 3;
566 bool has_bound_changes() const;
567 void clear_bound_changes() ;
568 ::int64_t bound_changes() const;
569 void set_bound_changes(::int64_t value);
570
571 private:
572 ::int64_t _internal_bound_changes() const;
573 void _internal_set_bound_changes(::int64_t value);
574
575 public:
576 // optional int64 coefficient_changes = 4;
577 bool has_coefficient_changes() const;
579 ::int64_t coefficient_changes() const;
580 void set_coefficient_changes(::int64_t value);
581
582 private:
583 ::int64_t _internal_coefficient_changes() const;
584 void _internal_set_coefficient_changes(::int64_t value);
585
586 public:
587 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.PresolveStats)
588 private:
589 class _Internal;
590 friend class ::google::protobuf::internal::TcParser;
591 static const ::google::protobuf::internal::TcParseTable<2, 4,
592 0, 0,
593 2>
594 _table_;
595
596 friend class ::google::protobuf::MessageLite;
597 friend class ::google::protobuf::Arena;
598 template <typename T>
599 friend class ::google::protobuf::Arena::InternalHelper;
600 using InternalArenaConstructable_ = void;
601 using DestructorSkippable_ = void;
602 struct Impl_ {
603 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
604 inline explicit Impl_(
605 ::google::protobuf::internal::InternalVisibility visibility,
606 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
607 inline explicit Impl_(
608 ::google::protobuf::internal::InternalVisibility visibility,
609 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
610 const CallbackDataProto_PresolveStats& from_msg);
611 ::google::protobuf::internal::HasBits<1> _has_bits_;
612 ::google::protobuf::internal::CachedSize _cached_size_;
613 ::int64_t removed_variables_;
614 ::int64_t removed_constraints_;
615 ::int64_t bound_changes_;
616 ::int64_t coefficient_changes_;
617 PROTOBUF_TSAN_DECLARE_MEMBER
618 };
619 union { Impl_ _impl_; };
620 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
621};
623OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_;
624// -------------------------------------------------------------------
625
626class OR_PROTO_DLL CallbackDataProto_MipStats final : public ::google::protobuf::Message
627/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.MipStats) */ {
628 public:
631
632#if defined(PROTOBUF_CUSTOM_VTABLE)
633 void operator delete(CallbackDataProto_MipStats* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
634 SharedDtor(*msg);
635 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_MipStats));
636 }
637#endif
638
639 template <typename = void>
640 explicit PROTOBUF_CONSTEXPR CallbackDataProto_MipStats(::google::protobuf::internal::ConstantInitialized);
641
643 inline CallbackDataProto_MipStats(CallbackDataProto_MipStats&& from) noexcept
644 : CallbackDataProto_MipStats(nullptr, ::std::move(from)) {}
645 inline CallbackDataProto_MipStats& operator=(const CallbackDataProto_MipStats& from) {
646 CopyFrom(from);
647 return *this;
648 }
650 if (this == &from) return *this;
651 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
652 InternalSwap(&from);
653 } else {
654 CopyFrom(from);
655 }
656 return *this;
657 }
658
659 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
660 ABSL_ATTRIBUTE_LIFETIME_BOUND {
661 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
662 }
663 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
664 ABSL_ATTRIBUTE_LIFETIME_BOUND {
665 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
666 }
668 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
669 return GetDescriptor();
670 }
671 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
672 return default_instance().GetMetadata().descriptor;
673 }
674 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
675 return default_instance().GetMetadata().reflection;
676 }
677 static const CallbackDataProto_MipStats& default_instance() {
678 return *reinterpret_cast<const CallbackDataProto_MipStats*>(
680 }
681 static constexpr int kIndexInFileMessages = 3;
683 inline void Swap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other) {
684 if (other == this) return;
685 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
686 InternalSwap(other);
687 } else {
688 ::google::protobuf::internal::GenericSwap(this, other);
689 }
690 }
691 void UnsafeArenaSwap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other) {
692 if (other == this) return;
693 ABSL_DCHECK(GetArena() == other->GetArena());
694 InternalSwap(other);
696
697 // implements Message ----------------------------------------------
698
699 CallbackDataProto_MipStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
700 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_MipStats>(arena);
701 }
702 using ::google::protobuf::Message::CopyFrom;
704 using ::google::protobuf::Message::MergeFrom;
705 void MergeFrom(const CallbackDataProto_MipStats& from) { CallbackDataProto_MipStats::MergeImpl(*this, from); }
706
707 private:
708 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
709 const ::google::protobuf::MessageLite& from_msg);
710
711 public:
712 bool IsInitialized() const {
713 return true;
714 }
715 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
716 #if defined(PROTOBUF_CUSTOM_VTABLE)
717 private:
718 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
719 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
720 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
721 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
722
723 public:
724 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
725 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
726 ::uint8_t* PROTOBUF_NONNULL target,
727 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
728 return _InternalSerialize(*this, target, stream);
729 }
730 #else // PROTOBUF_CUSTOM_VTABLE
731 ::size_t ByteSizeLong() const final;
732 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
733 ::uint8_t* PROTOBUF_NONNULL target,
734 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
735 #endif // PROTOBUF_CUSTOM_VTABLE
736 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
737
738 private:
739 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
740 static void SharedDtor(MessageLite& self);
741 void InternalSwap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other);
742 private:
743 template <typename T>
744 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
745 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.MipStats"; }
746
747 explicit CallbackDataProto_MipStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
748 CallbackDataProto_MipStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_MipStats& from);
750 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_MipStats&& from) noexcept
752 *this = ::std::move(from);
753 }
754 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
755 static void* PROTOBUF_NONNULL PlacementNew_(
756 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
757 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
758 static constexpr auto InternalNewImpl_();
759
760 public:
761 static constexpr auto InternalGenerateClassData_();
762
763 ::google::protobuf::Metadata GetMetadata() const;
764 // nested types ----------------------------------------------------
765
766 // accessors -------------------------------------------------------
767 enum : int {
768 kPrimalBoundFieldNumber = 1,
769 kDualBoundFieldNumber = 2,
770 kExploredNodesFieldNumber = 3,
771 kOpenNodesFieldNumber = 4,
775 };
776 // optional double primal_bound = 1;
777 bool has_primal_bound() const;
779 double primal_bound() const;
780 void set_primal_bound(double value);
781
782 private:
783 double _internal_primal_bound() const;
784 void _internal_set_primal_bound(double value);
785
786 public:
787 // optional double dual_bound = 2;
788 bool has_dual_bound() const;
789 void clear_dual_bound() ;
790 double dual_bound() const;
791 void set_dual_bound(double value);
792
793 private:
794 double _internal_dual_bound() const;
795 void _internal_set_dual_bound(double value);
796
797 public:
798 // optional int64 explored_nodes = 3;
799 bool has_explored_nodes() const;
800 void clear_explored_nodes() ;
801 ::int64_t explored_nodes() const;
802 void set_explored_nodes(::int64_t value);
803
804 private:
805 ::int64_t _internal_explored_nodes() const;
806 void _internal_set_explored_nodes(::int64_t value);
807
808 public:
809 // optional int64 open_nodes = 4;
810 bool has_open_nodes() const;
811 void clear_open_nodes() ;
812 ::int64_t open_nodes() const;
813 void set_open_nodes(::int64_t value);
814
815 private:
816 ::int64_t _internal_open_nodes() const;
817 void _internal_set_open_nodes(::int64_t value);
818
819 public:
820 // optional int64 simplex_iterations = 5;
821 bool has_simplex_iterations() const;
823 ::int64_t simplex_iterations() const;
824 void set_simplex_iterations(::int64_t value);
825
826 private:
827 ::int64_t _internal_simplex_iterations() const;
828 void _internal_set_simplex_iterations(::int64_t value);
829
830 public:
831 // optional int32 number_of_solutions_found = 6;
834 ::int32_t number_of_solutions_found() const;
835 void set_number_of_solutions_found(::int32_t value);
836
837 private:
838 ::int32_t _internal_number_of_solutions_found() const;
839 void _internal_set_number_of_solutions_found(::int32_t value);
840
841 public:
842 // optional int32 cutting_planes_in_lp = 7;
843 bool has_cutting_planes_in_lp() const;
845 ::int32_t cutting_planes_in_lp() const;
846 void set_cutting_planes_in_lp(::int32_t value);
847
848 private:
849 ::int32_t _internal_cutting_planes_in_lp() const;
850 void _internal_set_cutting_planes_in_lp(::int32_t value);
851
852 public:
853 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.MipStats)
854 private:
855 class _Internal;
856 friend class ::google::protobuf::internal::TcParser;
857 static const ::google::protobuf::internal::TcParseTable<3, 7,
858 0, 0,
859 2>
860 _table_;
861
862 friend class ::google::protobuf::MessageLite;
863 friend class ::google::protobuf::Arena;
864 template <typename T>
865 friend class ::google::protobuf::Arena::InternalHelper;
866 using InternalArenaConstructable_ = void;
867 using DestructorSkippable_ = void;
868 struct Impl_ {
869 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
870 inline explicit Impl_(
871 ::google::protobuf::internal::InternalVisibility visibility,
872 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
873 inline explicit Impl_(
874 ::google::protobuf::internal::InternalVisibility visibility,
875 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
876 const CallbackDataProto_MipStats& from_msg);
877 ::google::protobuf::internal::HasBits<1> _has_bits_;
878 ::google::protobuf::internal::CachedSize _cached_size_;
879 double primal_bound_;
880 double dual_bound_;
881 ::int64_t explored_nodes_;
882 ::int64_t open_nodes_;
883 ::int64_t simplex_iterations_;
884 ::int32_t number_of_solutions_found_;
885 ::int32_t cutting_planes_in_lp_;
886 PROTOBUF_TSAN_DECLARE_MEMBER
887 };
888 union { Impl_ _impl_; };
889 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
890};
891
892OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_;
893// -------------------------------------------------------------------
894
895class OR_PROTO_DLL CallbackDataProto_BarrierStats final : public ::google::protobuf::Message
896/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.BarrierStats) */ {
897 public:
899 ~CallbackDataProto_BarrierStats() PROTOBUF_FINAL;
901#if defined(PROTOBUF_CUSTOM_VTABLE)
902 void operator delete(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
903 SharedDtor(*msg);
904 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_BarrierStats));
905 }
906#endif
907
908 template <typename = void>
909 explicit PROTOBUF_CONSTEXPR CallbackDataProto_BarrierStats(::google::protobuf::internal::ConstantInitialized);
910
912 inline CallbackDataProto_BarrierStats(CallbackDataProto_BarrierStats&& from) noexcept
913 : CallbackDataProto_BarrierStats(nullptr, ::std::move(from)) {}
915 CopyFrom(from);
916 return *this;
918 inline CallbackDataProto_BarrierStats& operator=(CallbackDataProto_BarrierStats&& from) noexcept {
919 if (this == &from) return *this;
920 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
921 InternalSwap(&from);
922 } else {
923 CopyFrom(from);
924 }
925 return *this;
926 }
927
928 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
929 ABSL_ATTRIBUTE_LIFETIME_BOUND {
930 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
931 }
932 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
933 ABSL_ATTRIBUTE_LIFETIME_BOUND {
934 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
935 }
936
937 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
938 return GetDescriptor();
939 }
940 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
941 return default_instance().GetMetadata().descriptor;
943 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
944 return default_instance().GetMetadata().reflection;
946 static const CallbackDataProto_BarrierStats& default_instance() {
947 return *reinterpret_cast<const CallbackDataProto_BarrierStats*>(
949 }
950 static constexpr int kIndexInFileMessages = 2;
952 inline void Swap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other) {
953 if (other == this) return;
954 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
955 InternalSwap(other);
956 } else {
957 ::google::protobuf::internal::GenericSwap(this, other);
958 }
959 }
960 void UnsafeArenaSwap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other) {
961 if (other == this) return;
962 ABSL_DCHECK(GetArena() == other->GetArena());
963 InternalSwap(other);
964 }
966 // implements Message ----------------------------------------------
967
968 CallbackDataProto_BarrierStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
969 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_BarrierStats>(arena);
970 }
971 using ::google::protobuf::Message::CopyFrom;
972 void CopyFrom(const CallbackDataProto_BarrierStats& from);
973 using ::google::protobuf::Message::MergeFrom;
974 void MergeFrom(const CallbackDataProto_BarrierStats& from) { CallbackDataProto_BarrierStats::MergeImpl(*this, from); }
975
976 private:
977 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
978 const ::google::protobuf::MessageLite& from_msg);
980 public:
981 bool IsInitialized() const {
982 return true;
983 }
984 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
985 #if defined(PROTOBUF_CUSTOM_VTABLE)
986 private:
987 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
988 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
989 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
990 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
991
992 public:
993 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
994 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
995 ::uint8_t* PROTOBUF_NONNULL target,
996 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
997 return _InternalSerialize(*this, target, stream);
998 }
999 #else // PROTOBUF_CUSTOM_VTABLE
1000 ::size_t ByteSizeLong() const final;
1001 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1002 ::uint8_t* PROTOBUF_NONNULL target,
1003 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1004 #endif // PROTOBUF_CUSTOM_VTABLE
1005 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1006
1007 private:
1008 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1009 static void SharedDtor(MessageLite& self);
1010 void InternalSwap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other);
1011 private:
1012 template <typename T>
1013 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1014 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.BarrierStats"; }
1015
1016 explicit CallbackDataProto_BarrierStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1017 CallbackDataProto_BarrierStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_BarrierStats& from);
1019 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_BarrierStats&& from) noexcept
1021 *this = ::std::move(from);
1022 }
1023 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1024 static void* PROTOBUF_NONNULL PlacementNew_(
1025 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1026 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1027 static constexpr auto InternalNewImpl_();
1028
1029 public:
1030 static constexpr auto InternalGenerateClassData_();
1031
1032 ::google::protobuf::Metadata GetMetadata() const;
1033 // nested types ----------------------------------------------------
1034
1035 // accessors -------------------------------------------------------
1036 enum : int {
1037 kPrimalObjectiveFieldNumber = 2,
1038 kDualObjectiveFieldNumber = 3,
1039 kComplementarityFieldNumber = 4,
1040 kPrimalInfeasibilityFieldNumber = 5,
1041 kDualInfeasibilityFieldNumber = 6,
1044 // optional double primal_objective = 2;
1047 double primal_objective() const;
1048 void set_primal_objective(double value);
1049
1050 private:
1051 double _internal_primal_objective() const;
1052 void _internal_set_primal_objective(double value);
1053
1054 public:
1055 // optional double dual_objective = 3;
1056 bool has_dual_objective() const;
1057 void clear_dual_objective() ;
1058 double dual_objective() const;
1059 void set_dual_objective(double value);
1060
1061 private:
1062 double _internal_dual_objective() const;
1063 void _internal_set_dual_objective(double value);
1064
1065 public:
1066 // optional double complementarity = 4;
1067 bool has_complementarity() const;
1068 void clear_complementarity() ;
1069 double complementarity() const;
1070 void set_complementarity(double value);
1071
1072 private:
1073 double _internal_complementarity() const;
1074 void _internal_set_complementarity(double value);
1075
1076 public:
1077 // optional double primal_infeasibility = 5;
1078 bool has_primal_infeasibility() const;
1080 double primal_infeasibility() const;
1081 void set_primal_infeasibility(double value);
1082
1083 private:
1084 double _internal_primal_infeasibility() const;
1085 void _internal_set_primal_infeasibility(double value);
1086
1087 public:
1088 // optional double dual_infeasibility = 6;
1089 bool has_dual_infeasibility() const;
1091 double dual_infeasibility() const;
1092 void set_dual_infeasibility(double value);
1093
1094 private:
1095 double _internal_dual_infeasibility() const;
1096 void _internal_set_dual_infeasibility(double value);
1097
1098 public:
1099 // optional int32 iteration_count = 1;
1100 bool has_iteration_count() const;
1101 void clear_iteration_count() ;
1102 ::int32_t iteration_count() const;
1103 void set_iteration_count(::int32_t value);
1104
1105 private:
1106 ::int32_t _internal_iteration_count() const;
1107 void _internal_set_iteration_count(::int32_t value);
1108
1109 public:
1110 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.BarrierStats)
1111 private:
1112 class _Internal;
1113 friend class ::google::protobuf::internal::TcParser;
1114 static const ::google::protobuf::internal::TcParseTable<3, 6,
1115 0, 0,
1116 2>
1117 _table_;
1119 friend class ::google::protobuf::MessageLite;
1120 friend class ::google::protobuf::Arena;
1121 template <typename T>
1122 friend class ::google::protobuf::Arena::InternalHelper;
1123 using InternalArenaConstructable_ = void;
1124 using DestructorSkippable_ = void;
1125 struct Impl_ {
1126 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1127 inline explicit Impl_(
1128 ::google::protobuf::internal::InternalVisibility visibility,
1129 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1130 inline explicit Impl_(
1131 ::google::protobuf::internal::InternalVisibility visibility,
1132 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1133 const CallbackDataProto_BarrierStats& from_msg);
1134 ::google::protobuf::internal::HasBits<1> _has_bits_;
1135 ::google::protobuf::internal::CachedSize _cached_size_;
1136 double primal_objective_;
1137 double dual_objective_;
1138 double complementarity_;
1139 double primal_infeasibility_;
1140 double dual_infeasibility_;
1141 ::int32_t iteration_count_;
1142 PROTOBUF_TSAN_DECLARE_MEMBER
1143 };
1144 union { Impl_ _impl_; };
1145 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1146};
1147
1148OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_;
1149// -------------------------------------------------------------------
1151class OR_PROTO_DLL CallbackResultProto_GeneratedLinearConstraint final : public ::google::protobuf::Message
1152/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint) */ {
1153 public:
1156
1157#if defined(PROTOBUF_CUSTOM_VTABLE)
1158 void operator delete(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1159 SharedDtor(*msg);
1160 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackResultProto_GeneratedLinearConstraint));
1161 }
1162#endif
1163
1164 template <typename = void>
1165 explicit PROTOBUF_CONSTEXPR CallbackResultProto_GeneratedLinearConstraint(::google::protobuf::internal::ConstantInitialized);
1166
1168 inline CallbackResultProto_GeneratedLinearConstraint(CallbackResultProto_GeneratedLinearConstraint&& from) noexcept
1169 : CallbackResultProto_GeneratedLinearConstraint(nullptr, ::std::move(from)) {}
1170 inline CallbackResultProto_GeneratedLinearConstraint& operator=(const CallbackResultProto_GeneratedLinearConstraint& from) {
1172 return *this;
1176 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1177 InternalSwap(&from);
1178 } else {
1179 CopyFrom(from);
1181 return *this;
1182 }
1183
1184 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1185 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1186 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1187 }
1188 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1190 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1191 }
1192
1193 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1195 }
1196 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1197 return default_instance().GetMetadata().descriptor;
1198 }
1199 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1200 return default_instance().GetMetadata().reflection;
1201 }
1206 static constexpr int kIndexInFileMessages = 5;
1208 inline void Swap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other) {
1209 if (other == this) return;
1210 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1211 InternalSwap(other);
1212 } else {
1213 ::google::protobuf::internal::GenericSwap(this, other);
1215 }
1216 void UnsafeArenaSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other) {
1217 if (other == this) return;
1218 ABSL_DCHECK(GetArena() == other->GetArena());
1219 InternalSwap(other);
1220 }
1221
1222 // implements Message ----------------------------------------------
1223
1224 CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1225 return ::google::protobuf::Message::DefaultConstruct<CallbackResultProto_GeneratedLinearConstraint>(arena);
1226 }
1227 using ::google::protobuf::Message::CopyFrom;
1228 void CopyFrom(const CallbackResultProto_GeneratedLinearConstraint& from);
1229 using ::google::protobuf::Message::MergeFrom;
1230 void MergeFrom(const CallbackResultProto_GeneratedLinearConstraint& from) { CallbackResultProto_GeneratedLinearConstraint::MergeImpl(*this, from); }
1231
1232 private:
1233 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1234 const ::google::protobuf::MessageLite& from_msg);
1235
1236 public:
1237 bool IsInitialized() const {
1238 return true;
1239 }
1240 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1241 #if defined(PROTOBUF_CUSTOM_VTABLE)
1242 private:
1243 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1244 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1245 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1246 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1247
1248 public:
1249 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1250 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1251 ::uint8_t* PROTOBUF_NONNULL target,
1252 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1253 return _InternalSerialize(*this, target, stream);
1254 }
1255 #else // PROTOBUF_CUSTOM_VTABLE
1256 ::size_t ByteSizeLong() const final;
1257 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1258 ::uint8_t* PROTOBUF_NONNULL target,
1259 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1260 #endif // PROTOBUF_CUSTOM_VTABLE
1261 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1262
1263 private:
1264 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1265 static void SharedDtor(MessageLite& self);
1266 void InternalSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other);
1267 private:
1268 template <typename T>
1269 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1270 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint"; }
1271
1272 explicit CallbackResultProto_GeneratedLinearConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1273 CallbackResultProto_GeneratedLinearConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackResultProto_GeneratedLinearConstraint& from);
1275 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackResultProto_GeneratedLinearConstraint&& from) noexcept
1277 *this = ::std::move(from);
1278 }
1279 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1280 static void* PROTOBUF_NONNULL PlacementNew_(
1281 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1282 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1283 static constexpr auto InternalNewImpl_();
1284
1285 public:
1286 static constexpr auto InternalGenerateClassData_();
1287
1288 ::google::protobuf::Metadata GetMetadata() const;
1289 // nested types ----------------------------------------------------
1290
1291 // accessors -------------------------------------------------------
1292 enum : int {
1293 kLinearExpressionFieldNumber = 1,
1294 kLowerBoundFieldNumber = 2,
1295 kUpperBoundFieldNumber = 3,
1296 kIsLazyFieldNumber = 4,
1297 };
1298 // .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
1301 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_expression() const;
1307
1308 private:
1309 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_expression() const;
1310 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_expression();
1311
1312 public:
1313 // double lower_bound = 2;
1314 void clear_lower_bound() ;
1315 double lower_bound() const;
1316 void set_lower_bound(double value);
1317
1318 private:
1319 double _internal_lower_bound() const;
1320 void _internal_set_lower_bound(double value);
1321
1322 public:
1323 // double upper_bound = 3;
1324 void clear_upper_bound() ;
1325 double upper_bound() const;
1326 void set_upper_bound(double value);
1327
1328 private:
1329 double _internal_upper_bound() const;
1330 void _internal_set_upper_bound(double value);
1331
1332 public:
1333 // bool is_lazy = 4;
1334 void clear_is_lazy() ;
1335 bool is_lazy() const;
1336 void set_is_lazy(bool value);
1337
1338 private:
1339 bool _internal_is_lazy() const;
1340 void _internal_set_is_lazy(bool value);
1341
1342 public:
1343 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
1344 private:
1345 class _Internal;
1346 friend class ::google::protobuf::internal::TcParser;
1347 static const ::google::protobuf::internal::TcParseTable<2, 4,
1348 1, 0,
1349 2>
1350 _table_;
1351
1352 friend class ::google::protobuf::MessageLite;
1353 friend class ::google::protobuf::Arena;
1354 template <typename T>
1355 friend class ::google::protobuf::Arena::InternalHelper;
1356 using InternalArenaConstructable_ = void;
1357 using DestructorSkippable_ = void;
1358 struct Impl_ {
1359 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1360 inline explicit Impl_(
1361 ::google::protobuf::internal::InternalVisibility visibility,
1362 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1363 inline explicit Impl_(
1364 ::google::protobuf::internal::InternalVisibility visibility,
1365 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1367 ::google::protobuf::internal::HasBits<1> _has_bits_;
1368 ::google::protobuf::internal::CachedSize _cached_size_;
1369 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_expression_;
1370 double lower_bound_;
1371 double upper_bound_;
1372 bool is_lazy_;
1373 PROTOBUF_TSAN_DECLARE_MEMBER
1374 };
1375 union { Impl_ _impl_; };
1376 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1377};
1378
1379OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_;
1380// -------------------------------------------------------------------
1382class OR_PROTO_DLL CallbackRegistrationProto final : public ::google::protobuf::Message
1383/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackRegistrationProto) */ {
1384 public:
1386 ~CallbackRegistrationProto() PROTOBUF_FINAL;
1387
1388#if defined(PROTOBUF_CUSTOM_VTABLE)
1389 void operator delete(CallbackRegistrationProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1390 SharedDtor(*msg);
1391 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackRegistrationProto));
1393#endif
1394
1395 template <typename = void>
1396 explicit PROTOBUF_CONSTEXPR CallbackRegistrationProto(::google::protobuf::internal::ConstantInitialized);
1397
1399 inline CallbackRegistrationProto(CallbackRegistrationProto&& from) noexcept
1400 : CallbackRegistrationProto(nullptr, ::std::move(from)) {}
1401 inline CallbackRegistrationProto& operator=(const CallbackRegistrationProto& from) {
1402 CopyFrom(from);
1403 return *this;
1404 }
1406 if (this == &from) return *this;
1407 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1408 InternalSwap(&from);
1409 } else {
1410 CopyFrom(from);
1411 }
1412 return *this;
1413 }
1414
1415 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1416 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1417 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1418 }
1419 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1420 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1421 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1423
1424 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1425 return GetDescriptor();
1427 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1428 return default_instance().GetMetadata().descriptor;
1429 }
1430 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1431 return default_instance().GetMetadata().reflection;
1432 }
1433 static const CallbackRegistrationProto& default_instance() {
1434 return *reinterpret_cast<const CallbackRegistrationProto*>(
1436 }
1437 static constexpr int kIndexInFileMessages = 7;
1438 friend void swap(CallbackRegistrationProto& a, CallbackRegistrationProto& b) { a.Swap(&b); }
1439 inline void Swap(CallbackRegistrationProto* PROTOBUF_NONNULL other) {
1440 if (other == this) return;
1441 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1442 InternalSwap(other);
1443 } else {
1444 ::google::protobuf::internal::GenericSwap(this, other);
1447 void UnsafeArenaSwap(CallbackRegistrationProto* PROTOBUF_NONNULL other) {
1448 if (other == this) return;
1449 ABSL_DCHECK(GetArena() == other->GetArena());
1450 InternalSwap(other);
1451 }
1452
1453 // implements Message ----------------------------------------------
1455 CallbackRegistrationProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1456 return ::google::protobuf::Message::DefaultConstruct<CallbackRegistrationProto>(arena);
1457 }
1458 using ::google::protobuf::Message::CopyFrom;
1459 void CopyFrom(const CallbackRegistrationProto& from);
1460 using ::google::protobuf::Message::MergeFrom;
1461 void MergeFrom(const CallbackRegistrationProto& from) { CallbackRegistrationProto::MergeImpl(*this, from); }
1463 private:
1464 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1465 const ::google::protobuf::MessageLite& from_msg);
1466
1467 public:
1468 bool IsInitialized() const {
1469 return true;
1470 }
1471 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1472 #if defined(PROTOBUF_CUSTOM_VTABLE)
1473 private:
1474 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1475 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1476 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1477 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1478
1479 public:
1480 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1481 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1482 ::uint8_t* PROTOBUF_NONNULL target,
1483 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1484 return _InternalSerialize(*this, target, stream);
1485 }
1486 #else // PROTOBUF_CUSTOM_VTABLE
1487 ::size_t ByteSizeLong() const final;
1488 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1489 ::uint8_t* PROTOBUF_NONNULL target,
1490 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1491 #endif // PROTOBUF_CUSTOM_VTABLE
1492 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1493
1494 private:
1495 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1496 static void SharedDtor(MessageLite& self);
1497 void InternalSwap(CallbackRegistrationProto* PROTOBUF_NONNULL other);
1498 private:
1499 template <typename T>
1500 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1501 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackRegistrationProto"; }
1502
1503 explicit CallbackRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1504 CallbackRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackRegistrationProto& from);
1506 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackRegistrationProto&& from) noexcept
1507 : CallbackRegistrationProto(arena) {
1508 *this = ::std::move(from);
1509 }
1510 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1511 static void* PROTOBUF_NONNULL PlacementNew_(
1512 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1513 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1514 static constexpr auto InternalNewImpl_();
1515
1516 public:
1517 static constexpr auto InternalGenerateClassData_();
1518
1519 ::google::protobuf::Metadata GetMetadata() const;
1520 // nested types ----------------------------------------------------
1521
1522 // accessors -------------------------------------------------------
1523 enum : int {
1524 kRequestRegistrationFieldNumber = 1,
1525 kMipSolutionFilterFieldNumber = 2,
1526 kMipNodeFilterFieldNumber = 3,
1527 kAddCutsFieldNumber = 4,
1528 kAddLazyConstraintsFieldNumber = 5,
1529 };
1530 // repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
1532 private:
1533 int _internal_request_registration_size() const;
1535 public:
1537 public:
1541 const ::google::protobuf::RepeatedField<int>& request_registration() const;
1542 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_request_registration();
1543
1544 private:
1545 const ::google::protobuf::RepeatedField<int>& _internal_request_registration() const;
1546 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_request_registration();
1547
1548 public:
1549 // .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
1550 bool has_mip_solution_filter() const;
1552 const ::operations_research::math_opt::SparseVectorFilterProto& mip_solution_filter() const;
1558
1559 private:
1560 const ::operations_research::math_opt::SparseVectorFilterProto& _internal_mip_solution_filter() const;
1561 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL _internal_mutable_mip_solution_filter();
1562
1563 public:
1564 // .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
1565 bool has_mip_node_filter() const;
1566 void clear_mip_node_filter() ;
1567 const ::operations_research::math_opt::SparseVectorFilterProto& mip_node_filter() const;
1573
1574 private:
1575 const ::operations_research::math_opt::SparseVectorFilterProto& _internal_mip_node_filter() const;
1576 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL _internal_mutable_mip_node_filter();
1577
1578 public:
1579 // bool add_cuts = 4;
1580 void clear_add_cuts() ;
1581 bool add_cuts() const;
1582 void set_add_cuts(bool value);
1583
1584 private:
1585 bool _internal_add_cuts() const;
1586 void _internal_set_add_cuts(bool value);
1587
1588 public:
1589 // bool add_lazy_constraints = 5;
1591 bool add_lazy_constraints() const;
1592 void set_add_lazy_constraints(bool value);
1593
1594 private:
1595 bool _internal_add_lazy_constraints() const;
1596 void _internal_set_add_lazy_constraints(bool value);
1597
1598 public:
1599 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackRegistrationProto)
1600 private:
1601 class _Internal;
1602 friend class ::google::protobuf::internal::TcParser;
1603 static const ::google::protobuf::internal::TcParseTable<3, 5,
1604 2, 0,
1605 2>
1606 _table_;
1607
1608 friend class ::google::protobuf::MessageLite;
1609 friend class ::google::protobuf::Arena;
1610 template <typename T>
1611 friend class ::google::protobuf::Arena::InternalHelper;
1612 using InternalArenaConstructable_ = void;
1613 using DestructorSkippable_ = void;
1614 struct Impl_ {
1615 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1616 inline explicit Impl_(
1617 ::google::protobuf::internal::InternalVisibility visibility,
1618 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1619 inline explicit Impl_(
1620 ::google::protobuf::internal::InternalVisibility visibility,
1621 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1622 const CallbackRegistrationProto& from_msg);
1623 ::google::protobuf::internal::HasBits<1> _has_bits_;
1624 ::google::protobuf::internal::CachedSize _cached_size_;
1625 ::google::protobuf::RepeatedField<int> request_registration_;
1626 ::google::protobuf::internal::CachedSize _request_registration_cached_byte_size_;
1627 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE mip_solution_filter_;
1628 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE mip_node_filter_;
1629 bool add_cuts_;
1630 bool add_lazy_constraints_;
1631 PROTOBUF_TSAN_DECLARE_MEMBER
1632 };
1633 union { Impl_ _impl_; };
1634 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1635};
1636
1637OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_;
1638// -------------------------------------------------------------------
1639
1640class OR_PROTO_DLL CallbackDataProto final : public ::google::protobuf::Message
1641/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto) */ {
1642 public:
1643 inline CallbackDataProto() : CallbackDataProto(nullptr) {}
1644 ~CallbackDataProto() PROTOBUF_FINAL;
1645
1646#if defined(PROTOBUF_CUSTOM_VTABLE)
1647 void operator delete(CallbackDataProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1648 SharedDtor(*msg);
1649 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto));
1650 }
1651#endif
1652
1653 template <typename = void>
1654 explicit PROTOBUF_CONSTEXPR CallbackDataProto(::google::protobuf::internal::ConstantInitialized);
1655
1656 inline CallbackDataProto(const CallbackDataProto& from) : CallbackDataProto(nullptr, from) {}
1657 inline CallbackDataProto(CallbackDataProto&& from) noexcept
1658 : CallbackDataProto(nullptr, ::std::move(from)) {}
1659 inline CallbackDataProto& operator=(const CallbackDataProto& from) {
1660 CopyFrom(from);
1661 return *this;
1663 inline CallbackDataProto& operator=(CallbackDataProto&& from) noexcept {
1664 if (this == &from) return *this;
1665 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1666 InternalSwap(&from);
1667 } else {
1668 CopyFrom(from);
1669 }
1670 return *this;
1672
1673 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1674 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1675 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1676 }
1677 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1678 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1679 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1680 }
1682 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1683 return GetDescriptor();
1684 }
1685 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1686 return default_instance().GetMetadata().descriptor;
1687 }
1688 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1689 return default_instance().GetMetadata().reflection;
1691 static const CallbackDataProto& default_instance() {
1692 return *reinterpret_cast<const CallbackDataProto*>(
1694 }
1695 static constexpr int kIndexInFileMessages = 4;
1696 friend void swap(CallbackDataProto& a, CallbackDataProto& b) { a.Swap(&b); }
1697 inline void Swap(CallbackDataProto* PROTOBUF_NONNULL other) {
1698 if (other == this) return;
1699 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1700 InternalSwap(other);
1701 } else {
1702 ::google::protobuf::internal::GenericSwap(this, other);
1705 void UnsafeArenaSwap(CallbackDataProto* PROTOBUF_NONNULL other) {
1706 if (other == this) return;
1707 ABSL_DCHECK(GetArena() == other->GetArena());
1708 InternalSwap(other);
1709 }
1710
1711 // implements Message ----------------------------------------------
1712
1713 CallbackDataProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1714 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto>(arena);
1715 }
1716 using ::google::protobuf::Message::CopyFrom;
1717 void CopyFrom(const CallbackDataProto& from);
1718 using ::google::protobuf::Message::MergeFrom;
1719 void MergeFrom(const CallbackDataProto& from) { CallbackDataProto::MergeImpl(*this, from); }
1720
1721 private:
1722 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1723 const ::google::protobuf::MessageLite& from_msg);
1724
1725 public:
1726 bool IsInitialized() const {
1727 return true;
1728 }
1729 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1730 #if defined(PROTOBUF_CUSTOM_VTABLE)
1731 private:
1732 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1733 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1734 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1735 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1736
1737 public:
1738 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1739 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1740 ::uint8_t* PROTOBUF_NONNULL target,
1741 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1742 return _InternalSerialize(*this, target, stream);
1743 }
1744 #else // PROTOBUF_CUSTOM_VTABLE
1745 ::size_t ByteSizeLong() const final;
1746 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1747 ::uint8_t* PROTOBUF_NONNULL target,
1748 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1749 #endif // PROTOBUF_CUSTOM_VTABLE
1750 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1751
1752 private:
1753 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1754 static void SharedDtor(MessageLite& self);
1755 void InternalSwap(CallbackDataProto* PROTOBUF_NONNULL other);
1756 private:
1757 template <typename T>
1759 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto"; }
1760
1761 explicit CallbackDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1762 CallbackDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto& from);
1764 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto&& from) noexcept
1765 : CallbackDataProto(arena) {
1766 *this = ::std::move(from);
1767 }
1768 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1769 static void* PROTOBUF_NONNULL PlacementNew_(
1770 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1771 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1772 static constexpr auto InternalNewImpl_();
1773
1774 public:
1775 static constexpr auto InternalGenerateClassData_();
1776
1777 ::google::protobuf::Metadata GetMetadata() const;
1778 // nested types ----------------------------------------------------
1779 using PresolveStats = CallbackDataProto_PresolveStats;
1780 using SimplexStats = CallbackDataProto_SimplexStats;
1781 using BarrierStats = CallbackDataProto_BarrierStats;
1782 using MipStats = CallbackDataProto_MipStats;
1783
1784 // accessors -------------------------------------------------------
1785 enum : int {
1786 kPrimalSolutionVectorFieldNumber = 2,
1793 };
1794 // .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
1797 const ::operations_research::math_opt::SparseDoubleVectorProto& primal_solution_vector() const;
1803
1804 private:
1805 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_primal_solution_vector() const;
1806 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_primal_solution_vector();
1807
1808 public:
1809 // .google.protobuf.Duration runtime = 3;
1810 bool has_runtime() const;
1811 void clear_runtime() ;
1812 const ::google::protobuf::Duration& runtime() const;
1813 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_runtime();
1814 ::google::protobuf::Duration* PROTOBUF_NONNULL mutable_runtime();
1815 void set_allocated_runtime(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1816 void unsafe_arena_set_allocated_runtime(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1817 ::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_runtime();
1818
1819 private:
1820 const ::google::protobuf::Duration& _internal_runtime() const;
1821 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_runtime();
1822
1823 public:
1824 // .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
1825 bool has_presolve_stats() const;
1826 void clear_presolve_stats() ;
1827 const ::operations_research::math_opt::CallbackDataProto_PresolveStats& presolve_stats() const;
1833
1834 private:
1835 const ::operations_research::math_opt::CallbackDataProto_PresolveStats& _internal_presolve_stats() const;
1836 ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL _internal_mutable_presolve_stats();
1837
1838 public:
1839 // .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
1840 bool has_simplex_stats() const;
1841 void clear_simplex_stats() ;
1842 const ::operations_research::math_opt::CallbackDataProto_SimplexStats& simplex_stats() const;
1848
1849 private:
1850 const ::operations_research::math_opt::CallbackDataProto_SimplexStats& _internal_simplex_stats() const;
1851 ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL _internal_mutable_simplex_stats();
1852
1853 public:
1854 // .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
1855 bool has_barrier_stats() const;
1856 void clear_barrier_stats() ;
1857 const ::operations_research::math_opt::CallbackDataProto_BarrierStats& barrier_stats() const;
1863
1864 private:
1865 const ::operations_research::math_opt::CallbackDataProto_BarrierStats& _internal_barrier_stats() const;
1866 ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL _internal_mutable_barrier_stats();
1867
1868 public:
1869 // .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
1870 bool has_mip_stats() const;
1871 void clear_mip_stats() ;
1872 const ::operations_research::math_opt::CallbackDataProto_MipStats& mip_stats() const;
1878
1879 private:
1880 const ::operations_research::math_opt::CallbackDataProto_MipStats& _internal_mip_stats() const;
1881 ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL _internal_mutable_mip_stats();
1882
1883 public:
1884 // .operations_research.math_opt.CallbackEventProto event = 1;
1885 void clear_event() ;
1888
1889 private:
1891 void _internal_set_event(::operations_research::math_opt::CallbackEventProto value);
1892
1893 public:
1894 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto)
1895 private:
1896 class _Internal;
1897 friend class ::google::protobuf::internal::TcParser;
1898 static const ::google::protobuf::internal::TcParseTable<3, 7,
1899 6, 0,
1900 2>
1901 _table_;
1902
1903 friend class ::google::protobuf::MessageLite;
1904 friend class ::google::protobuf::Arena;
1905 template <typename T>
1906 friend class ::google::protobuf::Arena::InternalHelper;
1907 using InternalArenaConstructable_ = void;
1908 using DestructorSkippable_ = void;
1909 struct Impl_ {
1910 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1911 inline explicit Impl_(
1912 ::google::protobuf::internal::InternalVisibility visibility,
1913 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1914 inline explicit Impl_(
1915 ::google::protobuf::internal::InternalVisibility visibility,
1916 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1917 const CallbackDataProto& from_msg);
1918 ::google::protobuf::internal::HasBits<1> _has_bits_;
1919 ::google::protobuf::internal::CachedSize _cached_size_;
1920 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE primal_solution_vector_;
1921 ::google::protobuf::Duration* PROTOBUF_NULLABLE runtime_;
1926 int event_;
1927 PROTOBUF_TSAN_DECLARE_MEMBER
1928 };
1929 union { Impl_ _impl_; };
1930 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1931};
1932
1933OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_;
1934// -------------------------------------------------------------------
1935
1936class OR_PROTO_DLL CallbackResultProto final : public ::google::protobuf::Message
1937/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackResultProto) */ {
1938 public:
1939 inline CallbackResultProto() : CallbackResultProto(nullptr) {}
1940 ~CallbackResultProto() PROTOBUF_FINAL;
1941
1942#if defined(PROTOBUF_CUSTOM_VTABLE)
1943 void operator delete(CallbackResultProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1944 SharedDtor(*msg);
1945 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackResultProto));
1946 }
1947#endif
1949 template <typename = void>
1950 explicit PROTOBUF_CONSTEXPR CallbackResultProto(::google::protobuf::internal::ConstantInitialized);
1951
1952 inline CallbackResultProto(const CallbackResultProto& from) : CallbackResultProto(nullptr, from) {}
1953 inline CallbackResultProto(CallbackResultProto&& from) noexcept
1954 : CallbackResultProto(nullptr, ::std::move(from)) {}
1955 inline CallbackResultProto& operator=(const CallbackResultProto& from) {
1956 CopyFrom(from);
1957 return *this;
1958 }
1960 if (this == &from) return *this;
1961 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1962 InternalSwap(&from);
1963 } else {
1965 }
1966 return *this;
1967 }
1969 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1970 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1971 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1972 }
1973 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1974 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1975 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1976 }
1977
1978 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1979 return GetDescriptor();
1980 }
1981 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1982 return default_instance().GetMetadata().descriptor;
1983 }
1984 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1985 return default_instance().GetMetadata().reflection;
1986 }
1988 return *reinterpret_cast<const CallbackResultProto*>(
1991 static constexpr int kIndexInFileMessages = 6;
1992 friend void swap(CallbackResultProto& a, CallbackResultProto& b) { a.Swap(&b); }
1993 inline void Swap(CallbackResultProto* PROTOBUF_NONNULL other) {
1994 if (other == this) return;
1995 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1996 InternalSwap(other);
1997 } else {
1998 ::google::protobuf::internal::GenericSwap(this, other);
1999 }
2001 void UnsafeArenaSwap(CallbackResultProto* PROTOBUF_NONNULL other) {
2002 if (other == this) return;
2003 ABSL_DCHECK(GetArena() == other->GetArena());
2004 InternalSwap(other);
2005 }
2006
2007 // implements Message ----------------------------------------------
2008
2009 CallbackResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2010 return ::google::protobuf::Message::DefaultConstruct<CallbackResultProto>(arena);
2011 }
2012 using ::google::protobuf::Message::CopyFrom;
2013 void CopyFrom(const CallbackResultProto& from);
2014 using ::google::protobuf::Message::MergeFrom;
2015 void MergeFrom(const CallbackResultProto& from) { CallbackResultProto::MergeImpl(*this, from); }
2016
2017 private:
2018 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2019 const ::google::protobuf::MessageLite& from_msg);
2020
2021 public:
2022 bool IsInitialized() const {
2023 return true;
2025 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2026 #if defined(PROTOBUF_CUSTOM_VTABLE)
2027 private:
2028 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2029 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2030 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2031 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2032
2033 public:
2034 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2035 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2036 ::uint8_t* PROTOBUF_NONNULL target,
2037 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2038 return _InternalSerialize(*this, target, stream);
2039 }
2040 #else // PROTOBUF_CUSTOM_VTABLE
2041 ::size_t ByteSizeLong() const final;
2042 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2043 ::uint8_t* PROTOBUF_NONNULL target,
2044 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2045 #endif // PROTOBUF_CUSTOM_VTABLE
2046 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2047
2048 private:
2049 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2050 static void SharedDtor(MessageLite& self);
2051 void InternalSwap(CallbackResultProto* PROTOBUF_NONNULL other);
2052 private:
2053 template <typename T>
2054 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2055 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackResultProto"; }
2056
2057 explicit CallbackResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2058 CallbackResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackResultProto& from);
2060 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackResultProto&& from) noexcept
2061 : CallbackResultProto(arena) {
2062 *this = ::std::move(from);
2063 }
2064 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2065 static void* PROTOBUF_NONNULL PlacementNew_(
2066 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2067 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2068 static constexpr auto InternalNewImpl_();
2069
2070 public:
2071 static constexpr auto InternalGenerateClassData_();
2072
2073 ::google::protobuf::Metadata GetMetadata() const;
2074 // nested types ----------------------------------------------------
2075 using GeneratedLinearConstraint = CallbackResultProto_GeneratedLinearConstraint;
2076
2077 // accessors -------------------------------------------------------
2078 enum : int {
2079 kCutsFieldNumber = 4,
2080 kTerminateFieldNumber = 1,
2081 kSuggestedSolutionsFieldNumber = 5,
2082 };
2083 // repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
2084 int cuts_size() const;
2085 private:
2086 int _internal_cuts_size() const;
2087
2088 public:
2089 void clear_cuts() ;
2091 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL mutable_cuts();
2092
2093 private:
2094 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& _internal_cuts() const;
2095 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL _internal_mutable_cuts();
2096 public:
2097 const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint& cuts(int index) const;
2099 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& cuts() const;
2100 // bool terminate = 1;
2101 void clear_terminate() ;
2102 bool terminate() const;
2103 void set_terminate(bool value);
2104
2105 private:
2106 bool _internal_terminate() const;
2107 void _internal_set_terminate(bool value);
2108
2109 public:
2110 // repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
2111 int suggested_solutions_size() const;
2112 private:
2113 int _internal_suggested_solutions_size() const;
2114
2115 public:
2118 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL mutable_suggested_solutions();
2119
2120 private:
2121 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& _internal_suggested_solutions() const;
2122 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL _internal_mutable_suggested_solutions();
2123 public:
2124 const ::operations_research::math_opt::SparseDoubleVectorProto& suggested_solutions(int index) const;
2126 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& suggested_solutions() const;
2127 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackResultProto)
2128 private:
2129 class _Internal;
2130 friend class ::google::protobuf::internal::TcParser;
2131 static const ::google::protobuf::internal::TcParseTable<1, 3,
2132 2, 0,
2133 2>
2134 _table_;
2135
2136 friend class ::google::protobuf::MessageLite;
2137 friend class ::google::protobuf::Arena;
2138 template <typename T>
2139 friend class ::google::protobuf::Arena::InternalHelper;
2140 using InternalArenaConstructable_ = void;
2141 using DestructorSkippable_ = void;
2142 struct Impl_ {
2143 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2144 inline explicit Impl_(
2145 ::google::protobuf::internal::InternalVisibility visibility,
2146 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2147 inline explicit Impl_(
2148 ::google::protobuf::internal::InternalVisibility visibility,
2149 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2150 const CallbackResultProto& from_msg);
2151 ::google::protobuf::internal::HasBits<1> _has_bits_;
2152 ::google::protobuf::internal::CachedSize _cached_size_;
2153 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > cuts_;
2154 bool terminate_;
2155 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SparseDoubleVectorProto > suggested_solutions_;
2156 PROTOBUF_TSAN_DECLARE_MEMBER
2157 };
2158 union { Impl_ _impl_; };
2159 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
2160};
2161
2162OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_;
2163
2164// ===================================================================
2165
2166
2169// ===================================================================
2170
2171
2172#ifdef __GNUC__
2173#pragma GCC diagnostic push
2174#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2175#endif // __GNUC__
2176// -------------------------------------------------------------------
2177
2178// CallbackDataProto_PresolveStats
2179
2180// optional int64 removed_variables = 1;
2182 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2183 return value;
2184}
2186 ::google::protobuf::internal::TSanWrite(&_impl_);
2187 _impl_.removed_variables_ = ::int64_t{0};
2188 ClearHasBit(_impl_._has_bits_[0],
2189 0x00000001U);
2190}
2192 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_variables)
2193 return _internal_removed_variables();
2194}
2195inline void CallbackDataProto_PresolveStats::set_removed_variables(::int64_t value) {
2196 _internal_set_removed_variables(value);
2197 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2198 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_variables)
2199}
2200inline ::int64_t CallbackDataProto_PresolveStats::_internal_removed_variables() const {
2201 ::google::protobuf::internal::TSanRead(&_impl_);
2202 return _impl_.removed_variables_;
2204inline void CallbackDataProto_PresolveStats::_internal_set_removed_variables(::int64_t value) {
2205 ::google::protobuf::internal::TSanWrite(&_impl_);
2206 _impl_.removed_variables_ = value;
2208
2209// optional int64 removed_constraints = 2;
2211 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2212 return value;
2213}
2215 ::google::protobuf::internal::TSanWrite(&_impl_);
2216 _impl_.removed_constraints_ = ::int64_t{0};
2217 ClearHasBit(_impl_._has_bits_[0],
2218 0x00000002U);
2219}
2221 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_constraints)
2222 return _internal_removed_constraints();
2223}
2225 _internal_set_removed_constraints(value);
2226 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2227 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_constraints)
2228}
2229inline ::int64_t CallbackDataProto_PresolveStats::_internal_removed_constraints() const {
2230 ::google::protobuf::internal::TSanRead(&_impl_);
2231 return _impl_.removed_constraints_;
2233inline void CallbackDataProto_PresolveStats::_internal_set_removed_constraints(::int64_t value) {
2234 ::google::protobuf::internal::TSanWrite(&_impl_);
2235 _impl_.removed_constraints_ = value;
2237
2238// optional int64 bound_changes = 3;
2240 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2241 return value;
2242}
2244 ::google::protobuf::internal::TSanWrite(&_impl_);
2245 _impl_.bound_changes_ = ::int64_t{0};
2246 ClearHasBit(_impl_._has_bits_[0],
2247 0x00000004U);
2248}
2249inline ::int64_t CallbackDataProto_PresolveStats::bound_changes() const {
2250 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.bound_changes)
2251 return _internal_bound_changes();
2252}
2253inline void CallbackDataProto_PresolveStats::set_bound_changes(::int64_t value) {
2254 _internal_set_bound_changes(value);
2255 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2256 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.bound_changes)
2257}
2258inline ::int64_t CallbackDataProto_PresolveStats::_internal_bound_changes() const {
2259 ::google::protobuf::internal::TSanRead(&_impl_);
2260 return _impl_.bound_changes_;
2262inline void CallbackDataProto_PresolveStats::_internal_set_bound_changes(::int64_t value) {
2263 ::google::protobuf::internal::TSanWrite(&_impl_);
2264 _impl_.bound_changes_ = value;
2266
2267// optional int64 coefficient_changes = 4;
2269 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
2270 return value;
2271}
2273 ::google::protobuf::internal::TSanWrite(&_impl_);
2274 _impl_.coefficient_changes_ = ::int64_t{0};
2275 ClearHasBit(_impl_._has_bits_[0],
2276 0x00000008U);
2277}
2279 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.coefficient_changes)
2280 return _internal_coefficient_changes();
2281}
2283 _internal_set_coefficient_changes(value);
2284 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2285 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.coefficient_changes)
2286}
2287inline ::int64_t CallbackDataProto_PresolveStats::_internal_coefficient_changes() const {
2288 ::google::protobuf::internal::TSanRead(&_impl_);
2289 return _impl_.coefficient_changes_;
2291inline void CallbackDataProto_PresolveStats::_internal_set_coefficient_changes(::int64_t value) {
2292 ::google::protobuf::internal::TSanWrite(&_impl_);
2293 _impl_.coefficient_changes_ = value;
2295
2296// -------------------------------------------------------------------
2297
2298// CallbackDataProto_SimplexStats
2299
2300// optional int64 iteration_count = 1;
2302 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2303 return value;
2304}
2306 ::google::protobuf::internal::TSanWrite(&_impl_);
2307 _impl_.iteration_count_ = ::int64_t{0};
2308 ClearHasBit(_impl_._has_bits_[0],
2309 0x00000001U);
2310}
2311inline ::int64_t CallbackDataProto_SimplexStats::iteration_count() const {
2312 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.iteration_count)
2313 return _internal_iteration_count();
2315inline void CallbackDataProto_SimplexStats::set_iteration_count(::int64_t value) {
2316 _internal_set_iteration_count(value);
2317 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2318 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.iteration_count)
2319}
2320inline ::int64_t CallbackDataProto_SimplexStats::_internal_iteration_count() const {
2321 ::google::protobuf::internal::TSanRead(&_impl_);
2322 return _impl_.iteration_count_;
2323}
2324inline void CallbackDataProto_SimplexStats::_internal_set_iteration_count(::int64_t value) {
2325 ::google::protobuf::internal::TSanWrite(&_impl_);
2326 _impl_.iteration_count_ = value;
2327}
2329// optional double objective_value = 2;
2331 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2332 return value;
2333}
2335 ::google::protobuf::internal::TSanWrite(&_impl_);
2336 _impl_.objective_value_ = 0;
2337 ClearHasBit(_impl_._has_bits_[0],
2338 0x00000002U);
2339}
2341 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.objective_value)
2342 return _internal_objective_value();
2345 _internal_set_objective_value(value);
2346 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2347 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.objective_value)
2348}
2349inline double CallbackDataProto_SimplexStats::_internal_objective_value() const {
2350 ::google::protobuf::internal::TSanRead(&_impl_);
2351 return _impl_.objective_value_;
2352}
2353inline void CallbackDataProto_SimplexStats::_internal_set_objective_value(double value) {
2354 ::google::protobuf::internal::TSanWrite(&_impl_);
2355 _impl_.objective_value_ = value;
2356}
2358// optional double primal_infeasibility = 3;
2360 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2361 return value;
2362}
2364 ::google::protobuf::internal::TSanWrite(&_impl_);
2365 _impl_.primal_infeasibility_ = 0;
2366 ClearHasBit(_impl_._has_bits_[0],
2367 0x00000004U);
2368}
2370 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.primal_infeasibility)
2371 return _internal_primal_infeasibility();
2374 _internal_set_primal_infeasibility(value);
2375 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2376 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.primal_infeasibility)
2377}
2378inline double CallbackDataProto_SimplexStats::_internal_primal_infeasibility() const {
2379 ::google::protobuf::internal::TSanRead(&_impl_);
2380 return _impl_.primal_infeasibility_;
2381}
2382inline void CallbackDataProto_SimplexStats::_internal_set_primal_infeasibility(double value) {
2383 ::google::protobuf::internal::TSanWrite(&_impl_);
2384 _impl_.primal_infeasibility_ = value;
2385}
2387// optional double dual_infeasibility = 4;
2389 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
2390 return value;
2391}
2393 ::google::protobuf::internal::TSanWrite(&_impl_);
2394 _impl_.dual_infeasibility_ = 0;
2395 ClearHasBit(_impl_._has_bits_[0],
2396 0x00000008U);
2397}
2399 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.dual_infeasibility)
2400 return _internal_dual_infeasibility();
2403 _internal_set_dual_infeasibility(value);
2404 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2405 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.dual_infeasibility)
2406}
2407inline double CallbackDataProto_SimplexStats::_internal_dual_infeasibility() const {
2408 ::google::protobuf::internal::TSanRead(&_impl_);
2409 return _impl_.dual_infeasibility_;
2410}
2411inline void CallbackDataProto_SimplexStats::_internal_set_dual_infeasibility(double value) {
2412 ::google::protobuf::internal::TSanWrite(&_impl_);
2413 _impl_.dual_infeasibility_ = value;
2414}
2416// optional bool is_pertubated = 5;
2418 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2419 return value;
2420}
2422 ::google::protobuf::internal::TSanWrite(&_impl_);
2423 _impl_.is_pertubated_ = false;
2424 ClearHasBit(_impl_._has_bits_[0],
2425 0x00000010U);
2426}
2428 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.is_pertubated)
2429 return _internal_is_pertubated();
2432 _internal_set_is_pertubated(value);
2433 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2434 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.is_pertubated)
2435}
2436inline bool CallbackDataProto_SimplexStats::_internal_is_pertubated() const {
2437 ::google::protobuf::internal::TSanRead(&_impl_);
2438 return _impl_.is_pertubated_;
2439}
2440inline void CallbackDataProto_SimplexStats::_internal_set_is_pertubated(bool value) {
2441 ::google::protobuf::internal::TSanWrite(&_impl_);
2442 _impl_.is_pertubated_ = value;
2443}
2445// -------------------------------------------------------------------
2446
2447// CallbackDataProto_BarrierStats
2448
2449// optional int32 iteration_count = 1;
2451 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
2452 return value;
2453}
2455 ::google::protobuf::internal::TSanWrite(&_impl_);
2456 _impl_.iteration_count_ = 0;
2457 ClearHasBit(_impl_._has_bits_[0],
2458 0x00000020U);
2459}
2460inline ::int32_t CallbackDataProto_BarrierStats::iteration_count() const {
2461 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.iteration_count)
2462 return _internal_iteration_count();
2463}
2465 _internal_set_iteration_count(value);
2466 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2467 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.iteration_count)
2469inline ::int32_t CallbackDataProto_BarrierStats::_internal_iteration_count() const {
2470 ::google::protobuf::internal::TSanRead(&_impl_);
2471 return _impl_.iteration_count_;
2472}
2473inline void CallbackDataProto_BarrierStats::_internal_set_iteration_count(::int32_t value) {
2474 ::google::protobuf::internal::TSanWrite(&_impl_);
2475 _impl_.iteration_count_ = value;
2476}
2477
2478// optional double primal_objective = 2;
2480 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2481 return value;
2482}
2484 ::google::protobuf::internal::TSanWrite(&_impl_);
2485 _impl_.primal_objective_ = 0;
2486 ClearHasBit(_impl_._has_bits_[0],
2487 0x00000001U);
2488}
2490 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_objective)
2491 return _internal_primal_objective();
2492}
2494 _internal_set_primal_objective(value);
2495 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2496 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_objective)
2498inline double CallbackDataProto_BarrierStats::_internal_primal_objective() const {
2499 ::google::protobuf::internal::TSanRead(&_impl_);
2500 return _impl_.primal_objective_;
2501}
2502inline void CallbackDataProto_BarrierStats::_internal_set_primal_objective(double value) {
2503 ::google::protobuf::internal::TSanWrite(&_impl_);
2504 _impl_.primal_objective_ = value;
2505}
2506
2507// optional double dual_objective = 3;
2509 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2510 return value;
2511}
2513 ::google::protobuf::internal::TSanWrite(&_impl_);
2514 _impl_.dual_objective_ = 0;
2515 ClearHasBit(_impl_._has_bits_[0],
2516 0x00000002U);
2517}
2519 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_objective)
2520 return _internal_dual_objective();
2521}
2523 _internal_set_dual_objective(value);
2524 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2525 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_objective)
2527inline double CallbackDataProto_BarrierStats::_internal_dual_objective() const {
2528 ::google::protobuf::internal::TSanRead(&_impl_);
2529 return _impl_.dual_objective_;
2530}
2531inline void CallbackDataProto_BarrierStats::_internal_set_dual_objective(double value) {
2532 ::google::protobuf::internal::TSanWrite(&_impl_);
2533 _impl_.dual_objective_ = value;
2534}
2535
2536// optional double complementarity = 4;
2538 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2539 return value;
2540}
2542 ::google::protobuf::internal::TSanWrite(&_impl_);
2543 _impl_.complementarity_ = 0;
2544 ClearHasBit(_impl_._has_bits_[0],
2545 0x00000004U);
2546}
2548 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.complementarity)
2549 return _internal_complementarity();
2550}
2552 _internal_set_complementarity(value);
2553 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2554 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.complementarity)
2556inline double CallbackDataProto_BarrierStats::_internal_complementarity() const {
2557 ::google::protobuf::internal::TSanRead(&_impl_);
2558 return _impl_.complementarity_;
2559}
2560inline void CallbackDataProto_BarrierStats::_internal_set_complementarity(double value) {
2561 ::google::protobuf::internal::TSanWrite(&_impl_);
2562 _impl_.complementarity_ = value;
2563}
2564
2565// optional double primal_infeasibility = 5;
2567 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
2568 return value;
2569}
2571 ::google::protobuf::internal::TSanWrite(&_impl_);
2572 _impl_.primal_infeasibility_ = 0;
2573 ClearHasBit(_impl_._has_bits_[0],
2574 0x00000008U);
2575}
2577 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_infeasibility)
2578 return _internal_primal_infeasibility();
2579}
2581 _internal_set_primal_infeasibility(value);
2582 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2583 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_infeasibility)
2585inline double CallbackDataProto_BarrierStats::_internal_primal_infeasibility() const {
2586 ::google::protobuf::internal::TSanRead(&_impl_);
2587 return _impl_.primal_infeasibility_;
2588}
2589inline void CallbackDataProto_BarrierStats::_internal_set_primal_infeasibility(double value) {
2590 ::google::protobuf::internal::TSanWrite(&_impl_);
2591 _impl_.primal_infeasibility_ = value;
2592}
2593
2594// optional double dual_infeasibility = 6;
2596 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2597 return value;
2598}
2600 ::google::protobuf::internal::TSanWrite(&_impl_);
2601 _impl_.dual_infeasibility_ = 0;
2602 ClearHasBit(_impl_._has_bits_[0],
2603 0x00000010U);
2604}
2606 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_infeasibility)
2607 return _internal_dual_infeasibility();
2608}
2610 _internal_set_dual_infeasibility(value);
2611 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2612 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_infeasibility)
2614inline double CallbackDataProto_BarrierStats::_internal_dual_infeasibility() const {
2615 ::google::protobuf::internal::TSanRead(&_impl_);
2616 return _impl_.dual_infeasibility_;
2617}
2618inline void CallbackDataProto_BarrierStats::_internal_set_dual_infeasibility(double value) {
2619 ::google::protobuf::internal::TSanWrite(&_impl_);
2620 _impl_.dual_infeasibility_ = value;
2621}
2622
2623// -------------------------------------------------------------------
2624
2625// CallbackDataProto_MipStats
2626
2627// optional double primal_bound = 1;
2629 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2630 return value;
2631}
2633 ::google::protobuf::internal::TSanWrite(&_impl_);
2634 _impl_.primal_bound_ = 0;
2635 ClearHasBit(_impl_._has_bits_[0],
2636 0x00000001U);
2637}
2638inline double CallbackDataProto_MipStats::primal_bound() const {
2639 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.primal_bound)
2640 return _internal_primal_bound();
2641}
2642inline void CallbackDataProto_MipStats::set_primal_bound(double value) {
2643 _internal_set_primal_bound(value);
2644 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2645 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.primal_bound)
2646}
2647inline double CallbackDataProto_MipStats::_internal_primal_bound() const {
2648 ::google::protobuf::internal::TSanRead(&_impl_);
2649 return _impl_.primal_bound_;
2650}
2651inline void CallbackDataProto_MipStats::_internal_set_primal_bound(double value) {
2652 ::google::protobuf::internal::TSanWrite(&_impl_);
2653 _impl_.primal_bound_ = value;
2654}
2655
2656// optional double dual_bound = 2;
2658 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2659 return value;
2660}
2662 ::google::protobuf::internal::TSanWrite(&_impl_);
2663 _impl_.dual_bound_ = 0;
2664 ClearHasBit(_impl_._has_bits_[0],
2665 0x00000002U);
2666}
2667inline double CallbackDataProto_MipStats::dual_bound() const {
2668 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.dual_bound)
2669 return _internal_dual_bound();
2670}
2671inline void CallbackDataProto_MipStats::set_dual_bound(double value) {
2672 _internal_set_dual_bound(value);
2673 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2674 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.dual_bound)
2675}
2676inline double CallbackDataProto_MipStats::_internal_dual_bound() const {
2677 ::google::protobuf::internal::TSanRead(&_impl_);
2678 return _impl_.dual_bound_;
2679}
2680inline void CallbackDataProto_MipStats::_internal_set_dual_bound(double value) {
2681 ::google::protobuf::internal::TSanWrite(&_impl_);
2682 _impl_.dual_bound_ = value;
2683}
2684
2685// optional int64 explored_nodes = 3;
2687 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
2688 return value;
2689}
2691 ::google::protobuf::internal::TSanWrite(&_impl_);
2692 _impl_.explored_nodes_ = ::int64_t{0};
2693 ClearHasBit(_impl_._has_bits_[0],
2694 0x00000004U);
2695}
2696inline ::int64_t CallbackDataProto_MipStats::explored_nodes() const {
2697 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.explored_nodes)
2698 return _internal_explored_nodes();
2699}
2700inline void CallbackDataProto_MipStats::set_explored_nodes(::int64_t value) {
2701 _internal_set_explored_nodes(value);
2702 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
2703 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.explored_nodes)
2704}
2705inline ::int64_t CallbackDataProto_MipStats::_internal_explored_nodes() const {
2706 ::google::protobuf::internal::TSanRead(&_impl_);
2707 return _impl_.explored_nodes_;
2708}
2709inline void CallbackDataProto_MipStats::_internal_set_explored_nodes(::int64_t value) {
2710 ::google::protobuf::internal::TSanWrite(&_impl_);
2711 _impl_.explored_nodes_ = value;
2712}
2713
2714// optional int64 open_nodes = 4;
2716 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
2717 return value;
2718}
2720 ::google::protobuf::internal::TSanWrite(&_impl_);
2721 _impl_.open_nodes_ = ::int64_t{0};
2722 ClearHasBit(_impl_._has_bits_[0],
2723 0x00000008U);
2724}
2725inline ::int64_t CallbackDataProto_MipStats::open_nodes() const {
2726 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.open_nodes)
2727 return _internal_open_nodes();
2728}
2729inline void CallbackDataProto_MipStats::set_open_nodes(::int64_t value) {
2730 _internal_set_open_nodes(value);
2731 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
2732 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.open_nodes)
2733}
2734inline ::int64_t CallbackDataProto_MipStats::_internal_open_nodes() const {
2735 ::google::protobuf::internal::TSanRead(&_impl_);
2736 return _impl_.open_nodes_;
2737}
2738inline void CallbackDataProto_MipStats::_internal_set_open_nodes(::int64_t value) {
2739 ::google::protobuf::internal::TSanWrite(&_impl_);
2740 _impl_.open_nodes_ = value;
2741}
2742
2743// optional int64 simplex_iterations = 5;
2745 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
2746 return value;
2747}
2749 ::google::protobuf::internal::TSanWrite(&_impl_);
2750 _impl_.simplex_iterations_ = ::int64_t{0};
2751 ClearHasBit(_impl_._has_bits_[0],
2752 0x00000010U);
2753}
2754inline ::int64_t CallbackDataProto_MipStats::simplex_iterations() const {
2755 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.simplex_iterations)
2756 return _internal_simplex_iterations();
2757}
2758inline void CallbackDataProto_MipStats::set_simplex_iterations(::int64_t value) {
2759 _internal_set_simplex_iterations(value);
2760 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
2761 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.simplex_iterations)
2762}
2763inline ::int64_t CallbackDataProto_MipStats::_internal_simplex_iterations() const {
2764 ::google::protobuf::internal::TSanRead(&_impl_);
2765 return _impl_.simplex_iterations_;
2766}
2767inline void CallbackDataProto_MipStats::_internal_set_simplex_iterations(::int64_t value) {
2768 ::google::protobuf::internal::TSanWrite(&_impl_);
2769 _impl_.simplex_iterations_ = value;
2770}
2771
2772// optional int32 number_of_solutions_found = 6;
2774 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
2775 return value;
2776}
2778 ::google::protobuf::internal::TSanWrite(&_impl_);
2779 _impl_.number_of_solutions_found_ = 0;
2780 ClearHasBit(_impl_._has_bits_[0],
2781 0x00000020U);
2782}
2784 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.number_of_solutions_found)
2785 return _internal_number_of_solutions_found();
2786}
2788 _internal_set_number_of_solutions_found(value);
2789 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
2790 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.number_of_solutions_found)
2791}
2792inline ::int32_t CallbackDataProto_MipStats::_internal_number_of_solutions_found() const {
2793 ::google::protobuf::internal::TSanRead(&_impl_);
2794 return _impl_.number_of_solutions_found_;
2795}
2796inline void CallbackDataProto_MipStats::_internal_set_number_of_solutions_found(::int32_t value) {
2797 ::google::protobuf::internal::TSanWrite(&_impl_);
2798 _impl_.number_of_solutions_found_ = value;
2799}
2800
2801// optional int32 cutting_planes_in_lp = 7;
2803 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000040U);
2804 return value;
2805}
2807 ::google::protobuf::internal::TSanWrite(&_impl_);
2808 _impl_.cutting_planes_in_lp_ = 0;
2809 ClearHasBit(_impl_._has_bits_[0],
2810 0x00000040U);
2811}
2812inline ::int32_t CallbackDataProto_MipStats::cutting_planes_in_lp() const {
2813 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.cutting_planes_in_lp)
2814 return _internal_cutting_planes_in_lp();
2815}
2816inline void CallbackDataProto_MipStats::set_cutting_planes_in_lp(::int32_t value) {
2817 _internal_set_cutting_planes_in_lp(value);
2818 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2819 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.cutting_planes_in_lp)
2820}
2821inline ::int32_t CallbackDataProto_MipStats::_internal_cutting_planes_in_lp() const {
2822 ::google::protobuf::internal::TSanRead(&_impl_);
2823 return _impl_.cutting_planes_in_lp_;
2824}
2825inline void CallbackDataProto_MipStats::_internal_set_cutting_planes_in_lp(::int32_t value) {
2826 ::google::protobuf::internal::TSanWrite(&_impl_);
2827 _impl_.cutting_planes_in_lp_ = value;
2828}
2829
2830// -------------------------------------------------------------------
2832// CallbackDataProto
2833
2834// .operations_research.math_opt.CallbackEventProto event = 1;
2835inline void CallbackDataProto::clear_event() {
2836 ::google::protobuf::internal::TSanWrite(&_impl_);
2837 _impl_.event_ = 0;
2838 ClearHasBit(_impl_._has_bits_[0],
2839 0x00000040U);
2840}
2841inline ::operations_research::math_opt::CallbackEventProto CallbackDataProto::event() const {
2842 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.event)
2843 return _internal_event();
2844}
2846 _internal_set_event(value);
2847 SetHasBit(_impl_._has_bits_[0], 0x00000040U);
2848 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.event)
2849}
2850inline ::operations_research::math_opt::CallbackEventProto CallbackDataProto::_internal_event() const {
2851 ::google::protobuf::internal::TSanRead(&_impl_);
2852 return static_cast<::operations_research::math_opt::CallbackEventProto>(_impl_.event_);
2853}
2854inline void CallbackDataProto::_internal_set_event(::operations_research::math_opt::CallbackEventProto value) {
2855 ::google::protobuf::internal::TSanWrite(&_impl_);
2856 _impl_.event_ = value;
2858
2859// .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
2861 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
2862 PROTOBUF_ASSUME(!value || _impl_.primal_solution_vector_ != nullptr);
2863 return value;
2864}
2865inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackDataProto::_internal_primal_solution_vector() const {
2866 ::google::protobuf::internal::TSanRead(&_impl_);
2867 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.primal_solution_vector_;
2869}
2870inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackDataProto::primal_solution_vector() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2871 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2872 return _internal_primal_solution_vector();
2873}
2876 ::google::protobuf::internal::TSanWrite(&_impl_);
2877 if (GetArena() == nullptr) {
2878 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primal_solution_vector_);
2879 }
2880 _impl_.primal_solution_vector_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2881 if (value != nullptr) {
2882 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2883 } else {
2884 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2885 }
2886 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2887}
2888inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackDataProto::release_primal_solution_vector() {
2889 ::google::protobuf::internal::TSanWrite(&_impl_);
2891 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2892 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.primal_solution_vector_;
2893 _impl_.primal_solution_vector_ = nullptr;
2894 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2895 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2896 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2897 if (GetArena() == nullptr) {
2898 delete old;
2899 }
2900 } else {
2901 if (GetArena() != nullptr) {
2902 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2903 }
2905 return released;
2906}
2907inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_primal_solution_vector() {
2908 ::google::protobuf::internal::TSanWrite(&_impl_);
2909 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2910
2911 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2913 _impl_.primal_solution_vector_ = nullptr;
2914 return temp;
2915}
2916inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_primal_solution_vector() {
2917 ::google::protobuf::internal::TSanWrite(&_impl_);
2918 if (_impl_.primal_solution_vector_ == nullptr) {
2919 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2920 _impl_.primal_solution_vector_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2921 }
2922 return _impl_.primal_solution_vector_;
2924inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackDataProto::mutable_primal_solution_vector()
2925 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2926 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2927 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_primal_solution_vector();
2928 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2929 return _msg;
2930}
2932 ::google::protobuf::Arena* message_arena = GetArena();
2933 ::google::protobuf::internal::TSanWrite(&_impl_);
2934 if (message_arena == nullptr) {
2935 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primal_solution_vector_);
2936 }
2937
2938 if (value != nullptr) {
2939 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2940 if (message_arena != submessage_arena) {
2941 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2942 }
2943 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
2944 } else {
2945 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
2946 }
2948 _impl_.primal_solution_vector_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2949 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2950}
2951
2952// .google.protobuf.Duration runtime = 3;
2953inline bool CallbackDataProto::has_runtime() const {
2954 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
2955 PROTOBUF_ASSUME(!value || _impl_.runtime_ != nullptr);
2956 return value;
2957}
2958inline const ::google::protobuf::Duration& CallbackDataProto::_internal_runtime() const {
2959 ::google::protobuf::internal::TSanRead(&_impl_);
2960 const ::google::protobuf::Duration* p = _impl_.runtime_;
2961 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
2962}
2963inline const ::google::protobuf::Duration& CallbackDataProto::runtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2964 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.runtime)
2965 return _internal_runtime();
2966}
2968 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
2969 ::google::protobuf::internal::TSanWrite(&_impl_);
2970 if (GetArena() == nullptr) {
2971 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.runtime_);
2972 }
2973 _impl_.runtime_ = reinterpret_cast<::google::protobuf::Duration*>(value);
2974 if (value != nullptr) {
2975 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
2976 } else {
2977 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2978 }
2979 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.runtime)
2980}
2981inline ::google::protobuf::Duration* PROTOBUF_NULLABLE CallbackDataProto::release_runtime() {
2982 ::google::protobuf::internal::TSanWrite(&_impl_);
2984 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
2985 ::google::protobuf::Duration* released = _impl_.runtime_;
2986 _impl_.runtime_ = nullptr;
2987 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2988 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2989 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2990 if (GetArena() == nullptr) {
2991 delete old;
2992 }
2993 } else {
2994 if (GetArena() != nullptr) {
2995 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2996 }
2998 return released;
2999}
3000inline ::google::protobuf::Duration* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_runtime() {
3001 ::google::protobuf::internal::TSanWrite(&_impl_);
3002 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.runtime)
3003
3004 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3005 ::google::protobuf::Duration* temp = _impl_.runtime_;
3006 _impl_.runtime_ = nullptr;
3007 return temp;
3008}
3009inline ::google::protobuf::Duration* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_runtime() {
3010 ::google::protobuf::internal::TSanWrite(&_impl_);
3011 if (_impl_.runtime_ == nullptr) {
3012 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
3013 _impl_.runtime_ = reinterpret_cast<::google::protobuf::Duration*>(p);
3014 }
3015 return _impl_.runtime_;
3017inline ::google::protobuf::Duration* PROTOBUF_NONNULL CallbackDataProto::mutable_runtime()
3018 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3019 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3020 ::google::protobuf::Duration* _msg = _internal_mutable_runtime();
3021 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.runtime)
3022 return _msg;
3023}
3024inline void CallbackDataProto::set_allocated_runtime(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
3025 ::google::protobuf::Arena* message_arena = GetArena();
3026 ::google::protobuf::internal::TSanWrite(&_impl_);
3027 if (message_arena == nullptr) {
3028 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.runtime_);
3029 }
3030
3031 if (value != nullptr) {
3032 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3033 if (message_arena != submessage_arena) {
3034 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3035 }
3036 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3037 } else {
3038 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3039 }
3041 _impl_.runtime_ = reinterpret_cast<::google::protobuf::Duration*>(value);
3042 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.runtime)
3043}
3044
3045// .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
3046inline bool CallbackDataProto::has_presolve_stats() const {
3047 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
3048 PROTOBUF_ASSUME(!value || _impl_.presolve_stats_ != nullptr);
3049 return value;
3050}
3052 ::google::protobuf::internal::TSanWrite(&_impl_);
3053 if (_impl_.presolve_stats_ != nullptr) _impl_.presolve_stats_->Clear();
3054 ClearHasBit(_impl_._has_bits_[0],
3055 0x00000004U);
3056}
3057inline const ::operations_research::math_opt::CallbackDataProto_PresolveStats& CallbackDataProto::_internal_presolve_stats() const {
3058 ::google::protobuf::internal::TSanRead(&_impl_);
3059 const ::operations_research::math_opt::CallbackDataProto_PresolveStats* p = _impl_.presolve_stats_;
3061}
3062inline const ::operations_research::math_opt::CallbackDataProto_PresolveStats& CallbackDataProto::presolve_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3063 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.presolve_stats)
3064 return _internal_presolve_stats();
3065}
3068 ::google::protobuf::internal::TSanWrite(&_impl_);
3069 if (GetArena() == nullptr) {
3070 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.presolve_stats_);
3071 }
3072 _impl_.presolve_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_PresolveStats*>(value);
3073 if (value != nullptr) {
3074 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3075 } else {
3076 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3077 }
3078 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.presolve_stats)
3079}
3080inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NULLABLE CallbackDataProto::release_presolve_stats() {
3081 ::google::protobuf::internal::TSanWrite(&_impl_);
3083 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3085 _impl_.presolve_stats_ = nullptr;
3086 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3087 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3088 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3089 if (GetArena() == nullptr) {
3090 delete old;
3091 }
3092 } else {
3093 if (GetArena() != nullptr) {
3094 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3095 }
3097 return released;
3098}
3099inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_presolve_stats() {
3100 ::google::protobuf::internal::TSanWrite(&_impl_);
3101 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.presolve_stats)
3102
3103 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3105 _impl_.presolve_stats_ = nullptr;
3106 return temp;
3107}
3108inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_presolve_stats() {
3109 ::google::protobuf::internal::TSanWrite(&_impl_);
3110 if (_impl_.presolve_stats_ == nullptr) {
3111 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_PresolveStats>(GetArena());
3112 _impl_.presolve_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_PresolveStats*>(p);
3113 }
3114 return _impl_.presolve_stats_;
3116inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL CallbackDataProto::mutable_presolve_stats()
3117 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3118 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3119 ::operations_research::math_opt::CallbackDataProto_PresolveStats* _msg = _internal_mutable_presolve_stats();
3120 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.presolve_stats)
3121 return _msg;
3122}
3124 ::google::protobuf::Arena* message_arena = GetArena();
3125 ::google::protobuf::internal::TSanWrite(&_impl_);
3126 if (message_arena == nullptr) {
3127 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.presolve_stats_);
3128 }
3129
3130 if (value != nullptr) {
3131 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3132 if (message_arena != submessage_arena) {
3133 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3134 }
3135 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3136 } else {
3137 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3138 }
3140 _impl_.presolve_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_PresolveStats*>(value);
3141 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.presolve_stats)
3142}
3143
3144// .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
3145inline bool CallbackDataProto::has_simplex_stats() const {
3146 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000008U);
3147 PROTOBUF_ASSUME(!value || _impl_.simplex_stats_ != nullptr);
3148 return value;
3149}
3151 ::google::protobuf::internal::TSanWrite(&_impl_);
3152 if (_impl_.simplex_stats_ != nullptr) _impl_.simplex_stats_->Clear();
3153 ClearHasBit(_impl_._has_bits_[0],
3154 0x00000008U);
3155}
3156inline const ::operations_research::math_opt::CallbackDataProto_SimplexStats& CallbackDataProto::_internal_simplex_stats() const {
3157 ::google::protobuf::internal::TSanRead(&_impl_);
3158 const ::operations_research::math_opt::CallbackDataProto_SimplexStats* p = _impl_.simplex_stats_;
3160}
3161inline const ::operations_research::math_opt::CallbackDataProto_SimplexStats& CallbackDataProto::simplex_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3162 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.simplex_stats)
3163 return _internal_simplex_stats();
3164}
3167 ::google::protobuf::internal::TSanWrite(&_impl_);
3168 if (GetArena() == nullptr) {
3169 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.simplex_stats_);
3170 }
3171 _impl_.simplex_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_SimplexStats*>(value);
3172 if (value != nullptr) {
3173 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3174 } else {
3175 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
3176 }
3177 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.simplex_stats)
3178}
3179inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NULLABLE CallbackDataProto::release_simplex_stats() {
3180 ::google::protobuf::internal::TSanWrite(&_impl_);
3182 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
3184 _impl_.simplex_stats_ = nullptr;
3185 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3186 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3187 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3188 if (GetArena() == nullptr) {
3189 delete old;
3190 }
3191 } else {
3192 if (GetArena() != nullptr) {
3193 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3194 }
3196 return released;
3197}
3198inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_simplex_stats() {
3199 ::google::protobuf::internal::TSanWrite(&_impl_);
3200 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.simplex_stats)
3201
3202 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
3204 _impl_.simplex_stats_ = nullptr;
3205 return temp;
3206}
3207inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_simplex_stats() {
3208 ::google::protobuf::internal::TSanWrite(&_impl_);
3209 if (_impl_.simplex_stats_ == nullptr) {
3210 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_SimplexStats>(GetArena());
3211 _impl_.simplex_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_SimplexStats*>(p);
3212 }
3213 return _impl_.simplex_stats_;
3215inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL CallbackDataProto::mutable_simplex_stats()
3216 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3217 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3218 ::operations_research::math_opt::CallbackDataProto_SimplexStats* _msg = _internal_mutable_simplex_stats();
3219 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.simplex_stats)
3220 return _msg;
3221}
3223 ::google::protobuf::Arena* message_arena = GetArena();
3224 ::google::protobuf::internal::TSanWrite(&_impl_);
3225 if (message_arena == nullptr) {
3226 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.simplex_stats_);
3227 }
3228
3229 if (value != nullptr) {
3230 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3231 if (message_arena != submessage_arena) {
3232 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3233 }
3234 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3235 } else {
3236 ClearHasBit(_impl_._has_bits_[0], 0x00000008U);
3237 }
3239 _impl_.simplex_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_SimplexStats*>(value);
3240 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.simplex_stats)
3241}
3242
3243// .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
3244inline bool CallbackDataProto::has_barrier_stats() const {
3245 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000010U);
3246 PROTOBUF_ASSUME(!value || _impl_.barrier_stats_ != nullptr);
3247 return value;
3248}
3250 ::google::protobuf::internal::TSanWrite(&_impl_);
3251 if (_impl_.barrier_stats_ != nullptr) _impl_.barrier_stats_->Clear();
3252 ClearHasBit(_impl_._has_bits_[0],
3253 0x00000010U);
3254}
3255inline const ::operations_research::math_opt::CallbackDataProto_BarrierStats& CallbackDataProto::_internal_barrier_stats() const {
3256 ::google::protobuf::internal::TSanRead(&_impl_);
3257 const ::operations_research::math_opt::CallbackDataProto_BarrierStats* p = _impl_.barrier_stats_;
3259}
3260inline const ::operations_research::math_opt::CallbackDataProto_BarrierStats& CallbackDataProto::barrier_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3261 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.barrier_stats)
3262 return _internal_barrier_stats();
3263}
3266 ::google::protobuf::internal::TSanWrite(&_impl_);
3267 if (GetArena() == nullptr) {
3268 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.barrier_stats_);
3269 }
3270 _impl_.barrier_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_BarrierStats*>(value);
3271 if (value != nullptr) {
3272 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3273 } else {
3274 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
3275 }
3276 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.barrier_stats)
3277}
3278inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NULLABLE CallbackDataProto::release_barrier_stats() {
3279 ::google::protobuf::internal::TSanWrite(&_impl_);
3281 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
3283 _impl_.barrier_stats_ = nullptr;
3284 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3285 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3286 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3287 if (GetArena() == nullptr) {
3288 delete old;
3289 }
3290 } else {
3291 if (GetArena() != nullptr) {
3292 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3293 }
3295 return released;
3296}
3297inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_barrier_stats() {
3298 ::google::protobuf::internal::TSanWrite(&_impl_);
3299 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.barrier_stats)
3300
3301 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
3303 _impl_.barrier_stats_ = nullptr;
3304 return temp;
3305}
3306inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_barrier_stats() {
3307 ::google::protobuf::internal::TSanWrite(&_impl_);
3308 if (_impl_.barrier_stats_ == nullptr) {
3309 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_BarrierStats>(GetArena());
3310 _impl_.barrier_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_BarrierStats*>(p);
3311 }
3312 return _impl_.barrier_stats_;
3314inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL CallbackDataProto::mutable_barrier_stats()
3315 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3316 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3317 ::operations_research::math_opt::CallbackDataProto_BarrierStats* _msg = _internal_mutable_barrier_stats();
3318 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.barrier_stats)
3319 return _msg;
3320}
3322 ::google::protobuf::Arena* message_arena = GetArena();
3323 ::google::protobuf::internal::TSanWrite(&_impl_);
3324 if (message_arena == nullptr) {
3325 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.barrier_stats_);
3326 }
3327
3328 if (value != nullptr) {
3329 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3330 if (message_arena != submessage_arena) {
3331 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3332 }
3333 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
3334 } else {
3335 ClearHasBit(_impl_._has_bits_[0], 0x00000010U);
3336 }
3338 _impl_.barrier_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_BarrierStats*>(value);
3339 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.barrier_stats)
3340}
3341
3342// .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
3343inline bool CallbackDataProto::has_mip_stats() const {
3344 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000020U);
3345 PROTOBUF_ASSUME(!value || _impl_.mip_stats_ != nullptr);
3346 return value;
3347}
3349 ::google::protobuf::internal::TSanWrite(&_impl_);
3350 if (_impl_.mip_stats_ != nullptr) _impl_.mip_stats_->Clear();
3351 ClearHasBit(_impl_._has_bits_[0],
3352 0x00000020U);
3353}
3354inline const ::operations_research::math_opt::CallbackDataProto_MipStats& CallbackDataProto::_internal_mip_stats() const {
3355 ::google::protobuf::internal::TSanRead(&_impl_);
3356 const ::operations_research::math_opt::CallbackDataProto_MipStats* p = _impl_.mip_stats_;
3358}
3359inline const ::operations_research::math_opt::CallbackDataProto_MipStats& CallbackDataProto::mip_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3360 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.mip_stats)
3361 return _internal_mip_stats();
3362}
3365 ::google::protobuf::internal::TSanWrite(&_impl_);
3366 if (GetArena() == nullptr) {
3367 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_stats_);
3368 }
3369 _impl_.mip_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_MipStats*>(value);
3370 if (value != nullptr) {
3371 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
3372 } else {
3373 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
3374 }
3375 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.mip_stats)
3376}
3377inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NULLABLE CallbackDataProto::release_mip_stats() {
3378 ::google::protobuf::internal::TSanWrite(&_impl_);
3380 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
3382 _impl_.mip_stats_ = nullptr;
3383 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3384 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3385 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3386 if (GetArena() == nullptr) {
3387 delete old;
3388 }
3389 } else {
3390 if (GetArena() != nullptr) {
3391 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3392 }
3394 return released;
3395}
3396inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_mip_stats() {
3397 ::google::protobuf::internal::TSanWrite(&_impl_);
3398 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.mip_stats)
3399
3400 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
3402 _impl_.mip_stats_ = nullptr;
3403 return temp;
3404}
3405inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_mip_stats() {
3406 ::google::protobuf::internal::TSanWrite(&_impl_);
3407 if (_impl_.mip_stats_ == nullptr) {
3408 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_MipStats>(GetArena());
3409 _impl_.mip_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_MipStats*>(p);
3410 }
3411 return _impl_.mip_stats_;
3413inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL CallbackDataProto::mutable_mip_stats()
3414 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3415 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
3416 ::operations_research::math_opt::CallbackDataProto_MipStats* _msg = _internal_mutable_mip_stats();
3417 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.mip_stats)
3418 return _msg;
3419}
3421 ::google::protobuf::Arena* message_arena = GetArena();
3422 ::google::protobuf::internal::TSanWrite(&_impl_);
3423 if (message_arena == nullptr) {
3424 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_stats_);
3425 }
3426
3427 if (value != nullptr) {
3428 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3429 if (message_arena != submessage_arena) {
3430 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3431 }
3432 SetHasBit(_impl_._has_bits_[0], 0x00000020U);
3433 } else {
3434 ClearHasBit(_impl_._has_bits_[0], 0x00000020U);
3435 }
3437 _impl_.mip_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_MipStats*>(value);
3438 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.mip_stats)
3439}
3440
3441// -------------------------------------------------------------------
3442
3443// CallbackResultProto_GeneratedLinearConstraint
3444
3445// .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
3447 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000001U);
3448 PROTOBUF_ASSUME(!value || _impl_.linear_expression_ != nullptr);
3449 return value;
3450}
3451inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto_GeneratedLinearConstraint::_internal_linear_expression() const {
3452 ::google::protobuf::internal::TSanRead(&_impl_);
3453 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_expression_;
3455}
3456inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto_GeneratedLinearConstraint::linear_expression() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3457 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3458 return _internal_linear_expression();
3459}
3461 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE value) {
3462 ::google::protobuf::internal::TSanWrite(&_impl_);
3463 if (GetArena() == nullptr) {
3464 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_expression_);
3465 }
3466 _impl_.linear_expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3467 if (value != nullptr) {
3468 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3469 } else {
3470 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3471 }
3472 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3474inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackResultProto_GeneratedLinearConstraint::release_linear_expression() {
3475 ::google::protobuf::internal::TSanWrite(&_impl_);
3476
3477 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3479 _impl_.linear_expression_ = nullptr;
3480 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3481 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3482 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3483 if (GetArena() == nullptr) {
3484 delete old;
3485 }
3486 } else {
3487 if (GetArena() != nullptr) {
3488 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3489 }
3490 }
3491 return released;
3492}
3493inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackResultProto_GeneratedLinearConstraint::unsafe_arena_release_linear_expression() {
3494 ::google::protobuf::internal::TSanWrite(&_impl_);
3495 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3496
3497 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3499 _impl_.linear_expression_ = nullptr;
3500 return temp;
3501}
3502inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto_GeneratedLinearConstraint::_internal_mutable_linear_expression() {
3503 ::google::protobuf::internal::TSanWrite(&_impl_);
3504 if (_impl_.linear_expression_ == nullptr) {
3505 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3506 _impl_.linear_expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3507 }
3508 return _impl_.linear_expression_;
3509}
3510inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto_GeneratedLinearConstraint::mutable_linear_expression()
3511 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3512 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3513 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_expression();
3514 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3515 return _msg;
3516}
3518 ::google::protobuf::Arena* message_arena = GetArena();
3519 ::google::protobuf::internal::TSanWrite(&_impl_);
3520 if (message_arena == nullptr) {
3521 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_expression_);
3522 }
3523
3524 if (value != nullptr) {
3525 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3526 if (message_arena != submessage_arena) {
3527 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3528 }
3529 SetHasBit(_impl_._has_bits_[0], 0x00000001U);
3530 } else {
3531 ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
3532 }
3533
3534 _impl_.linear_expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3535 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3536}
3537
3538// double lower_bound = 2;
3540 ::google::protobuf::internal::TSanWrite(&_impl_);
3541 _impl_.lower_bound_ = 0;
3542 ClearHasBit(_impl_._has_bits_[0],
3543 0x00000002U);
3544}
3546 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.lower_bound)
3547 return _internal_lower_bound();
3548}
3550 _internal_set_lower_bound(value);
3551 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3552 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.lower_bound)
3553}
3554inline double CallbackResultProto_GeneratedLinearConstraint::_internal_lower_bound() const {
3555 ::google::protobuf::internal::TSanRead(&_impl_);
3556 return _impl_.lower_bound_;
3557}
3558inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_lower_bound(double value) {
3559 ::google::protobuf::internal::TSanWrite(&_impl_);
3560 _impl_.lower_bound_ = value;
3561}
3563// double upper_bound = 3;
3565 ::google::protobuf::internal::TSanWrite(&_impl_);
3566 _impl_.upper_bound_ = 0;
3567 ClearHasBit(_impl_._has_bits_[0],
3568 0x00000004U);
3569}
3571 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.upper_bound)
3572 return _internal_upper_bound();
3573}
3575 _internal_set_upper_bound(value);
3576 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3577 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.upper_bound)
3578}
3579inline double CallbackResultProto_GeneratedLinearConstraint::_internal_upper_bound() const {
3580 ::google::protobuf::internal::TSanRead(&_impl_);
3581 return _impl_.upper_bound_;
3582}
3583inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_upper_bound(double value) {
3584 ::google::protobuf::internal::TSanWrite(&_impl_);
3585 _impl_.upper_bound_ = value;
3586}
3588// bool is_lazy = 4;
3590 ::google::protobuf::internal::TSanWrite(&_impl_);
3591 _impl_.is_lazy_ = false;
3592 ClearHasBit(_impl_._has_bits_[0],
3593 0x00000008U);
3594}
3596 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.is_lazy)
3597 return _internal_is_lazy();
3598}
3600 _internal_set_is_lazy(value);
3601 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
3602 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.is_lazy)
3603}
3604inline bool CallbackResultProto_GeneratedLinearConstraint::_internal_is_lazy() const {
3605 ::google::protobuf::internal::TSanRead(&_impl_);
3606 return _impl_.is_lazy_;
3607}
3608inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_is_lazy(bool value) {
3609 ::google::protobuf::internal::TSanWrite(&_impl_);
3610 _impl_.is_lazy_ = value;
3611}
3613// -------------------------------------------------------------------
3614
3615// CallbackResultProto
3617// bool terminate = 1;
3619 ::google::protobuf::internal::TSanWrite(&_impl_);
3620 _impl_.terminate_ = false;
3621 ClearHasBit(_impl_._has_bits_[0],
3622 0x00000002U);
3623}
3624inline bool CallbackResultProto::terminate() const {
3625 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.terminate)
3626 return _internal_terminate();
3627}
3628inline void CallbackResultProto::set_terminate(bool value) {
3629 _internal_set_terminate(value);
3630 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3631 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.terminate)
3632}
3633inline bool CallbackResultProto::_internal_terminate() const {
3634 ::google::protobuf::internal::TSanRead(&_impl_);
3635 return _impl_.terminate_;
3637inline void CallbackResultProto::_internal_set_terminate(bool value) {
3638 ::google::protobuf::internal::TSanWrite(&_impl_);
3639 _impl_.terminate_ = value;
3640}
3641
3642// repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
3643inline int CallbackResultProto::_internal_cuts_size() const {
3644 return _internal_cuts().size();
3645}
3647 return _internal_cuts_size();
3648}
3649inline void CallbackResultProto::clear_cuts() {
3650 ::google::protobuf::internal::TSanWrite(&_impl_);
3651 _impl_.cuts_.Clear();
3652 ClearHasBitForRepeated(_impl_._has_bits_[0],
3653 0x00000001U);
3654}
3655inline ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL CallbackResultProto::mutable_cuts(int index)
3656 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3657 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackResultProto.cuts)
3658 return _internal_mutable_cuts()->Mutable(index);
3659}
3660inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL CallbackResultProto::mutable_cuts()
3661 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3662 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3663 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.CallbackResultProto.cuts)
3664 ::google::protobuf::internal::TSanWrite(&_impl_);
3665 return _internal_mutable_cuts();
3666}
3667inline const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint& CallbackResultProto::cuts(int index) const
3668 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3669 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.cuts)
3670 return _internal_cuts().Get(index);
3671}
3672inline ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL CallbackResultProto::add_cuts()
3673 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3674 ::google::protobuf::internal::TSanWrite(&_impl_);
3676 _internal_mutable_cuts()->InternalAddWithArena(
3677 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3678 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3679 // @@protoc_insertion_point(field_add:operations_research.math_opt.CallbackResultProto.cuts)
3680 return _add;
3681}
3682inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& CallbackResultProto::cuts() const
3683 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3684 // @@protoc_insertion_point(field_list:operations_research.math_opt.CallbackResultProto.cuts)
3685 return _internal_cuts();
3686}
3687inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>&
3688CallbackResultProto::_internal_cuts() const {
3689 ::google::protobuf::internal::TSanRead(&_impl_);
3690 return _impl_.cuts_;
3691}
3692inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL
3693CallbackResultProto::_internal_mutable_cuts() {
3694 ::google::protobuf::internal::TSanRead(&_impl_);
3695 return &_impl_.cuts_;
3696}
3697
3698// repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
3699inline int CallbackResultProto::_internal_suggested_solutions_size() const {
3700 return _internal_suggested_solutions().size();
3701}
3703 return _internal_suggested_solutions_size();
3704}
3705inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto::mutable_suggested_solutions(int index)
3706 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3707 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3708 return _internal_mutable_suggested_solutions()->Mutable(index);
3709}
3710inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL CallbackResultProto::mutable_suggested_solutions()
3711 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3712 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
3713 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3714 ::google::protobuf::internal::TSanWrite(&_impl_);
3715 return _internal_mutable_suggested_solutions();
3716}
3717inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto::suggested_solutions(int index) const
3718 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3719 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3720 return _internal_suggested_solutions().Get(index);
3721}
3722inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto::add_suggested_solutions()
3723 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3724 ::google::protobuf::internal::TSanWrite(&_impl_);
3726 _internal_mutable_suggested_solutions()->InternalAddWithArena(
3727 ::google::protobuf::MessageLite::internal_visibility(), GetArena());
3728 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000004U);
3729 // @@protoc_insertion_point(field_add:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3730 return _add;
3731}
3732inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& CallbackResultProto::suggested_solutions() const
3733 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3734 // @@protoc_insertion_point(field_list:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3735 return _internal_suggested_solutions();
3736}
3737inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>&
3738CallbackResultProto::_internal_suggested_solutions() const {
3739 ::google::protobuf::internal::TSanRead(&_impl_);
3740 return _impl_.suggested_solutions_;
3741}
3742inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL
3743CallbackResultProto::_internal_mutable_suggested_solutions() {
3744 ::google::protobuf::internal::TSanRead(&_impl_);
3745 return &_impl_.suggested_solutions_;
3746}
3747
3748// -------------------------------------------------------------------
3749
3750// CallbackRegistrationProto
3751
3752// repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
3753inline int CallbackRegistrationProto::_internal_request_registration_size() const {
3754 return _internal_request_registration().size();
3755}
3757 return _internal_request_registration_size();
3758}
3760 ::google::protobuf::internal::TSanWrite(&_impl_);
3761 _impl_.request_registration_.Clear();
3762 ClearHasBitForRepeated(_impl_._has_bits_[0],
3763 0x00000001U);
3764}
3765inline ::operations_research::math_opt::CallbackEventProto CallbackRegistrationProto::request_registration(int index) const {
3766 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3767 return static_cast<::operations_research::math_opt::CallbackEventProto>(_internal_request_registration().Get(index));
3768}
3770 _internal_mutable_request_registration()->Set(index, value);
3771 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3772}
3774 ::google::protobuf::internal::TSanWrite(&_impl_);
3775 _internal_mutable_request_registration()->Add(value);
3776 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3777 // @@protoc_insertion_point(field_add:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3779inline const ::google::protobuf::RepeatedField<int>& CallbackRegistrationProto::request_registration() const
3780 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3781 // @@protoc_insertion_point(field_list:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3782 return _internal_request_registration();
3783}
3784inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL CallbackRegistrationProto::mutable_request_registration()
3785 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3786 SetHasBitForRepeated(_impl_._has_bits_[0], 0x00000001U);
3787 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3788 ::google::protobuf::internal::TSanWrite(&_impl_);
3789 return _internal_mutable_request_registration();
3790}
3791inline const ::google::protobuf::RepeatedField<int>& CallbackRegistrationProto::_internal_request_registration()
3792 const {
3793 ::google::protobuf::internal::TSanRead(&_impl_);
3794 return _impl_.request_registration_;
3795}
3796inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
3797CallbackRegistrationProto::_internal_mutable_request_registration() {
3798 ::google::protobuf::internal::TSanRead(&_impl_);
3799 return &_impl_.request_registration_;
3800}
3801
3802// .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
3804 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000002U);
3805 PROTOBUF_ASSUME(!value || _impl_.mip_solution_filter_ != nullptr);
3806 return value;
3807}
3808inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::_internal_mip_solution_filter() const {
3809 ::google::protobuf::internal::TSanRead(&_impl_);
3810 const ::operations_research::math_opt::SparseVectorFilterProto* p = _impl_.mip_solution_filter_;
3812}
3813inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::mip_solution_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3814 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3815 return _internal_mip_solution_filter();
3816}
3819 ::google::protobuf::internal::TSanWrite(&_impl_);
3820 if (GetArena() == nullptr) {
3821 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_solution_filter_);
3823 _impl_.mip_solution_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3824 if (value != nullptr) {
3825 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3826 } else {
3827 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3828 }
3829 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3830}
3831inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::release_mip_solution_filter() {
3832 ::google::protobuf::internal::TSanWrite(&_impl_);
3833
3834 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3836 _impl_.mip_solution_filter_ = nullptr;
3837 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3838 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3839 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3840 if (GetArena() == nullptr) {
3841 delete old;
3842 }
3843 } else {
3844 if (GetArena() != nullptr) {
3845 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3846 }
3847 }
3848 return released;
3849}
3850inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::unsafe_arena_release_mip_solution_filter() {
3851 ::google::protobuf::internal::TSanWrite(&_impl_);
3852 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3853
3854 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3856 _impl_.mip_solution_filter_ = nullptr;
3857 return temp;
3858}
3859inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::_internal_mutable_mip_solution_filter() {
3860 ::google::protobuf::internal::TSanWrite(&_impl_);
3861 if (_impl_.mip_solution_filter_ == nullptr) {
3862 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseVectorFilterProto>(GetArena());
3863 _impl_.mip_solution_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(p);
3864 }
3865 return _impl_.mip_solution_filter_;
3866}
3867inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::mutable_mip_solution_filter()
3868 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3869 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3870 ::operations_research::math_opt::SparseVectorFilterProto* _msg = _internal_mutable_mip_solution_filter();
3871 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3872 return _msg;
3873}
3875 ::google::protobuf::Arena* message_arena = GetArena();
3876 ::google::protobuf::internal::TSanWrite(&_impl_);
3877 if (message_arena == nullptr) {
3878 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_solution_filter_);
3879 }
3880
3881 if (value != nullptr) {
3882 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3883 if (message_arena != submessage_arena) {
3884 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3885 }
3886 SetHasBit(_impl_._has_bits_[0], 0x00000002U);
3887 } else {
3888 ClearHasBit(_impl_._has_bits_[0], 0x00000002U);
3889 }
3890
3891 _impl_.mip_solution_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3892 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3894
3895// .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
3897 bool value = CheckHasBit(_impl_._has_bits_[0], 0x00000004U);
3898 PROTOBUF_ASSUME(!value || _impl_.mip_node_filter_ != nullptr);
3899 return value;
3900}
3901inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::_internal_mip_node_filter() const {
3902 ::google::protobuf::internal::TSanRead(&_impl_);
3903 const ::operations_research::math_opt::SparseVectorFilterProto* p = _impl_.mip_node_filter_;
3905}
3906inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::mip_node_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3907 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3908 return _internal_mip_node_filter();
3909}
3911 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE value) {
3912 ::google::protobuf::internal::TSanWrite(&_impl_);
3913 if (GetArena() == nullptr) {
3914 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_node_filter_);
3916 _impl_.mip_node_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3917 if (value != nullptr) {
3918 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3919 } else {
3920 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3921 }
3922 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3923}
3924inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::release_mip_node_filter() {
3925 ::google::protobuf::internal::TSanWrite(&_impl_);
3926
3927 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3929 _impl_.mip_node_filter_ = nullptr;
3930 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3931 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3932 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3933 if (GetArena() == nullptr) {
3934 delete old;
3935 }
3936 } else {
3937 if (GetArena() != nullptr) {
3938 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3939 }
3940 }
3941 return released;
3942}
3943inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::unsafe_arena_release_mip_node_filter() {
3944 ::google::protobuf::internal::TSanWrite(&_impl_);
3945 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3946
3947 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3949 _impl_.mip_node_filter_ = nullptr;
3950 return temp;
3951}
3952inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::_internal_mutable_mip_node_filter() {
3953 ::google::protobuf::internal::TSanWrite(&_impl_);
3954 if (_impl_.mip_node_filter_ == nullptr) {
3955 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseVectorFilterProto>(GetArena());
3956 _impl_.mip_node_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(p);
3957 }
3958 return _impl_.mip_node_filter_;
3959}
3960inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::mutable_mip_node_filter()
3961 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3962 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3963 ::operations_research::math_opt::SparseVectorFilterProto* _msg = _internal_mutable_mip_node_filter();
3964 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3965 return _msg;
3966}
3968 ::google::protobuf::Arena* message_arena = GetArena();
3969 ::google::protobuf::internal::TSanWrite(&_impl_);
3970 if (message_arena == nullptr) {
3971 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_node_filter_);
3972 }
3973
3974 if (value != nullptr) {
3975 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3976 if (message_arena != submessage_arena) {
3977 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3978 }
3979 SetHasBit(_impl_._has_bits_[0], 0x00000004U);
3980 } else {
3981 ClearHasBit(_impl_._has_bits_[0], 0x00000004U);
3982 }
3983
3984 _impl_.mip_node_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3985 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3987
3988// bool add_cuts = 4;
3990 ::google::protobuf::internal::TSanWrite(&_impl_);
3991 _impl_.add_cuts_ = false;
3992 ClearHasBit(_impl_._has_bits_[0],
3993 0x00000008U);
3994}
3995inline bool CallbackRegistrationProto::add_cuts() const {
3996 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.add_cuts)
3997 return _internal_add_cuts();
3998}
3999inline void CallbackRegistrationProto::set_add_cuts(bool value) {
4000 _internal_set_add_cuts(value);
4001 SetHasBit(_impl_._has_bits_[0], 0x00000008U);
4002 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackRegistrationProto.add_cuts)
4003}
4004inline bool CallbackRegistrationProto::_internal_add_cuts() const {
4005 ::google::protobuf::internal::TSanRead(&_impl_);
4006 return _impl_.add_cuts_;
4007}
4008inline void CallbackRegistrationProto::_internal_set_add_cuts(bool value) {
4009 ::google::protobuf::internal::TSanWrite(&_impl_);
4010 _impl_.add_cuts_ = value;
4011}
4012
4013// bool add_lazy_constraints = 5;
4015 ::google::protobuf::internal::TSanWrite(&_impl_);
4016 _impl_.add_lazy_constraints_ = false;
4017 ClearHasBit(_impl_._has_bits_[0],
4018 0x00000010U);
4019}
4021 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.add_lazy_constraints)
4022 return _internal_add_lazy_constraints();
4023}
4025 _internal_set_add_lazy_constraints(value);
4026 SetHasBit(_impl_._has_bits_[0], 0x00000010U);
4027 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackRegistrationProto.add_lazy_constraints)
4028}
4029inline bool CallbackRegistrationProto::_internal_add_lazy_constraints() const {
4030 ::google::protobuf::internal::TSanRead(&_impl_);
4031 return _impl_.add_lazy_constraints_;
4032}
4033inline void CallbackRegistrationProto::_internal_set_add_lazy_constraints(bool value) {
4034 ::google::protobuf::internal::TSanWrite(&_impl_);
4035 _impl_.add_lazy_constraints_ = value;
4036}
4037
4038#ifdef __GNUC__
4039#pragma GCC diagnostic pop
4040#endif // __GNUC__
4041
4042// @@protoc_insertion_point(namespace_scope)
4043} // namespace math_opt
4044} // namespace operations_research
4045
4046
4047namespace google {
4048namespace protobuf {
4049
4050template <>
4051struct is_proto_enum<::operations_research::math_opt::CallbackEventProto> : std::true_type {};
4052template <>
4053inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::CallbackEventProto>() {
4054 return ::operations_research::math_opt::CallbackEventProto_descriptor();
4055}
4056
4057} // namespace protobuf
4058} // namespace google
4059
4060// @@protoc_insertion_point(global_scope)
4061
4062#include "google/protobuf/port_undef.inc"
4063
4064#endif // ortools_2fmath_5fopt_2fcallback_2eproto_2epb_2eh
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
CallbackDataProto_BarrierStats & operator=(const CallbackDataProto_BarrierStats &from)
void Swap(CallbackDataProto_BarrierStats *PROTOBUF_NONNULL other)
friend void swap(CallbackDataProto_BarrierStats &a, CallbackDataProto_BarrierStats &b)
void MergeFrom(const CallbackDataProto_BarrierStats &from)
void CopyFrom(const CallbackDataProto_BarrierStats &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
CallbackDataProto_BarrierStats *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
inline ::google::protobuf::UnknownFieldSet *PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(CallbackDataProto_MipStats &a, CallbackDataProto_MipStats &b)
void CopyFrom(const CallbackDataProto_MipStats &from)
void Swap(CallbackDataProto_MipStats *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const CallbackDataProto_MipStats &from)
CallbackDataProto_MipStats & operator=(const CallbackDataProto_MipStats &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
static const CallbackDataProto_MipStats & default_instance()
PROTOBUF_CONSTEXPR CallbackDataProto_MipStats(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStats(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
void MergeFrom(const CallbackDataProto_PresolveStats &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
void Swap(CallbackDataProto_PresolveStats *PROTOBUF_NONNULL other)
CallbackDataProto_PresolveStats & operator=(const CallbackDataProto_PresolveStats &from)
void CopyFrom(const CallbackDataProto_PresolveStats &from)
static const CallbackDataProto_PresolveStats & default_instance()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
CallbackDataProto_SimplexStats & operator=(const CallbackDataProto_SimplexStats &from)
void CopyFrom(const CallbackDataProto_SimplexStats &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
CallbackDataProto_SimplexStats(const CallbackDataProto_SimplexStats &from)
PROTOBUF_CONSTEXPR CallbackDataProto_SimplexStats(::google::protobuf::internal::ConstantInitialized)
void Swap(CallbackDataProto_SimplexStats *PROTOBUF_NONNULL other)
void set_event(::operations_research::math_opt::CallbackEventProto value)
::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE release_mip_stats()
::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE unsafe_arena_release_simplex_stats()
const ::operations_research::math_opt::CallbackDataProto_SimplexStats & simplex_stats() const
void set_allocated_simplex_stats(::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_mip_stats(::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE value)
::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NONNULL mutable_barrier_stats()
::operations_research::math_opt::CallbackEventProto event() const
::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE release_simplex_stats()
::google::protobuf::Duration *PROTOBUF_NULLABLE release_runtime()
::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE release_barrier_stats()
::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NONNULL mutable_mip_stats()
const ::operations_research::math_opt::CallbackDataProto_MipStats & mip_stats() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_primal_solution_vector()
void unsafe_arena_set_allocated_presolve_stats(::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE value)
friend void swap(CallbackDataProto &a, CallbackDataProto &b)
::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE unsafe_arena_release_mip_stats()
::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE release_presolve_stats()
const ::operations_research::math_opt::CallbackDataProto_PresolveStats & presolve_stats() const
::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NONNULL mutable_presolve_stats()
const ::google::protobuf::Duration & runtime() const
void unsafe_arena_set_allocated_primal_solution_vector(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NONNULL mutable_simplex_stats()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::operations_research::math_opt::SparseDoubleVectorProto & primal_solution_vector() const
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
::google::protobuf::Duration *PROTOBUF_NONNULL mutable_runtime()
void set_allocated_mip_stats(::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE value)
void set_allocated_primal_solution_vector(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
void set_allocated_runtime(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void unsafe_arena_set_allocated_runtime(::google::protobuf::Duration *PROTOBUF_NULLABLE value)
void set_allocated_barrier_stats(::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_primal_solution_vector()
void set_allocated_presolve_stats(::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE value)
::operations_research::math_opt::CallbackDataProto_PresolveStats *PROTOBUF_NULLABLE unsafe_arena_release_presolve_stats()
static const CallbackDataProto & default_instance()
void UnsafeArenaSwap(CallbackDataProto *PROTOBUF_NONNULL other)
CallbackDataProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void unsafe_arena_set_allocated_barrier_stats(::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE value)
const ::operations_research::math_opt::CallbackDataProto_BarrierStats & barrier_stats() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_primal_solution_vector()
::google::protobuf::Duration *PROTOBUF_NULLABLE unsafe_arena_release_runtime()
::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE unsafe_arena_release_barrier_stats()
void unsafe_arena_set_allocated_simplex_stats(::operations_research::math_opt::CallbackDataProto_SimplexStats *PROTOBUF_NULLABLE value)
void Swap(CallbackDataProto *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NONNULL mutable_mip_node_filter()
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE release_mip_node_filter()
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NONNULL mutable_mip_solution_filter()
const ::operations_research::math_opt::SparseVectorFilterProto & mip_solution_filter() const
void unsafe_arena_set_allocated_mip_node_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE unsafe_arena_release_mip_node_filter()
::google::protobuf::RepeatedField< int > *PROTOBUF_NONNULL mutable_request_registration()
CallbackRegistrationProto & operator=(const CallbackRegistrationProto &from)
void unsafe_arena_set_allocated_mip_solution_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
CallbackRegistrationProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
void add_request_registration(::operations_research::math_opt::CallbackEventProto value)
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE release_mip_solution_filter()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend void swap(CallbackRegistrationProto &a, CallbackRegistrationProto &b)
static const CallbackRegistrationProto & default_instance()
void set_allocated_mip_solution_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
::operations_research::math_opt::CallbackEventProto request_registration(int index) const
::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE unsafe_arena_release_mip_solution_filter()
const ::operations_research::math_opt::SparseVectorFilterProto & mip_node_filter() const
const ::google::protobuf::RepeatedField< int > & request_registration() const
void set_allocated_mip_node_filter(::operations_research::math_opt::SparseVectorFilterProto *PROTOBUF_NULLABLE value)
void set_request_registration(int index, ::operations_research::math_opt::CallbackEventProto value)
void Swap(CallbackRegistrationProto *PROTOBUF_NONNULL other)
void set_allocated_linear_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void unsafe_arena_set_allocated_linear_expression(::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE value)
CallbackResultProto_GeneratedLinearConstraint & operator=(const CallbackResultProto_GeneratedLinearConstraint &from)
void CopyFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
void Swap(CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL other)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_linear_expression()
static const CallbackResultProto_GeneratedLinearConstraint & default_instance()
void MergeFrom(const CallbackResultProto_GeneratedLinearConstraint &from)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE unsafe_arena_release_linear_expression()
const ::operations_research::math_opt::SparseDoubleVectorProto & linear_expression() const
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NULLABLE release_linear_expression()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
static const CallbackResultProto & default_instance()
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > & cuts() const
const ::operations_research::math_opt::SparseDoubleVectorProto & suggested_solutions(int index) const
void UnsafeArenaSwap(CallbackResultProto *PROTOBUF_NONNULL other)
void CopyFrom(const CallbackResultProto &from)
const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint & cuts(int index) const
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > *PROTOBUF_NONNULL mutable_cuts()
::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL mutable_cuts(int index)
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL add_suggested_solutions()
::operations_research::math_opt::SparseDoubleVectorProto *PROTOBUF_NONNULL mutable_suggested_solutions(int index)
::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto > *PROTOBUF_NONNULL mutable_suggested_solutions()
void Swap(CallbackResultProto *PROTOBUF_NONNULL other)
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL GetDescriptor()
CallbackResultProto & operator=(const CallbackResultProto &from)
::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL add_cuts()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto > & suggested_solutions() const
::absl::string_view GetAnyMessageName()
const EnumDescriptor *PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::CallbackEventProto >()
PROTOBUF_CONSTINIT const uint32_t CallbackEventProto_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProtoDefaultTypeInternal _CallbackResultProto_default_instance_
const ::std::string & CallbackEventProto_Name(T value)
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackRegistrationProtoDefaultTypeInternal _CallbackRegistrationProto_default_instance_
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 CallbackDataProto_SimplexStatsDefaultTypeInternal _CallbackDataProto_SimplexStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProtoDefaultTypeInternal _CallbackDataProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SparseVectorFilterProtoDefaultTypeInternal _SparseVectorFilterProto_default_instance_
bool CallbackEventProto_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_PresolveStatsDefaultTypeInternal _CallbackDataProto_PresolveStats_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_MipStatsDefaultTypeInternal _CallbackDataProto_MipStats_default_instance_
bool CallbackEventProto_Parse(::absl::string_view name, CallbackEventProto *PROTOBUF_NONNULL value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackDataProto_BarrierStatsDefaultTypeInternal _CallbackDataProto_BarrierStats_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL CallbackEventProto_descriptor()
constexpr CallbackEventProto CallbackEventProto_MIN
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_
constexpr int CallbackEventProto_ARRAYSIZE
constexpr CallbackEventProto CallbackEventProto_MAX
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CallbackResultProto_GeneratedLinearConstraintDefaultTypeInternal _CallbackResultProto_GeneratedLinearConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_
OR-Tools root namespace.