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> 18 PROTOBUF_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)
300 "\n\031ortools/gscip/gscip.proto\022\023operations_" 301 "research\"\340\014\n\017GScipParameters\022\?\n\010emphasis" 302 "\030\001 \001(\0162-.operations_research.GScipParame" 303 "ters.Emphasis\022L\n\nheuristics\030\002 \001(\01623.oper" 304 "ations_research.GScipParameters.MetaPara" 305 "mValueH\000\210\001\001\022J\n\010presolve\030\003 \001(\01623.operatio" 306 "ns_research.GScipParameters.MetaParamVal" 307 "ueH\001\210\001\001\022L\n\nseparating\030\004 \001(\01623.operations" 308 "_research.GScipParameters.MetaParamValue" 309 "H\002\210\001\001\022I\n\013bool_params\030\005 \003(\01324.operations_" 310 "research.GScipParameters.BoolParamsEntry" 311 "\022G\n\nint_params\030\006 \003(\01323.operations_resear" 312 "ch.GScipParameters.IntParamsEntry\022I\n\013lon" 313 "g_params\030\007 \003(\01324.operations_research.GSc" 314 "ipParameters.LongParamsEntry\022I\n\013real_par" 315 "ams\030\010 \003(\01324.operations_research.GScipPar" 316 "ameters.RealParamsEntry\022I\n\013char_params\030\t" 317 " \003(\01324.operations_research.GScipParamete" 318 "rs.CharParamsEntry\022M\n\rstring_params\030\n \003(" 319 "\01326.operations_research.GScipParameters." 320 "StringParamsEntry\022\033\n\016silence_output\030\013 \001(" 321 "\010H\003\210\001\001\022$\n\034print_detailed_solving_stats\030\014" 322 " \001(\010\022\030\n\020print_scip_model\030\r \001(\010\022\034\n\024search" 323 "_logs_filename\030\016 \001(\t\022\'\n\037detailed_solving" 324 "_stats_filename\030\017 \001(\t\022\033\n\023scip_model_file" 325 "name\030\020 \001(\t\022\032\n\rnum_solutions\030\021 \001(\005H\004\210\001\001\0321" 326 "\n\017BoolParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" 327 "\002 \001(\010:\0028\001\0320\n\016IntParamsEntry\022\013\n\003key\030\001 \001(\t" 328 "\022\r\n\005value\030\002 \001(\005:\0028\001\0321\n\017LongParamsEntry\022\013" 329 "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\003:\0028\001\0321\n\017RealPa" 330 "ramsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028" 331 "\001\0321\n\017CharParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" 332 "ue\030\002 \001(\t:\0028\001\0323\n\021StringParamsEntry\022\013\n\003key" 333 "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\254\001\n\010Emphasis\022\024" 334 "\n\020DEFAULT_EMPHASIS\020\000\022\013\n\007COUNTER\020\001\022\r\n\tCP_" 335 "SOLVER\020\002\022\014\n\010EASY_CIP\020\003\022\017\n\013FEASIBILITY\020\004\022" 336 "\013\n\007HARD_LP\020\005\022\016\n\nOPTIMALITY\020\006\022\016\n\nPHASE_FE" 337 "AS\020\007\022\021\n\rPHASE_IMPROVE\020\010\022\017\n\013PHASE_PROOF\020\t" 338 "\"Q\n\016MetaParamValue\022\034\n\030DEFAULT_META_PARAM" 339 "_VALUE\020\000\022\016\n\nAGGRESSIVE\020\001\022\010\n\004FAST\020\002\022\007\n\003OF" 340 "F\020\003B\r\n\013_heuristicsB\013\n\t_presolveB\r\n\013_sepa" 341 "ratingB\021\n\017_silence_outputB\020\n\016_num_soluti" 342 "ons\"\214\002\n\021GScipSolvingStats\022\026\n\016best_object" 343 "ive\030\001 \001(\001\022\022\n\nbest_bound\030\002 \001(\001\022!\n\031primal_" 344 "simplex_iterations\030\003 \001(\003\022\037\n\027dual_simplex" 345 "_iterations\030\004 \001(\003\022\033\n\023total_lp_iterations" 346 "\030\005 \001(\003\022\022\n\nnode_count\030\006 \001(\003\022!\n\031first_lp_r" 347 "elaxation_bound\030\007 \001(\001\022\027\n\017root_node_bound" 348 "\030\010 \001(\001\022\032\n\022deterministic_time\030\t \001(\001\"\313\003\n\013G" 349 "ScipOutput\0227\n\006status\030\001 \001(\0162\'.operations_" 350 "research.GScipOutput.Status\022\025\n\rstatus_de" 351 "tail\030\002 \001(\t\0225\n\005stats\030\003 \001(\0132&.operations_r" 352 "esearch.GScipSolvingStats\"\264\002\n\006Status\022\013\n\007" 353 "UNKNOWN\020\000\022\022\n\016USER_INTERRUPT\020\001\022\016\n\nNODE_LI" 354 "MIT\020\002\022\024\n\020TOTAL_NODE_LIMIT\020\003\022\024\n\020STALL_NOD" 355 "E_LIMIT\020\004\022\016\n\nTIME_LIMIT\020\005\022\r\n\tMEM_LIMIT\020\006" 356 "\022\r\n\tGAP_LIMIT\020\007\022\r\n\tSOL_LIMIT\020\010\022\022\n\016BEST_S" 357 "OL_LIMIT\020\t\022\021\n\rRESTART_LIMIT\020\n\022\013\n\007OPTIMAL" 358 "\020\013\022\016\n\nINFEASIBLE\020\014\022\r\n\tUNBOUNDED\020\r\022\017\n\013INF" 359 "_OR_UNBD\020\016\022\r\n\tTERMINATE\020\017\022\035\n\031INVALID_SOL" 360 "VER_PARAMETERS\020\020b\006proto3" 364 false,
false, 2424, descriptor_table_protodef_ortools_2fgscip_2fgscip_2eproto,
"ortools/gscip/gscip.proto",
398 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) 412 #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) 429 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) 437 #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) 467 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) 488 #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900) 496 MergeFromInternal(other);
499 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
510 MergeFromInternal(other);
513 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
524 MergeFromInternal(other);
527 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
538 MergeFromInternal(other);
541 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
552 MergeFromInternal(other);
555 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
566 MergeFromInternal(other);
569 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
578 using HasBits = decltype(std::declval<GScipParameters>()._has_bits_);
580 (*has_bits)[0] |= 1u;
583 (*has_bits)[0] |= 2u;
586 (*has_bits)[0] |= 4u;
589 (*has_bits)[0] |= 8u;
592 (*has_bits)[0] |= 16u;
597 bool is_message_owned)
598 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
604 string_params_(arena) {
606 if (!is_message_owned) {
607 RegisterArenaDtor(arena);
612 : ::PROTOBUF_NAMESPACE_ID::Message(),
613 _has_bits_(from._has_bits_) {
614 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
615 bool_params_.MergeFrom(from.bool_params_);
616 int_params_.MergeFrom(from.int_params_);
617 long_params_.MergeFrom(from.long_params_);
618 real_params_.MergeFrom(from.real_params_);
619 char_params_.MergeFrom(from.char_params_);
620 string_params_.MergeFrom(from.string_params_);
621 search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
622 if (!from._internal_search_logs_filename().empty()) {
623 search_logs_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_search_logs_filename(),
624 GetArenaForAllocation());
626 detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
627 if (!from._internal_detailed_solving_stats_filename().empty()) {
628 detailed_solving_stats_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_detailed_solving_stats_filename(),
629 GetArenaForAllocation());
631 scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
632 if (!from._internal_scip_model_filename().empty()) {
633 scip_model_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scip_model_filename(),
634 GetArenaForAllocation());
636 ::memcpy(&emphasis_, &from.emphasis_,
637 static_cast<size_t>(reinterpret_cast<char*>(&num_solutions_) -
638 reinterpret_cast<char*>(&emphasis_)) +
sizeof(num_solutions_));
642 inline void GScipParameters::SharedCtor() {
643 search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
644 detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
645 scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
646 ::memset(reinterpret_cast<char*>(
this) + static_cast<size_t>(
647 reinterpret_cast<char*>(&emphasis_) - reinterpret_cast<char*>(
this)),
648 0, static_cast<size_t>(reinterpret_cast<char*>(&num_solutions_) -
649 reinterpret_cast<char*>(&emphasis_)) +
sizeof(num_solutions_));
654 if (GetArenaForAllocation() !=
nullptr)
return;
656 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
659 inline void GScipParameters::SharedDtor() {
660 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
661 search_logs_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
662 detailed_solving_stats_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
663 scip_model_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
666 void GScipParameters::ArenaDtor(
void*
object) {
669 _this->bool_params_. ~MapField();
670 _this->int_params_. ~MapField();
671 _this->long_params_. ~MapField();
672 _this->real_params_. ~MapField();
673 _this->char_params_. ~MapField();
674 _this->string_params_. ~MapField();
676 inline void GScipParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena) {
677 if (arena !=
nullptr) {
678 arena->OwnCustomDestructor(
this, &GScipParameters::ArenaDtor);
681 void GScipParameters::SetCachedSize(
int size)
const {
682 _cached_size_.Set(size);
687 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
689 (void) cached_has_bits;
691 bool_params_.Clear();
693 long_params_.Clear();
694 real_params_.Clear();
695 char_params_.Clear();
696 string_params_.Clear();
697 search_logs_filename_.ClearToEmpty();
698 detailed_solving_stats_filename_.ClearToEmpty();
699 scip_model_filename_.ClearToEmpty();
701 cached_has_bits = _has_bits_[0];
702 if (cached_has_bits & 0x0000000fu) {
703 ::memset(&heuristics_, 0, static_cast<size_t>(
704 reinterpret_cast<char*>(&silence_output_) -
705 reinterpret_cast<char*>(&heuristics_)) +
sizeof(silence_output_));
707 ::memset(&print_detailed_solving_stats_, 0, static_cast<size_t>(
708 reinterpret_cast<char*>(&print_scip_model_) -
709 reinterpret_cast<char*>(&print_detailed_solving_stats_)) +
sizeof(print_scip_model_));
712 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
716 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure 718 while (!ctx->Done(&ptr)) {
719 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
720 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
724 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
725 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
727 _internal_set_emphasis(static_cast<::operations_research::GScipParameters_Emphasis>(val));
728 }
else goto handle_unusual;
732 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
733 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
735 _internal_set_heuristics(static_cast<::operations_research::GScipParameters_MetaParamValue>(val));
736 }
else goto handle_unusual;
740 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
741 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
743 _internal_set_presolve(static_cast<::operations_research::GScipParameters_MetaParamValue>(val));
744 }
else goto handle_unusual;
748 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
749 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
751 _internal_set_separating(static_cast<::operations_research::GScipParameters_MetaParamValue>(val));
752 }
else goto handle_unusual;
756 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
760 ptr = ctx->ParseMessage(&bool_params_, ptr);
762 if (!ctx->DataAvailable(ptr))
break;
763 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
764 }
else goto handle_unusual;
768 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
772 ptr = ctx->ParseMessage(&int_params_, ptr);
774 if (!ctx->DataAvailable(ptr))
break;
775 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
776 }
else goto handle_unusual;
780 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) {
784 ptr = ctx->ParseMessage(&long_params_, ptr);
786 if (!ctx->DataAvailable(ptr))
break;
787 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
788 }
else goto handle_unusual;
792 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) {
796 ptr = ctx->ParseMessage(&real_params_, ptr);
798 if (!ctx->DataAvailable(ptr))
break;
799 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
800 }
else goto handle_unusual;
804 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) {
808 ptr = ctx->ParseMessage(&char_params_, ptr);
810 if (!ctx->DataAvailable(ptr))
break;
811 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
812 }
else goto handle_unusual;
816 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) {
820 ptr = ctx->ParseMessage(&string_params_, ptr);
822 if (!ctx->DataAvailable(ptr))
break;
823 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr));
824 }
else goto handle_unusual;
828 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) {
830 silence_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
832 }
else goto handle_unusual;
836 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) {
837 print_detailed_solving_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
839 }
else goto handle_unusual;
843 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) {
844 print_scip_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
846 }
else goto handle_unusual;
850 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) {
851 auto str = _internal_mutable_search_logs_filename();
852 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
853 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.search_logs_filename"));
855 }
else goto handle_unusual;
859 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) {
860 auto str = _internal_mutable_detailed_solving_stats_filename();
861 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
862 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.detailed_solving_stats_filename"));
864 }
else goto handle_unusual;
868 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) {
869 auto str = _internal_mutable_scip_model_filename();
870 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
871 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.scip_model_filename"));
873 }
else goto handle_unusual;
877 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) {
879 num_solutions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
881 }
else goto handle_unusual;
885 if ((tag == 0) || ((tag & 7) == 4)) {
887 ctx->SetLastTag(tag);
890 ptr = UnknownFieldParse(tag,
891 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
893 CHK_(ptr !=
nullptr);
899 _has_bits_.Or(has_bits);
908 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
910 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
911 (void) cached_has_bits;
914 if (this->_internal_emphasis() != 0) {
915 target = stream->EnsureSpace(target);
916 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
917 1, this->_internal_emphasis(), target);
921 if (_internal_has_heuristics()) {
922 target = stream->EnsureSpace(target);
923 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
924 2, this->_internal_heuristics(), target);
928 if (_internal_has_presolve()) {
929 target = stream->EnsureSpace(target);
930 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
931 3, this->_internal_presolve(), target);
935 if (_internal_has_separating()) {
936 target = stream->EnsureSpace(target);
937 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
938 4, this->_internal_separating(), target);
942 if (!this->_internal_bool_params().empty()) {
943 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_pointer
945 typedef ConstPtr SortItem;
946 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
948 static void Check(ConstPtr p) {
950 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
951 p->first.data(), static_cast<int>(p->first.length()),
952 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
953 "operations_research.GScipParameters.BoolParamsEntry.key");
957 if (stream->IsSerializationDeterministic() &&
958 this->_internal_bool_params().size() > 1) {
959 ::std::unique_ptr<SortItem[]> items(
960 new SortItem[this->_internal_bool_params().size()]);
961 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::size_type size_type;
963 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
964 it = this->_internal_bool_params().begin();
965 it != this->_internal_bool_params().end(); ++it, ++n) {
966 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
968 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
969 for (size_type i = 0; i < n; i++) {
970 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
971 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
974 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
975 it = this->_internal_bool_params().begin();
976 it != this->_internal_bool_params().end(); ++it) {
977 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, it->first, it->second, target, stream);
978 Utf8Check::Check(&(*it));
984 if (!this->_internal_int_params().empty()) {
985 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_pointer
987 typedef ConstPtr SortItem;
988 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
990 static void Check(ConstPtr p) {
992 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
993 p->first.data(), static_cast<int>(p->first.length()),
994 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
995 "operations_research.GScipParameters.IntParamsEntry.key");
999 if (stream->IsSerializationDeterministic() &&
1000 this->_internal_int_params().size() > 1) {
1001 ::std::unique_ptr<SortItem[]> items(
1002 new SortItem[this->_internal_int_params().size()]);
1003 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::size_type size_type;
1005 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1006 it = this->_internal_int_params().begin();
1007 it != this->_internal_int_params().end(); ++it, ++n) {
1008 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1010 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1011 for (size_type i = 0; i < n; i++) {
1012 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1013 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1016 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1017 it = this->_internal_int_params().begin();
1018 it != this->_internal_int_params().end(); ++it) {
1019 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, it->first, it->second, target, stream);
1020 Utf8Check::Check(&(*it));
1026 if (!this->_internal_long_params().empty()) {
1027 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_pointer
1029 typedef ConstPtr SortItem;
1030 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1032 static void Check(ConstPtr p) {
1034 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1035 p->first.data(), static_cast<int>(p->first.length()),
1036 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1037 "operations_research.GScipParameters.LongParamsEntry.key");
1041 if (stream->IsSerializationDeterministic() &&
1042 this->_internal_long_params().size() > 1) {
1043 ::std::unique_ptr<SortItem[]> items(
1044 new SortItem[this->_internal_long_params().size()]);
1045 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::size_type size_type;
1047 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1048 it = this->_internal_long_params().begin();
1049 it != this->_internal_long_params().end(); ++it, ++n) {
1050 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1052 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1053 for (size_type i = 0; i < n; i++) {
1054 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1055 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1058 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1059 it = this->_internal_long_params().begin();
1060 it != this->_internal_long_params().end(); ++it) {
1061 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, it->first, it->second, target, stream);
1062 Utf8Check::Check(&(*it));
1068 if (!this->_internal_real_params().empty()) {
1069 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_pointer
1071 typedef ConstPtr SortItem;
1072 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1074 static void Check(ConstPtr p) {
1076 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1077 p->first.data(), static_cast<int>(p->first.length()),
1078 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1079 "operations_research.GScipParameters.RealParamsEntry.key");
1083 if (stream->IsSerializationDeterministic() &&
1084 this->_internal_real_params().size() > 1) {
1085 ::std::unique_ptr<SortItem[]> items(
1086 new SortItem[this->_internal_real_params().size()]);
1087 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::size_type size_type;
1089 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1090 it = this->_internal_real_params().begin();
1091 it != this->_internal_real_params().end(); ++it, ++n) {
1092 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1094 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1095 for (size_type i = 0; i < n; i++) {
1096 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1097 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1100 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1101 it = this->_internal_real_params().begin();
1102 it != this->_internal_real_params().end(); ++it) {
1103 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, it->first, it->second, target, stream);
1104 Utf8Check::Check(&(*it));
1110 if (!this->_internal_char_params().empty()) {
1111 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1113 typedef ConstPtr SortItem;
1114 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1116 static void Check(ConstPtr p) {
1118 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1119 p->first.data(), static_cast<int>(p->first.length()),
1120 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1121 "operations_research.GScipParameters.CharParamsEntry.key");
1122 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1123 p->second.data(), static_cast<int>(p->second.length()),
1124 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1125 "operations_research.GScipParameters.CharParamsEntry.value");
1129 if (stream->IsSerializationDeterministic() &&
1130 this->_internal_char_params().size() > 1) {
1131 ::std::unique_ptr<SortItem[]> items(
1132 new SortItem[this->_internal_char_params().size()]);
1133 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1135 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1136 it = this->_internal_char_params().begin();
1137 it != this->_internal_char_params().end(); ++it, ++n) {
1138 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1140 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1141 for (size_type i = 0; i < n; i++) {
1142 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1143 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1146 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1147 it = this->_internal_char_params().begin();
1148 it != this->_internal_char_params().end(); ++it) {
1149 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, it->first, it->second, target, stream);
1150 Utf8Check::Check(&(*it));
1156 if (!this->_internal_string_params().empty()) {
1157 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1159 typedef ConstPtr SortItem;
1160 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1162 static void Check(ConstPtr p) {
1164 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1165 p->first.data(), static_cast<int>(p->first.length()),
1166 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1167 "operations_research.GScipParameters.StringParamsEntry.key");
1168 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1169 p->second.data(), static_cast<int>(p->second.length()),
1170 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1171 "operations_research.GScipParameters.StringParamsEntry.value");
1175 if (stream->IsSerializationDeterministic() &&
1176 this->_internal_string_params().size() > 1) {
1177 ::std::unique_ptr<SortItem[]> items(
1178 new SortItem[this->_internal_string_params().size()]);
1179 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1181 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1182 it = this->_internal_string_params().begin();
1183 it != this->_internal_string_params().end(); ++it, ++n) {
1184 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1186 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1187 for (size_type i = 0; i < n; i++) {
1188 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1189 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1192 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1193 it = this->_internal_string_params().begin();
1194 it != this->_internal_string_params().end(); ++it) {
1195 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, it->first, it->second, target, stream);
1196 Utf8Check::Check(&(*it));
1202 if (_internal_has_silence_output()) {
1203 target = stream->EnsureSpace(target);
1204 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_silence_output(), target);
1208 if (this->_internal_print_detailed_solving_stats() != 0) {
1209 target = stream->EnsureSpace(target);
1210 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_detailed_solving_stats(), target);
1214 if (this->_internal_print_scip_model() != 0) {
1215 target = stream->EnsureSpace(target);
1216 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_scip_model(), target);
1220 if (!this->_internal_search_logs_filename().empty()) {
1221 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1222 this->_internal_search_logs_filename().data(), static_cast<int>(this->_internal_search_logs_filename().length()),
1223 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1224 "operations_research.GScipParameters.search_logs_filename");
1225 target = stream->WriteStringMaybeAliased(
1226 14, this->_internal_search_logs_filename(), target);
1230 if (!this->_internal_detailed_solving_stats_filename().empty()) {
1231 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1232 this->_internal_detailed_solving_stats_filename().data(), static_cast<int>(this->_internal_detailed_solving_stats_filename().length()),
1233 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1234 "operations_research.GScipParameters.detailed_solving_stats_filename");
1235 target = stream->WriteStringMaybeAliased(
1236 15, this->_internal_detailed_solving_stats_filename(), target);
1240 if (!this->_internal_scip_model_filename().empty()) {
1241 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1242 this->_internal_scip_model_filename().data(), static_cast<int>(this->_internal_scip_model_filename().length()),
1243 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1244 "operations_research.GScipParameters.scip_model_filename");
1245 target = stream->WriteStringMaybeAliased(
1246 16, this->_internal_scip_model_filename(), target);
1250 if (_internal_has_num_solutions()) {
1251 target = stream->EnsureSpace(target);
1252 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(17, this->_internal_num_solutions(), target);
1255 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1256 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1257 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1265 size_t total_size = 0;
1267 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1269 (void) cached_has_bits;
1273 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_bool_params_size());
1274 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1275 it = this->_internal_bool_params().begin();
1276 it != this->_internal_bool_params().end(); ++it) {
1277 total_size += GScipParameters_BoolParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1282 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_int_params_size());
1283 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1284 it = this->_internal_int_params().begin();
1285 it != this->_internal_int_params().end(); ++it) {
1286 total_size += GScipParameters_IntParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1291 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_long_params_size());
1292 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1293 it = this->_internal_long_params().begin();
1294 it != this->_internal_long_params().end(); ++it) {
1295 total_size += GScipParameters_LongParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1300 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_real_params_size());
1301 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1302 it = this->_internal_real_params().begin();
1303 it != this->_internal_real_params().end(); ++it) {
1304 total_size += GScipParameters_RealParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1309 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_char_params_size());
1310 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1311 it = this->_internal_char_params().begin();
1312 it != this->_internal_char_params().end(); ++it) {
1313 total_size += GScipParameters_CharParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1318 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_string_params_size());
1319 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1320 it = this->_internal_string_params().begin();
1321 it != this->_internal_string_params().end(); ++it) {
1322 total_size += GScipParameters_StringParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1326 if (!this->_internal_search_logs_filename().empty()) {
1328 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1329 this->_internal_search_logs_filename());
1333 if (!this->_internal_detailed_solving_stats_filename().empty()) {
1335 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1336 this->_internal_detailed_solving_stats_filename());
1340 if (!this->_internal_scip_model_filename().empty()) {
1342 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1343 this->_internal_scip_model_filename());
1347 if (this->_internal_emphasis() != 0) {
1349 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_emphasis());
1352 cached_has_bits = _has_bits_[0];
1353 if (cached_has_bits & 0x0000000fu) {
1355 if (cached_has_bits & 0x00000001u) {
1357 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_heuristics());
1361 if (cached_has_bits & 0x00000002u) {
1363 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_presolve());
1367 if (cached_has_bits & 0x00000004u) {
1369 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_separating());
1373 if (cached_has_bits & 0x00000008u) {
1374 total_size += 1 + 1;
1379 if (this->_internal_print_detailed_solving_stats() != 0) {
1380 total_size += 1 + 1;
1384 if (this->_internal_print_scip_model() != 0) {
1385 total_size += 1 + 1;
1389 if (cached_has_bits & 0x00000010u) {
1391 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1392 this->_internal_num_solutions());
1395 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1396 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1397 _internal_metadata_, total_size, &_cached_size_);
1399 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1400 SetCachedSize(cached_size);
1405 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1406 GScipParameters::MergeImpl
1410 void GScipParameters::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1411 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1412 static_cast<GScipParameters *>(to)->MergeFrom(
1413 static_cast<const GScipParameters &>(from));
1419 GOOGLE_DCHECK_NE(&from,
this);
1420 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1421 (void) cached_has_bits;
1423 bool_params_.MergeFrom(from.bool_params_);
1424 int_params_.MergeFrom(from.int_params_);
1425 long_params_.MergeFrom(from.long_params_);
1426 real_params_.MergeFrom(from.real_params_);
1427 char_params_.MergeFrom(from.char_params_);
1428 string_params_.MergeFrom(from.string_params_);
1429 if (!from._internal_search_logs_filename().empty()) {
1430 _internal_set_search_logs_filename(from._internal_search_logs_filename());
1432 if (!from._internal_detailed_solving_stats_filename().empty()) {
1433 _internal_set_detailed_solving_stats_filename(from._internal_detailed_solving_stats_filename());
1435 if (!from._internal_scip_model_filename().empty()) {
1436 _internal_set_scip_model_filename(from._internal_scip_model_filename());
1438 if (from._internal_emphasis() != 0) {
1439 _internal_set_emphasis(from._internal_emphasis());
1441 cached_has_bits = from._has_bits_[0];
1442 if (cached_has_bits & 0x0000000fu) {
1443 if (cached_has_bits & 0x00000001u) {
1444 heuristics_ = from.heuristics_;
1446 if (cached_has_bits & 0x00000002u) {
1447 presolve_ = from.presolve_;
1449 if (cached_has_bits & 0x00000004u) {
1450 separating_ = from.separating_;
1452 if (cached_has_bits & 0x00000008u) {
1453 silence_output_ = from.silence_output_;
1455 _has_bits_[0] |= cached_has_bits;
1457 if (from._internal_print_detailed_solving_stats() != 0) {
1458 _internal_set_print_detailed_solving_stats(from._internal_print_detailed_solving_stats());
1460 if (from._internal_print_scip_model() != 0) {
1461 _internal_set_print_scip_model(from._internal_print_scip_model());
1463 if (cached_has_bits & 0x00000010u) {
1464 _internal_set_num_solutions(from._internal_num_solutions());
1466 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1471 if (&from ==
this)
return;
1482 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1483 swap(_has_bits_[0], other->_has_bits_[0]);
1484 bool_params_.InternalSwap(&other->bool_params_);
1485 int_params_.InternalSwap(&other->int_params_);
1486 long_params_.InternalSwap(&other->long_params_);
1487 real_params_.InternalSwap(&other->real_params_);
1488 char_params_.InternalSwap(&other->char_params_);
1489 string_params_.InternalSwap(&other->string_params_);
1490 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1491 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1492 &search_logs_filename_, GetArenaForAllocation(),
1493 &other->search_logs_filename_, other->GetArenaForAllocation()
1495 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1496 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1497 &detailed_solving_stats_filename_, GetArenaForAllocation(),
1498 &other->detailed_solving_stats_filename_, other->GetArenaForAllocation()
1500 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1501 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1502 &scip_model_filename_, GetArenaForAllocation(),
1503 &other->scip_model_filename_, other->GetArenaForAllocation()
1505 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1507 +
sizeof(GScipParameters::num_solutions_)
1509 reinterpret_cast<char*>(&emphasis_),
1510 reinterpret_cast<char*>(&other->emphasis_));
1514 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1526 bool is_message_owned)
1527 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1529 if (!is_message_owned) {
1530 RegisterArenaDtor(arena);
1535 : ::PROTOBUF_NAMESPACE_ID::Message() {
1536 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1537 ::memcpy(&best_objective_, &from.best_objective_,
1538 static_cast<size_t>(reinterpret_cast<char*>(&deterministic_time_) -
1539 reinterpret_cast<char*>(&best_objective_)) +
sizeof(deterministic_time_));
1543 inline void GScipSolvingStats::SharedCtor() {
1544 ::memset(reinterpret_cast<char*>(
this) + static_cast<size_t>(
1545 reinterpret_cast<char*>(&best_objective_) - reinterpret_cast<char*>(
this)),
1546 0, static_cast<size_t>(reinterpret_cast<char*>(&deterministic_time_) -
1547 reinterpret_cast<char*>(&best_objective_)) +
sizeof(deterministic_time_));
1552 if (GetArenaForAllocation() !=
nullptr)
return;
1554 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1557 inline void GScipSolvingStats::SharedDtor() {
1558 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
1561 void GScipSolvingStats::ArenaDtor(
void*
object) {
1565 void GScipSolvingStats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1567 void GScipSolvingStats::SetCachedSize(
int size)
const {
1568 _cached_size_.Set(size);
1573 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1575 (void) cached_has_bits;
1577 ::memset(&best_objective_, 0, static_cast<size_t>(
1578 reinterpret_cast<char*>(&deterministic_time_) -
1579 reinterpret_cast<char*>(&best_objective_)) +
sizeof(deterministic_time_));
1580 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1584 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure 1585 while (!ctx->Done(&ptr)) {
1586 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1587 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1591 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) {
1592 best_objective_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1593 ptr +=
sizeof(double);
1594 }
else goto handle_unusual;
1598 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) {
1599 best_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1600 ptr +=
sizeof(double);
1601 }
else goto handle_unusual;
1605 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
1606 primal_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1608 }
else goto handle_unusual;
1612 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
1613 dual_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1615 }
else goto handle_unusual;
1619 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
1620 total_lp_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1622 }
else goto handle_unusual;
1626 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) {
1627 node_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1629 }
else goto handle_unusual;
1633 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 57)) {
1634 first_lp_relaxation_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1635 ptr +=
sizeof(double);
1636 }
else goto handle_unusual;
1640 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 65)) {
1641 root_node_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1642 ptr +=
sizeof(double);
1643 }
else goto handle_unusual;
1647 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 73)) {
1648 deterministic_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1649 ptr +=
sizeof(double);
1650 }
else goto handle_unusual;
1654 if ((tag == 0) || ((tag & 7) == 4)) {
1656 ctx->SetLastTag(tag);
1659 ptr = UnknownFieldParse(tag,
1660 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1662 CHK_(ptr !=
nullptr);
1676 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
1678 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1679 (void) cached_has_bits;
1682 if (!(this->_internal_best_objective() <= 0 && this->_internal_best_objective() >= 0)) {
1683 target = stream->EnsureSpace(target);
1684 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_best_objective(), target);
1688 if (!(this->_internal_best_bound() <= 0 && this->_internal_best_bound() >= 0)) {
1689 target = stream->EnsureSpace(target);
1690 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_best_bound(), target);
1694 if (this->_internal_primal_simplex_iterations() != 0) {
1695 target = stream->EnsureSpace(target);
1696 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_primal_simplex_iterations(), target);
1700 if (this->_internal_dual_simplex_iterations() != 0) {
1701 target = stream->EnsureSpace(target);
1702 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->_internal_dual_simplex_iterations(), target);
1706 if (this->_internal_total_lp_iterations() != 0) {
1707 target = stream->EnsureSpace(target);
1708 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_total_lp_iterations(), target);
1712 if (this->_internal_node_count() != 0) {
1713 target = stream->EnsureSpace(target);
1714 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_node_count(), target);
1718 if (!(this->_internal_first_lp_relaxation_bound() <= 0 && this->_internal_first_lp_relaxation_bound() >= 0)) {
1719 target = stream->EnsureSpace(target);
1720 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(7, this->_internal_first_lp_relaxation_bound(), target);
1724 if (!(this->_internal_root_node_bound() <= 0 && this->_internal_root_node_bound() >= 0)) {
1725 target = stream->EnsureSpace(target);
1726 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(8, this->_internal_root_node_bound(), target);
1730 if (!(this->_internal_deterministic_time() <= 0 && this->_internal_deterministic_time() >= 0)) {
1731 target = stream->EnsureSpace(target);
1732 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(9, this->_internal_deterministic_time(), target);
1735 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1736 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1737 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1745 size_t total_size = 0;
1747 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1749 (void) cached_has_bits;
1752 if (!(this->_internal_best_objective() <= 0 && this->_internal_best_objective() >= 0)) {
1753 total_size += 1 + 8;
1757 if (!(this->_internal_best_bound() <= 0 && this->_internal_best_bound() >= 0)) {
1758 total_size += 1 + 8;
1762 if (this->_internal_primal_simplex_iterations() != 0) {
1764 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1765 this->_internal_primal_simplex_iterations());
1769 if (this->_internal_dual_simplex_iterations() != 0) {
1771 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1772 this->_internal_dual_simplex_iterations());
1776 if (this->_internal_total_lp_iterations() != 0) {
1778 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1779 this->_internal_total_lp_iterations());
1783 if (this->_internal_node_count() != 0) {
1785 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1786 this->_internal_node_count());
1790 if (!(this->_internal_first_lp_relaxation_bound() <= 0 && this->_internal_first_lp_relaxation_bound() >= 0)) {
1791 total_size += 1 + 8;
1795 if (!(this->_internal_root_node_bound() <= 0 && this->_internal_root_node_bound() >= 0)) {
1796 total_size += 1 + 8;
1800 if (!(this->_internal_deterministic_time() <= 0 && this->_internal_deterministic_time() >= 0)) {
1801 total_size += 1 + 8;
1804 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1805 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1806 _internal_metadata_, total_size, &_cached_size_);
1808 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1809 SetCachedSize(cached_size);
1814 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1815 GScipSolvingStats::MergeImpl
1819 void GScipSolvingStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
1820 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
1821 static_cast<GScipSolvingStats *>(to)->MergeFrom(
1822 static_cast<const GScipSolvingStats &>(from));
1828 GOOGLE_DCHECK_NE(&from,
this);
1829 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1830 (void) cached_has_bits;
1832 if (!(from._internal_best_objective() <= 0 && from._internal_best_objective() >= 0)) {
1833 _internal_set_best_objective(from._internal_best_objective());
1835 if (!(from._internal_best_bound() <= 0 && from._internal_best_bound() >= 0)) {
1836 _internal_set_best_bound(from._internal_best_bound());
1838 if (from._internal_primal_simplex_iterations() != 0) {
1839 _internal_set_primal_simplex_iterations(from._internal_primal_simplex_iterations());
1841 if (from._internal_dual_simplex_iterations() != 0) {
1842 _internal_set_dual_simplex_iterations(from._internal_dual_simplex_iterations());
1844 if (from._internal_total_lp_iterations() != 0) {
1845 _internal_set_total_lp_iterations(from._internal_total_lp_iterations());
1847 if (from._internal_node_count() != 0) {
1848 _internal_set_node_count(from._internal_node_count());
1850 if (!(from._internal_first_lp_relaxation_bound() <= 0 && from._internal_first_lp_relaxation_bound() >= 0)) {
1851 _internal_set_first_lp_relaxation_bound(from._internal_first_lp_relaxation_bound());
1853 if (!(from._internal_root_node_bound() <= 0 && from._internal_root_node_bound() >= 0)) {
1854 _internal_set_root_node_bound(from._internal_root_node_bound());
1856 if (!(from._internal_deterministic_time() <= 0 && from._internal_deterministic_time() >= 0)) {
1857 _internal_set_deterministic_time(from._internal_deterministic_time());
1859 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1864 if (&from ==
this)
return;
1875 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1876 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1878 +
sizeof(GScipSolvingStats::deterministic_time_)
1880 reinterpret_cast<char*>(&best_objective_),
1881 reinterpret_cast<char*>(&other->best_objective_));
1885 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1894 static const ::operations_research::GScipSolvingStats&
stats(
const GScipOutput* msg);
1897 const ::operations_research::GScipSolvingStats&
1899 return *msg->stats_;
1902 bool is_message_owned)
1903 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1905 if (!is_message_owned) {
1906 RegisterArenaDtor(arena);
1911 : ::PROTOBUF_NAMESPACE_ID::Message() {
1912 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1913 status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1914 if (!from._internal_status_detail().empty()) {
1915 status_detail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_status_detail(),
1916 GetArenaForAllocation());
1918 if (from._internal_has_stats()) {
1919 stats_ = new ::operations_research::GScipSolvingStats(*from.stats_);
1923 status_ = from.status_;
1927 inline void GScipOutput::SharedCtor() {
1928 status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1929 ::memset(reinterpret_cast<char*>(
this) + static_cast<size_t>(
1930 reinterpret_cast<char*>(&stats_) - reinterpret_cast<char*>(
this)),
1931 0, static_cast<size_t>(reinterpret_cast<char*>(&status_) -
1932 reinterpret_cast<char*>(&stats_)) +
sizeof(status_));
1937 if (GetArenaForAllocation() !=
nullptr)
return;
1939 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1942 inline void GScipOutput::SharedDtor() {
1943 GOOGLE_DCHECK(GetArenaForAllocation() ==
nullptr);
1944 status_detail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1948 void GScipOutput::ArenaDtor(
void*
object) {
1949 GScipOutput* _this = reinterpret_cast< GScipOutput* >(
object);
1952 void GScipOutput::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1954 void GScipOutput::SetCachedSize(
int size)
const {
1955 _cached_size_.Set(size);
1960 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1962 (void) cached_has_bits;
1964 status_detail_.ClearToEmpty();
1965 if (GetArenaForAllocation() ==
nullptr && stats_ !=
nullptr) {
1970 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1974 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure 1975 while (!ctx->Done(&ptr)) {
1976 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1977 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1981 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
1982 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1984 _internal_set_status(static_cast<::operations_research::GScipOutput_Status>(val));
1985 }
else goto handle_unusual;
1989 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
1990 auto str = _internal_mutable_status_detail();
1991 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1992 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipOutput.status_detail"));
1994 }
else goto handle_unusual;
1998 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
1999 ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr);
2001 }
else goto handle_unusual;
2005 if ((tag == 0) || ((tag & 7) == 4)) {
2007 ctx->SetLastTag(tag);
2010 ptr = UnknownFieldParse(tag,
2011 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2013 CHK_(ptr !=
nullptr);
2027 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
2029 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2030 (void) cached_has_bits;
2033 if (this->_internal_status() != 0) {
2034 target = stream->EnsureSpace(target);
2035 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
2036 1, this->_internal_status(), target);
2040 if (!this->_internal_status_detail().empty()) {
2041 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2042 this->_internal_status_detail().data(), static_cast<int>(this->_internal_status_detail().length()),
2043 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2044 "operations_research.GScipOutput.status_detail");
2045 target = stream->WriteStringMaybeAliased(
2046 2, this->_internal_status_detail(), target);
2050 if (this->_internal_has_stats()) {
2051 target = stream->EnsureSpace(target);
2052 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2053 InternalWriteMessage(
2057 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2058 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2059 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2067 size_t total_size = 0;
2069 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2071 (void) cached_has_bits;
2074 if (!this->_internal_status_detail().empty()) {
2076 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2077 this->_internal_status_detail());
2081 if (this->_internal_has_stats()) {
2083 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2088 if (this->_internal_status() != 0) {
2090 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
2093 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2094 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
2095 _internal_metadata_, total_size, &_cached_size_);
2097 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
2098 SetCachedSize(cached_size);
2103 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
2104 GScipOutput::MergeImpl
2108 void GScipOutput::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to,
2109 const ::PROTOBUF_NAMESPACE_ID::Message&from) {
2110 static_cast<GScipOutput *>(to)->MergeFrom(
2111 static_cast<const GScipOutput &>(from));
2117 GOOGLE_DCHECK_NE(&from,
this);
2118 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2119 (void) cached_has_bits;
2121 if (!from._internal_status_detail().empty()) {
2122 _internal_set_status_detail(from._internal_status_detail());
2124 if (from._internal_has_stats()) {
2125 _internal_mutable_stats()->::operations_research::GScipSolvingStats::MergeFrom(from._internal_stats());
2127 if (from._internal_status() != 0) {
2128 _internal_set_status(from._internal_status());
2130 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2135 if (&from ==
this)
return;
2144 void GScipOutput::InternalSwap(
GScipOutput* other) {
2146 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2147 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2148 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2149 &status_detail_, GetArenaForAllocation(),
2150 &other->status_detail_, other->GetArenaForAllocation()
2152 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2154 +
sizeof(GScipOutput::status_)
2156 reinterpret_cast<char*>(&stats_),
2157 reinterpret_cast<char*>(&other->stats_));
2161 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
2168 PROTOBUF_NAMESPACE_OPEN
2170 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(arena);
2173 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(arena);
2176 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(arena);
2179 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(arena);
2182 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(arena);
2185 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(arena);
2188 return Arena::CreateMessageInternal< ::operations_research::GScipParameters >(arena);
2191 return Arena::CreateMessageInternal< ::operations_research::GScipSolvingStats >(arena);
2194 return Arena::CreateMessageInternal< ::operations_research::GScipOutput >(arena);
2196 PROTOBUF_NAMESPACE_CLOSE
2199 #include <google/protobuf/port_undef.inc> static constexpr Emphasis COUNTER
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgscip_2fgscip_2eproto
::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
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipOutput_Status_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_IntParamsEntry_DoNotUse_default_instance_
::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
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static void set_has_num_solutions(HasBits *has_bits)
static constexpr Status TERMINATE
~GScipSolvingStatsDefaultTypeInternal()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr Status TOTAL_NODE_LIMIT
constexpr GScipParametersDefaultTypeInternal()
void MergeFrom(const GScipParameters_CharParamsEntry_DoNotUse &other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NOINLINE ::operations_research::GScipParameters_LongParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(Arena *arena)
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static void set_has_heuristics(HasBits *has_bits)
void MergeFrom(const GScipParameters_StringParamsEntry_DoNotUse &other)
bool IsInitialized() const final
GScipParameters_StringParamsEntry_DoNotUse()
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_Emphasis_descriptor()
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)
void MergeFrom(const GScipParameters_RealParamsEntry_DoNotUse &other)
static constexpr Status STALL_NODE_LIMIT
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fgscip_2fgscip_2eproto[9]
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_BoolParamsEntry_DoNotUse_default_instance_
static constexpr Status Status_MIN
GScipParameters _instance
size_t ByteSizeLong() const final
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fgscip_2fgscip_2eproto
void MergeFrom(const GScipParameters &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void swap(IdMap< K, V > &a, IdMap< K, V > &b)
void MergeFrom(const GScipOutput &from)
static constexpr int Status_ARRAYSIZE
bool GScipParameters_MetaParamValue_IsValid(int value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr MetaParamValue OFF
static constexpr Emphasis CP_SOLVER
static constexpr Emphasis OPTIMALITY
~GScipParameters() override
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
static constexpr Status USER_INTERRUPT
GScipSolvingStats _instance
constexpr GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal()
bool GScipParameters_Emphasis_IsValid(int value)
~GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal()
static constexpr int Emphasis_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipSolvingStatsDefaultTypeInternal _GScipSolvingStats_default_instance_
static const GScipOutput * internal_default_instance()
GScipParameters_LongParamsEntry_DoNotUse _instance
bool IsInitialized() const final
static constexpr Status MEM_LIMIT
static constexpr Emphasis EASY_CIP
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParametersDefaultTypeInternal _GScipParameters_default_instance_
static void set_has_separating(HasBits *has_bits)
static const ClassData _class_data_
constexpr GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal()
constexpr GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal()
void CopyFrom(const GScipParameters &from)
~GScipSolvingStats() override
static constexpr Emphasis DEFAULT_EMPHASIS
static constexpr Status BEST_SOL_LIMIT
GScipParameters_LongParamsEntry_DoNotUse()
GScipParameters_MetaParamValue
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static constexpr Status UNKNOWN
static constexpr Emphasis PHASE_PROOF
GScipParameters_IntParamsEntry_DoNotUse _instance
static constexpr MetaParamValue FAST
static constexpr Emphasis HARD_LP
::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
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
~GScipOutputDefaultTypeInternal()
static constexpr int MetaParamValue_ARRAYSIZE
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipOutputDefaultTypeInternal _GScipOutput_default_instance_
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
constexpr GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_NOINLINE ::operations_research::GScipParameters_IntParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(Arena *arena)
void MergeFrom(const GScipParameters_IntParamsEntry_DoNotUse &other)
static constexpr Status INF_OR_UNBD
size_t ByteSizeLong() const final
GScipParameters_BoolParamsEntry_DoNotUse _instance
PROTOBUF_NOINLINE ::operations_research::GScipOutput * Arena::CreateMaybeMessage< ::operations_research::GScipOutput >(Arena *arena)
GScipParameters_CharParamsEntry_DoNotUse _instance
static const ClassData _class_data_
static const ::operations_research::GScipSolvingStats & stats(const GScipOutput *msg)
decltype(std::declval< GScipParameters >()._has_bits_) HasBits
static constexpr Status GAP_LIMIT
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fgscip_2fgscip_2eproto_getter()
::PROTOBUF_NAMESPACE_ID::uint8 * _InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
bool GScipOutput_Status_IsValid(int value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr Status TIME_LIMIT
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
GScipParameters_IntParamsEntry_DoNotUse()
static constexpr Emphasis PHASE_FEAS
~GScipParametersDefaultTypeInternal()
static constexpr Emphasis Emphasis_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_MetaParamValue_descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_ortools_2fgscip_2fgscip_2eproto::offsets [] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
friend void swap(GScipParameters &a, GScipParameters &b)
static void set_has_presolve(HasBits *has_bits)
::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
static void set_has_silence_output(HasBits *has_bits)
static constexpr Status NODE_LIMIT
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_StringParamsEntry_DoNotUse_default_instance_
static const ClassData _class_data_
GScipParameters_CharParamsEntry_DoNotUse()
constexpr GScipOutputDefaultTypeInternal()
static constexpr Status INVALID_SOLVER_PARAMETERS
constexpr GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal()
static constexpr MetaParamValue DEFAULT_META_PARAM_VALUE
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr Status OPTIMAL
void CopyFrom(const GScipSolvingStats &from)
void MergeFrom(const GScipParameters_BoolParamsEntry_DoNotUse &other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fgscip_2fgscip_2eproto[3]
static constexpr MetaParamValue AGGRESSIVE
static constexpr MetaParamValue MetaParamValue_MAX
static constexpr Emphasis FEASIBILITY
~GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal()
~GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_LongParamsEntry_DoNotUse_default_instance_
Collection of objects used to extend the Constraint Solver library.
constexpr GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal()
static constexpr MetaParamValue MetaParamValue_MIN
~GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal()
static constexpr Status RESTART_LIMIT
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fgscip_2fgscip_2eproto_once
constexpr GScipSolvingStatsDefaultTypeInternal()
GScipParameters_RealParamsEntry_DoNotUse _instance
GScipParameters_RealParamsEntry_DoNotUse()
GScipParameters_StringParamsEntry_DoNotUse _instance
bool IsInitialized() const final
static constexpr Status Status_MAX
::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
static constexpr Status INFEASIBLE
static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_CharParamsEntry_DoNotUse_default_instance_
static constexpr Status SOL_LIMIT
::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
void MergeFrom(const GScipParameters_LongParamsEntry_DoNotUse &other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr Emphasis Emphasis_MAX
PROTOBUF_NOINLINE ::operations_research::GScipParameters_StringParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_RealParamsEntry_DoNotUse_default_instance_
void CopyFrom(const GScipOutput &from)
PROTOBUF_NOINLINE ::operations_research::GScipParameters_CharParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(Arena *arena)
void MergeFrom(const GScipSolvingStats &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
~GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal()
static constexpr Emphasis PHASE_IMPROVE
GScipParameters_BoolParamsEntry_DoNotUse()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr Status UNBOUNDED
PROTOBUF_NOINLINE ::operations_research::GScipParameters * Arena::CreateMaybeMessage< ::operations_research::GScipParameters >(Arena *arena)
~GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal()