8#include <google/protobuf/io/coded_stream.h>
9#include <google/protobuf/extension_set.h>
10#include <google/protobuf/wire_format_lite.h>
11#include <google/protobuf/descriptor.h>
12#include <google/protobuf/generated_message_reflection.h>
13#include <google/protobuf/reflection_ops.h>
14#include <google/protobuf/wire_format.h>
16#include <google/protobuf/port_def.inc>
18PROTOBUF_PRAGMA_INIT_SEG
21 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
32 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
43 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
54 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
65 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
76 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
87 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
88 : bool_params_(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{})
89 , int_params_(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{})
90 , long_params_(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{})
91 , real_params_(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{})
92 , char_params_(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{})
93 , string_params_(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{})
94 , search_logs_filename_(&::PROTOBUF_NAMESPACE_ID::
internal::fixed_address_empty_string)
95 , detailed_solving_stats_filename_(&::PROTOBUF_NAMESPACE_ID::
internal::fixed_address_empty_string)
96 , scip_model_filename_(&::PROTOBUF_NAMESPACE_ID::
internal::fixed_address_empty_string)
105 , silence_output_(false)
106 , print_detailed_solving_stats_(false)
107 , print_scip_model_(false)
108 , num_solutions_(0){}
119 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
122 , primal_simplex_iterations_(int64_t{0})
123 , dual_simplex_iterations_(int64_t{0})
124 , total_lp_iterations_(int64_t{0})
125 , node_count_(int64_t{0})
126 , first_lp_relaxation_bound_(0)
127 , root_node_bound_(0)
128 , deterministic_time_(0){}
139 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
140 : status_detail_(&::PROTOBUF_NAMESPACE_ID::
internal::fixed_address_empty_string)
309 "\n\031ortools/gscip/gscip.proto\022\023operations_"
310 "research\"\340\014\n\017GScipParameters\022\?\n\010emphasis"
311 "\030\001 \001(\0162-.operations_research.GScipParame"
312 "ters.Emphasis\022L\n\nheuristics\030\002 \001(\01623.oper"
313 "ations_research.GScipParameters.MetaPara"
314 "mValueH\000\210\001\001\022J\n\010presolve\030\003 \001(\01623.operatio"
315 "ns_research.GScipParameters.MetaParamVal"
316 "ueH\001\210\001\001\022L\n\nseparating\030\004 \001(\01623.operations"
317 "_research.GScipParameters.MetaParamValue"
318 "H\002\210\001\001\022I\n\013bool_params\030\005 \003(\01324.operations_"
319 "research.GScipParameters.BoolParamsEntry"
320 "\022G\n\nint_params\030\006 \003(\01323.operations_resear"
321 "ch.GScipParameters.IntParamsEntry\022I\n\013lon"
322 "g_params\030\007 \003(\01324.operations_research.GSc"
323 "ipParameters.LongParamsEntry\022I\n\013real_par"
324 "ams\030\010 \003(\01324.operations_research.GScipPar"
325 "ameters.RealParamsEntry\022I\n\013char_params\030\t"
326 " \003(\01324.operations_research.GScipParamete"
327 "rs.CharParamsEntry\022M\n\rstring_params\030\n \003("
328 "\01326.operations_research.GScipParameters."
329 "StringParamsEntry\022\033\n\016silence_output\030\013 \001("
330 "\010H\003\210\001\001\022$\n\034print_detailed_solving_stats\030\014"
331 " \001(\010\022\030\n\020print_scip_model\030\r \001(\010\022\034\n\024search"
332 "_logs_filename\030\016 \001(\t\022\'\n\037detailed_solving"
333 "_stats_filename\030\017 \001(\t\022\033\n\023scip_model_file"
334 "name\030\020 \001(\t\022\032\n\rnum_solutions\030\021 \001(\005H\004\210\001\001\0321"
335 "\n\017BoolParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
336 "\002 \001(\010:\0028\001\0320\n\016IntParamsEntry\022\013\n\003key\030\001 \001(\t"
337 "\022\r\n\005value\030\002 \001(\005:\0028\001\0321\n\017LongParamsEntry\022\013"
338 "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\0321\n\017RealPa"
339 "ramsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028"
340 "\001\0321\n\017CharParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
341 "ue\030\002 \001(\t:\0028\001\0323\n\021StringParamsEntry\022\013\n\003key"
342 "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\254\001\n\010Emphasis\022\024"
343 "\n\020DEFAULT_EMPHASIS\020\000\022\013\n\007COUNTER\020\001\022\r\n\tCP_"
344 "SOLVER\020\002\022\014\n\010EASY_CIP\020\003\022\017\n\013FEASIBILITY\020\004\022"
345 "\013\n\007HARD_LP\020\005\022\016\n\nOPTIMALITY\020\006\022\016\n\nPHASE_FE"
346 "AS\020\007\022\021\n\rPHASE_IMPROVE\020\010\022\017\n\013PHASE_PROOF\020\t"
347 "\"Q\n\016MetaParamValue\022\034\n\030DEFAULT_META_PARAM"
348 "_VALUE\020\000\022\016\n\nAGGRESSIVE\020\001\022\010\n\004FAST\020\002\022\007\n\003OF"
349 "F\020\003B\r\n\013_heuristicsB\013\n\t_presolveB\r\n\013_sepa"
350 "ratingB\021\n\017_silence_outputB\020\n\016_num_soluti"
351 "ons\"\214\002\n\021GScipSolvingStats\022\026\n\016best_object"
352 "ive\030\001 \001(\001\022\022\n\nbest_bound\030\002 \001(\001\022!\n\031primal_"
353 "simplex_iterations\030\003 \001(\003\022\037\n\027dual_simplex"
354 "_iterations\030\004 \001(\003\022\033\n\023total_lp_iterations"
355 "\030\005 \001(\003\022\022\n\nnode_count\030\006 \001(\003\022!\n\031first_lp_r"
356 "elaxation_bound\030\007 \001(\001\022\027\n\017root_node_bound"
357 "\030\010 \001(\001\022\032\n\022deterministic_time\030\t \001(\001\"\313\003\n\013G"
358 "ScipOutput\0227\n\006status\030\001 \001(\0162\'.operations_"
359 "research.GScipOutput.Status\022\025\n\rstatus_de"
360 "tail\030\002 \001(\t\0225\n\005stats\030\003 \001(\0132&.operations_r"
361 "esearch.GScipSolvingStats\"\264\002\n\006Status\022\013\n\007"
362 "UNKNOWN\020\000\022\022\n\016USER_INTERRUPT\020\001\022\016\n\nNODE_LI"
363 "MIT\020\002\022\024\n\020TOTAL_NODE_LIMIT\020\003\022\024\n\020STALL_NOD"
364 "E_LIMIT\020\004\022\016\n\nTIME_LIMIT\020\005\022\r\n\tMEM_LIMIT\020\006"
365 "\022\r\n\tGAP_LIMIT\020\007\022\r\n\tSOL_LIMIT\020\010\022\022\n\016BEST_S"
366 "OL_LIMIT\020\t\022\021\n\rRESTART_LIMIT\020\n\022\013\n\007OPTIMAL"
367 "\020\013\022\016\n\nINFEASIBLE\020\014\022\r\n\tUNBOUNDED\020\r\022\017\n\013INF"
368 "_OR_UNBD\020\016\022\r\n\tTERMINATE\020\017\022\035\n\031INVALID_SOL"
369 "VER_PARAMETERS\020\020b\006proto3"
373 false,
false, 2424, descriptor_table_protodef_ortools_2fgscip_2fgscip_2eproto,
"ortools/gscip/gscip.proto",
407#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
438#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
476#if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
505 MergeFromInternal(other);
508 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
519 MergeFromInternal(other);
522 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
533 MergeFromInternal(other);
536 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
547 MergeFromInternal(other);
550 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
561 MergeFromInternal(other);
564 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
575 MergeFromInternal(other);
578 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
587 using HasBits =
decltype(std::declval<GScipParameters>()._has_bits_);
589 (*has_bits)[0] |= 1u;
592 (*has_bits)[0] |= 2u;
595 (*has_bits)[0] |= 4u;
598 (*has_bits)[0] |= 8u;
601 (*has_bits)[0] |= 16u;
606 bool is_message_owned)
607 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
613 string_params_(arena) {
615 if (!is_message_owned) {
616 RegisterArenaDtor(arena);
621 : ::PROTOBUF_NAMESPACE_ID::Message(),
622 _has_bits_(from._has_bits_) {
623 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
624 bool_params_.MergeFrom(from.bool_params_);
625 int_params_.MergeFrom(from.int_params_);
626 long_params_.MergeFrom(from.long_params_);
627 real_params_.MergeFrom(from.real_params_);
628 char_params_.MergeFrom(from.char_params_);
629 string_params_.MergeFrom(from.string_params_);
630 search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
631 if (!from._internal_search_logs_filename().empty()) {
632 search_logs_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_search_logs_filename(),
633 GetArenaForAllocation());
635 detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
636 if (!from._internal_detailed_solving_stats_filename().empty()) {
637 detailed_solving_stats_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_detailed_solving_stats_filename(),
638 GetArenaForAllocation());
640 scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
641 if (!from._internal_scip_model_filename().empty()) {
642 scip_model_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scip_model_filename(),
643 GetArenaForAllocation());
645 ::memcpy(&emphasis_, &from.emphasis_,
646 static_cast<size_t>(
reinterpret_cast<char*
>(&num_solutions_) -
647 reinterpret_cast<char*
>(&emphasis_)) +
sizeof(num_solutions_));
651void GScipParameters::SharedCtor() {
652search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
653detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
654scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
655::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
656 reinterpret_cast<char*
>(&emphasis_) -
reinterpret_cast<char*
>(
this)),
657 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&num_solutions_) -
658 reinterpret_cast<char*
>(&emphasis_)) +
sizeof(num_solutions_));
663 if (GetArenaForAllocation() !=
nullptr)
return;
665 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
668inline void GScipParameters::SharedDtor() {
669 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
670 search_logs_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
671 detailed_solving_stats_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
672 scip_model_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
675void GScipParameters::ArenaDtor(
void*
object) {
678 _this->bool_params_. ~MapField();
679 _this->int_params_. ~MapField();
680 _this->long_params_. ~MapField();
681 _this->real_params_. ~MapField();
682 _this->char_params_. ~MapField();
683 _this->string_params_. ~MapField();
685inline void GScipParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena) {
686 if (arena !=
nullptr) {
687 arena->OwnCustomDestructor(
this, &GScipParameters::ArenaDtor);
690void GScipParameters::SetCachedSize(
int size)
const {
691 _cached_size_.Set(size);
696 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
698 (void) cached_has_bits;
700 bool_params_.Clear();
702 long_params_.Clear();
703 real_params_.Clear();
704 char_params_.Clear();
705 string_params_.Clear();
706 search_logs_filename_.ClearToEmpty();
707 detailed_solving_stats_filename_.ClearToEmpty();
708 scip_model_filename_.ClearToEmpty();
710 cached_has_bits = _has_bits_[0];
711 if (cached_has_bits & 0x0000000fu) {
712 ::memset(&heuristics_, 0,
static_cast<size_t>(
713 reinterpret_cast<char*
>(&silence_output_) -
714 reinterpret_cast<char*
>(&heuristics_)) +
sizeof(silence_output_));
716 ::memset(&print_detailed_solving_stats_, 0,
static_cast<size_t>(
717 reinterpret_cast<char*
>(&print_scip_model_) -
718 reinterpret_cast<char*
>(&print_detailed_solving_stats_)) +
sizeof(print_scip_model_));
721 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
725#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
727 while (!ctx->Done(&ptr)) {
728 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
729 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
733 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 8)) {
734 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
742 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 16)) {
743 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
751 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 24)) {
752 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
760 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 32)) {
761 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
769 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 42)) {
773 ptr = ctx->ParseMessage(&bool_params_, ptr);
775 if (!ctx->DataAvailable(ptr))
break;
776 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
782 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 50)) {
786 ptr = ctx->ParseMessage(&int_params_, ptr);
788 if (!ctx->DataAvailable(ptr))
break;
789 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
795 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 58)) {
799 ptr = ctx->ParseMessage(&long_params_, ptr);
801 if (!ctx->DataAvailable(ptr))
break;
802 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
808 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 66)) {
812 ptr = ctx->ParseMessage(&real_params_, ptr);
814 if (!ctx->DataAvailable(ptr))
break;
815 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
821 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 74)) {
825 ptr = ctx->ParseMessage(&char_params_, ptr);
827 if (!ctx->DataAvailable(ptr))
break;
828 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
834 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 82)) {
838 ptr = ctx->ParseMessage(&string_params_, ptr);
840 if (!ctx->DataAvailable(ptr))
break;
841 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr));
847 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 88)) {
849 silence_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
856 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 96)) {
857 print_detailed_solving_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
864 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 104)) {
865 print_scip_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
872 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 114)) {
873 auto str = _internal_mutable_search_logs_filename();
874 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
875 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.search_logs_filename"));
882 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 122)) {
883 auto str = _internal_mutable_detailed_solving_stats_filename();
884 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
885 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.detailed_solving_stats_filename"));
892 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 130)) {
893 auto str = _internal_mutable_scip_model_filename();
894 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
895 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.scip_model_filename"));
902 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 136)) {
904 num_solutions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
913 if ((tag == 0) || ((tag & 7) == 4)) {
915 ctx->SetLastTag(tag);
918 ptr = UnknownFieldParse(
920 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
922 CHK_(ptr !=
nullptr);
925 _has_bits_.Or(has_bits);
934 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
936 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
937 (void) cached_has_bits;
940 if (this->_internal_emphasis() != 0) {
941 target = stream->EnsureSpace(target);
942 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
943 1, this->_internal_emphasis(), target);
947 if (_internal_has_heuristics()) {
948 target = stream->EnsureSpace(target);
949 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
950 2, this->_internal_heuristics(), target);
954 if (_internal_has_presolve()) {
955 target = stream->EnsureSpace(target);
956 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
957 3, this->_internal_presolve(), target);
961 if (_internal_has_separating()) {
962 target = stream->EnsureSpace(target);
963 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
964 4, this->_internal_separating(), target);
968 if (!this->_internal_bool_params().empty()) {
969 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_pointer
971 typedef ConstPtr SortItem;
972 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
974 static void Check(ConstPtr p) {
976 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
977 p->first.data(),
static_cast<int>(p->first.length()),
978 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
979 "operations_research.GScipParameters.BoolParamsEntry.key");
983 if (stream->IsSerializationDeterministic() &&
984 this->_internal_bool_params().size() > 1) {
985 ::std::unique_ptr<SortItem[]> items(
986 new SortItem[this->_internal_bool_params().size()]);
987 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::size_type size_type;
989 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
990 it = this->_internal_bool_params().begin();
991 it != this->_internal_bool_params().end(); ++it, ++n) {
992 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
994 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
995 for (size_type i = 0; i < n; i++) {
996 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
997 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1000 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1001 it = this->_internal_bool_params().begin();
1002 it != this->_internal_bool_params().end(); ++it) {
1003 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, it->first, it->second, target, stream);
1004 Utf8Check::Check(&(*it));
1010 if (!this->_internal_int_params().empty()) {
1011 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_pointer
1013 typedef ConstPtr SortItem;
1014 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1016 static void Check(ConstPtr p) {
1018 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1019 p->first.data(),
static_cast<int>(p->first.length()),
1020 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1021 "operations_research.GScipParameters.IntParamsEntry.key");
1025 if (stream->IsSerializationDeterministic() &&
1026 this->_internal_int_params().size() > 1) {
1027 ::std::unique_ptr<SortItem[]> items(
1028 new SortItem[this->_internal_int_params().size()]);
1029 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::size_type size_type;
1031 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1032 it = this->_internal_int_params().begin();
1033 it != this->_internal_int_params().end(); ++it, ++n) {
1034 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1036 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1037 for (size_type i = 0; i < n; i++) {
1038 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1039 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1042 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1043 it = this->_internal_int_params().begin();
1044 it != this->_internal_int_params().end(); ++it) {
1045 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, it->first, it->second, target, stream);
1046 Utf8Check::Check(&(*it));
1052 if (!this->_internal_long_params().empty()) {
1053 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_pointer
1055 typedef ConstPtr SortItem;
1056 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1058 static void Check(ConstPtr p) {
1060 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1061 p->first.data(),
static_cast<int>(p->first.length()),
1062 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1063 "operations_research.GScipParameters.LongParamsEntry.key");
1067 if (stream->IsSerializationDeterministic() &&
1068 this->_internal_long_params().size() > 1) {
1069 ::std::unique_ptr<SortItem[]> items(
1070 new SortItem[this->_internal_long_params().size()]);
1071 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::size_type size_type;
1073 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1074 it = this->_internal_long_params().begin();
1075 it != this->_internal_long_params().end(); ++it, ++n) {
1076 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1078 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1079 for (size_type i = 0; i < n; i++) {
1080 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1081 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1084 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1085 it = this->_internal_long_params().begin();
1086 it != this->_internal_long_params().end(); ++it) {
1087 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, it->first, it->second, target, stream);
1088 Utf8Check::Check(&(*it));
1094 if (!this->_internal_real_params().empty()) {
1095 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_pointer
1097 typedef ConstPtr SortItem;
1098 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1100 static void Check(ConstPtr p) {
1102 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1103 p->first.data(),
static_cast<int>(p->first.length()),
1104 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1105 "operations_research.GScipParameters.RealParamsEntry.key");
1109 if (stream->IsSerializationDeterministic() &&
1110 this->_internal_real_params().size() > 1) {
1111 ::std::unique_ptr<SortItem[]> items(
1112 new SortItem[this->_internal_real_params().size()]);
1113 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::size_type size_type;
1115 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1116 it = this->_internal_real_params().begin();
1117 it != this->_internal_real_params().end(); ++it, ++n) {
1118 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1120 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1121 for (size_type i = 0; i < n; i++) {
1122 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1123 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1126 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1127 it = this->_internal_real_params().begin();
1128 it != this->_internal_real_params().end(); ++it) {
1129 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, it->first, it->second, target, stream);
1130 Utf8Check::Check(&(*it));
1136 if (!this->_internal_char_params().empty()) {
1137 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1139 typedef ConstPtr SortItem;
1140 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1142 static void Check(ConstPtr p) {
1144 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1145 p->first.data(),
static_cast<int>(p->first.length()),
1146 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1147 "operations_research.GScipParameters.CharParamsEntry.key");
1148 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1149 p->second.data(),
static_cast<int>(p->second.length()),
1150 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1151 "operations_research.GScipParameters.CharParamsEntry.value");
1155 if (stream->IsSerializationDeterministic() &&
1156 this->_internal_char_params().size() > 1) {
1157 ::std::unique_ptr<SortItem[]> items(
1158 new SortItem[this->_internal_char_params().size()]);
1159 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1161 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1162 it = this->_internal_char_params().begin();
1163 it != this->_internal_char_params().end(); ++it, ++n) {
1164 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1166 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1167 for (size_type i = 0; i < n; i++) {
1168 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1169 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1172 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1173 it = this->_internal_char_params().begin();
1174 it != this->_internal_char_params().end(); ++it) {
1175 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, it->first, it->second, target, stream);
1176 Utf8Check::Check(&(*it));
1182 if (!this->_internal_string_params().empty()) {
1183 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1185 typedef ConstPtr SortItem;
1186 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1188 static void Check(ConstPtr p) {
1190 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1191 p->first.data(),
static_cast<int>(p->first.length()),
1192 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1193 "operations_research.GScipParameters.StringParamsEntry.key");
1194 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1195 p->second.data(),
static_cast<int>(p->second.length()),
1196 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1197 "operations_research.GScipParameters.StringParamsEntry.value");
1201 if (stream->IsSerializationDeterministic() &&
1202 this->_internal_string_params().size() > 1) {
1203 ::std::unique_ptr<SortItem[]> items(
1204 new SortItem[this->_internal_string_params().size()]);
1205 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1207 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1208 it = this->_internal_string_params().begin();
1209 it != this->_internal_string_params().end(); ++it, ++n) {
1210 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1212 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1213 for (size_type i = 0; i < n; i++) {
1214 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1215 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1218 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1219 it = this->_internal_string_params().begin();
1220 it != this->_internal_string_params().end(); ++it) {
1221 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, it->first, it->second, target, stream);
1222 Utf8Check::Check(&(*it));
1228 if (_internal_has_silence_output()) {
1229 target = stream->EnsureSpace(target);
1230 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_silence_output(), target);
1234 if (this->_internal_print_detailed_solving_stats() != 0) {
1235 target = stream->EnsureSpace(target);
1236 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_detailed_solving_stats(), target);
1240 if (this->_internal_print_scip_model() != 0) {
1241 target = stream->EnsureSpace(target);
1242 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_scip_model(), target);
1246 if (!this->_internal_search_logs_filename().empty()) {
1247 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1248 this->_internal_search_logs_filename().data(),
static_cast<int>(this->_internal_search_logs_filename().length()),
1249 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1250 "operations_research.GScipParameters.search_logs_filename");
1251 target = stream->WriteStringMaybeAliased(
1252 14, this->_internal_search_logs_filename(), target);
1256 if (!this->_internal_detailed_solving_stats_filename().empty()) {
1257 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1258 this->_internal_detailed_solving_stats_filename().data(),
static_cast<int>(this->_internal_detailed_solving_stats_filename().length()),
1259 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1260 "operations_research.GScipParameters.detailed_solving_stats_filename");
1261 target = stream->WriteStringMaybeAliased(
1262 15, this->_internal_detailed_solving_stats_filename(), target);
1266 if (!this->_internal_scip_model_filename().empty()) {
1267 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1268 this->_internal_scip_model_filename().data(),
static_cast<int>(this->_internal_scip_model_filename().length()),
1269 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1270 "operations_research.GScipParameters.scip_model_filename");
1271 target = stream->WriteStringMaybeAliased(
1272 16, this->_internal_scip_model_filename(), target);
1276 if (_internal_has_num_solutions()) {
1277 target = stream->EnsureSpace(target);
1278 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(17, this->_internal_num_solutions(), target);
1281 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1282 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1283 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1291 size_t total_size = 0;
1293 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1295 (void) cached_has_bits;
1299 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_bool_params_size());
1300 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1301 it = this->_internal_bool_params().begin();
1302 it != this->_internal_bool_params().end(); ++it) {
1303 total_size += GScipParameters_BoolParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1308 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_int_params_size());
1309 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1310 it = this->_internal_int_params().begin();
1311 it != this->_internal_int_params().end(); ++it) {
1312 total_size += GScipParameters_IntParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1317 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_long_params_size());
1318 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1319 it = this->_internal_long_params().begin();
1320 it != this->_internal_long_params().end(); ++it) {
1321 total_size += GScipParameters_LongParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1326 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_real_params_size());
1327 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1328 it = this->_internal_real_params().begin();
1329 it != this->_internal_real_params().end(); ++it) {
1330 total_size += GScipParameters_RealParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1335 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_char_params_size());
1336 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1337 it = this->_internal_char_params().begin();
1338 it != this->_internal_char_params().end(); ++it) {
1339 total_size += GScipParameters_CharParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1344 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_string_params_size());
1345 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1346 it = this->_internal_string_params().begin();
1347 it != this->_internal_string_params().end(); ++it) {
1348 total_size += GScipParameters_StringParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1352 if (!this->_internal_search_logs_filename().empty()) {
1354 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1355 this->_internal_search_logs_filename());
1359 if (!this->_internal_detailed_solving_stats_filename().empty()) {
1361 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1362 this->_internal_detailed_solving_stats_filename());
1366 if (!this->_internal_scip_model_filename().empty()) {
1368 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1369 this->_internal_scip_model_filename());
1373 if (this->_internal_emphasis() != 0) {
1375 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_emphasis());
1378 cached_has_bits = _has_bits_[0];
1379 if (cached_has_bits & 0x0000000fu) {
1381 if (cached_has_bits & 0x00000001u) {
1383 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_heuristics());
1387 if (cached_has_bits & 0x00000002u) {
1389 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_presolve());
1393 if (cached_has_bits & 0x00000004u) {
1395 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_separating());
1399 if (cached_has_bits & 0x00000008u) {
1400 total_size += 1 + 1;
1405 if (this->_internal_print_detailed_solving_stats() != 0) {
1406 total_size += 1 + 1;
1410 if (this->_internal_print_scip_model() != 0) {
1411 total_size += 1 + 1;
1415 if (cached_has_bits & 0x00000010u) {
1417 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1418 this->_internal_num_solutions());
1421 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
1425 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1426 GScipParameters::MergeImpl
1430void GScipParameters::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
1431 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1439 GOOGLE_DCHECK_NE(&from,
this);
1440 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1441 (void) cached_has_bits;
1443 bool_params_.MergeFrom(from.bool_params_);
1444 int_params_.MergeFrom(from.int_params_);
1445 long_params_.MergeFrom(from.long_params_);
1446 real_params_.MergeFrom(from.real_params_);
1447 char_params_.MergeFrom(from.char_params_);
1448 string_params_.MergeFrom(from.string_params_);
1449 if (!from._internal_search_logs_filename().empty()) {
1450 _internal_set_search_logs_filename(from._internal_search_logs_filename());
1452 if (!from._internal_detailed_solving_stats_filename().empty()) {
1453 _internal_set_detailed_solving_stats_filename(from._internal_detailed_solving_stats_filename());
1455 if (!from._internal_scip_model_filename().empty()) {
1456 _internal_set_scip_model_filename(from._internal_scip_model_filename());
1458 if (from._internal_emphasis() != 0) {
1459 _internal_set_emphasis(from._internal_emphasis());
1461 cached_has_bits = from._has_bits_[0];
1462 if (cached_has_bits & 0x0000000fu) {
1463 if (cached_has_bits & 0x00000001u) {
1464 heuristics_ = from.heuristics_;
1466 if (cached_has_bits & 0x00000002u) {
1467 presolve_ = from.presolve_;
1469 if (cached_has_bits & 0x00000004u) {
1470 separating_ = from.separating_;
1472 if (cached_has_bits & 0x00000008u) {
1473 silence_output_ = from.silence_output_;
1475 _has_bits_[0] |= cached_has_bits;
1477 if (from._internal_print_detailed_solving_stats() != 0) {
1478 _internal_set_print_detailed_solving_stats(from._internal_print_detailed_solving_stats());
1480 if (from._internal_print_scip_model() != 0) {
1481 _internal_set_print_scip_model(from._internal_print_scip_model());
1483 if (cached_has_bits & 0x00000010u) {
1484 _internal_set_num_solutions(from._internal_num_solutions());
1486 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1491 if (&from ==
this)
return;
1502 auto* lhs_arena = GetArenaForAllocation();
1503 auto* rhs_arena = other->GetArenaForAllocation();
1504 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1505 swap(_has_bits_[0], other->_has_bits_[0]);
1506 bool_params_.InternalSwap(&other->bool_params_);
1507 int_params_.InternalSwap(&other->int_params_);
1508 long_params_.InternalSwap(&other->long_params_);
1509 real_params_.InternalSwap(&other->real_params_);
1510 char_params_.InternalSwap(&other->char_params_);
1511 string_params_.InternalSwap(&other->string_params_);
1512 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1513 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1514 &search_logs_filename_, lhs_arena,
1515 &other->search_logs_filename_, rhs_arena
1517 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1518 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1519 &detailed_solving_stats_filename_, lhs_arena,
1520 &other->detailed_solving_stats_filename_, rhs_arena
1522 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1523 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1524 &scip_model_filename_, lhs_arena,
1525 &other->scip_model_filename_, rhs_arena
1527 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1529 +
sizeof(GScipParameters::num_solutions_)
1531 reinterpret_cast<char*
>(&emphasis_),
1532 reinterpret_cast<char*
>(&other->emphasis_));
1536 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1548 bool is_message_owned)
1549 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1551 if (!is_message_owned) {
1552 RegisterArenaDtor(arena);
1557 : ::PROTOBUF_NAMESPACE_ID::Message() {
1558 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1559 ::memcpy(&best_objective_, &from.best_objective_,
1560 static_cast<size_t>(
reinterpret_cast<char*
>(&deterministic_time_) -
1561 reinterpret_cast<char*
>(&best_objective_)) +
sizeof(deterministic_time_));
1565void GScipSolvingStats::SharedCtor() {
1566::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
1567 reinterpret_cast<char*
>(&best_objective_) -
reinterpret_cast<char*
>(
this)),
1568 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&deterministic_time_) -
1569 reinterpret_cast<char*
>(&best_objective_)) +
sizeof(deterministic_time_));
1574 if (GetArenaForAllocation() !=
nullptr)
return;
1576 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1579inline void GScipSolvingStats::SharedDtor() {
1580 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
1583void GScipSolvingStats::ArenaDtor(
void*
object) {
1587void GScipSolvingStats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1589void GScipSolvingStats::SetCachedSize(
int size)
const {
1590 _cached_size_.Set(size);
1595 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1597 (void) cached_has_bits;
1599 ::memset(&best_objective_, 0,
static_cast<size_t>(
1600 reinterpret_cast<char*
>(&deterministic_time_) -
1601 reinterpret_cast<char*
>(&best_objective_)) +
sizeof(deterministic_time_));
1602 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1606#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1607 while (!ctx->Done(&ptr)) {
1608 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1609 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1613 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 9)) {
1614 best_objective_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1615 ptr +=
sizeof(double);
1617 goto handle_unusual;
1621 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 17)) {
1622 best_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1623 ptr +=
sizeof(double);
1625 goto handle_unusual;
1629 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 24)) {
1630 primal_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1633 goto handle_unusual;
1637 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 32)) {
1638 dual_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1641 goto handle_unusual;
1645 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 40)) {
1646 total_lp_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1649 goto handle_unusual;
1653 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 48)) {
1654 node_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1657 goto handle_unusual;
1661 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 57)) {
1662 first_lp_relaxation_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1663 ptr +=
sizeof(double);
1665 goto handle_unusual;
1669 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 65)) {
1670 root_node_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1671 ptr +=
sizeof(double);
1673 goto handle_unusual;
1677 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 73)) {
1678 deterministic_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1679 ptr +=
sizeof(double);
1681 goto handle_unusual;
1684 goto handle_unusual;
1687 if ((tag == 0) || ((tag & 7) == 4)) {
1689 ctx->SetLastTag(tag);
1692 ptr = UnknownFieldParse(
1694 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1696 CHK_(ptr !=
nullptr);
1707 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
1709 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1710 (void) cached_has_bits;
1713 if (!(this->_internal_best_objective() <= 0 && this->_internal_best_objective() >= 0)) {
1714 target = stream->EnsureSpace(target);
1715 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_best_objective(), target);
1719 if (!(this->_internal_best_bound() <= 0 && this->_internal_best_bound() >= 0)) {
1720 target = stream->EnsureSpace(target);
1721 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_best_bound(), target);
1725 if (this->_internal_primal_simplex_iterations() != 0) {
1726 target = stream->EnsureSpace(target);
1727 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_primal_simplex_iterations(), target);
1731 if (this->_internal_dual_simplex_iterations() != 0) {
1732 target = stream->EnsureSpace(target);
1733 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->_internal_dual_simplex_iterations(), target);
1737 if (this->_internal_total_lp_iterations() != 0) {
1738 target = stream->EnsureSpace(target);
1739 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_total_lp_iterations(), target);
1743 if (this->_internal_node_count() != 0) {
1744 target = stream->EnsureSpace(target);
1745 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_node_count(), target);
1749 if (!(this->_internal_first_lp_relaxation_bound() <= 0 && this->_internal_first_lp_relaxation_bound() >= 0)) {
1750 target = stream->EnsureSpace(target);
1751 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(7, this->_internal_first_lp_relaxation_bound(), target);
1755 if (!(this->_internal_root_node_bound() <= 0 && this->_internal_root_node_bound() >= 0)) {
1756 target = stream->EnsureSpace(target);
1757 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(8, this->_internal_root_node_bound(), target);
1761 if (!(this->_internal_deterministic_time() <= 0 && this->_internal_deterministic_time() >= 0)) {
1762 target = stream->EnsureSpace(target);
1763 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(9, this->_internal_deterministic_time(), target);
1766 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1767 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1768 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1776 size_t total_size = 0;
1778 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1780 (void) cached_has_bits;
1783 if (!(this->_internal_best_objective() <= 0 && this->_internal_best_objective() >= 0)) {
1784 total_size += 1 + 8;
1788 if (!(this->_internal_best_bound() <= 0 && this->_internal_best_bound() >= 0)) {
1789 total_size += 1 + 8;
1793 if (this->_internal_primal_simplex_iterations() != 0) {
1794 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_primal_simplex_iterations());
1798 if (this->_internal_dual_simplex_iterations() != 0) {
1799 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_dual_simplex_iterations());
1803 if (this->_internal_total_lp_iterations() != 0) {
1804 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_total_lp_iterations());
1808 if (this->_internal_node_count() != 0) {
1809 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_node_count());
1813 if (!(this->_internal_first_lp_relaxation_bound() <= 0 && this->_internal_first_lp_relaxation_bound() >= 0)) {
1814 total_size += 1 + 8;
1818 if (!(this->_internal_root_node_bound() <= 0 && this->_internal_root_node_bound() >= 0)) {
1819 total_size += 1 + 8;
1823 if (!(this->_internal_deterministic_time() <= 0 && this->_internal_deterministic_time() >= 0)) {
1824 total_size += 1 + 8;
1827 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
1831 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1832 GScipSolvingStats::MergeImpl
1836void GScipSolvingStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
1837 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1845 GOOGLE_DCHECK_NE(&from,
this);
1846 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1847 (void) cached_has_bits;
1849 if (!(from._internal_best_objective() <= 0 && from._internal_best_objective() >= 0)) {
1850 _internal_set_best_objective(from._internal_best_objective());
1852 if (!(from._internal_best_bound() <= 0 && from._internal_best_bound() >= 0)) {
1853 _internal_set_best_bound(from._internal_best_bound());
1855 if (from._internal_primal_simplex_iterations() != 0) {
1856 _internal_set_primal_simplex_iterations(from._internal_primal_simplex_iterations());
1858 if (from._internal_dual_simplex_iterations() != 0) {
1859 _internal_set_dual_simplex_iterations(from._internal_dual_simplex_iterations());
1861 if (from._internal_total_lp_iterations() != 0) {
1862 _internal_set_total_lp_iterations(from._internal_total_lp_iterations());
1864 if (from._internal_node_count() != 0) {
1865 _internal_set_node_count(from._internal_node_count());
1867 if (!(from._internal_first_lp_relaxation_bound() <= 0 && from._internal_first_lp_relaxation_bound() >= 0)) {
1868 _internal_set_first_lp_relaxation_bound(from._internal_first_lp_relaxation_bound());
1870 if (!(from._internal_root_node_bound() <= 0 && from._internal_root_node_bound() >= 0)) {
1871 _internal_set_root_node_bound(from._internal_root_node_bound());
1873 if (!(from._internal_deterministic_time() <= 0 && from._internal_deterministic_time() >= 0)) {
1874 _internal_set_deterministic_time(from._internal_deterministic_time());
1876 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1881 if (&from ==
this)
return;
1892 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1893 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1895 +
sizeof(GScipSolvingStats::deterministic_time_)
1897 reinterpret_cast<char*
>(&best_objective_),
1898 reinterpret_cast<char*
>(&other->best_objective_));
1902 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1911 static const ::operations_research::GScipSolvingStats&
stats(
const GScipOutput* msg);
1914const ::operations_research::GScipSolvingStats&
1916 return *msg->stats_;
1919 bool is_message_owned)
1920 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1922 if (!is_message_owned) {
1923 RegisterArenaDtor(arena);
1928 : ::PROTOBUF_NAMESPACE_ID::Message() {
1929 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1930 status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1931 if (!from._internal_status_detail().empty()) {
1932 status_detail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_status_detail(),
1933 GetArenaForAllocation());
1935 if (from._internal_has_stats()) {
1936 stats_ = new ::operations_research::GScipSolvingStats(*from.stats_);
1940 status_ = from.status_;
1944void GScipOutput::SharedCtor() {
1945status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1946::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
1947 reinterpret_cast<char*
>(&stats_) -
reinterpret_cast<char*
>(
this)),
1948 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&status_) -
1949 reinterpret_cast<char*
>(&stats_)) +
sizeof(status_));
1954 if (GetArenaForAllocation() !=
nullptr)
return;
1956 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1959inline void GScipOutput::SharedDtor() {
1960 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
1961 status_detail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1965void GScipOutput::ArenaDtor(
void*
object) {
1969void GScipOutput::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1971void GScipOutput::SetCachedSize(
int size)
const {
1972 _cached_size_.Set(size);
1977 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1979 (void) cached_has_bits;
1981 status_detail_.ClearToEmpty();
1982 if (GetArenaForAllocation() ==
nullptr && stats_ !=
nullptr) {
1987 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1991#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1992 while (!ctx->Done(&ptr)) {
1993 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1994 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1998 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 8)) {
1999 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2003 goto handle_unusual;
2007 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 18)) {
2008 auto str = _internal_mutable_status_detail();
2009 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
2010 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipOutput.status_detail"));
2013 goto handle_unusual;
2017 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 26)) {
2018 ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr);
2021 goto handle_unusual;
2024 goto handle_unusual;
2027 if ((tag == 0) || ((tag & 7) == 4)) {
2029 ctx->SetLastTag(tag);
2032 ptr = UnknownFieldParse(
2034 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2036 CHK_(ptr !=
nullptr);
2047 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
2049 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2050 (void) cached_has_bits;
2053 if (this->_internal_status() != 0) {
2054 target = stream->EnsureSpace(target);
2055 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
2056 1, this->_internal_status(), target);
2060 if (!this->_internal_status_detail().empty()) {
2061 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2062 this->_internal_status_detail().data(),
static_cast<int>(this->_internal_status_detail().length()),
2063 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2064 "operations_research.GScipOutput.status_detail");
2065 target = stream->WriteStringMaybeAliased(
2066 2, this->_internal_status_detail(), target);
2070 if (this->_internal_has_stats()) {
2071 target = stream->EnsureSpace(target);
2072 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2073 InternalWriteMessage(
2077 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2078 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2079 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2087 size_t total_size = 0;
2089 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2091 (void) cached_has_bits;
2094 if (!this->_internal_status_detail().empty()) {
2096 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2097 this->_internal_status_detail());
2101 if (this->_internal_has_stats()) {
2103 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2108 if (this->_internal_status() != 0) {
2110 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
2113 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
2117 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
2118 GScipOutput::MergeImpl
2122void GScipOutput::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
2123 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2131 GOOGLE_DCHECK_NE(&from,
this);
2132 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2133 (void) cached_has_bits;
2135 if (!from._internal_status_detail().empty()) {
2136 _internal_set_status_detail(from._internal_status_detail());
2138 if (from._internal_has_stats()) {
2139 _internal_mutable_stats()->::operations_research::GScipSolvingStats::MergeFrom(from._internal_stats());
2141 if (from._internal_status() != 0) {
2142 _internal_set_status(from._internal_status());
2144 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2149 if (&from ==
this)
return;
2158void GScipOutput::InternalSwap(
GScipOutput* other) {
2160 auto* lhs_arena = GetArenaForAllocation();
2161 auto* rhs_arena = other->GetArenaForAllocation();
2162 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2163 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2164 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2165 &status_detail_, lhs_arena,
2166 &other->status_detail_, rhs_arena
2168 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2170 +
sizeof(GScipOutput::status_)
2172 reinterpret_cast<char*
>(&stats_),
2173 reinterpret_cast<char*
>(&other->stats_));
2177 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
2184PROTOBUF_NAMESPACE_OPEN
2186 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(arena);
2189 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(arena);
2192 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(arena);
2195 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(arena);
2198 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(arena);
2201 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(arena);
2204 return Arena::CreateMessageInternal< ::operations_research::GScipParameters >(arena);
2207 return Arena::CreateMessageInternal< ::operations_research::GScipSolvingStats >(arena);
2210 return Arena::CreateMessageInternal< ::operations_research::GScipOutput >(arena);
2212PROTOBUF_NAMESPACE_CLOSE
2215#include <google/protobuf/port_undef.inc>
static const ::operations_research::GScipSolvingStats & stats(const GScipOutput *msg)
static constexpr Status TOTAL_NODE_LIMIT
static constexpr Status BEST_SOL_LIMIT
static constexpr Status Status_MAX
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static constexpr Status Status_MIN
static const ClassData _class_data_
static constexpr Status UNBOUNDED
static constexpr Status INF_OR_UNBD
static constexpr Status SOL_LIMIT
static constexpr Status STALL_NODE_LIMIT
static constexpr Status TERMINATE
bool IsInitialized() const final
static constexpr Status GAP_LIMIT
static constexpr Status RESTART_LIMIT
static constexpr Status USER_INTERRUPT
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const GScipOutput * internal_default_instance()
static constexpr Status TIME_LIMIT
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr int Status_ARRAYSIZE
static constexpr Status INVALID_SOLVER_PARAMETERS
void MergeFrom(const GScipOutput &from)
void CopyFrom(const GScipOutput &from)
static constexpr Status NODE_LIMIT
static constexpr Status INFEASIBLE
static constexpr Status MEM_LIMIT
static constexpr Status OPTIMAL
size_t ByteSizeLong() const final
static constexpr Status UNKNOWN
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
decltype(std::declval< GScipParameters >()._has_bits_) HasBits
static void set_has_silence_output(HasBits *has_bits)
static void set_has_heuristics(HasBits *has_bits)
static void set_has_presolve(HasBits *has_bits)
static void set_has_num_solutions(HasBits *has_bits)
static void set_has_separating(HasBits *has_bits)
void MergeFrom(const GScipParameters_BoolParamsEntry_DoNotUse &other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_BoolParamsEntry_DoNotUse, std::string, bool, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL > SuperType
GScipParameters_BoolParamsEntry_DoNotUse()
void MergeFrom(const GScipParameters_CharParamsEntry_DoNotUse &other)
GScipParameters_CharParamsEntry_DoNotUse()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_CharParamsEntry_DoNotUse, std::string, std::string, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING > SuperType
GScipParameters_IntParamsEntry_DoNotUse()
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_IntParamsEntry_DoNotUse, std::string, ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32 > SuperType
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const GScipParameters_IntParamsEntry_DoNotUse &other)
void MergeFrom(const GScipParameters_LongParamsEntry_DoNotUse &other)
GScipParameters_LongParamsEntry_DoNotUse()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_LongParamsEntry_DoNotUse, std::string, ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64 > SuperType
GScipParameters_RealParamsEntry_DoNotUse()
void MergeFrom(const GScipParameters_RealParamsEntry_DoNotUse &other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_RealParamsEntry_DoNotUse, std::string, double, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_DOUBLE > SuperType
void MergeFrom(const GScipParameters_StringParamsEntry_DoNotUse &other)
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_StringParamsEntry_DoNotUse, std::string, std::string, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING > SuperType
GScipParameters_StringParamsEntry_DoNotUse()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr Emphasis PHASE_IMPROVE
static constexpr MetaParamValue MetaParamValue_MAX
static constexpr int Emphasis_ARRAYSIZE
static constexpr Emphasis FEASIBILITY
static constexpr int MetaParamValue_ARRAYSIZE
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static constexpr MetaParamValue FAST
static constexpr Emphasis HARD_LP
static const ClassData _class_data_
static constexpr Emphasis CP_SOLVER
static constexpr MetaParamValue AGGRESSIVE
static constexpr Emphasis PHASE_FEAS
void CopyFrom(const GScipParameters &from)
static constexpr Emphasis PHASE_PROOF
static constexpr Emphasis Emphasis_MIN
static constexpr MetaParamValue DEFAULT_META_PARAM_VALUE
void MergeFrom(const GScipParameters &from)
friend void swap(GScipParameters &a, GScipParameters &b)
static constexpr Emphasis COUNTER
bool IsInitialized() const final
~GScipParameters() override
static constexpr MetaParamValue MetaParamValue_MIN
static constexpr Emphasis OPTIMALITY
static constexpr Emphasis EASY_CIP
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr Emphasis DEFAULT_EMPHASIS
static constexpr Emphasis Emphasis_MAX
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr MetaParamValue OFF
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ClassData _class_data_
~GScipSolvingStats() override
void MergeFrom(const GScipSolvingStats &from)
bool IsInitialized() const final
void CopyFrom(const GScipSolvingStats &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
size_t ByteSizeLong() const final
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgscip_2fgscip_2eproto
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fgscip_2fgscip_2eproto_once
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE::operations_research::GScipParameters_BoolParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(Arena *arena)
static constexpr::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fgscip_2fgscip_2eproto
PROTOBUF_NOINLINE::operations_research::GScipParameters_IntParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fgscip_2fgscip_2eproto[3]
PROTOBUF_NOINLINE::operations_research::GScipParameters_CharParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_NOINLINE::operations_research::GScipParameters * Arena::CreateMaybeMessage< ::operations_research::GScipParameters >(Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_ortools_2fgscip_2fgscip_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_NOINLINE::operations_research::GScipParameters_StringParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_NOINLINE::operations_research::GScipOutput * Arena::CreateMaybeMessage< ::operations_research::GScipOutput >(Arena *arena)
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
PROTOBUF_NOINLINE::operations_research::GScipParameters_RealParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_NOINLINE::operations_research::GScipSolvingStats * Arena::CreateMaybeMessage< ::operations_research::GScipSolvingStats >(Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fgscip_2fgscip_2eproto[9]
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fgscip_2fgscip_2eproto_getter()
PROTOBUF_NOINLINE::operations_research::GScipParameters_LongParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(Arena *arena)
void swap(IdMap< K, V > &a, IdMap< K, V > &b)
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipSolvingStatsDefaultTypeInternal _GScipSolvingStats_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_MetaParamValue_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_IntParamsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParametersDefaultTypeInternal _GScipParameters_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_Emphasis_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipOutputDefaultTypeInternal _GScipOutput_default_instance_
bool GScipParameters_Emphasis_IsValid(int value)
bool GScipParameters_MetaParamValue_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipOutput_Status_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_CharParamsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_StringParamsEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_LongParamsEntry_DoNotUse_default_instance_
bool GScipOutput_Status_IsValid(int value)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_BoolParamsEntry_DoNotUse_default_instance_
GScipParameters_MetaParamValue
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_RealParamsEntry_DoNotUse_default_instance_
static constexpr::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
constexpr GScipOutputDefaultTypeInternal()
~GScipOutputDefaultTypeInternal()
GScipParameters_BoolParamsEntry_DoNotUse _instance
~GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal()
constexpr GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal()
~GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal()
constexpr GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal()
GScipParameters_CharParamsEntry_DoNotUse _instance
constexpr GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal()
GScipParameters_IntParamsEntry_DoNotUse _instance
~GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal()
constexpr GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal()
GScipParameters_LongParamsEntry_DoNotUse _instance
~GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal()
constexpr GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal()
~GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal()
GScipParameters_RealParamsEntry_DoNotUse _instance
constexpr GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal()
~GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal()
GScipParameters_StringParamsEntry_DoNotUse _instance
constexpr GScipParametersDefaultTypeInternal()
GScipParameters _instance
~GScipParametersDefaultTypeInternal()
constexpr GScipSolvingStatsDefaultTypeInternal()
~GScipSolvingStatsDefaultTypeInternal()
GScipSolvingStats _instance