Google OR-Tools v9.14
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.31.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 != 6031001
16#error "Protobuf C++ gencode is built with an incompatible version of"
17#error "Protobuf C++ headers/runtime. See"
18#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19#endif
20#include "google/protobuf/io/coded_stream.h"
21#include "google/protobuf/arena.h"
22#include "google/protobuf/arenastring.h"
23#include "google/protobuf/generated_message_tctable_decl.h"
24#include "google/protobuf/generated_message_util.h"
25#include "google/protobuf/metadata_lite.h"
26#include "google/protobuf/generated_message_reflection.h"
27#include "google/protobuf/message.h"
28#include "google/protobuf/message_lite.h"
29#include "google/protobuf/repeated_field.h" // IWYU pragma: export
30#include "google/protobuf/extension_set.h" // IWYU pragma: export
31#include "google/protobuf/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 protected:
275 explicit CallbackDataProto_SimplexStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
276 CallbackDataProto_SimplexStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_SimplexStats& from);
278 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_SimplexStats&& from) noexcept
280 *this = ::std::move(from);
281 }
282 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
283 static void* PROTOBUF_NONNULL PlacementNew_(
284 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
285 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
286 static constexpr auto InternalNewImpl_();
287
288 public:
289 static constexpr auto InternalGenerateClassData_();
290
291 ::google::protobuf::Metadata GetMetadata() const;
292 // nested types ----------------------------------------------------
293
294 // accessors -------------------------------------------------------
295 enum : int {
296 kIterationCountFieldNumber = 1,
297 kObjectiveValueFieldNumber = 2,
301 };
302 // optional int64 iteration_count = 1;
303 bool has_iteration_count() const;
304 void clear_iteration_count() ;
305 ::int64_t iteration_count() const;
306 void set_iteration_count(::int64_t value);
307
308 private:
309 ::int64_t _internal_iteration_count() const;
310 void _internal_set_iteration_count(::int64_t value);
311
312 public:
313 // optional double objective_value = 2;
314 bool has_objective_value() const;
315 void clear_objective_value() ;
316 double objective_value() const;
317 void set_objective_value(double value);
318
319 private:
320 double _internal_objective_value() const;
321 void _internal_set_objective_value(double value);
322
323 public:
324 // optional double primal_infeasibility = 3;
325 bool has_primal_infeasibility() const;
327 double primal_infeasibility() const;
328 void set_primal_infeasibility(double value);
329
330 private:
331 double _internal_primal_infeasibility() const;
332 void _internal_set_primal_infeasibility(double value);
333
334 public:
335 // optional double dual_infeasibility = 4;
336 bool has_dual_infeasibility() const;
338 double dual_infeasibility() const;
339 void set_dual_infeasibility(double value);
340
341 private:
342 double _internal_dual_infeasibility() const;
343 void _internal_set_dual_infeasibility(double value);
344
345 public:
346 // optional bool is_pertubated = 5;
347 bool has_is_pertubated() const;
348 void clear_is_pertubated() ;
349 bool is_pertubated() const;
350 void set_is_pertubated(bool value);
351
352 private:
353 bool _internal_is_pertubated() const;
354 void _internal_set_is_pertubated(bool value);
355
356 public:
357 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.SimplexStats)
358 private:
359 class _Internal;
360 friend class ::google::protobuf::internal::TcParser;
361 static const ::google::protobuf::internal::TcParseTable<3, 5,
362 0, 0,
363 2>
364 _table_;
365
366 friend class ::google::protobuf::MessageLite;
367 friend class ::google::protobuf::Arena;
368 template <typename T>
369 friend class ::google::protobuf::Arena::InternalHelper;
370 using InternalArenaConstructable_ = void;
371 using DestructorSkippable_ = void;
372 struct Impl_ {
373 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
374 inline explicit Impl_(
375 ::google::protobuf::internal::InternalVisibility visibility,
376 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
377 inline explicit Impl_(
378 ::google::protobuf::internal::InternalVisibility visibility,
379 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
380 const CallbackDataProto_SimplexStats& from_msg);
381 ::google::protobuf::internal::HasBits<1> _has_bits_;
382 ::google::protobuf::internal::CachedSize _cached_size_;
383 ::int64_t iteration_count_;
384 double objective_value_;
385 double primal_infeasibility_;
386 double dual_infeasibility_;
387 bool is_pertubated_;
388 PROTOBUF_TSAN_DECLARE_MEMBER
389 };
390 union { Impl_ _impl_; };
391 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
394OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_SimplexStats_class_data_;
395// -------------------------------------------------------------------
396
397class OR_PROTO_DLL CallbackDataProto_PresolveStats final : public ::google::protobuf::Message
398/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.PresolveStats) */ {
399 public:
401 ~CallbackDataProto_PresolveStats() PROTOBUF_FINAL;
402
403#if defined(PROTOBUF_CUSTOM_VTABLE)
404 void operator delete(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
405 SharedDtor(*msg);
406 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_PresolveStats));
407 }
408#endif
409
410 template <typename = void>
411 explicit PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStats(::google::protobuf::internal::ConstantInitialized);
412
415 : CallbackDataProto_PresolveStats(nullptr, ::std::move(from)) {}
417 CopyFrom(from);
418 return *this;
420 inline CallbackDataProto_PresolveStats& operator=(CallbackDataProto_PresolveStats&& from) noexcept {
421 if (this == &from) return *this;
422 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
423 InternalSwap(&from);
424 } else {
425 CopyFrom(from);
426 }
427 return *this;
428 }
429
430 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
431 ABSL_ATTRIBUTE_LIFETIME_BOUND {
432 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
434 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
435 ABSL_ATTRIBUTE_LIFETIME_BOUND {
436 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
438
439 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
440 return GetDescriptor();
441 }
442 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
443 return default_instance().GetMetadata().descriptor;
444 }
445 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
446 return default_instance().GetMetadata().reflection;
447 }
452 static constexpr int kIndexInFileMessages = 0;
454 inline void Swap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other) {
455 if (other == this) return;
456 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
457 InternalSwap(other);
458 } else {
459 ::google::protobuf::internal::GenericSwap(this, other);
460 }
461 }
462 void UnsafeArenaSwap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other) {
463 if (other == this) return;
464 ABSL_DCHECK(GetArena() == other->GetArena());
465 InternalSwap(other);
466 }
467
468 // implements Message ----------------------------------------------
469
470 CallbackDataProto_PresolveStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
471 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_PresolveStats>(arena);
472 }
473 using ::google::protobuf::Message::CopyFrom;
475 using ::google::protobuf::Message::MergeFrom;
476 void MergeFrom(const CallbackDataProto_PresolveStats& from) { CallbackDataProto_PresolveStats::MergeImpl(*this, from); }
477
478 private:
479 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
480 const ::google::protobuf::MessageLite& from_msg);
481
482 public:
483 bool IsInitialized() const {
484 return true;
485 }
486 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
487 #if defined(PROTOBUF_CUSTOM_VTABLE)
488 private:
489 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
490 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
491 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
492 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
493
494 public:
495 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
496 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
497 ::uint8_t* PROTOBUF_NONNULL target,
498 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
499 return _InternalSerialize(*this, target, stream);
500 }
501 #else // PROTOBUF_CUSTOM_VTABLE
502 ::size_t ByteSizeLong() const final;
503 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
504 ::uint8_t* PROTOBUF_NONNULL target,
505 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
506 #endif // PROTOBUF_CUSTOM_VTABLE
507 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
508
509 private:
510 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
511 static void SharedDtor(MessageLite& self);
512 void InternalSwap(CallbackDataProto_PresolveStats* PROTOBUF_NONNULL other);
513 private:
514 template <typename T>
515 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
516 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.PresolveStats"; }
517
518 protected:
519 explicit CallbackDataProto_PresolveStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
520 CallbackDataProto_PresolveStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_PresolveStats& from);
522 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_PresolveStats&& from) noexcept
524 *this = ::std::move(from);
525 }
526 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
527 static void* PROTOBUF_NONNULL PlacementNew_(
528 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
529 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
530 static constexpr auto InternalNewImpl_();
531
532 public:
533 static constexpr auto InternalGenerateClassData_();
534
535 ::google::protobuf::Metadata GetMetadata() const;
536 // nested types ----------------------------------------------------
537
538 // accessors -------------------------------------------------------
539 enum : int {
540 kRemovedVariablesFieldNumber = 1,
541 kRemovedConstraintsFieldNumber = 2,
542 kBoundChangesFieldNumber = 3,
544 };
545 // optional int64 removed_variables = 1;
548 ::int64_t removed_variables() const;
549 void set_removed_variables(::int64_t value);
550
551 private:
552 ::int64_t _internal_removed_variables() const;
553 void _internal_set_removed_variables(::int64_t value);
554
555 public:
556 // optional int64 removed_constraints = 2;
557 bool has_removed_constraints() const;
559 ::int64_t removed_constraints() const;
560 void set_removed_constraints(::int64_t value);
561
562 private:
563 ::int64_t _internal_removed_constraints() const;
564 void _internal_set_removed_constraints(::int64_t value);
565
566 public:
567 // optional int64 bound_changes = 3;
568 bool has_bound_changes() const;
569 void clear_bound_changes() ;
570 ::int64_t bound_changes() const;
571 void set_bound_changes(::int64_t value);
572
573 private:
574 ::int64_t _internal_bound_changes() const;
575 void _internal_set_bound_changes(::int64_t value);
576
577 public:
578 // optional int64 coefficient_changes = 4;
579 bool has_coefficient_changes() const;
581 ::int64_t coefficient_changes() const;
582 void set_coefficient_changes(::int64_t value);
583
584 private:
585 ::int64_t _internal_coefficient_changes() const;
586 void _internal_set_coefficient_changes(::int64_t value);
587
588 public:
589 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.PresolveStats)
590 private:
591 class _Internal;
592 friend class ::google::protobuf::internal::TcParser;
593 static const ::google::protobuf::internal::TcParseTable<2, 4,
594 0, 0,
595 2>
596 _table_;
597
598 friend class ::google::protobuf::MessageLite;
599 friend class ::google::protobuf::Arena;
600 template <typename T>
601 friend class ::google::protobuf::Arena::InternalHelper;
602 using InternalArenaConstructable_ = void;
603 using DestructorSkippable_ = void;
604 struct Impl_ {
605 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
606 inline explicit Impl_(
607 ::google::protobuf::internal::InternalVisibility visibility,
608 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
609 inline explicit Impl_(
610 ::google::protobuf::internal::InternalVisibility visibility,
611 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
612 const CallbackDataProto_PresolveStats& from_msg);
613 ::google::protobuf::internal::HasBits<1> _has_bits_;
614 ::google::protobuf::internal::CachedSize _cached_size_;
615 ::int64_t removed_variables_;
616 ::int64_t removed_constraints_;
617 ::int64_t bound_changes_;
618 ::int64_t coefficient_changes_;
619 PROTOBUF_TSAN_DECLARE_MEMBER
620 };
621 union { Impl_ _impl_; };
622 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
623};
625OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_PresolveStats_class_data_;
626// -------------------------------------------------------------------
627
628class OR_PROTO_DLL CallbackDataProto_MipStats final : public ::google::protobuf::Message
629/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.MipStats) */ {
630 public:
633
634#if defined(PROTOBUF_CUSTOM_VTABLE)
635 void operator delete(CallbackDataProto_MipStats* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
636 SharedDtor(*msg);
637 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_MipStats));
638 }
639#endif
640
641 template <typename = void>
642 explicit PROTOBUF_CONSTEXPR CallbackDataProto_MipStats(::google::protobuf::internal::ConstantInitialized);
643
645 inline CallbackDataProto_MipStats(CallbackDataProto_MipStats&& from) noexcept
646 : CallbackDataProto_MipStats(nullptr, ::std::move(from)) {}
647 inline CallbackDataProto_MipStats& operator=(const CallbackDataProto_MipStats& from) {
648 CopyFrom(from);
649 return *this;
650 }
652 if (this == &from) return *this;
653 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
654 InternalSwap(&from);
655 } else {
656 CopyFrom(from);
657 }
658 return *this;
659 }
660
661 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
662 ABSL_ATTRIBUTE_LIFETIME_BOUND {
663 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
664 }
665 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
666 ABSL_ATTRIBUTE_LIFETIME_BOUND {
667 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
668 }
670 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
671 return GetDescriptor();
672 }
673 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
674 return default_instance().GetMetadata().descriptor;
675 }
676 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
677 return default_instance().GetMetadata().reflection;
678 }
679 static const CallbackDataProto_MipStats& default_instance() {
680 return *reinterpret_cast<const CallbackDataProto_MipStats*>(
682 }
683 static constexpr int kIndexInFileMessages = 3;
685 inline void Swap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other) {
686 if (other == this) return;
687 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
688 InternalSwap(other);
689 } else {
690 ::google::protobuf::internal::GenericSwap(this, other);
691 }
692 }
693 void UnsafeArenaSwap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other) {
694 if (other == this) return;
695 ABSL_DCHECK(GetArena() == other->GetArena());
696 InternalSwap(other);
698
699 // implements Message ----------------------------------------------
700
701 CallbackDataProto_MipStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
702 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_MipStats>(arena);
703 }
704 using ::google::protobuf::Message::CopyFrom;
706 using ::google::protobuf::Message::MergeFrom;
707 void MergeFrom(const CallbackDataProto_MipStats& from) { CallbackDataProto_MipStats::MergeImpl(*this, from); }
708
709 private:
710 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
711 const ::google::protobuf::MessageLite& from_msg);
712
713 public:
714 bool IsInitialized() const {
715 return true;
716 }
717 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
718 #if defined(PROTOBUF_CUSTOM_VTABLE)
719 private:
720 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
721 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
722 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
723 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
724
725 public:
726 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
727 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
728 ::uint8_t* PROTOBUF_NONNULL target,
729 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
730 return _InternalSerialize(*this, target, stream);
731 }
732 #else // PROTOBUF_CUSTOM_VTABLE
733 ::size_t ByteSizeLong() const final;
734 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
735 ::uint8_t* PROTOBUF_NONNULL target,
736 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
737 #endif // PROTOBUF_CUSTOM_VTABLE
738 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
739
740 private:
741 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
742 static void SharedDtor(MessageLite& self);
743 void InternalSwap(CallbackDataProto_MipStats* PROTOBUF_NONNULL other);
744 private:
745 template <typename T>
746 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
747 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.MipStats"; }
748
749 protected:
750 explicit CallbackDataProto_MipStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
751 CallbackDataProto_MipStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_MipStats& from);
753 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_MipStats&& from) noexcept
755 *this = ::std::move(from);
757 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
758 static void* PROTOBUF_NONNULL PlacementNew_(
759 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
760 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
761 static constexpr auto InternalNewImpl_();
762
763 public:
764 static constexpr auto InternalGenerateClassData_();
765
766 ::google::protobuf::Metadata GetMetadata() const;
767 // nested types ----------------------------------------------------
768
769 // accessors -------------------------------------------------------
770 enum : int {
771 kPrimalBoundFieldNumber = 1,
772 kDualBoundFieldNumber = 2,
773 kExploredNodesFieldNumber = 3,
774 kOpenNodesFieldNumber = 4,
778 };
779 // optional double primal_bound = 1;
780 bool has_primal_bound() const;
782 double primal_bound() const;
783 void set_primal_bound(double value);
784
785 private:
786 double _internal_primal_bound() const;
787 void _internal_set_primal_bound(double value);
788
789 public:
790 // optional double dual_bound = 2;
791 bool has_dual_bound() const;
792 void clear_dual_bound() ;
793 double dual_bound() const;
794 void set_dual_bound(double value);
795
796 private:
797 double _internal_dual_bound() const;
798 void _internal_set_dual_bound(double value);
799
800 public:
801 // optional int64 explored_nodes = 3;
802 bool has_explored_nodes() const;
803 void clear_explored_nodes() ;
804 ::int64_t explored_nodes() const;
805 void set_explored_nodes(::int64_t value);
806
807 private:
808 ::int64_t _internal_explored_nodes() const;
809 void _internal_set_explored_nodes(::int64_t value);
810
811 public:
812 // optional int64 open_nodes = 4;
813 bool has_open_nodes() const;
814 void clear_open_nodes() ;
815 ::int64_t open_nodes() const;
816 void set_open_nodes(::int64_t value);
817
818 private:
819 ::int64_t _internal_open_nodes() const;
820 void _internal_set_open_nodes(::int64_t value);
821
822 public:
823 // optional int64 simplex_iterations = 5;
824 bool has_simplex_iterations() const;
826 ::int64_t simplex_iterations() const;
827 void set_simplex_iterations(::int64_t value);
828
829 private:
830 ::int64_t _internal_simplex_iterations() const;
831 void _internal_set_simplex_iterations(::int64_t value);
832
833 public:
834 // optional int32 number_of_solutions_found = 6;
837 ::int32_t number_of_solutions_found() const;
838 void set_number_of_solutions_found(::int32_t value);
839
840 private:
841 ::int32_t _internal_number_of_solutions_found() const;
842 void _internal_set_number_of_solutions_found(::int32_t value);
843
844 public:
845 // optional int32 cutting_planes_in_lp = 7;
846 bool has_cutting_planes_in_lp() const;
848 ::int32_t cutting_planes_in_lp() const;
849 void set_cutting_planes_in_lp(::int32_t value);
850
851 private:
852 ::int32_t _internal_cutting_planes_in_lp() const;
853 void _internal_set_cutting_planes_in_lp(::int32_t value);
854
855 public:
856 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.MipStats)
857 private:
858 class _Internal;
859 friend class ::google::protobuf::internal::TcParser;
860 static const ::google::protobuf::internal::TcParseTable<3, 7,
861 0, 0,
862 2>
863 _table_;
864
865 friend class ::google::protobuf::MessageLite;
866 friend class ::google::protobuf::Arena;
867 template <typename T>
868 friend class ::google::protobuf::Arena::InternalHelper;
869 using InternalArenaConstructable_ = void;
870 using DestructorSkippable_ = void;
871 struct Impl_ {
872 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
873 inline explicit Impl_(
874 ::google::protobuf::internal::InternalVisibility visibility,
875 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
876 inline explicit Impl_(
877 ::google::protobuf::internal::InternalVisibility visibility,
878 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
879 const CallbackDataProto_MipStats& from_msg);
880 ::google::protobuf::internal::HasBits<1> _has_bits_;
881 ::google::protobuf::internal::CachedSize _cached_size_;
882 double primal_bound_;
883 double dual_bound_;
884 ::int64_t explored_nodes_;
885 ::int64_t open_nodes_;
886 ::int64_t simplex_iterations_;
887 ::int32_t number_of_solutions_found_;
888 ::int32_t cutting_planes_in_lp_;
889 PROTOBUF_TSAN_DECLARE_MEMBER
890 };
891 union { Impl_ _impl_; };
892 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
893};
894
895OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_MipStats_class_data_;
896// -------------------------------------------------------------------
897
898class OR_PROTO_DLL CallbackDataProto_BarrierStats final : public ::google::protobuf::Message
899/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto.BarrierStats) */ {
900 public:
902 ~CallbackDataProto_BarrierStats() PROTOBUF_FINAL;
904#if defined(PROTOBUF_CUSTOM_VTABLE)
905 void operator delete(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
906 SharedDtor(*msg);
907 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto_BarrierStats));
908 }
909#endif
910
911 template <typename = void>
912 explicit PROTOBUF_CONSTEXPR CallbackDataProto_BarrierStats(::google::protobuf::internal::ConstantInitialized);
913
915 inline CallbackDataProto_BarrierStats(CallbackDataProto_BarrierStats&& from) noexcept
916 : CallbackDataProto_BarrierStats(nullptr, ::std::move(from)) {}
918 CopyFrom(from);
919 return *this;
921 inline CallbackDataProto_BarrierStats& operator=(CallbackDataProto_BarrierStats&& from) noexcept {
922 if (this == &from) return *this;
923 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
924 InternalSwap(&from);
925 } else {
926 CopyFrom(from);
927 }
928 return *this;
929 }
930
931 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
932 ABSL_ATTRIBUTE_LIFETIME_BOUND {
933 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
934 }
935 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
936 ABSL_ATTRIBUTE_LIFETIME_BOUND {
937 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
938 }
939
940 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
941 return GetDescriptor();
942 }
943 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
944 return default_instance().GetMetadata().descriptor;
946 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
947 return default_instance().GetMetadata().reflection;
949 static const CallbackDataProto_BarrierStats& default_instance() {
950 return *reinterpret_cast<const CallbackDataProto_BarrierStats*>(
952 }
953 static constexpr int kIndexInFileMessages = 2;
955 inline void Swap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other) {
956 if (other == this) return;
957 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
958 InternalSwap(other);
959 } else {
960 ::google::protobuf::internal::GenericSwap(this, other);
961 }
962 }
963 void UnsafeArenaSwap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other) {
964 if (other == this) return;
965 ABSL_DCHECK(GetArena() == other->GetArena());
966 InternalSwap(other);
967 }
969 // implements Message ----------------------------------------------
970
971 CallbackDataProto_BarrierStats* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
972 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto_BarrierStats>(arena);
973 }
974 using ::google::protobuf::Message::CopyFrom;
975 void CopyFrom(const CallbackDataProto_BarrierStats& from);
976 using ::google::protobuf::Message::MergeFrom;
977 void MergeFrom(const CallbackDataProto_BarrierStats& from) { CallbackDataProto_BarrierStats::MergeImpl(*this, from); }
978
979 private:
980 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
981 const ::google::protobuf::MessageLite& from_msg);
983 public:
984 bool IsInitialized() const {
985 return true;
986 }
987 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
988 #if defined(PROTOBUF_CUSTOM_VTABLE)
989 private:
990 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
991 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
992 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
993 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
994
995 public:
996 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
997 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
998 ::uint8_t* PROTOBUF_NONNULL target,
999 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1000 return _InternalSerialize(*this, target, stream);
1001 }
1002 #else // PROTOBUF_CUSTOM_VTABLE
1003 ::size_t ByteSizeLong() const final;
1004 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1005 ::uint8_t* PROTOBUF_NONNULL target,
1006 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1007 #endif // PROTOBUF_CUSTOM_VTABLE
1008 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1009
1010 private:
1011 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1012 static void SharedDtor(MessageLite& self);
1013 void InternalSwap(CallbackDataProto_BarrierStats* PROTOBUF_NONNULL other);
1014 private:
1015 template <typename T>
1016 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1017 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto.BarrierStats"; }
1018
1019 protected:
1020 explicit CallbackDataProto_BarrierStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1021 CallbackDataProto_BarrierStats(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto_BarrierStats& from);
1023 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto_BarrierStats&& from) noexcept
1025 *this = ::std::move(from);
1026 }
1027 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1028 static void* PROTOBUF_NONNULL PlacementNew_(
1029 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1030 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1031 static constexpr auto InternalNewImpl_();
1032
1033 public:
1034 static constexpr auto InternalGenerateClassData_();
1035
1036 ::google::protobuf::Metadata GetMetadata() const;
1037 // nested types ----------------------------------------------------
1038
1039 // accessors -------------------------------------------------------
1040 enum : int {
1048 // optional double primal_objective = 2;
1051 double primal_objective() const;
1052 void set_primal_objective(double value);
1053
1054 private:
1055 double _internal_primal_objective() const;
1056 void _internal_set_primal_objective(double value);
1057
1058 public:
1059 // optional double dual_objective = 3;
1060 bool has_dual_objective() const;
1061 void clear_dual_objective() ;
1062 double dual_objective() const;
1063 void set_dual_objective(double value);
1064
1065 private:
1066 double _internal_dual_objective() const;
1067 void _internal_set_dual_objective(double value);
1068
1069 public:
1070 // optional double complementarity = 4;
1071 bool has_complementarity() const;
1072 void clear_complementarity() ;
1073 double complementarity() const;
1074 void set_complementarity(double value);
1075
1076 private:
1077 double _internal_complementarity() const;
1078 void _internal_set_complementarity(double value);
1079
1080 public:
1081 // optional double primal_infeasibility = 5;
1082 bool has_primal_infeasibility() const;
1084 double primal_infeasibility() const;
1085 void set_primal_infeasibility(double value);
1086
1087 private:
1088 double _internal_primal_infeasibility() const;
1089 void _internal_set_primal_infeasibility(double value);
1090
1091 public:
1092 // optional double dual_infeasibility = 6;
1093 bool has_dual_infeasibility() const;
1095 double dual_infeasibility() const;
1096 void set_dual_infeasibility(double value);
1097
1098 private:
1099 double _internal_dual_infeasibility() const;
1100 void _internal_set_dual_infeasibility(double value);
1101
1102 public:
1103 // optional int32 iteration_count = 1;
1104 bool has_iteration_count() const;
1105 void clear_iteration_count() ;
1106 ::int32_t iteration_count() const;
1107 void set_iteration_count(::int32_t value);
1108
1109 private:
1110 ::int32_t _internal_iteration_count() const;
1111 void _internal_set_iteration_count(::int32_t value);
1112
1113 public:
1114 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto.BarrierStats)
1115 private:
1116 class _Internal;
1117 friend class ::google::protobuf::internal::TcParser;
1118 static const ::google::protobuf::internal::TcParseTable<3, 6,
1119 0, 0,
1120 2>
1121 _table_;
1123 friend class ::google::protobuf::MessageLite;
1124 friend class ::google::protobuf::Arena;
1125 template <typename T>
1126 friend class ::google::protobuf::Arena::InternalHelper;
1127 using InternalArenaConstructable_ = void;
1128 using DestructorSkippable_ = void;
1129 struct Impl_ {
1130 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1131 inline explicit Impl_(
1132 ::google::protobuf::internal::InternalVisibility visibility,
1133 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1134 inline explicit Impl_(
1135 ::google::protobuf::internal::InternalVisibility visibility,
1136 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1137 const CallbackDataProto_BarrierStats& from_msg);
1138 ::google::protobuf::internal::HasBits<1> _has_bits_;
1139 ::google::protobuf::internal::CachedSize _cached_size_;
1140 double primal_objective_;
1141 double dual_objective_;
1142 double complementarity_;
1143 double primal_infeasibility_;
1144 double dual_infeasibility_;
1145 ::int32_t iteration_count_;
1146 PROTOBUF_TSAN_DECLARE_MEMBER
1147 };
1148 union { Impl_ _impl_; };
1149 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1150};
1151
1152OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_BarrierStats_class_data_;
1153// -------------------------------------------------------------------
1155class OR_PROTO_DLL CallbackResultProto_GeneratedLinearConstraint final : public ::google::protobuf::Message
1156/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint) */ {
1157 public:
1160
1161#if defined(PROTOBUF_CUSTOM_VTABLE)
1162 void operator delete(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1163 SharedDtor(*msg);
1164 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackResultProto_GeneratedLinearConstraint));
1165 }
1166#endif
1167
1168 template <typename = void>
1169 explicit PROTOBUF_CONSTEXPR CallbackResultProto_GeneratedLinearConstraint(::google::protobuf::internal::ConstantInitialized);
1170
1172 inline CallbackResultProto_GeneratedLinearConstraint(CallbackResultProto_GeneratedLinearConstraint&& from) noexcept
1173 : CallbackResultProto_GeneratedLinearConstraint(nullptr, ::std::move(from)) {}
1174 inline CallbackResultProto_GeneratedLinearConstraint& operator=(const CallbackResultProto_GeneratedLinearConstraint& from) {
1176 return *this;
1180 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1181 InternalSwap(&from);
1182 } else {
1183 CopyFrom(from);
1185 return *this;
1186 }
1187
1188 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1189 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1190 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1191 }
1192 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1193 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1194 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1195 }
1196
1197 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1199 }
1200 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1201 return default_instance().GetMetadata().descriptor;
1202 }
1203 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1204 return default_instance().GetMetadata().reflection;
1205 }
1210 static constexpr int kIndexInFileMessages = 5;
1212 inline void Swap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other) {
1213 if (other == this) return;
1214 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1215 InternalSwap(other);
1216 } else {
1217 ::google::protobuf::internal::GenericSwap(this, other);
1219 }
1220 void UnsafeArenaSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other) {
1221 if (other == this) return;
1222 ABSL_DCHECK(GetArena() == other->GetArena());
1223 InternalSwap(other);
1224 }
1225
1226 // implements Message ----------------------------------------------
1227
1228 CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1229 return ::google::protobuf::Message::DefaultConstruct<CallbackResultProto_GeneratedLinearConstraint>(arena);
1230 }
1231 using ::google::protobuf::Message::CopyFrom;
1232 void CopyFrom(const CallbackResultProto_GeneratedLinearConstraint& from);
1233 using ::google::protobuf::Message::MergeFrom;
1234 void MergeFrom(const CallbackResultProto_GeneratedLinearConstraint& from) { CallbackResultProto_GeneratedLinearConstraint::MergeImpl(*this, from); }
1235
1236 private:
1237 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1238 const ::google::protobuf::MessageLite& from_msg);
1239
1240 public:
1241 bool IsInitialized() const {
1242 return true;
1243 }
1244 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1245 #if defined(PROTOBUF_CUSTOM_VTABLE)
1246 private:
1247 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1248 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1249 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1250 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1251
1252 public:
1253 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1254 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1255 ::uint8_t* PROTOBUF_NONNULL target,
1256 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1257 return _InternalSerialize(*this, target, stream);
1258 }
1259 #else // PROTOBUF_CUSTOM_VTABLE
1260 ::size_t ByteSizeLong() const final;
1261 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1262 ::uint8_t* PROTOBUF_NONNULL target,
1263 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1264 #endif // PROTOBUF_CUSTOM_VTABLE
1265 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1266
1267 private:
1268 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1269 static void SharedDtor(MessageLite& self);
1270 void InternalSwap(CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL other);
1271 private:
1272 template <typename T>
1273 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1274 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint"; }
1275
1276 protected:
1277 explicit CallbackResultProto_GeneratedLinearConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1278 CallbackResultProto_GeneratedLinearConstraint(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackResultProto_GeneratedLinearConstraint& from);
1280 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackResultProto_GeneratedLinearConstraint&& from) noexcept
1282 *this = ::std::move(from);
1283 }
1284 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1285 static void* PROTOBUF_NONNULL PlacementNew_(
1286 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1287 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1288 static constexpr auto InternalNewImpl_();
1289
1290 public:
1291 static constexpr auto InternalGenerateClassData_();
1292
1293 ::google::protobuf::Metadata GetMetadata() const;
1294 // nested types ----------------------------------------------------
1295
1296 // accessors -------------------------------------------------------
1297 enum : int {
1302 };
1303 // .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
1306 const ::operations_research::math_opt::SparseDoubleVectorProto& linear_expression() const;
1312
1313 private:
1314 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_linear_expression() const;
1315 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_linear_expression();
1316
1317 public:
1318 // double lower_bound = 2;
1319 void clear_lower_bound() ;
1320 double lower_bound() const;
1321 void set_lower_bound(double value);
1322
1323 private:
1324 double _internal_lower_bound() const;
1325 void _internal_set_lower_bound(double value);
1326
1327 public:
1328 // double upper_bound = 3;
1329 void clear_upper_bound() ;
1330 double upper_bound() const;
1331 void set_upper_bound(double value);
1332
1333 private:
1334 double _internal_upper_bound() const;
1335 void _internal_set_upper_bound(double value);
1336
1337 public:
1338 // bool is_lazy = 4;
1339 void clear_is_lazy() ;
1340 bool is_lazy() const;
1341 void set_is_lazy(bool value);
1342
1343 private:
1344 bool _internal_is_lazy() const;
1345 void _internal_set_is_lazy(bool value);
1346
1347 public:
1348 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint)
1349 private:
1350 class _Internal;
1351 friend class ::google::protobuf::internal::TcParser;
1352 static const ::google::protobuf::internal::TcParseTable<2, 4,
1353 1, 0,
1354 2>
1355 _table_;
1356
1357 friend class ::google::protobuf::MessageLite;
1358 friend class ::google::protobuf::Arena;
1359 template <typename T>
1360 friend class ::google::protobuf::Arena::InternalHelper;
1361 using InternalArenaConstructable_ = void;
1362 using DestructorSkippable_ = void;
1363 struct Impl_ {
1364 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1365 inline explicit Impl_(
1366 ::google::protobuf::internal::InternalVisibility visibility,
1367 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1368 inline explicit Impl_(
1369 ::google::protobuf::internal::InternalVisibility visibility,
1370 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1372 ::google::protobuf::internal::HasBits<1> _has_bits_;
1373 ::google::protobuf::internal::CachedSize _cached_size_;
1374 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE linear_expression_;
1375 double lower_bound_;
1376 double upper_bound_;
1377 bool is_lazy_;
1378 PROTOBUF_TSAN_DECLARE_MEMBER
1379 };
1380 union { Impl_ _impl_; };
1381 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1382};
1383
1384OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackResultProto_GeneratedLinearConstraint_class_data_;
1385// -------------------------------------------------------------------
1387class OR_PROTO_DLL CallbackRegistrationProto final : public ::google::protobuf::Message
1388/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackRegistrationProto) */ {
1389 public:
1391 ~CallbackRegistrationProto() PROTOBUF_FINAL;
1392
1393#if defined(PROTOBUF_CUSTOM_VTABLE)
1394 void operator delete(CallbackRegistrationProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1395 SharedDtor(*msg);
1396 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackRegistrationProto));
1398#endif
1399
1400 template <typename = void>
1401 explicit PROTOBUF_CONSTEXPR CallbackRegistrationProto(::google::protobuf::internal::ConstantInitialized);
1402
1404 inline CallbackRegistrationProto(CallbackRegistrationProto&& from) noexcept
1405 : CallbackRegistrationProto(nullptr, ::std::move(from)) {}
1406 inline CallbackRegistrationProto& operator=(const CallbackRegistrationProto& from) {
1407 CopyFrom(from);
1408 return *this;
1409 }
1411 if (this == &from) return *this;
1412 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1413 InternalSwap(&from);
1414 } else {
1415 CopyFrom(from);
1416 }
1417 return *this;
1418 }
1419
1420 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1421 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1422 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1423 }
1424 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1425 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1426 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1428
1429 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1430 return GetDescriptor();
1432 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1433 return default_instance().GetMetadata().descriptor;
1434 }
1435 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1436 return default_instance().GetMetadata().reflection;
1437 }
1438 static const CallbackRegistrationProto& default_instance() {
1439 return *reinterpret_cast<const CallbackRegistrationProto*>(
1441 }
1442 static constexpr int kIndexInFileMessages = 7;
1443 friend void swap(CallbackRegistrationProto& a, CallbackRegistrationProto& b) { a.Swap(&b); }
1444 inline void Swap(CallbackRegistrationProto* PROTOBUF_NONNULL other) {
1445 if (other == this) return;
1446 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1447 InternalSwap(other);
1448 } else {
1449 ::google::protobuf::internal::GenericSwap(this, other);
1452 void UnsafeArenaSwap(CallbackRegistrationProto* PROTOBUF_NONNULL other) {
1453 if (other == this) return;
1454 ABSL_DCHECK(GetArena() == other->GetArena());
1455 InternalSwap(other);
1456 }
1457
1458 // implements Message ----------------------------------------------
1460 CallbackRegistrationProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1461 return ::google::protobuf::Message::DefaultConstruct<CallbackRegistrationProto>(arena);
1462 }
1463 using ::google::protobuf::Message::CopyFrom;
1464 void CopyFrom(const CallbackRegistrationProto& from);
1465 using ::google::protobuf::Message::MergeFrom;
1466 void MergeFrom(const CallbackRegistrationProto& from) { CallbackRegistrationProto::MergeImpl(*this, from); }
1468 private:
1469 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1470 const ::google::protobuf::MessageLite& from_msg);
1471
1472 public:
1473 bool IsInitialized() const {
1474 return true;
1475 }
1476 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1477 #if defined(PROTOBUF_CUSTOM_VTABLE)
1478 private:
1479 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1480 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1481 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1482 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1483
1484 public:
1485 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1486 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1487 ::uint8_t* PROTOBUF_NONNULL target,
1488 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1489 return _InternalSerialize(*this, target, stream);
1490 }
1491 #else // PROTOBUF_CUSTOM_VTABLE
1492 ::size_t ByteSizeLong() const final;
1493 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1494 ::uint8_t* PROTOBUF_NONNULL target,
1495 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1496 #endif // PROTOBUF_CUSTOM_VTABLE
1497 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1498
1499 private:
1500 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1501 static void SharedDtor(MessageLite& self);
1502 void InternalSwap(CallbackRegistrationProto* PROTOBUF_NONNULL other);
1503 private:
1504 template <typename T>
1505 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1506 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackRegistrationProto"; }
1507
1508 protected:
1509 explicit CallbackRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1510 CallbackRegistrationProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackRegistrationProto& from);
1512 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackRegistrationProto&& from) noexcept
1513 : CallbackRegistrationProto(arena) {
1514 *this = ::std::move(from);
1515 }
1516 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1517 static void* PROTOBUF_NONNULL PlacementNew_(
1518 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1519 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1520 static constexpr auto InternalNewImpl_();
1521
1522 public:
1523 static constexpr auto InternalGenerateClassData_();
1524
1525 ::google::protobuf::Metadata GetMetadata() const;
1526 // nested types ----------------------------------------------------
1527
1528 // accessors -------------------------------------------------------
1529 enum : int {
1535 };
1536 // repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
1538 private:
1539 int _internal_request_registration_size() const;
1541 public:
1543 public:
1547 const ::google::protobuf::RepeatedField<int>& request_registration() const;
1548 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_request_registration();
1549
1550 private:
1551 const ::google::protobuf::RepeatedField<int>& _internal_request_registration() const;
1552 ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_request_registration();
1553
1554 public:
1555 // .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
1556 bool has_mip_solution_filter() const;
1558 const ::operations_research::math_opt::SparseVectorFilterProto& mip_solution_filter() const;
1564
1565 private:
1566 const ::operations_research::math_opt::SparseVectorFilterProto& _internal_mip_solution_filter() const;
1567 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL _internal_mutable_mip_solution_filter();
1568
1569 public:
1570 // .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
1571 bool has_mip_node_filter() const;
1572 void clear_mip_node_filter() ;
1573 const ::operations_research::math_opt::SparseVectorFilterProto& mip_node_filter() const;
1579
1580 private:
1581 const ::operations_research::math_opt::SparseVectorFilterProto& _internal_mip_node_filter() const;
1582 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL _internal_mutable_mip_node_filter();
1583
1584 public:
1585 // bool add_cuts = 4;
1586 void clear_add_cuts() ;
1587 bool add_cuts() const;
1588 void set_add_cuts(bool value);
1589
1590 private:
1591 bool _internal_add_cuts() const;
1592 void _internal_set_add_cuts(bool value);
1593
1594 public:
1595 // bool add_lazy_constraints = 5;
1597 bool add_lazy_constraints() const;
1598 void set_add_lazy_constraints(bool value);
1599
1600 private:
1601 bool _internal_add_lazy_constraints() const;
1602 void _internal_set_add_lazy_constraints(bool value);
1603
1604 public:
1605 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackRegistrationProto)
1606 private:
1607 class _Internal;
1608 friend class ::google::protobuf::internal::TcParser;
1609 static const ::google::protobuf::internal::TcParseTable<3, 5,
1610 2, 0,
1611 2>
1612 _table_;
1613
1614 friend class ::google::protobuf::MessageLite;
1615 friend class ::google::protobuf::Arena;
1616 template <typename T>
1617 friend class ::google::protobuf::Arena::InternalHelper;
1618 using InternalArenaConstructable_ = void;
1619 using DestructorSkippable_ = void;
1620 struct Impl_ {
1621 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1622 inline explicit Impl_(
1623 ::google::protobuf::internal::InternalVisibility visibility,
1624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1625 inline explicit Impl_(
1626 ::google::protobuf::internal::InternalVisibility visibility,
1627 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1628 const CallbackRegistrationProto& from_msg);
1629 ::google::protobuf::internal::HasBits<1> _has_bits_;
1630 ::google::protobuf::internal::CachedSize _cached_size_;
1631 ::google::protobuf::RepeatedField<int> request_registration_;
1632 ::google::protobuf::internal::CachedSize _request_registration_cached_byte_size_;
1633 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE mip_solution_filter_;
1634 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE mip_node_filter_;
1635 bool add_cuts_;
1636 bool add_lazy_constraints_;
1637 PROTOBUF_TSAN_DECLARE_MEMBER
1638 };
1639 union { Impl_ _impl_; };
1640 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1641};
1642
1643OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackRegistrationProto_class_data_;
1644// -------------------------------------------------------------------
1645
1646class OR_PROTO_DLL CallbackDataProto final : public ::google::protobuf::Message
1647/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackDataProto) */ {
1648 public:
1649 inline CallbackDataProto() : CallbackDataProto(nullptr) {}
1650 ~CallbackDataProto() PROTOBUF_FINAL;
1651
1652#if defined(PROTOBUF_CUSTOM_VTABLE)
1653 void operator delete(CallbackDataProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1654 SharedDtor(*msg);
1655 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackDataProto));
1656 }
1657#endif
1658
1659 template <typename = void>
1660 explicit PROTOBUF_CONSTEXPR CallbackDataProto(::google::protobuf::internal::ConstantInitialized);
1661
1662 inline CallbackDataProto(const CallbackDataProto& from) : CallbackDataProto(nullptr, from) {}
1663 inline CallbackDataProto(CallbackDataProto&& from) noexcept
1664 : CallbackDataProto(nullptr, ::std::move(from)) {}
1665 inline CallbackDataProto& operator=(const CallbackDataProto& from) {
1666 CopyFrom(from);
1667 return *this;
1669 inline CallbackDataProto& operator=(CallbackDataProto&& from) noexcept {
1670 if (this == &from) return *this;
1671 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1672 InternalSwap(&from);
1673 } else {
1674 CopyFrom(from);
1675 }
1676 return *this;
1678
1679 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1680 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1681 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1682 }
1683 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1684 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1685 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1686 }
1688 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1689 return GetDescriptor();
1690 }
1691 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1692 return default_instance().GetMetadata().descriptor;
1693 }
1694 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1695 return default_instance().GetMetadata().reflection;
1697 static const CallbackDataProto& default_instance() {
1698 return *reinterpret_cast<const CallbackDataProto*>(
1700 }
1701 static constexpr int kIndexInFileMessages = 4;
1702 friend void swap(CallbackDataProto& a, CallbackDataProto& b) { a.Swap(&b); }
1703 inline void Swap(CallbackDataProto* PROTOBUF_NONNULL other) {
1704 if (other == this) return;
1705 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1706 InternalSwap(other);
1707 } else {
1708 ::google::protobuf::internal::GenericSwap(this, other);
1711 void UnsafeArenaSwap(CallbackDataProto* PROTOBUF_NONNULL other) {
1712 if (other == this) return;
1713 ABSL_DCHECK(GetArena() == other->GetArena());
1714 InternalSwap(other);
1715 }
1716
1717 // implements Message ----------------------------------------------
1718
1719 CallbackDataProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1720 return ::google::protobuf::Message::DefaultConstruct<CallbackDataProto>(arena);
1721 }
1722 using ::google::protobuf::Message::CopyFrom;
1723 void CopyFrom(const CallbackDataProto& from);
1724 using ::google::protobuf::Message::MergeFrom;
1725 void MergeFrom(const CallbackDataProto& from) { CallbackDataProto::MergeImpl(*this, from); }
1726
1727 private:
1728 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1729 const ::google::protobuf::MessageLite& from_msg);
1730
1731 public:
1732 bool IsInitialized() const {
1733 return true;
1734 }
1735 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1736 #if defined(PROTOBUF_CUSTOM_VTABLE)
1737 private:
1738 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1739 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1740 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1741 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1742
1743 public:
1744 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1745 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1746 ::uint8_t* PROTOBUF_NONNULL target,
1747 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1748 return _InternalSerialize(*this, target, stream);
1749 }
1750 #else // PROTOBUF_CUSTOM_VTABLE
1751 ::size_t ByteSizeLong() const final;
1752 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1753 ::uint8_t* PROTOBUF_NONNULL target,
1754 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1755 #endif // PROTOBUF_CUSTOM_VTABLE
1756 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1757
1758 private:
1759 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1760 static void SharedDtor(MessageLite& self);
1761 void InternalSwap(CallbackDataProto* PROTOBUF_NONNULL other);
1762 private:
1763 template <typename T>
1765 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackDataProto"; }
1766
1767 protected:
1768 explicit CallbackDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1769 CallbackDataProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackDataProto& from);
1771 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackDataProto&& from) noexcept
1772 : CallbackDataProto(arena) {
1773 *this = ::std::move(from);
1774 }
1775 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1776 static void* PROTOBUF_NONNULL PlacementNew_(
1777 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1778 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1779 static constexpr auto InternalNewImpl_();
1780
1781 public:
1782 static constexpr auto InternalGenerateClassData_();
1783
1784 ::google::protobuf::Metadata GetMetadata() const;
1785 // nested types ----------------------------------------------------
1790
1791 // accessors -------------------------------------------------------
1792 enum : int {
1800 };
1801 // .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
1804 const ::operations_research::math_opt::SparseDoubleVectorProto& primal_solution_vector() const;
1810
1811 private:
1812 const ::operations_research::math_opt::SparseDoubleVectorProto& _internal_primal_solution_vector() const;
1813 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL _internal_mutable_primal_solution_vector();
1814
1815 public:
1816 // .google.protobuf.Duration runtime = 3;
1817 bool has_runtime() const;
1818 void clear_runtime() ;
1819 const ::google::protobuf::Duration& runtime() const;
1820 [[nodiscard]] ::google::protobuf::Duration* PROTOBUF_NULLABLE release_runtime();
1821 ::google::protobuf::Duration* PROTOBUF_NONNULL mutable_runtime();
1822 void set_allocated_runtime(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1823 void unsafe_arena_set_allocated_runtime(::google::protobuf::Duration* PROTOBUF_NULLABLE value);
1824 ::google::protobuf::Duration* PROTOBUF_NULLABLE unsafe_arena_release_runtime();
1825
1826 private:
1827 const ::google::protobuf::Duration& _internal_runtime() const;
1828 ::google::protobuf::Duration* PROTOBUF_NONNULL _internal_mutable_runtime();
1829
1830 public:
1831 // .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
1832 bool has_presolve_stats() const;
1833 void clear_presolve_stats() ;
1834 const ::operations_research::math_opt::CallbackDataProto_PresolveStats& presolve_stats() const;
1840
1841 private:
1842 const ::operations_research::math_opt::CallbackDataProto_PresolveStats& _internal_presolve_stats() const;
1843 ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL _internal_mutable_presolve_stats();
1844
1845 public:
1846 // .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
1847 bool has_simplex_stats() const;
1848 void clear_simplex_stats() ;
1849 const ::operations_research::math_opt::CallbackDataProto_SimplexStats& simplex_stats() const;
1855
1856 private:
1857 const ::operations_research::math_opt::CallbackDataProto_SimplexStats& _internal_simplex_stats() const;
1858 ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL _internal_mutable_simplex_stats();
1859
1860 public:
1861 // .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
1862 bool has_barrier_stats() const;
1863 void clear_barrier_stats() ;
1864 const ::operations_research::math_opt::CallbackDataProto_BarrierStats& barrier_stats() const;
1870
1871 private:
1872 const ::operations_research::math_opt::CallbackDataProto_BarrierStats& _internal_barrier_stats() const;
1873 ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL _internal_mutable_barrier_stats();
1874
1875 public:
1876 // .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
1877 bool has_mip_stats() const;
1878 void clear_mip_stats() ;
1879 const ::operations_research::math_opt::CallbackDataProto_MipStats& mip_stats() const;
1885
1886 private:
1887 const ::operations_research::math_opt::CallbackDataProto_MipStats& _internal_mip_stats() const;
1888 ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL _internal_mutable_mip_stats();
1889
1890 public:
1891 // .operations_research.math_opt.CallbackEventProto event = 1;
1892 void clear_event() ;
1895
1896 private:
1898 void _internal_set_event(::operations_research::math_opt::CallbackEventProto value);
1899
1900 public:
1901 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackDataProto)
1902 private:
1903 class _Internal;
1904 friend class ::google::protobuf::internal::TcParser;
1905 static const ::google::protobuf::internal::TcParseTable<3, 7,
1906 6, 0,
1907 2>
1908 _table_;
1909
1910 friend class ::google::protobuf::MessageLite;
1911 friend class ::google::protobuf::Arena;
1912 template <typename T>
1913 friend class ::google::protobuf::Arena::InternalHelper;
1914 using InternalArenaConstructable_ = void;
1915 using DestructorSkippable_ = void;
1916 struct Impl_ {
1917 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1918 inline explicit Impl_(
1919 ::google::protobuf::internal::InternalVisibility visibility,
1920 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1921 inline explicit Impl_(
1922 ::google::protobuf::internal::InternalVisibility visibility,
1923 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1924 const CallbackDataProto& from_msg);
1925 ::google::protobuf::internal::HasBits<1> _has_bits_;
1926 ::google::protobuf::internal::CachedSize _cached_size_;
1927 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE primal_solution_vector_;
1928 ::google::protobuf::Duration* PROTOBUF_NULLABLE runtime_;
1933 int event_;
1934 PROTOBUF_TSAN_DECLARE_MEMBER
1935 };
1936 union { Impl_ _impl_; };
1937 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
1938};
1939
1940OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackDataProto_class_data_;
1941// -------------------------------------------------------------------
1942
1943class OR_PROTO_DLL CallbackResultProto final : public ::google::protobuf::Message
1944/* @@protoc_insertion_point(class_definition:operations_research.math_opt.CallbackResultProto) */ {
1945 public:
1946 inline CallbackResultProto() : CallbackResultProto(nullptr) {}
1947 ~CallbackResultProto() PROTOBUF_FINAL;
1948
1949#if defined(PROTOBUF_CUSTOM_VTABLE)
1950 void operator delete(CallbackResultProto* PROTOBUF_NONNULL msg, std::destroying_delete_t) {
1951 SharedDtor(*msg);
1952 ::google::protobuf::internal::SizedDelete(msg, sizeof(CallbackResultProto));
1953 }
1954#endif
1956 template <typename = void>
1957 explicit PROTOBUF_CONSTEXPR CallbackResultProto(::google::protobuf::internal::ConstantInitialized);
1958
1959 inline CallbackResultProto(const CallbackResultProto& from) : CallbackResultProto(nullptr, from) {}
1960 inline CallbackResultProto(CallbackResultProto&& from) noexcept
1961 : CallbackResultProto(nullptr, ::std::move(from)) {}
1962 inline CallbackResultProto& operator=(const CallbackResultProto& from) {
1963 CopyFrom(from);
1964 return *this;
1965 }
1967 if (this == &from) return *this;
1968 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1969 InternalSwap(&from);
1970 } else {
1972 }
1973 return *this;
1974 }
1976 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1977 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1978 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1979 }
1980 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1981 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1982 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1983 }
1984
1985 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1986 return GetDescriptor();
1987 }
1988 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1989 return default_instance().GetMetadata().descriptor;
1990 }
1991 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1992 return default_instance().GetMetadata().reflection;
1993 }
1995 return *reinterpret_cast<const CallbackResultProto*>(
1998 static constexpr int kIndexInFileMessages = 6;
1999 friend void swap(CallbackResultProto& a, CallbackResultProto& b) { a.Swap(&b); }
2000 inline void Swap(CallbackResultProto* PROTOBUF_NONNULL other) {
2001 if (other == this) return;
2002 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
2003 InternalSwap(other);
2004 } else {
2005 ::google::protobuf::internal::GenericSwap(this, other);
2006 }
2008 void UnsafeArenaSwap(CallbackResultProto* PROTOBUF_NONNULL other) {
2009 if (other == this) return;
2010 ABSL_DCHECK(GetArena() == other->GetArena());
2011 InternalSwap(other);
2012 }
2013
2014 // implements Message ----------------------------------------------
2015
2016 CallbackResultProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
2017 return ::google::protobuf::Message::DefaultConstruct<CallbackResultProto>(arena);
2018 }
2019 using ::google::protobuf::Message::CopyFrom;
2020 void CopyFrom(const CallbackResultProto& from);
2021 using ::google::protobuf::Message::MergeFrom;
2022 void MergeFrom(const CallbackResultProto& from) { CallbackResultProto::MergeImpl(*this, from); }
2023
2024 private:
2025 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
2026 const ::google::protobuf::MessageLite& from_msg);
2027
2028 public:
2029 bool IsInitialized() const {
2030 return true;
2032 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
2033 #if defined(PROTOBUF_CUSTOM_VTABLE)
2034 private:
2035 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
2036 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2037 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
2038 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
2039
2040 public:
2041 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
2042 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2043 ::uint8_t* PROTOBUF_NONNULL target,
2044 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
2045 return _InternalSerialize(*this, target, stream);
2046 }
2047 #else // PROTOBUF_CUSTOM_VTABLE
2048 ::size_t ByteSizeLong() const final;
2049 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
2050 ::uint8_t* PROTOBUF_NONNULL target,
2051 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
2052 #endif // PROTOBUF_CUSTOM_VTABLE
2053 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
2054
2055 private:
2056 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2057 static void SharedDtor(MessageLite& self);
2058 void InternalSwap(CallbackResultProto* PROTOBUF_NONNULL other);
2059 private:
2060 template <typename T>
2061 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
2062 static ::absl::string_view FullMessageName() { return "operations_research.math_opt.CallbackResultProto"; }
2063
2064 protected:
2065 explicit CallbackResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2066 CallbackResultProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const CallbackResultProto& from);
2068 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, CallbackResultProto&& from) noexcept
2069 : CallbackResultProto(arena) {
2070 *this = ::std::move(from);
2071 }
2072 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
2073 static void* PROTOBUF_NONNULL PlacementNew_(
2074 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
2075 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2076 static constexpr auto InternalNewImpl_();
2077
2078 public:
2079 static constexpr auto InternalGenerateClassData_();
2080
2081 ::google::protobuf::Metadata GetMetadata() const;
2082 // nested types ----------------------------------------------------
2084
2085 // accessors -------------------------------------------------------
2086 enum : int {
2087 kCutsFieldNumber = 4,
2090 };
2091 // repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
2092 int cuts_size() const;
2093 private:
2094 int _internal_cuts_size() const;
2095
2096 public:
2097 void clear_cuts() ;
2099 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL mutable_cuts();
2100
2101 private:
2102 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& _internal_cuts() const;
2103 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL _internal_mutable_cuts();
2104 public:
2105 const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint& cuts(int index) const;
2107 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& cuts() const;
2108 // repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
2109 int suggested_solutions_size() const;
2110 private:
2111 int _internal_suggested_solutions_size() const;
2112
2113 public:
2116 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL mutable_suggested_solutions();
2117
2118 private:
2119 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& _internal_suggested_solutions() const;
2120 ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL _internal_mutable_suggested_solutions();
2121 public:
2122 const ::operations_research::math_opt::SparseDoubleVectorProto& suggested_solutions(int index) const;
2124 const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& suggested_solutions() const;
2125 // bool terminate = 1;
2126 void clear_terminate() ;
2127 bool terminate() const;
2128 void set_terminate(bool value);
2129
2130 private:
2131 bool _internal_terminate() const;
2132 void _internal_set_terminate(bool value);
2133
2134 public:
2135 // @@protoc_insertion_point(class_scope:operations_research.math_opt.CallbackResultProto)
2136 private:
2137 class _Internal;
2138 friend class ::google::protobuf::internal::TcParser;
2139 static const ::google::protobuf::internal::TcParseTable<1, 3,
2140 2, 0,
2141 2>
2142 _table_;
2143
2144 friend class ::google::protobuf::MessageLite;
2145 friend class ::google::protobuf::Arena;
2146 template <typename T>
2147 friend class ::google::protobuf::Arena::InternalHelper;
2148 using InternalArenaConstructable_ = void;
2149 using DestructorSkippable_ = void;
2150 struct Impl_ {
2151 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
2152 inline explicit Impl_(
2153 ::google::protobuf::internal::InternalVisibility visibility,
2154 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
2155 inline explicit Impl_(
2156 ::google::protobuf::internal::InternalVisibility visibility,
2157 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
2158 const CallbackResultProto& from_msg);
2159 ::google::protobuf::internal::HasBits<1> _has_bits_;
2160 ::google::protobuf::internal::CachedSize _cached_size_;
2161 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint > cuts_;
2162 ::google::protobuf::RepeatedPtrField< ::operations_research::math_opt::SparseDoubleVectorProto > suggested_solutions_;
2163 bool terminate_;
2164 PROTOBUF_TSAN_DECLARE_MEMBER
2165 };
2166 union { Impl_ _impl_; };
2167 friend struct ::TableStruct_ortools_2fmath_5fopt_2fcallback_2eproto;
2168};
2169
2170OR_PROTO_DLL extern const ::google::protobuf::internal::ClassDataFull CallbackResultProto_class_data_;
2171
2172// ===================================================================
2173
2174
2177// ===================================================================
2178
2179
2180#ifdef __GNUC__
2181#pragma GCC diagnostic push
2182#pragma GCC diagnostic ignored "-Wstrict-aliasing"
2183#endif // __GNUC__
2184// -------------------------------------------------------------------
2185
2186// CallbackDataProto_PresolveStats
2187
2188// optional int64 removed_variables = 1;
2190 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2191 return value;
2192}
2194 ::google::protobuf::internal::TSanWrite(&_impl_);
2195 _impl_.removed_variables_ = ::int64_t{0};
2196 _impl_._has_bits_[0] &= ~0x00000001u;
2197}
2199 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_variables)
2200 return _internal_removed_variables();
2202inline void CallbackDataProto_PresolveStats::set_removed_variables(::int64_t value) {
2203 _internal_set_removed_variables(value);
2204 _impl_._has_bits_[0] |= 0x00000001u;
2205 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_variables)
2206}
2207inline ::int64_t CallbackDataProto_PresolveStats::_internal_removed_variables() const {
2208 ::google::protobuf::internal::TSanRead(&_impl_);
2209 return _impl_.removed_variables_;
2211inline void CallbackDataProto_PresolveStats::_internal_set_removed_variables(::int64_t value) {
2212 ::google::protobuf::internal::TSanWrite(&_impl_);
2213 _impl_.removed_variables_ = value;
2215
2216// optional int64 removed_constraints = 2;
2218 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2219 return value;
2220}
2222 ::google::protobuf::internal::TSanWrite(&_impl_);
2223 _impl_.removed_constraints_ = ::int64_t{0};
2224 _impl_._has_bits_[0] &= ~0x00000002u;
2225}
2227 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_constraints)
2228 return _internal_removed_constraints();
2231 _internal_set_removed_constraints(value);
2232 _impl_._has_bits_[0] |= 0x00000002u;
2233 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.removed_constraints)
2234}
2235inline ::int64_t CallbackDataProto_PresolveStats::_internal_removed_constraints() const {
2236 ::google::protobuf::internal::TSanRead(&_impl_);
2237 return _impl_.removed_constraints_;
2239inline void CallbackDataProto_PresolveStats::_internal_set_removed_constraints(::int64_t value) {
2240 ::google::protobuf::internal::TSanWrite(&_impl_);
2241 _impl_.removed_constraints_ = value;
2243
2244// optional int64 bound_changes = 3;
2246 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2247 return value;
2248}
2250 ::google::protobuf::internal::TSanWrite(&_impl_);
2251 _impl_.bound_changes_ = ::int64_t{0};
2252 _impl_._has_bits_[0] &= ~0x00000004u;
2253}
2254inline ::int64_t CallbackDataProto_PresolveStats::bound_changes() const {
2255 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.bound_changes)
2256 return _internal_bound_changes();
2258inline void CallbackDataProto_PresolveStats::set_bound_changes(::int64_t value) {
2259 _internal_set_bound_changes(value);
2260 _impl_._has_bits_[0] |= 0x00000004u;
2261 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.bound_changes)
2262}
2263inline ::int64_t CallbackDataProto_PresolveStats::_internal_bound_changes() const {
2264 ::google::protobuf::internal::TSanRead(&_impl_);
2265 return _impl_.bound_changes_;
2267inline void CallbackDataProto_PresolveStats::_internal_set_bound_changes(::int64_t value) {
2268 ::google::protobuf::internal::TSanWrite(&_impl_);
2269 _impl_.bound_changes_ = value;
2271
2272// optional int64 coefficient_changes = 4;
2274 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2275 return value;
2276}
2278 ::google::protobuf::internal::TSanWrite(&_impl_);
2279 _impl_.coefficient_changes_ = ::int64_t{0};
2280 _impl_._has_bits_[0] &= ~0x00000008u;
2281}
2283 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.PresolveStats.coefficient_changes)
2284 return _internal_coefficient_changes();
2287 _internal_set_coefficient_changes(value);
2288 _impl_._has_bits_[0] |= 0x00000008u;
2289 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.PresolveStats.coefficient_changes)
2290}
2291inline ::int64_t CallbackDataProto_PresolveStats::_internal_coefficient_changes() const {
2292 ::google::protobuf::internal::TSanRead(&_impl_);
2293 return _impl_.coefficient_changes_;
2295inline void CallbackDataProto_PresolveStats::_internal_set_coefficient_changes(::int64_t value) {
2296 ::google::protobuf::internal::TSanWrite(&_impl_);
2297 _impl_.coefficient_changes_ = value;
2299
2300// -------------------------------------------------------------------
2301
2302// CallbackDataProto_SimplexStats
2303
2304// optional int64 iteration_count = 1;
2306 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2307 return value;
2308}
2310 ::google::protobuf::internal::TSanWrite(&_impl_);
2311 _impl_.iteration_count_ = ::int64_t{0};
2312 _impl_._has_bits_[0] &= ~0x00000001u;
2313}
2314inline ::int64_t CallbackDataProto_SimplexStats::iteration_count() const {
2315 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.iteration_count)
2316 return _internal_iteration_count();
2317}
2319 _internal_set_iteration_count(value);
2320 _impl_._has_bits_[0] |= 0x00000001u;
2321 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.iteration_count)
2323inline ::int64_t CallbackDataProto_SimplexStats::_internal_iteration_count() const {
2324 ::google::protobuf::internal::TSanRead(&_impl_);
2325 return _impl_.iteration_count_;
2326}
2327inline void CallbackDataProto_SimplexStats::_internal_set_iteration_count(::int64_t value) {
2328 ::google::protobuf::internal::TSanWrite(&_impl_);
2329 _impl_.iteration_count_ = value;
2330}
2332// optional double objective_value = 2;
2334 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2335 return value;
2336}
2338 ::google::protobuf::internal::TSanWrite(&_impl_);
2339 _impl_.objective_value_ = 0;
2340 _impl_._has_bits_[0] &= ~0x00000002u;
2341}
2343 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.objective_value)
2344 return _internal_objective_value();
2345}
2347 _internal_set_objective_value(value);
2348 _impl_._has_bits_[0] |= 0x00000002u;
2349 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.objective_value)
2351inline double CallbackDataProto_SimplexStats::_internal_objective_value() const {
2352 ::google::protobuf::internal::TSanRead(&_impl_);
2353 return _impl_.objective_value_;
2354}
2355inline void CallbackDataProto_SimplexStats::_internal_set_objective_value(double value) {
2356 ::google::protobuf::internal::TSanWrite(&_impl_);
2357 _impl_.objective_value_ = value;
2358}
2360// optional double primal_infeasibility = 3;
2362 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2363 return value;
2364}
2366 ::google::protobuf::internal::TSanWrite(&_impl_);
2367 _impl_.primal_infeasibility_ = 0;
2368 _impl_._has_bits_[0] &= ~0x00000004u;
2369}
2371 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.primal_infeasibility)
2372 return _internal_primal_infeasibility();
2373}
2375 _internal_set_primal_infeasibility(value);
2376 _impl_._has_bits_[0] |= 0x00000004u;
2377 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.primal_infeasibility)
2379inline double CallbackDataProto_SimplexStats::_internal_primal_infeasibility() const {
2380 ::google::protobuf::internal::TSanRead(&_impl_);
2381 return _impl_.primal_infeasibility_;
2382}
2383inline void CallbackDataProto_SimplexStats::_internal_set_primal_infeasibility(double value) {
2384 ::google::protobuf::internal::TSanWrite(&_impl_);
2385 _impl_.primal_infeasibility_ = value;
2386}
2388// optional double dual_infeasibility = 4;
2390 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2391 return value;
2392}
2394 ::google::protobuf::internal::TSanWrite(&_impl_);
2395 _impl_.dual_infeasibility_ = 0;
2396 _impl_._has_bits_[0] &= ~0x00000008u;
2397}
2399 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.dual_infeasibility)
2400 return _internal_dual_infeasibility();
2401}
2403 _internal_set_dual_infeasibility(value);
2404 _impl_._has_bits_[0] |= 0x00000008u;
2405 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.dual_infeasibility)
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 = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2419 return value;
2420}
2422 ::google::protobuf::internal::TSanWrite(&_impl_);
2423 _impl_.is_pertubated_ = false;
2424 _impl_._has_bits_[0] &= ~0x00000010u;
2425}
2427 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.SimplexStats.is_pertubated)
2428 return _internal_is_pertubated();
2429}
2431 _internal_set_is_pertubated(value);
2432 _impl_._has_bits_[0] |= 0x00000010u;
2433 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.SimplexStats.is_pertubated)
2435inline bool CallbackDataProto_SimplexStats::_internal_is_pertubated() const {
2436 ::google::protobuf::internal::TSanRead(&_impl_);
2437 return _impl_.is_pertubated_;
2438}
2439inline void CallbackDataProto_SimplexStats::_internal_set_is_pertubated(bool value) {
2440 ::google::protobuf::internal::TSanWrite(&_impl_);
2441 _impl_.is_pertubated_ = value;
2442}
2444// -------------------------------------------------------------------
2445
2446// CallbackDataProto_BarrierStats
2447
2448// optional int32 iteration_count = 1;
2450 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2451 return value;
2452}
2454 ::google::protobuf::internal::TSanWrite(&_impl_);
2455 _impl_.iteration_count_ = 0;
2456 _impl_._has_bits_[0] &= ~0x00000020u;
2457}
2458inline ::int32_t CallbackDataProto_BarrierStats::iteration_count() const {
2459 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.iteration_count)
2460 return _internal_iteration_count();
2461}
2462inline void CallbackDataProto_BarrierStats::set_iteration_count(::int32_t value) {
2463 _internal_set_iteration_count(value);
2464 _impl_._has_bits_[0] |= 0x00000020u;
2465 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.iteration_count)
2466}
2467inline ::int32_t CallbackDataProto_BarrierStats::_internal_iteration_count() const {
2468 ::google::protobuf::internal::TSanRead(&_impl_);
2469 return _impl_.iteration_count_;
2470}
2471inline void CallbackDataProto_BarrierStats::_internal_set_iteration_count(::int32_t value) {
2472 ::google::protobuf::internal::TSanWrite(&_impl_);
2473 _impl_.iteration_count_ = value;
2474}
2475
2476// optional double primal_objective = 2;
2478 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2479 return value;
2480}
2482 ::google::protobuf::internal::TSanWrite(&_impl_);
2483 _impl_.primal_objective_ = 0;
2484 _impl_._has_bits_[0] &= ~0x00000001u;
2485}
2487 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_objective)
2488 return _internal_primal_objective();
2489}
2491 _internal_set_primal_objective(value);
2492 _impl_._has_bits_[0] |= 0x00000001u;
2493 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_objective)
2494}
2495inline double CallbackDataProto_BarrierStats::_internal_primal_objective() const {
2496 ::google::protobuf::internal::TSanRead(&_impl_);
2497 return _impl_.primal_objective_;
2498}
2499inline void CallbackDataProto_BarrierStats::_internal_set_primal_objective(double value) {
2500 ::google::protobuf::internal::TSanWrite(&_impl_);
2501 _impl_.primal_objective_ = value;
2502}
2503
2504// optional double dual_objective = 3;
2506 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2507 return value;
2508}
2510 ::google::protobuf::internal::TSanWrite(&_impl_);
2511 _impl_.dual_objective_ = 0;
2512 _impl_._has_bits_[0] &= ~0x00000002u;
2513}
2515 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_objective)
2516 return _internal_dual_objective();
2517}
2519 _internal_set_dual_objective(value);
2520 _impl_._has_bits_[0] |= 0x00000002u;
2521 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_objective)
2522}
2523inline double CallbackDataProto_BarrierStats::_internal_dual_objective() const {
2524 ::google::protobuf::internal::TSanRead(&_impl_);
2525 return _impl_.dual_objective_;
2526}
2527inline void CallbackDataProto_BarrierStats::_internal_set_dual_objective(double value) {
2528 ::google::protobuf::internal::TSanWrite(&_impl_);
2529 _impl_.dual_objective_ = value;
2530}
2531
2532// optional double complementarity = 4;
2534 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2535 return value;
2536}
2538 ::google::protobuf::internal::TSanWrite(&_impl_);
2539 _impl_.complementarity_ = 0;
2540 _impl_._has_bits_[0] &= ~0x00000004u;
2541}
2543 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.complementarity)
2544 return _internal_complementarity();
2545}
2547 _internal_set_complementarity(value);
2548 _impl_._has_bits_[0] |= 0x00000004u;
2549 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.complementarity)
2550}
2551inline double CallbackDataProto_BarrierStats::_internal_complementarity() const {
2552 ::google::protobuf::internal::TSanRead(&_impl_);
2553 return _impl_.complementarity_;
2554}
2555inline void CallbackDataProto_BarrierStats::_internal_set_complementarity(double value) {
2556 ::google::protobuf::internal::TSanWrite(&_impl_);
2557 _impl_.complementarity_ = value;
2558}
2559
2560// optional double primal_infeasibility = 5;
2562 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2563 return value;
2564}
2566 ::google::protobuf::internal::TSanWrite(&_impl_);
2567 _impl_.primal_infeasibility_ = 0;
2568 _impl_._has_bits_[0] &= ~0x00000008u;
2569}
2571 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_infeasibility)
2572 return _internal_primal_infeasibility();
2573}
2575 _internal_set_primal_infeasibility(value);
2576 _impl_._has_bits_[0] |= 0x00000008u;
2577 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.primal_infeasibility)
2578}
2579inline double CallbackDataProto_BarrierStats::_internal_primal_infeasibility() const {
2580 ::google::protobuf::internal::TSanRead(&_impl_);
2581 return _impl_.primal_infeasibility_;
2582}
2583inline void CallbackDataProto_BarrierStats::_internal_set_primal_infeasibility(double value) {
2584 ::google::protobuf::internal::TSanWrite(&_impl_);
2585 _impl_.primal_infeasibility_ = value;
2586}
2587
2588// optional double dual_infeasibility = 6;
2590 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2591 return value;
2592}
2594 ::google::protobuf::internal::TSanWrite(&_impl_);
2595 _impl_.dual_infeasibility_ = 0;
2596 _impl_._has_bits_[0] &= ~0x00000010u;
2597}
2599 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_infeasibility)
2600 return _internal_dual_infeasibility();
2601}
2603 _internal_set_dual_infeasibility(value);
2604 _impl_._has_bits_[0] |= 0x00000010u;
2605 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.BarrierStats.dual_infeasibility)
2606}
2607inline double CallbackDataProto_BarrierStats::_internal_dual_infeasibility() const {
2608 ::google::protobuf::internal::TSanRead(&_impl_);
2609 return _impl_.dual_infeasibility_;
2610}
2611inline void CallbackDataProto_BarrierStats::_internal_set_dual_infeasibility(double value) {
2612 ::google::protobuf::internal::TSanWrite(&_impl_);
2613 _impl_.dual_infeasibility_ = value;
2614}
2615
2616// -------------------------------------------------------------------
2617
2618// CallbackDataProto_MipStats
2619
2620// optional double primal_bound = 1;
2622 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2623 return value;
2624}
2626 ::google::protobuf::internal::TSanWrite(&_impl_);
2627 _impl_.primal_bound_ = 0;
2628 _impl_._has_bits_[0] &= ~0x00000001u;
2629}
2630inline double CallbackDataProto_MipStats::primal_bound() const {
2631 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.primal_bound)
2632 return _internal_primal_bound();
2633}
2634inline void CallbackDataProto_MipStats::set_primal_bound(double value) {
2635 _internal_set_primal_bound(value);
2636 _impl_._has_bits_[0] |= 0x00000001u;
2637 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.primal_bound)
2638}
2639inline double CallbackDataProto_MipStats::_internal_primal_bound() const {
2640 ::google::protobuf::internal::TSanRead(&_impl_);
2641 return _impl_.primal_bound_;
2642}
2643inline void CallbackDataProto_MipStats::_internal_set_primal_bound(double value) {
2644 ::google::protobuf::internal::TSanWrite(&_impl_);
2645 _impl_.primal_bound_ = value;
2646}
2647
2648// optional double dual_bound = 2;
2650 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2651 return value;
2652}
2654 ::google::protobuf::internal::TSanWrite(&_impl_);
2655 _impl_.dual_bound_ = 0;
2656 _impl_._has_bits_[0] &= ~0x00000002u;
2657}
2658inline double CallbackDataProto_MipStats::dual_bound() const {
2659 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.dual_bound)
2660 return _internal_dual_bound();
2661}
2662inline void CallbackDataProto_MipStats::set_dual_bound(double value) {
2663 _internal_set_dual_bound(value);
2664 _impl_._has_bits_[0] |= 0x00000002u;
2665 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.dual_bound)
2666}
2667inline double CallbackDataProto_MipStats::_internal_dual_bound() const {
2668 ::google::protobuf::internal::TSanRead(&_impl_);
2669 return _impl_.dual_bound_;
2670}
2671inline void CallbackDataProto_MipStats::_internal_set_dual_bound(double value) {
2672 ::google::protobuf::internal::TSanWrite(&_impl_);
2673 _impl_.dual_bound_ = value;
2674}
2675
2676// optional int64 explored_nodes = 3;
2678 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2679 return value;
2680}
2682 ::google::protobuf::internal::TSanWrite(&_impl_);
2683 _impl_.explored_nodes_ = ::int64_t{0};
2684 _impl_._has_bits_[0] &= ~0x00000004u;
2685}
2686inline ::int64_t CallbackDataProto_MipStats::explored_nodes() const {
2687 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.explored_nodes)
2688 return _internal_explored_nodes();
2689}
2690inline void CallbackDataProto_MipStats::set_explored_nodes(::int64_t value) {
2691 _internal_set_explored_nodes(value);
2692 _impl_._has_bits_[0] |= 0x00000004u;
2693 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.explored_nodes)
2694}
2695inline ::int64_t CallbackDataProto_MipStats::_internal_explored_nodes() const {
2696 ::google::protobuf::internal::TSanRead(&_impl_);
2697 return _impl_.explored_nodes_;
2698}
2699inline void CallbackDataProto_MipStats::_internal_set_explored_nodes(::int64_t value) {
2700 ::google::protobuf::internal::TSanWrite(&_impl_);
2701 _impl_.explored_nodes_ = value;
2702}
2703
2704// optional int64 open_nodes = 4;
2706 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2707 return value;
2708}
2710 ::google::protobuf::internal::TSanWrite(&_impl_);
2711 _impl_.open_nodes_ = ::int64_t{0};
2712 _impl_._has_bits_[0] &= ~0x00000008u;
2713}
2714inline ::int64_t CallbackDataProto_MipStats::open_nodes() const {
2715 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.open_nodes)
2716 return _internal_open_nodes();
2717}
2718inline void CallbackDataProto_MipStats::set_open_nodes(::int64_t value) {
2719 _internal_set_open_nodes(value);
2720 _impl_._has_bits_[0] |= 0x00000008u;
2721 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.open_nodes)
2722}
2723inline ::int64_t CallbackDataProto_MipStats::_internal_open_nodes() const {
2724 ::google::protobuf::internal::TSanRead(&_impl_);
2725 return _impl_.open_nodes_;
2726}
2727inline void CallbackDataProto_MipStats::_internal_set_open_nodes(::int64_t value) {
2728 ::google::protobuf::internal::TSanWrite(&_impl_);
2729 _impl_.open_nodes_ = value;
2730}
2731
2732// optional int64 simplex_iterations = 5;
2734 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2735 return value;
2736}
2738 ::google::protobuf::internal::TSanWrite(&_impl_);
2739 _impl_.simplex_iterations_ = ::int64_t{0};
2740 _impl_._has_bits_[0] &= ~0x00000010u;
2741}
2742inline ::int64_t CallbackDataProto_MipStats::simplex_iterations() const {
2743 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.simplex_iterations)
2744 return _internal_simplex_iterations();
2745}
2746inline void CallbackDataProto_MipStats::set_simplex_iterations(::int64_t value) {
2747 _internal_set_simplex_iterations(value);
2748 _impl_._has_bits_[0] |= 0x00000010u;
2749 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.simplex_iterations)
2750}
2751inline ::int64_t CallbackDataProto_MipStats::_internal_simplex_iterations() const {
2752 ::google::protobuf::internal::TSanRead(&_impl_);
2753 return _impl_.simplex_iterations_;
2754}
2755inline void CallbackDataProto_MipStats::_internal_set_simplex_iterations(::int64_t value) {
2756 ::google::protobuf::internal::TSanWrite(&_impl_);
2757 _impl_.simplex_iterations_ = value;
2758}
2759
2760// optional int32 number_of_solutions_found = 6;
2762 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2763 return value;
2764}
2766 ::google::protobuf::internal::TSanWrite(&_impl_);
2767 _impl_.number_of_solutions_found_ = 0;
2768 _impl_._has_bits_[0] &= ~0x00000020u;
2769}
2771 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.number_of_solutions_found)
2772 return _internal_number_of_solutions_found();
2773}
2775 _internal_set_number_of_solutions_found(value);
2776 _impl_._has_bits_[0] |= 0x00000020u;
2777 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.number_of_solutions_found)
2778}
2779inline ::int32_t CallbackDataProto_MipStats::_internal_number_of_solutions_found() const {
2780 ::google::protobuf::internal::TSanRead(&_impl_);
2781 return _impl_.number_of_solutions_found_;
2782}
2783inline void CallbackDataProto_MipStats::_internal_set_number_of_solutions_found(::int32_t value) {
2784 ::google::protobuf::internal::TSanWrite(&_impl_);
2785 _impl_.number_of_solutions_found_ = value;
2786}
2787
2788// optional int32 cutting_planes_in_lp = 7;
2790 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
2791 return value;
2792}
2794 ::google::protobuf::internal::TSanWrite(&_impl_);
2795 _impl_.cutting_planes_in_lp_ = 0;
2796 _impl_._has_bits_[0] &= ~0x00000040u;
2797}
2798inline ::int32_t CallbackDataProto_MipStats::cutting_planes_in_lp() const {
2799 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.MipStats.cutting_planes_in_lp)
2800 return _internal_cutting_planes_in_lp();
2801}
2802inline void CallbackDataProto_MipStats::set_cutting_planes_in_lp(::int32_t value) {
2803 _internal_set_cutting_planes_in_lp(value);
2804 _impl_._has_bits_[0] |= 0x00000040u;
2805 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.MipStats.cutting_planes_in_lp)
2806}
2807inline ::int32_t CallbackDataProto_MipStats::_internal_cutting_planes_in_lp() const {
2808 ::google::protobuf::internal::TSanRead(&_impl_);
2809 return _impl_.cutting_planes_in_lp_;
2810}
2811inline void CallbackDataProto_MipStats::_internal_set_cutting_planes_in_lp(::int32_t value) {
2812 ::google::protobuf::internal::TSanWrite(&_impl_);
2813 _impl_.cutting_planes_in_lp_ = value;
2814}
2815
2816// -------------------------------------------------------------------
2818// CallbackDataProto
2819
2820// .operations_research.math_opt.CallbackEventProto event = 1;
2821inline void CallbackDataProto::clear_event() {
2822 ::google::protobuf::internal::TSanWrite(&_impl_);
2823 _impl_.event_ = 0;
2824 _impl_._has_bits_[0] &= ~0x00000040u;
2825}
2826inline ::operations_research::math_opt::CallbackEventProto CallbackDataProto::event() const {
2827 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.event)
2828 return _internal_event();
2829}
2831 _internal_set_event(value);
2832 _impl_._has_bits_[0] |= 0x00000040u;
2833 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackDataProto.event)
2834}
2835inline ::operations_research::math_opt::CallbackEventProto CallbackDataProto::_internal_event() const {
2836 ::google::protobuf::internal::TSanRead(&_impl_);
2838}
2839inline void CallbackDataProto::_internal_set_event(::operations_research::math_opt::CallbackEventProto value) {
2840 ::google::protobuf::internal::TSanWrite(&_impl_);
2841 _impl_.event_ = value;
2843
2844// .operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
2846 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2847 PROTOBUF_ASSUME(!value || _impl_.primal_solution_vector_ != nullptr);
2848 return value;
2849}
2850inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackDataProto::_internal_primal_solution_vector() const {
2851 ::google::protobuf::internal::TSanRead(&_impl_);
2852 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.primal_solution_vector_;
2854}
2855inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackDataProto::primal_solution_vector() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2856 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2857 return _internal_primal_solution_vector();
2858}
2861 ::google::protobuf::internal::TSanWrite(&_impl_);
2862 if (GetArena() == nullptr) {
2863 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primal_solution_vector_);
2864 }
2865 _impl_.primal_solution_vector_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2866 if (value != nullptr) {
2867 _impl_._has_bits_[0] |= 0x00000001u;
2868 } else {
2869 _impl_._has_bits_[0] &= ~0x00000001u;
2870 }
2871 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2872}
2873inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackDataProto::release_primal_solution_vector() {
2874 ::google::protobuf::internal::TSanWrite(&_impl_);
2876 _impl_._has_bits_[0] &= ~0x00000001u;
2877 ::operations_research::math_opt::SparseDoubleVectorProto* released = _impl_.primal_solution_vector_;
2878 _impl_.primal_solution_vector_ = nullptr;
2879 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2880 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2881 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2882 if (GetArena() == nullptr) {
2883 delete old;
2884 }
2885 } else {
2886 if (GetArena() != nullptr) {
2887 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2888 }
2890 return released;
2891}
2892inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_primal_solution_vector() {
2893 ::google::protobuf::internal::TSanWrite(&_impl_);
2894 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2895
2896 _impl_._has_bits_[0] &= ~0x00000001u;
2898 _impl_.primal_solution_vector_ = nullptr;
2899 return temp;
2900}
2901inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_primal_solution_vector() {
2902 ::google::protobuf::internal::TSanWrite(&_impl_);
2903 if (_impl_.primal_solution_vector_ == nullptr) {
2904 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
2905 _impl_.primal_solution_vector_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
2906 }
2907 return _impl_.primal_solution_vector_;
2909inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackDataProto::mutable_primal_solution_vector()
2910 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2911 _impl_._has_bits_[0] |= 0x00000001u;
2912 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_primal_solution_vector();
2913 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2914 return _msg;
2915}
2917 ::google::protobuf::Arena* message_arena = GetArena();
2918 ::google::protobuf::internal::TSanWrite(&_impl_);
2919 if (message_arena == nullptr) {
2920 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primal_solution_vector_);
2921 }
2922
2923 if (value != nullptr) {
2924 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2925 if (message_arena != submessage_arena) {
2926 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2927 }
2928 _impl_._has_bits_[0] |= 0x00000001u;
2929 } else {
2930 _impl_._has_bits_[0] &= ~0x00000001u;
2931 }
2933 _impl_.primal_solution_vector_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
2934 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.primal_solution_vector)
2935}
2936
2937// .google.protobuf.Duration runtime = 3;
2938inline bool CallbackDataProto::has_runtime() const {
2939 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2940 PROTOBUF_ASSUME(!value || _impl_.runtime_ != nullptr);
2941 return value;
2942}
2943inline const ::google::protobuf::Duration& CallbackDataProto::_internal_runtime() const {
2944 ::google::protobuf::internal::TSanRead(&_impl_);
2945 const ::google::protobuf::Duration* p = _impl_.runtime_;
2946 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
2947}
2948inline const ::google::protobuf::Duration& CallbackDataProto::runtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2949 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.runtime)
2950 return _internal_runtime();
2951}
2953 ::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
2954 ::google::protobuf::internal::TSanWrite(&_impl_);
2955 if (GetArena() == nullptr) {
2956 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.runtime_);
2957 }
2958 _impl_.runtime_ = reinterpret_cast<::google::protobuf::Duration*>(value);
2959 if (value != nullptr) {
2960 _impl_._has_bits_[0] |= 0x00000002u;
2961 } else {
2962 _impl_._has_bits_[0] &= ~0x00000002u;
2963 }
2964 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.runtime)
2965}
2966inline ::google::protobuf::Duration* PROTOBUF_NULLABLE CallbackDataProto::release_runtime() {
2967 ::google::protobuf::internal::TSanWrite(&_impl_);
2969 _impl_._has_bits_[0] &= ~0x00000002u;
2970 ::google::protobuf::Duration* released = _impl_.runtime_;
2971 _impl_.runtime_ = nullptr;
2972 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2973 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2974 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2975 if (GetArena() == nullptr) {
2976 delete old;
2977 }
2978 } else {
2979 if (GetArena() != nullptr) {
2980 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2981 }
2983 return released;
2984}
2985inline ::google::protobuf::Duration* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_runtime() {
2986 ::google::protobuf::internal::TSanWrite(&_impl_);
2987 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.runtime)
2988
2989 _impl_._has_bits_[0] &= ~0x00000002u;
2990 ::google::protobuf::Duration* temp = _impl_.runtime_;
2991 _impl_.runtime_ = nullptr;
2992 return temp;
2993}
2994inline ::google::protobuf::Duration* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_runtime() {
2995 ::google::protobuf::internal::TSanWrite(&_impl_);
2996 if (_impl_.runtime_ == nullptr) {
2997 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Duration>(GetArena());
2998 _impl_.runtime_ = reinterpret_cast<::google::protobuf::Duration*>(p);
2999 }
3000 return _impl_.runtime_;
3002inline ::google::protobuf::Duration* PROTOBUF_NONNULL CallbackDataProto::mutable_runtime()
3003 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3004 _impl_._has_bits_[0] |= 0x00000002u;
3005 ::google::protobuf::Duration* _msg = _internal_mutable_runtime();
3006 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.runtime)
3007 return _msg;
3008}
3009inline void CallbackDataProto::set_allocated_runtime(::google::protobuf::Duration* PROTOBUF_NULLABLE value) {
3010 ::google::protobuf::Arena* message_arena = GetArena();
3011 ::google::protobuf::internal::TSanWrite(&_impl_);
3012 if (message_arena == nullptr) {
3013 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.runtime_);
3014 }
3015
3016 if (value != nullptr) {
3017 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3018 if (message_arena != submessage_arena) {
3019 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3020 }
3021 _impl_._has_bits_[0] |= 0x00000002u;
3022 } else {
3023 _impl_._has_bits_[0] &= ~0x00000002u;
3024 }
3026 _impl_.runtime_ = reinterpret_cast<::google::protobuf::Duration*>(value);
3027 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.runtime)
3028}
3029
3030// .operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
3031inline bool CallbackDataProto::has_presolve_stats() const {
3032 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3033 PROTOBUF_ASSUME(!value || _impl_.presolve_stats_ != nullptr);
3034 return value;
3035}
3037 ::google::protobuf::internal::TSanWrite(&_impl_);
3038 if (_impl_.presolve_stats_ != nullptr) _impl_.presolve_stats_->Clear();
3039 _impl_._has_bits_[0] &= ~0x00000004u;
3040}
3041inline const ::operations_research::math_opt::CallbackDataProto_PresolveStats& CallbackDataProto::_internal_presolve_stats() const {
3042 ::google::protobuf::internal::TSanRead(&_impl_);
3043 const ::operations_research::math_opt::CallbackDataProto_PresolveStats* p = _impl_.presolve_stats_;
3045}
3046inline const ::operations_research::math_opt::CallbackDataProto_PresolveStats& CallbackDataProto::presolve_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3047 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.presolve_stats)
3048 return _internal_presolve_stats();
3049}
3052 ::google::protobuf::internal::TSanWrite(&_impl_);
3053 if (GetArena() == nullptr) {
3054 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.presolve_stats_);
3055 }
3056 _impl_.presolve_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_PresolveStats*>(value);
3057 if (value != nullptr) {
3058 _impl_._has_bits_[0] |= 0x00000004u;
3059 } else {
3060 _impl_._has_bits_[0] &= ~0x00000004u;
3061 }
3062 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.presolve_stats)
3063}
3064inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NULLABLE CallbackDataProto::release_presolve_stats() {
3065 ::google::protobuf::internal::TSanWrite(&_impl_);
3067 _impl_._has_bits_[0] &= ~0x00000004u;
3069 _impl_.presolve_stats_ = nullptr;
3070 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3071 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3072 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3073 if (GetArena() == nullptr) {
3074 delete old;
3075 }
3076 } else {
3077 if (GetArena() != nullptr) {
3078 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3079 }
3081 return released;
3082}
3083inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_presolve_stats() {
3084 ::google::protobuf::internal::TSanWrite(&_impl_);
3085 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.presolve_stats)
3086
3087 _impl_._has_bits_[0] &= ~0x00000004u;
3089 _impl_.presolve_stats_ = nullptr;
3090 return temp;
3091}
3092inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_presolve_stats() {
3093 ::google::protobuf::internal::TSanWrite(&_impl_);
3094 if (_impl_.presolve_stats_ == nullptr) {
3095 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_PresolveStats>(GetArena());
3096 _impl_.presolve_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_PresolveStats*>(p);
3097 }
3098 return _impl_.presolve_stats_;
3100inline ::operations_research::math_opt::CallbackDataProto_PresolveStats* PROTOBUF_NONNULL CallbackDataProto::mutable_presolve_stats()
3101 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3102 _impl_._has_bits_[0] |= 0x00000004u;
3103 ::operations_research::math_opt::CallbackDataProto_PresolveStats* _msg = _internal_mutable_presolve_stats();
3104 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.presolve_stats)
3105 return _msg;
3106}
3108 ::google::protobuf::Arena* message_arena = GetArena();
3109 ::google::protobuf::internal::TSanWrite(&_impl_);
3110 if (message_arena == nullptr) {
3111 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.presolve_stats_);
3112 }
3113
3114 if (value != nullptr) {
3115 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3116 if (message_arena != submessage_arena) {
3117 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3118 }
3119 _impl_._has_bits_[0] |= 0x00000004u;
3120 } else {
3121 _impl_._has_bits_[0] &= ~0x00000004u;
3122 }
3124 _impl_.presolve_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_PresolveStats*>(value);
3125 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.presolve_stats)
3126}
3127
3128// .operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
3129inline bool CallbackDataProto::has_simplex_stats() const {
3130 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3131 PROTOBUF_ASSUME(!value || _impl_.simplex_stats_ != nullptr);
3132 return value;
3133}
3135 ::google::protobuf::internal::TSanWrite(&_impl_);
3136 if (_impl_.simplex_stats_ != nullptr) _impl_.simplex_stats_->Clear();
3137 _impl_._has_bits_[0] &= ~0x00000008u;
3138}
3139inline const ::operations_research::math_opt::CallbackDataProto_SimplexStats& CallbackDataProto::_internal_simplex_stats() const {
3140 ::google::protobuf::internal::TSanRead(&_impl_);
3141 const ::operations_research::math_opt::CallbackDataProto_SimplexStats* p = _impl_.simplex_stats_;
3143}
3144inline const ::operations_research::math_opt::CallbackDataProto_SimplexStats& CallbackDataProto::simplex_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3145 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.simplex_stats)
3146 return _internal_simplex_stats();
3147}
3150 ::google::protobuf::internal::TSanWrite(&_impl_);
3151 if (GetArena() == nullptr) {
3152 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.simplex_stats_);
3153 }
3154 _impl_.simplex_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_SimplexStats*>(value);
3155 if (value != nullptr) {
3156 _impl_._has_bits_[0] |= 0x00000008u;
3157 } else {
3158 _impl_._has_bits_[0] &= ~0x00000008u;
3159 }
3160 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.simplex_stats)
3161}
3162inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NULLABLE CallbackDataProto::release_simplex_stats() {
3163 ::google::protobuf::internal::TSanWrite(&_impl_);
3165 _impl_._has_bits_[0] &= ~0x00000008u;
3167 _impl_.simplex_stats_ = nullptr;
3168 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3169 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3170 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3171 if (GetArena() == nullptr) {
3172 delete old;
3173 }
3174 } else {
3175 if (GetArena() != nullptr) {
3176 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3177 }
3179 return released;
3180}
3181inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_simplex_stats() {
3182 ::google::protobuf::internal::TSanWrite(&_impl_);
3183 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.simplex_stats)
3184
3185 _impl_._has_bits_[0] &= ~0x00000008u;
3187 _impl_.simplex_stats_ = nullptr;
3188 return temp;
3189}
3190inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_simplex_stats() {
3191 ::google::protobuf::internal::TSanWrite(&_impl_);
3192 if (_impl_.simplex_stats_ == nullptr) {
3193 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_SimplexStats>(GetArena());
3194 _impl_.simplex_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_SimplexStats*>(p);
3195 }
3196 return _impl_.simplex_stats_;
3198inline ::operations_research::math_opt::CallbackDataProto_SimplexStats* PROTOBUF_NONNULL CallbackDataProto::mutable_simplex_stats()
3199 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3200 _impl_._has_bits_[0] |= 0x00000008u;
3201 ::operations_research::math_opt::CallbackDataProto_SimplexStats* _msg = _internal_mutable_simplex_stats();
3202 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.simplex_stats)
3203 return _msg;
3204}
3206 ::google::protobuf::Arena* message_arena = GetArena();
3207 ::google::protobuf::internal::TSanWrite(&_impl_);
3208 if (message_arena == nullptr) {
3209 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.simplex_stats_);
3210 }
3211
3212 if (value != nullptr) {
3213 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3214 if (message_arena != submessage_arena) {
3215 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3216 }
3217 _impl_._has_bits_[0] |= 0x00000008u;
3218 } else {
3219 _impl_._has_bits_[0] &= ~0x00000008u;
3220 }
3222 _impl_.simplex_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_SimplexStats*>(value);
3223 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.simplex_stats)
3224}
3225
3226// .operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
3227inline bool CallbackDataProto::has_barrier_stats() const {
3228 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3229 PROTOBUF_ASSUME(!value || _impl_.barrier_stats_ != nullptr);
3230 return value;
3231}
3233 ::google::protobuf::internal::TSanWrite(&_impl_);
3234 if (_impl_.barrier_stats_ != nullptr) _impl_.barrier_stats_->Clear();
3235 _impl_._has_bits_[0] &= ~0x00000010u;
3236}
3237inline const ::operations_research::math_opt::CallbackDataProto_BarrierStats& CallbackDataProto::_internal_barrier_stats() const {
3238 ::google::protobuf::internal::TSanRead(&_impl_);
3239 const ::operations_research::math_opt::CallbackDataProto_BarrierStats* p = _impl_.barrier_stats_;
3241}
3242inline const ::operations_research::math_opt::CallbackDataProto_BarrierStats& CallbackDataProto::barrier_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3243 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.barrier_stats)
3244 return _internal_barrier_stats();
3245}
3248 ::google::protobuf::internal::TSanWrite(&_impl_);
3249 if (GetArena() == nullptr) {
3250 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.barrier_stats_);
3251 }
3252 _impl_.barrier_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_BarrierStats*>(value);
3253 if (value != nullptr) {
3254 _impl_._has_bits_[0] |= 0x00000010u;
3255 } else {
3256 _impl_._has_bits_[0] &= ~0x00000010u;
3257 }
3258 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.barrier_stats)
3259}
3260inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NULLABLE CallbackDataProto::release_barrier_stats() {
3261 ::google::protobuf::internal::TSanWrite(&_impl_);
3263 _impl_._has_bits_[0] &= ~0x00000010u;
3265 _impl_.barrier_stats_ = nullptr;
3266 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3267 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3268 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3269 if (GetArena() == nullptr) {
3270 delete old;
3271 }
3272 } else {
3273 if (GetArena() != nullptr) {
3274 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3275 }
3277 return released;
3278}
3279inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_barrier_stats() {
3280 ::google::protobuf::internal::TSanWrite(&_impl_);
3281 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.barrier_stats)
3282
3283 _impl_._has_bits_[0] &= ~0x00000010u;
3285 _impl_.barrier_stats_ = nullptr;
3286 return temp;
3287}
3288inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_barrier_stats() {
3289 ::google::protobuf::internal::TSanWrite(&_impl_);
3290 if (_impl_.barrier_stats_ == nullptr) {
3291 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_BarrierStats>(GetArena());
3292 _impl_.barrier_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_BarrierStats*>(p);
3293 }
3294 return _impl_.barrier_stats_;
3296inline ::operations_research::math_opt::CallbackDataProto_BarrierStats* PROTOBUF_NONNULL CallbackDataProto::mutable_barrier_stats()
3297 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3298 _impl_._has_bits_[0] |= 0x00000010u;
3299 ::operations_research::math_opt::CallbackDataProto_BarrierStats* _msg = _internal_mutable_barrier_stats();
3300 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.barrier_stats)
3301 return _msg;
3302}
3304 ::google::protobuf::Arena* message_arena = GetArena();
3305 ::google::protobuf::internal::TSanWrite(&_impl_);
3306 if (message_arena == nullptr) {
3307 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.barrier_stats_);
3308 }
3309
3310 if (value != nullptr) {
3311 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3312 if (message_arena != submessage_arena) {
3313 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3314 }
3315 _impl_._has_bits_[0] |= 0x00000010u;
3316 } else {
3317 _impl_._has_bits_[0] &= ~0x00000010u;
3318 }
3320 _impl_.barrier_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_BarrierStats*>(value);
3321 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.barrier_stats)
3322}
3323
3324// .operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
3325inline bool CallbackDataProto::has_mip_stats() const {
3326 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
3327 PROTOBUF_ASSUME(!value || _impl_.mip_stats_ != nullptr);
3328 return value;
3329}
3331 ::google::protobuf::internal::TSanWrite(&_impl_);
3332 if (_impl_.mip_stats_ != nullptr) _impl_.mip_stats_->Clear();
3333 _impl_._has_bits_[0] &= ~0x00000020u;
3334}
3335inline const ::operations_research::math_opt::CallbackDataProto_MipStats& CallbackDataProto::_internal_mip_stats() const {
3336 ::google::protobuf::internal::TSanRead(&_impl_);
3337 const ::operations_research::math_opt::CallbackDataProto_MipStats* p = _impl_.mip_stats_;
3339}
3340inline const ::operations_research::math_opt::CallbackDataProto_MipStats& CallbackDataProto::mip_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3341 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackDataProto.mip_stats)
3342 return _internal_mip_stats();
3343}
3346 ::google::protobuf::internal::TSanWrite(&_impl_);
3347 if (GetArena() == nullptr) {
3348 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_stats_);
3349 }
3350 _impl_.mip_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_MipStats*>(value);
3351 if (value != nullptr) {
3352 _impl_._has_bits_[0] |= 0x00000020u;
3353 } else {
3354 _impl_._has_bits_[0] &= ~0x00000020u;
3355 }
3356 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackDataProto.mip_stats)
3357}
3358inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NULLABLE CallbackDataProto::release_mip_stats() {
3359 ::google::protobuf::internal::TSanWrite(&_impl_);
3361 _impl_._has_bits_[0] &= ~0x00000020u;
3363 _impl_.mip_stats_ = nullptr;
3364 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3365 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3366 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3367 if (GetArena() == nullptr) {
3368 delete old;
3369 }
3370 } else {
3371 if (GetArena() != nullptr) {
3372 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3373 }
3375 return released;
3376}
3377inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NULLABLE CallbackDataProto::unsafe_arena_release_mip_stats() {
3378 ::google::protobuf::internal::TSanWrite(&_impl_);
3379 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackDataProto.mip_stats)
3380
3381 _impl_._has_bits_[0] &= ~0x00000020u;
3383 _impl_.mip_stats_ = nullptr;
3384 return temp;
3385}
3386inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL CallbackDataProto::_internal_mutable_mip_stats() {
3387 ::google::protobuf::internal::TSanWrite(&_impl_);
3388 if (_impl_.mip_stats_ == nullptr) {
3389 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::CallbackDataProto_MipStats>(GetArena());
3390 _impl_.mip_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_MipStats*>(p);
3391 }
3392 return _impl_.mip_stats_;
3394inline ::operations_research::math_opt::CallbackDataProto_MipStats* PROTOBUF_NONNULL CallbackDataProto::mutable_mip_stats()
3395 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3396 _impl_._has_bits_[0] |= 0x00000020u;
3397 ::operations_research::math_opt::CallbackDataProto_MipStats* _msg = _internal_mutable_mip_stats();
3398 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackDataProto.mip_stats)
3399 return _msg;
3400}
3402 ::google::protobuf::Arena* message_arena = GetArena();
3403 ::google::protobuf::internal::TSanWrite(&_impl_);
3404 if (message_arena == nullptr) {
3405 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_stats_);
3406 }
3407
3408 if (value != nullptr) {
3409 ::google::protobuf::Arena* submessage_arena = value->GetArena();
3410 if (message_arena != submessage_arena) {
3411 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3412 }
3413 _impl_._has_bits_[0] |= 0x00000020u;
3414 } else {
3415 _impl_._has_bits_[0] &= ~0x00000020u;
3416 }
3418 _impl_.mip_stats_ = reinterpret_cast<::operations_research::math_opt::CallbackDataProto_MipStats*>(value);
3419 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackDataProto.mip_stats)
3420}
3421
3422// -------------------------------------------------------------------
3423
3424// CallbackResultProto_GeneratedLinearConstraint
3425
3426// .operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
3428 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3429 PROTOBUF_ASSUME(!value || _impl_.linear_expression_ != nullptr);
3430 return value;
3431}
3432inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto_GeneratedLinearConstraint::_internal_linear_expression() const {
3433 ::google::protobuf::internal::TSanRead(&_impl_);
3434 const ::operations_research::math_opt::SparseDoubleVectorProto* p = _impl_.linear_expression_;
3436}
3437inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto_GeneratedLinearConstraint::linear_expression() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3438 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3439 return _internal_linear_expression();
3440}
3442 ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE value) {
3443 ::google::protobuf::internal::TSanWrite(&_impl_);
3444 if (GetArena() == nullptr) {
3445 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_expression_);
3446 }
3447 _impl_.linear_expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3448 if (value != nullptr) {
3449 _impl_._has_bits_[0] |= 0x00000001u;
3450 } else {
3451 _impl_._has_bits_[0] &= ~0x00000001u;
3452 }
3453 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3455inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackResultProto_GeneratedLinearConstraint::release_linear_expression() {
3456 ::google::protobuf::internal::TSanWrite(&_impl_);
3457
3458 _impl_._has_bits_[0] &= ~0x00000001u;
3460 _impl_.linear_expression_ = nullptr;
3461 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3462 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3463 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3464 if (GetArena() == nullptr) {
3465 delete old;
3466 }
3467 } else {
3468 if (GetArena() != nullptr) {
3469 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3470 }
3471 }
3472 return released;
3473}
3474inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NULLABLE CallbackResultProto_GeneratedLinearConstraint::unsafe_arena_release_linear_expression() {
3475 ::google::protobuf::internal::TSanWrite(&_impl_);
3476 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3477
3478 _impl_._has_bits_[0] &= ~0x00000001u;
3480 _impl_.linear_expression_ = nullptr;
3481 return temp;
3482}
3483inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto_GeneratedLinearConstraint::_internal_mutable_linear_expression() {
3484 ::google::protobuf::internal::TSanWrite(&_impl_);
3485 if (_impl_.linear_expression_ == nullptr) {
3486 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseDoubleVectorProto>(GetArena());
3487 _impl_.linear_expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(p);
3488 }
3489 return _impl_.linear_expression_;
3490}
3491inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto_GeneratedLinearConstraint::mutable_linear_expression()
3492 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3493 _impl_._has_bits_[0] |= 0x00000001u;
3494 ::operations_research::math_opt::SparseDoubleVectorProto* _msg = _internal_mutable_linear_expression();
3495 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3496 return _msg;
3497}
3499 ::google::protobuf::Arena* message_arena = GetArena();
3500 ::google::protobuf::internal::TSanWrite(&_impl_);
3501 if (message_arena == nullptr) {
3502 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.linear_expression_);
3503 }
3504
3505 if (value != nullptr) {
3506 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3507 if (message_arena != submessage_arena) {
3508 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3509 }
3510 _impl_._has_bits_[0] |= 0x00000001u;
3511 } else {
3512 _impl_._has_bits_[0] &= ~0x00000001u;
3513 }
3514
3515 _impl_.linear_expression_ = reinterpret_cast<::operations_research::math_opt::SparseDoubleVectorProto*>(value);
3516 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.linear_expression)
3517}
3518
3519// double lower_bound = 2;
3521 ::google::protobuf::internal::TSanWrite(&_impl_);
3522 _impl_.lower_bound_ = 0;
3523 _impl_._has_bits_[0] &= ~0x00000002u;
3524}
3526 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.lower_bound)
3527 return _internal_lower_bound();
3528}
3530 _internal_set_lower_bound(value);
3531 _impl_._has_bits_[0] |= 0x00000002u;
3532 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.lower_bound)
3533}
3534inline double CallbackResultProto_GeneratedLinearConstraint::_internal_lower_bound() const {
3535 ::google::protobuf::internal::TSanRead(&_impl_);
3536 return _impl_.lower_bound_;
3538inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_lower_bound(double value) {
3539 ::google::protobuf::internal::TSanWrite(&_impl_);
3540 _impl_.lower_bound_ = value;
3541}
3543// double upper_bound = 3;
3545 ::google::protobuf::internal::TSanWrite(&_impl_);
3546 _impl_.upper_bound_ = 0;
3547 _impl_._has_bits_[0] &= ~0x00000004u;
3548}
3550 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.upper_bound)
3551 return _internal_upper_bound();
3552}
3554 _internal_set_upper_bound(value);
3555 _impl_._has_bits_[0] |= 0x00000004u;
3556 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.upper_bound)
3557}
3558inline double CallbackResultProto_GeneratedLinearConstraint::_internal_upper_bound() const {
3559 ::google::protobuf::internal::TSanRead(&_impl_);
3560 return _impl_.upper_bound_;
3562inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_upper_bound(double value) {
3563 ::google::protobuf::internal::TSanWrite(&_impl_);
3564 _impl_.upper_bound_ = value;
3565}
3567// bool is_lazy = 4;
3569 ::google::protobuf::internal::TSanWrite(&_impl_);
3570 _impl_.is_lazy_ = false;
3571 _impl_._has_bits_[0] &= ~0x00000008u;
3572}
3574 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.is_lazy)
3575 return _internal_is_lazy();
3576}
3578 _internal_set_is_lazy(value);
3579 _impl_._has_bits_[0] |= 0x00000008u;
3580 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint.is_lazy)
3581}
3582inline bool CallbackResultProto_GeneratedLinearConstraint::_internal_is_lazy() const {
3583 ::google::protobuf::internal::TSanRead(&_impl_);
3584 return _impl_.is_lazy_;
3586inline void CallbackResultProto_GeneratedLinearConstraint::_internal_set_is_lazy(bool value) {
3587 ::google::protobuf::internal::TSanWrite(&_impl_);
3588 _impl_.is_lazy_ = value;
3589}
3591// -------------------------------------------------------------------
3592
3593// CallbackResultProto
3595// bool terminate = 1;
3597 ::google::protobuf::internal::TSanWrite(&_impl_);
3598 _impl_.terminate_ = false;
3599 _impl_._has_bits_[0] &= ~0x00000001u;
3600}
3601inline bool CallbackResultProto::terminate() const {
3602 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.terminate)
3603 return _internal_terminate();
3604}
3605inline void CallbackResultProto::set_terminate(bool value) {
3606 _internal_set_terminate(value);
3607 _impl_._has_bits_[0] |= 0x00000001u;
3608 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackResultProto.terminate)
3609}
3610inline bool CallbackResultProto::_internal_terminate() const {
3611 ::google::protobuf::internal::TSanRead(&_impl_);
3612 return _impl_.terminate_;
3613}
3614inline void CallbackResultProto::_internal_set_terminate(bool value) {
3615 ::google::protobuf::internal::TSanWrite(&_impl_);
3616 _impl_.terminate_ = value;
3617}
3618
3619// repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
3620inline int CallbackResultProto::_internal_cuts_size() const {
3621 return _internal_cuts().size();
3622}
3624 return _internal_cuts_size();
3625}
3626inline void CallbackResultProto::clear_cuts() {
3627 ::google::protobuf::internal::TSanWrite(&_impl_);
3628 _impl_.cuts_.Clear();
3629}
3630inline ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL CallbackResultProto::mutable_cuts(int index)
3631 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3632 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackResultProto.cuts)
3633 return _internal_mutable_cuts()->Mutable(index);
3634}
3635inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL CallbackResultProto::mutable_cuts()
3636 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3637 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.CallbackResultProto.cuts)
3638 ::google::protobuf::internal::TSanWrite(&_impl_);
3639 return _internal_mutable_cuts();
3640}
3641inline const ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint& CallbackResultProto::cuts(int index) const
3642 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3643 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.cuts)
3644 return _internal_cuts().Get(index);
3645}
3646inline ::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint* PROTOBUF_NONNULL CallbackResultProto::add_cuts()
3647 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3648 ::google::protobuf::internal::TSanWrite(&_impl_);
3650 // @@protoc_insertion_point(field_add:operations_research.math_opt.CallbackResultProto.cuts)
3651 return _add;
3652}
3653inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>& CallbackResultProto::cuts() const
3654 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3655 // @@protoc_insertion_point(field_list:operations_research.math_opt.CallbackResultProto.cuts)
3656 return _internal_cuts();
3657}
3658inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>&
3659CallbackResultProto::_internal_cuts() const {
3660 ::google::protobuf::internal::TSanRead(&_impl_);
3661 return _impl_.cuts_;
3662}
3663inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::CallbackResultProto_GeneratedLinearConstraint>* PROTOBUF_NONNULL
3664CallbackResultProto::_internal_mutable_cuts() {
3665 ::google::protobuf::internal::TSanRead(&_impl_);
3666 return &_impl_.cuts_;
3667}
3668
3669// repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
3670inline int CallbackResultProto::_internal_suggested_solutions_size() const {
3671 return _internal_suggested_solutions().size();
3672}
3674 return _internal_suggested_solutions_size();
3675}
3676inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto::mutable_suggested_solutions(int index)
3677 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3678 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3679 return _internal_mutable_suggested_solutions()->Mutable(index);
3680}
3681inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL CallbackResultProto::mutable_suggested_solutions()
3682 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3683 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3684 ::google::protobuf::internal::TSanWrite(&_impl_);
3685 return _internal_mutable_suggested_solutions();
3686}
3687inline const ::operations_research::math_opt::SparseDoubleVectorProto& CallbackResultProto::suggested_solutions(int index) const
3688 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3689 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3690 return _internal_suggested_solutions().Get(index);
3692inline ::operations_research::math_opt::SparseDoubleVectorProto* PROTOBUF_NONNULL CallbackResultProto::add_suggested_solutions()
3693 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3694 ::google::protobuf::internal::TSanWrite(&_impl_);
3695 ::operations_research::math_opt::SparseDoubleVectorProto* _add = _internal_mutable_suggested_solutions()->Add();
3696 // @@protoc_insertion_point(field_add:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3697 return _add;
3698}
3699inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>& CallbackResultProto::suggested_solutions() const
3700 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3701 // @@protoc_insertion_point(field_list:operations_research.math_opt.CallbackResultProto.suggested_solutions)
3702 return _internal_suggested_solutions();
3703}
3704inline const ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>&
3705CallbackResultProto::_internal_suggested_solutions() const {
3706 ::google::protobuf::internal::TSanRead(&_impl_);
3707 return _impl_.suggested_solutions_;
3708}
3709inline ::google::protobuf::RepeatedPtrField<::operations_research::math_opt::SparseDoubleVectorProto>* PROTOBUF_NONNULL
3710CallbackResultProto::_internal_mutable_suggested_solutions() {
3711 ::google::protobuf::internal::TSanRead(&_impl_);
3712 return &_impl_.suggested_solutions_;
3713}
3714
3715// -------------------------------------------------------------------
3716
3717// CallbackRegistrationProto
3718
3719// repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
3720inline int CallbackRegistrationProto::_internal_request_registration_size() const {
3721 return _internal_request_registration().size();
3722}
3724 return _internal_request_registration_size();
3725}
3727 ::google::protobuf::internal::TSanWrite(&_impl_);
3728 _impl_.request_registration_.Clear();
3729}
3730inline ::operations_research::math_opt::CallbackEventProto CallbackRegistrationProto::request_registration(int index) const {
3731 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3732 return static_cast<::operations_research::math_opt::CallbackEventProto>(_internal_request_registration().Get(index));
3733}
3735 _internal_mutable_request_registration()->Set(index, value);
3736 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3737}
3739 ::google::protobuf::internal::TSanWrite(&_impl_);
3740 _internal_mutable_request_registration()->Add(value);
3741 // @@protoc_insertion_point(field_add:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3743inline const ::google::protobuf::RepeatedField<int>& CallbackRegistrationProto::request_registration() const
3744 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3745 // @@protoc_insertion_point(field_list:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3746 return _internal_request_registration();
3747}
3748inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL CallbackRegistrationProto::mutable_request_registration()
3749 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3750 // @@protoc_insertion_point(field_mutable_list:operations_research.math_opt.CallbackRegistrationProto.request_registration)
3751 ::google::protobuf::internal::TSanWrite(&_impl_);
3752 return _internal_mutable_request_registration();
3754inline const ::google::protobuf::RepeatedField<int>& CallbackRegistrationProto::_internal_request_registration()
3755 const {
3756 ::google::protobuf::internal::TSanRead(&_impl_);
3757 return _impl_.request_registration_;
3758}
3759inline ::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL
3760CallbackRegistrationProto::_internal_mutable_request_registration() {
3761 ::google::protobuf::internal::TSanRead(&_impl_);
3762 return &_impl_.request_registration_;
3763}
3764
3765// .operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
3767 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3768 PROTOBUF_ASSUME(!value || _impl_.mip_solution_filter_ != nullptr);
3769 return value;
3770}
3771inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::_internal_mip_solution_filter() const {
3772 ::google::protobuf::internal::TSanRead(&_impl_);
3773 const ::operations_research::math_opt::SparseVectorFilterProto* p = _impl_.mip_solution_filter_;
3775}
3776inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::mip_solution_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3777 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3778 return _internal_mip_solution_filter();
3779}
3782 ::google::protobuf::internal::TSanWrite(&_impl_);
3783 if (GetArena() == nullptr) {
3784 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_solution_filter_);
3786 _impl_.mip_solution_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3787 if (value != nullptr) {
3788 _impl_._has_bits_[0] |= 0x00000001u;
3789 } else {
3790 _impl_._has_bits_[0] &= ~0x00000001u;
3791 }
3792 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3793}
3794inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::release_mip_solution_filter() {
3795 ::google::protobuf::internal::TSanWrite(&_impl_);
3796
3797 _impl_._has_bits_[0] &= ~0x00000001u;
3799 _impl_.mip_solution_filter_ = nullptr;
3800 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3801 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3802 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3803 if (GetArena() == nullptr) {
3804 delete old;
3805 }
3806 } else {
3807 if (GetArena() != nullptr) {
3808 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3809 }
3810 }
3811 return released;
3812}
3813inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::unsafe_arena_release_mip_solution_filter() {
3814 ::google::protobuf::internal::TSanWrite(&_impl_);
3815 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3816
3817 _impl_._has_bits_[0] &= ~0x00000001u;
3819 _impl_.mip_solution_filter_ = nullptr;
3820 return temp;
3821}
3822inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::_internal_mutable_mip_solution_filter() {
3823 ::google::protobuf::internal::TSanWrite(&_impl_);
3824 if (_impl_.mip_solution_filter_ == nullptr) {
3825 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseVectorFilterProto>(GetArena());
3826 _impl_.mip_solution_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(p);
3827 }
3828 return _impl_.mip_solution_filter_;
3829}
3830inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::mutable_mip_solution_filter()
3831 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3832 _impl_._has_bits_[0] |= 0x00000001u;
3833 ::operations_research::math_opt::SparseVectorFilterProto* _msg = _internal_mutable_mip_solution_filter();
3834 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3835 return _msg;
3836}
3838 ::google::protobuf::Arena* message_arena = GetArena();
3839 ::google::protobuf::internal::TSanWrite(&_impl_);
3840 if (message_arena == nullptr) {
3841 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_solution_filter_);
3842 }
3843
3844 if (value != nullptr) {
3845 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3846 if (message_arena != submessage_arena) {
3847 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3848 }
3849 _impl_._has_bits_[0] |= 0x00000001u;
3850 } else {
3851 _impl_._has_bits_[0] &= ~0x00000001u;
3852 }
3853
3854 _impl_.mip_solution_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3855 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_solution_filter)
3857
3858// .operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
3860 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3861 PROTOBUF_ASSUME(!value || _impl_.mip_node_filter_ != nullptr);
3862 return value;
3863}
3864inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::_internal_mip_node_filter() const {
3865 ::google::protobuf::internal::TSanRead(&_impl_);
3866 const ::operations_research::math_opt::SparseVectorFilterProto* p = _impl_.mip_node_filter_;
3868}
3869inline const ::operations_research::math_opt::SparseVectorFilterProto& CallbackRegistrationProto::mip_node_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3870 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3871 return _internal_mip_node_filter();
3872}
3874 ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE value) {
3875 ::google::protobuf::internal::TSanWrite(&_impl_);
3876 if (GetArena() == nullptr) {
3877 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_node_filter_);
3879 _impl_.mip_node_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3880 if (value != nullptr) {
3881 _impl_._has_bits_[0] |= 0x00000002u;
3882 } else {
3883 _impl_._has_bits_[0] &= ~0x00000002u;
3884 }
3885 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3886}
3887inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::release_mip_node_filter() {
3888 ::google::protobuf::internal::TSanWrite(&_impl_);
3889
3890 _impl_._has_bits_[0] &= ~0x00000002u;
3892 _impl_.mip_node_filter_ = nullptr;
3893 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3894 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3895 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3896 if (GetArena() == nullptr) {
3897 delete old;
3898 }
3899 } else {
3900 if (GetArena() != nullptr) {
3901 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3902 }
3903 }
3904 return released;
3905}
3906inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NULLABLE CallbackRegistrationProto::unsafe_arena_release_mip_node_filter() {
3907 ::google::protobuf::internal::TSanWrite(&_impl_);
3908 // @@protoc_insertion_point(field_release:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3909
3910 _impl_._has_bits_[0] &= ~0x00000002u;
3912 _impl_.mip_node_filter_ = nullptr;
3913 return temp;
3914}
3915inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::_internal_mutable_mip_node_filter() {
3916 ::google::protobuf::internal::TSanWrite(&_impl_);
3917 if (_impl_.mip_node_filter_ == nullptr) {
3918 auto* p = ::google::protobuf::Message::DefaultConstruct<::operations_research::math_opt::SparseVectorFilterProto>(GetArena());
3919 _impl_.mip_node_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(p);
3920 }
3921 return _impl_.mip_node_filter_;
3922}
3923inline ::operations_research::math_opt::SparseVectorFilterProto* PROTOBUF_NONNULL CallbackRegistrationProto::mutable_mip_node_filter()
3924 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3925 _impl_._has_bits_[0] |= 0x00000002u;
3926 ::operations_research::math_opt::SparseVectorFilterProto* _msg = _internal_mutable_mip_node_filter();
3927 // @@protoc_insertion_point(field_mutable:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3928 return _msg;
3929}
3931 ::google::protobuf::Arena* message_arena = GetArena();
3932 ::google::protobuf::internal::TSanWrite(&_impl_);
3933 if (message_arena == nullptr) {
3934 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mip_node_filter_);
3935 }
3936
3937 if (value != nullptr) {
3938 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3939 if (message_arena != submessage_arena) {
3940 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3941 }
3942 _impl_._has_bits_[0] |= 0x00000002u;
3943 } else {
3944 _impl_._has_bits_[0] &= ~0x00000002u;
3945 }
3946
3947 _impl_.mip_node_filter_ = reinterpret_cast<::operations_research::math_opt::SparseVectorFilterProto*>(value);
3948 // @@protoc_insertion_point(field_set_allocated:operations_research.math_opt.CallbackRegistrationProto.mip_node_filter)
3950
3951// bool add_cuts = 4;
3953 ::google::protobuf::internal::TSanWrite(&_impl_);
3954 _impl_.add_cuts_ = false;
3955 _impl_._has_bits_[0] &= ~0x00000004u;
3956}
3957inline bool CallbackRegistrationProto::add_cuts() const {
3958 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.add_cuts)
3959 return _internal_add_cuts();
3960}
3961inline void CallbackRegistrationProto::set_add_cuts(bool value) {
3962 _internal_set_add_cuts(value);
3963 _impl_._has_bits_[0] |= 0x00000004u;
3964 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackRegistrationProto.add_cuts)
3965}
3966inline bool CallbackRegistrationProto::_internal_add_cuts() const {
3967 ::google::protobuf::internal::TSanRead(&_impl_);
3968 return _impl_.add_cuts_;
3969}
3970inline void CallbackRegistrationProto::_internal_set_add_cuts(bool value) {
3971 ::google::protobuf::internal::TSanWrite(&_impl_);
3972 _impl_.add_cuts_ = value;
3973}
3974
3975// bool add_lazy_constraints = 5;
3977 ::google::protobuf::internal::TSanWrite(&_impl_);
3978 _impl_.add_lazy_constraints_ = false;
3979 _impl_._has_bits_[0] &= ~0x00000008u;
3982 // @@protoc_insertion_point(field_get:operations_research.math_opt.CallbackRegistrationProto.add_lazy_constraints)
3983 return _internal_add_lazy_constraints();
3984}
3986 _internal_set_add_lazy_constraints(value);
3987 _impl_._has_bits_[0] |= 0x00000008u;
3988 // @@protoc_insertion_point(field_set:operations_research.math_opt.CallbackRegistrationProto.add_lazy_constraints)
3989}
3990inline bool CallbackRegistrationProto::_internal_add_lazy_constraints() const {
3991 ::google::protobuf::internal::TSanRead(&_impl_);
3992 return _impl_.add_lazy_constraints_;
3993}
3994inline void CallbackRegistrationProto::_internal_set_add_lazy_constraints(bool value) {
3995 ::google::protobuf::internal::TSanWrite(&_impl_);
3996 _impl_.add_lazy_constraints_ = value;
3997}
3998
3999#ifdef __GNUC__
4000#pragma GCC diagnostic pop
4001#endif // __GNUC__
4002
4003// @@protoc_insertion_point(namespace_scope)
4004} // namespace math_opt
4005} // namespace operations_research
4006
4007
4008namespace google {
4009namespace protobuf {
4010
4011template <>
4012struct is_proto_enum<::operations_research::math_opt::CallbackEventProto> : std::true_type {};
4013template <>
4014inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::operations_research::math_opt::CallbackEventProto>() {
4015 return ::operations_research::math_opt::CallbackEventProto_descriptor();
4016}
4017
4018} // namespace protobuf
4019} // namespace google
4020
4021// @@protoc_insertion_point(global_scope)
4022
4023#include "google/protobuf/port_undef.inc"
4024
4025#endif // ortools_2fmath_5fopt_2fcallback_2eproto_2epb_2eh
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fmath_5fopt_2fcallback_2eproto
bool has_primal_objective() const
optional double primal_objective = 2;
CallbackDataProto_BarrierStats & operator=(const CallbackDataProto_BarrierStats &from)
void Swap(CallbackDataProto_BarrierStats *PROTOBUF_NONNULL other)
bool has_dual_infeasibility() const
optional double dual_infeasibility = 6;
friend void swap(CallbackDataProto_BarrierStats &a, CallbackDataProto_BarrierStats &b)
void MergeFrom(const CallbackDataProto_BarrierStats &from)
bool has_primal_infeasibility() const
optional double primal_infeasibility = 5;
bool has_iteration_count() const
optional int32 iteration_count = 1;
void CopyFrom(const CallbackDataProto_BarrierStats &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
bool has_dual_objective() const
optional double dual_objective = 3;
CallbackDataProto_BarrierStats *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
static const ::google::protobuf::Descriptor *PROTOBUF_NONNULL descriptor()
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
bool has_complementarity() const
optional double complementarity = 4;
::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)
bool has_open_nodes() const
optional int64 open_nodes = 4;
void Swap(CallbackDataProto_MipStats *PROTOBUF_NONNULL other)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
bool has_dual_bound() const
optional double dual_bound = 2;
bool has_explored_nodes() const
optional int64 explored_nodes = 3;
bool has_cutting_planes_in_lp() const
optional int32 cutting_planes_in_lp = 7;
void MergeFrom(const CallbackDataProto_MipStats &from)
CallbackDataProto_MipStats & operator=(const CallbackDataProto_MipStats &from)
bool has_number_of_solutions_found() const
optional int32 number_of_solutions_found = 6;
::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()
bool has_simplex_iterations() const
optional int64 simplex_iterations = 5;
static const CallbackDataProto_MipStats & default_instance()
PROTOBUF_CONSTEXPR CallbackDataProto_MipStats(::google::protobuf::internal::ConstantInitialized)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
bool has_primal_bound() const
optional double primal_bound = 1;
PROTOBUF_CONSTEXPR CallbackDataProto_PresolveStats(::google::protobuf::internal::ConstantInitialized)
bool has_removed_constraints() const
optional int64 removed_constraints = 2;
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
bool has_removed_variables() const
optional int64 removed_variables = 1;
bool has_bound_changes() const
optional int64 bound_changes = 3;
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)
bool has_coefficient_changes() const
optional int64 coefficient_changes = 4;
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
bool has_primal_infeasibility() const
optional double primal_infeasibility = 3;
bool has_iteration_count() const
optional int64 iteration_count = 1;
CallbackDataProto_SimplexStats & operator=(const CallbackDataProto_SimplexStats &from)
void CopyFrom(const CallbackDataProto_SimplexStats &from)
bool has_objective_value() const
optional double objective_value = 2;
CallbackDataProto_SimplexStats(::google::protobuf::Arena *PROTOBUF_NULLABLE arena, CallbackDataProto_SimplexStats &&from) noexcept
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)
bool has_is_pertubated() const
optional bool is_pertubated = 5;
void Swap(CallbackDataProto_SimplexStats *PROTOBUF_NONNULL other)
bool has_dual_infeasibility() const
optional double dual_infeasibility = 4;
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)
bool has_mip_stats() const
.operations_research.math_opt.CallbackDataProto.MipStats mip_stats = 7;
void unsafe_arena_set_allocated_mip_stats(::operations_research::math_opt::CallbackDataProto_MipStats *PROTOBUF_NULLABLE value)
bool has_presolve_stats() const
.operations_research.math_opt.CallbackDataProto.PresolveStats presolve_stats = 4;
::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()
bool has_runtime() const
.google.protobuf.Duration runtime = 3;
bool has_primal_solution_vector() const
.operations_research.math_opt.SparseDoubleVectorProto primal_solution_vector = 2;
::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()
bool has_simplex_stats() const
.operations_research.math_opt.CallbackDataProto.SimplexStats simplex_stats = 5;
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)
CallbackDataProto_SimplexStats SimplexStats
::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
void clear_event()
.operations_research.math_opt.CallbackEventProto event = 1;
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()
CallbackDataProto_BarrierStats BarrierStats
void UnsafeArenaSwap(CallbackDataProto *PROTOBUF_NONNULL other)
CallbackDataProto *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
bool has_barrier_stats() const
.operations_research.math_opt.CallbackDataProto.BarrierStats barrier_stats = 6;
void unsafe_arena_set_allocated_barrier_stats(::operations_research::math_opt::CallbackDataProto_BarrierStats *PROTOBUF_NULLABLE value)
::google::protobuf::Metadata GetMetadata() const
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)
CallbackDataProto_PresolveStats PresolveStats
nested types -------------------------------------------------—
friend class ::google::protobuf::Arena
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
bool has_mip_node_filter() const
.operations_research.math_opt.SparseVectorFilterProto mip_node_filter = 3;
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
implements Message -------------------------------------------—
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
void clear_add_lazy_constraints()
bool add_lazy_constraints = 5;
friend void swap(CallbackRegistrationProto &a, CallbackRegistrationProto &b)
static const CallbackRegistrationProto & default_instance()
::google::protobuf::Metadata GetMetadata() const
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)
int request_registration_size() const
repeated .operations_research.math_opt.CallbackEventProto request_registration = 1;
void Swap(CallbackRegistrationProto *PROTOBUF_NONNULL other)
bool has_mip_solution_filter() const
.operations_research.math_opt.SparseVectorFilterProto mip_solution_filter = 2;
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)
bool has_linear_expression() const
.operations_research.math_opt.SparseDoubleVectorProto linear_expression = 1;
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 void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static const ::google::protobuf::Reflection *PROTOBUF_NONNULL GetReflection()
CallbackResultProto_GeneratedLinearConstraint *PROTOBUF_NONNULL New(::google::protobuf::Arena *PROTOBUF_NULLABLE arena=nullptr) const
implements Message -------------------------------------------—
::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
int cuts_size() const
repeated .operations_research.math_opt.CallbackResultProto.GeneratedLinearConstraint cuts = 4;
int suggested_solutions_size() const
repeated .operations_research.math_opt.SparseDoubleVectorProto suggested_solutions = 5;
::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)
CallbackResultProto_GeneratedLinearConstraint GeneratedLinearConstraint
nested types -------------------------------------------------—
::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)
::google::protobuf::Metadata GetMetadata() const
::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 >()
An object oriented wrapper for quadratic constraints in ModelStorage.
Definition gurobi_isv.cc:28
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_
In SWIG mode, we don't want anything besides these top-level includes.
Internal implementation detail – do not use these members.
Definition callback.pb.h:52