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){}
86 constexpr GScipParameters::GScipParameters(
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){}
111 : _instance(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{}) {}
118 constexpr GScipSolvingStats::GScipSolvingStats(
119 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
122 , primal_simplex_iterations_(PROTOBUF_LONGLONG(0))
123 , dual_simplex_iterations_(PROTOBUF_LONGLONG(0))
124 , total_lp_iterations_(PROTOBUF_LONGLONG(0))
125 , node_count_(PROTOBUF_LONGLONG(0))
126 , first_lp_relaxation_bound_(0)
127 , root_node_bound_(0)
128 , deterministic_time_(0){}
131 : _instance(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{}) {}
138 constexpr GScipOutput::GScipOutput(
139 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
140 : status_detail_(&::PROTOBUF_NAMESPACE_ID::
internal::fixed_address_empty_string)
146 : _instance(::PROTOBUF_NAMESPACE_ID::
internal::ConstantInitialized{}) {}
213 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, _has_bits_),
214 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, _internal_metadata_),
218 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, emphasis_),
219 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, heuristics_),
220 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, presolve_),
221 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, separating_),
222 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, bool_params_),
223 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, int_params_),
224 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, long_params_),
225 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, real_params_),
226 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, char_params_),
227 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, string_params_),
228 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, silence_output_),
229 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, print_detailed_solving_stats_),
230 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, print_scip_model_),
231 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, search_logs_filename_),
232 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, detailed_solving_stats_filename_),
233 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, scip_model_filename_),
234 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, num_solutions_),
253 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, _internal_metadata_),
257 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, best_objective_),
258 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, best_bound_),
259 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, primal_simplex_iterations_),
260 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, dual_simplex_iterations_),
261 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, total_lp_iterations_),
262 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, node_count_),
263 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, first_lp_relaxation_bound_),
264 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, root_node_bound_),
265 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, deterministic_time_),
267 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, _internal_metadata_),
271 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, status_),
272 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, status_detail_),
273 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, stats_),
282 { 54, 76,
sizeof(::operations_research::GScipParameters)},
283 { 93, -1,
sizeof(::operations_research::GScipSolvingStats)},
284 { 107, -1,
sizeof(::operations_research::GScipOutput)},
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",
369 PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata
400 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
413 constexpr
int GScipParameters::Emphasis_ARRAYSIZE;
431 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
438 constexpr
int GScipParameters::MetaParamValue_ARRAYSIZE;
469 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
489 constexpr
int GScipOutput::Status_ARRAYSIZE;
498 MergeFromInternal(other);
501 return GetMetadataStatic();
504 const ::PROTOBUF_NAMESPACE_ID::Message& other) {
505 ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other);
515 MergeFromInternal(other);
518 return GetMetadataStatic();
521 const ::PROTOBUF_NAMESPACE_ID::Message& other) {
522 ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other);
532 MergeFromInternal(other);
535 return GetMetadataStatic();
538 const ::PROTOBUF_NAMESPACE_ID::Message& other) {
539 ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other);
549 MergeFromInternal(other);
552 return GetMetadataStatic();
555 const ::PROTOBUF_NAMESPACE_ID::Message& other) {
556 ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other);
566 MergeFromInternal(other);
569 return GetMetadataStatic();
572 const ::PROTOBUF_NAMESPACE_ID::Message& other) {
573 ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other);
583 MergeFromInternal(other);
586 return GetMetadataStatic();
589 const ::PROTOBUF_NAMESPACE_ID::Message& other) {
590 ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom(other);
598 using HasBits = decltype(std::declval<GScipParameters>()._has_bits_);
600 (*has_bits)[0] |= 1u;
603 (*has_bits)[0] |= 2u;
606 (*has_bits)[0] |= 4u;
609 (*has_bits)[0] |= 8u;
612 (*has_bits)[0] |= 16u;
616 GScipParameters::GScipParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena)
617 : ::PROTOBUF_NAMESPACE_ID::Message(arena),
623 string_params_(arena) {
625 RegisterArenaDtor(arena);
628 GScipParameters::GScipParameters(
const GScipParameters& from)
629 : ::PROTOBUF_NAMESPACE_ID::Message(),
630 _has_bits_(from._has_bits_) {
631 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
632 bool_params_.MergeFrom(from.bool_params_);
633 int_params_.MergeFrom(from.int_params_);
634 long_params_.MergeFrom(from.long_params_);
635 real_params_.MergeFrom(from.real_params_);
636 char_params_.MergeFrom(from.char_params_);
637 string_params_.MergeFrom(from.string_params_);
638 search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
639 if (!from._internal_search_logs_filename().empty()) {
640 search_logs_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_search_logs_filename(),
643 detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
644 if (!from._internal_detailed_solving_stats_filename().empty()) {
645 detailed_solving_stats_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_detailed_solving_stats_filename(),
648 scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
649 if (!from._internal_scip_model_filename().empty()) {
650 scip_model_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scip_model_filename(),
653 ::memcpy(&emphasis_, &from.emphasis_,
654 static_cast<size_t>(
reinterpret_cast<char*
>(&num_solutions_) -
655 reinterpret_cast<char*
>(&emphasis_)) +
sizeof(num_solutions_));
659 void GScipParameters::SharedCtor() {
660 search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
661 detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
662 scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
663 ::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
664 reinterpret_cast<char*
>(&emphasis_) -
reinterpret_cast<char*
>(
this)),
665 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&num_solutions_) -
666 reinterpret_cast<char*
>(&emphasis_)) +
sizeof(num_solutions_));
669 GScipParameters::~GScipParameters() {
672 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
675 void GScipParameters::SharedDtor() {
676 GOOGLE_DCHECK(GetArena() ==
nullptr);
677 search_logs_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
678 detailed_solving_stats_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
679 scip_model_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
682 void GScipParameters::ArenaDtor(
void*
object) {
683 GScipParameters* _this =
reinterpret_cast< GScipParameters*
>(object);
686 void GScipParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
688 void GScipParameters::SetCachedSize(
int size)
const {
689 _cached_size_.Set(size);
692 void GScipParameters::Clear() {
694 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
696 (void) cached_has_bits;
698 bool_params_.Clear();
700 long_params_.Clear();
701 real_params_.Clear();
702 char_params_.Clear();
703 string_params_.Clear();
704 search_logs_filename_.ClearToEmpty();
705 detailed_solving_stats_filename_.ClearToEmpty();
706 scip_model_filename_.ClearToEmpty();
708 cached_has_bits = _has_bits_[0];
709 if (cached_has_bits & 0x0000000fu) {
710 ::memset(&heuristics_, 0,
static_cast<size_t>(
711 reinterpret_cast<char*
>(&silence_output_) -
712 reinterpret_cast<char*
>(&heuristics_)) +
sizeof(silence_output_));
714 ::memset(&print_detailed_solving_stats_, 0,
static_cast<size_t>(
715 reinterpret_cast<char*
>(&print_scip_model_) -
716 reinterpret_cast<char*
>(&print_detailed_solving_stats_)) +
sizeof(print_scip_model_));
719 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
722 const char* GScipParameters::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
723 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
725 while (!ctx->Done(&ptr)) {
726 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
727 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
732 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 8)) {
733 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
736 }
else goto handle_unusual;
740 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 16)) {
741 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
744 }
else goto handle_unusual;
748 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 24)) {
749 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
752 }
else goto handle_unusual;
756 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 32)) {
757 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
760 }
else goto handle_unusual;
764 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 42)) {
768 ptr = ctx->ParseMessage(&bool_params_, ptr);
770 if (!ctx->DataAvailable(ptr))
break;
771 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
772 }
else goto handle_unusual;
776 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 50)) {
780 ptr = ctx->ParseMessage(&int_params_, ptr);
782 if (!ctx->DataAvailable(ptr))
break;
783 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
784 }
else goto handle_unusual;
788 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 58)) {
792 ptr = ctx->ParseMessage(&long_params_, ptr);
794 if (!ctx->DataAvailable(ptr))
break;
795 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
796 }
else goto handle_unusual;
800 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 66)) {
804 ptr = ctx->ParseMessage(&real_params_, ptr);
806 if (!ctx->DataAvailable(ptr))
break;
807 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
808 }
else goto handle_unusual;
812 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 74)) {
816 ptr = ctx->ParseMessage(&char_params_, ptr);
818 if (!ctx->DataAvailable(ptr))
break;
819 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
820 }
else goto handle_unusual;
824 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 82)) {
828 ptr = ctx->ParseMessage(&string_params_, ptr);
830 if (!ctx->DataAvailable(ptr))
break;
831 }
while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr));
832 }
else goto handle_unusual;
836 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 88)) {
838 silence_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
840 }
else goto handle_unusual;
844 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 96)) {
845 print_detailed_solving_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
847 }
else goto handle_unusual;
851 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 104)) {
852 print_scip_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
854 }
else goto handle_unusual;
858 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 114)) {
859 auto str = _internal_mutable_search_logs_filename();
860 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
861 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.search_logs_filename"));
863 }
else goto handle_unusual;
867 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 122)) {
868 auto str = _internal_mutable_detailed_solving_stats_filename();
869 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
870 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.detailed_solving_stats_filename"));
872 }
else goto handle_unusual;
876 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 130)) {
877 auto str = _internal_mutable_scip_model_filename();
878 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
879 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipParameters.scip_model_filename"));
881 }
else goto handle_unusual;
885 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 136)) {
887 num_solutions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
889 }
else goto handle_unusual;
893 if ((tag & 7) == 4 || tag == 0) {
894 ctx->SetLastTag(tag);
897 ptr = UnknownFieldParse(tag,
898 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
900 CHK_(ptr !=
nullptr);
906 _has_bits_.Or(has_bits);
914 ::PROTOBUF_NAMESPACE_ID::uint8* GScipParameters::_InternalSerialize(
915 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
917 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
918 (void) cached_has_bits;
921 if (this->emphasis() != 0) {
922 target = stream->EnsureSpace(target);
923 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
924 1, this->_internal_emphasis(), target);
928 if (_internal_has_heuristics()) {
929 target = stream->EnsureSpace(target);
930 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
931 2, this->_internal_heuristics(), target);
935 if (_internal_has_presolve()) {
936 target = stream->EnsureSpace(target);
937 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
938 3, this->_internal_presolve(), target);
942 if (_internal_has_separating()) {
943 target = stream->EnsureSpace(target);
944 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
945 4, this->_internal_separating(), target);
949 if (!this->_internal_bool_params().empty()) {
950 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_pointer
952 typedef ConstPtr SortItem;
953 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
955 static void Check(ConstPtr p) {
956 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
957 p->first.data(),
static_cast<int>(p->first.length()),
958 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
959 "operations_research.GScipParameters.BoolParamsEntry.key");
963 if (stream->IsSerializationDeterministic() &&
964 this->_internal_bool_params().size() > 1) {
965 ::std::unique_ptr<SortItem[]> items(
966 new SortItem[this->_internal_bool_params().size()]);
967 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::size_type size_type;
969 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
970 it = this->_internal_bool_params().begin();
971 it != this->_internal_bool_params().end(); ++it, ++n) {
972 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
974 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
975 for (size_type i = 0; i < n; i++) {
976 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
977 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
980 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
981 it = this->_internal_bool_params().begin();
982 it != this->_internal_bool_params().end(); ++it) {
983 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, it->first, it->second, target, stream);
984 Utf8Check::Check(&(*it));
990 if (!this->_internal_int_params().empty()) {
991 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_pointer
993 typedef ConstPtr SortItem;
994 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
996 static void Check(ConstPtr p) {
997 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
998 p->first.data(),
static_cast<int>(p->first.length()),
999 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1000 "operations_research.GScipParameters.IntParamsEntry.key");
1004 if (stream->IsSerializationDeterministic() &&
1005 this->_internal_int_params().size() > 1) {
1006 ::std::unique_ptr<SortItem[]> items(
1007 new SortItem[this->_internal_int_params().size()]);
1008 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::size_type size_type;
1010 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1011 it = this->_internal_int_params().begin();
1012 it != this->_internal_int_params().end(); ++it, ++n) {
1013 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1015 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1016 for (size_type i = 0; i < n; i++) {
1017 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1018 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1021 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1022 it = this->_internal_int_params().begin();
1023 it != this->_internal_int_params().end(); ++it) {
1024 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, it->first, it->second, target, stream);
1025 Utf8Check::Check(&(*it));
1031 if (!this->_internal_long_params().empty()) {
1032 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_pointer
1034 typedef ConstPtr SortItem;
1035 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1037 static void Check(ConstPtr p) {
1038 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1039 p->first.data(),
static_cast<int>(p->first.length()),
1040 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1041 "operations_research.GScipParameters.LongParamsEntry.key");
1045 if (stream->IsSerializationDeterministic() &&
1046 this->_internal_long_params().size() > 1) {
1047 ::std::unique_ptr<SortItem[]> items(
1048 new SortItem[this->_internal_long_params().size()]);
1049 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::size_type size_type;
1051 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1052 it = this->_internal_long_params().begin();
1053 it != this->_internal_long_params().end(); ++it, ++n) {
1054 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1056 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1057 for (size_type i = 0; i < n; i++) {
1058 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1059 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1062 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1063 it = this->_internal_long_params().begin();
1064 it != this->_internal_long_params().end(); ++it) {
1065 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, it->first, it->second, target, stream);
1066 Utf8Check::Check(&(*it));
1072 if (!this->_internal_real_params().empty()) {
1073 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_pointer
1075 typedef ConstPtr SortItem;
1076 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1078 static void Check(ConstPtr p) {
1079 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1080 p->first.data(),
static_cast<int>(p->first.length()),
1081 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1082 "operations_research.GScipParameters.RealParamsEntry.key");
1086 if (stream->IsSerializationDeterministic() &&
1087 this->_internal_real_params().size() > 1) {
1088 ::std::unique_ptr<SortItem[]> items(
1089 new SortItem[this->_internal_real_params().size()]);
1090 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::size_type size_type;
1092 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1093 it = this->_internal_real_params().begin();
1094 it != this->_internal_real_params().end(); ++it, ++n) {
1095 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1097 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1098 for (size_type i = 0; i < n; i++) {
1099 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1100 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1103 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1104 it = this->_internal_real_params().begin();
1105 it != this->_internal_real_params().end(); ++it) {
1106 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, it->first, it->second, target, stream);
1107 Utf8Check::Check(&(*it));
1113 if (!this->_internal_char_params().empty()) {
1114 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1116 typedef ConstPtr SortItem;
1117 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1119 static void Check(ConstPtr p) {
1120 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1121 p->first.data(),
static_cast<int>(p->first.length()),
1122 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1123 "operations_research.GScipParameters.CharParamsEntry.key");
1124 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1125 p->second.data(),
static_cast<int>(p->second.length()),
1126 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1127 "operations_research.GScipParameters.CharParamsEntry.value");
1131 if (stream->IsSerializationDeterministic() &&
1132 this->_internal_char_params().size() > 1) {
1133 ::std::unique_ptr<SortItem[]> items(
1134 new SortItem[this->_internal_char_params().size()]);
1135 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1137 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1138 it = this->_internal_char_params().begin();
1139 it != this->_internal_char_params().end(); ++it, ++n) {
1140 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1142 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1143 for (size_type i = 0; i < n; i++) {
1144 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1145 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1148 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1149 it = this->_internal_char_params().begin();
1150 it != this->_internal_char_params().end(); ++it) {
1151 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, it->first, it->second, target, stream);
1152 Utf8Check::Check(&(*it));
1158 if (!this->_internal_string_params().empty()) {
1159 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1161 typedef ConstPtr SortItem;
1162 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1164 static void Check(ConstPtr p) {
1165 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1166 p->first.data(),
static_cast<int>(p->first.length()),
1167 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1168 "operations_research.GScipParameters.StringParamsEntry.key");
1169 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1170 p->second.data(),
static_cast<int>(p->second.length()),
1171 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1172 "operations_research.GScipParameters.StringParamsEntry.value");
1176 if (stream->IsSerializationDeterministic() &&
1177 this->_internal_string_params().size() > 1) {
1178 ::std::unique_ptr<SortItem[]> items(
1179 new SortItem[this->_internal_string_params().size()]);
1180 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1182 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1183 it = this->_internal_string_params().begin();
1184 it != this->_internal_string_params().end(); ++it, ++n) {
1185 items[
static_cast<ptrdiff_t
>(n)] = SortItem(&*it);
1187 ::std::sort(&items[0], &items[
static_cast<ptrdiff_t
>(n)], Less());
1188 for (size_type i = 0; i < n; i++) {
1189 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, items[
static_cast<ptrdiff_t
>(i)]->first, items[
static_cast<ptrdiff_t
>(i)]->second, target, stream);
1190 Utf8Check::Check(&(*items[
static_cast<ptrdiff_t
>(i)]));
1193 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1194 it = this->_internal_string_params().begin();
1195 it != this->_internal_string_params().end(); ++it) {
1196 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, it->first, it->second, target, stream);
1197 Utf8Check::Check(&(*it));
1203 if (_internal_has_silence_output()) {
1204 target = stream->EnsureSpace(target);
1205 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_silence_output(), target);
1209 if (this->print_detailed_solving_stats() != 0) {
1210 target = stream->EnsureSpace(target);
1211 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_detailed_solving_stats(), target);
1215 if (this->print_scip_model() != 0) {
1216 target = stream->EnsureSpace(target);
1217 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_scip_model(), target);
1221 if (this->search_logs_filename().size() > 0) {
1222 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1223 this->_internal_search_logs_filename().data(),
static_cast<int>(this->_internal_search_logs_filename().length()),
1224 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1225 "operations_research.GScipParameters.search_logs_filename");
1226 target = stream->WriteStringMaybeAliased(
1227 14, this->_internal_search_logs_filename(), target);
1231 if (this->detailed_solving_stats_filename().size() > 0) {
1232 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1233 this->_internal_detailed_solving_stats_filename().data(),
static_cast<int>(this->_internal_detailed_solving_stats_filename().length()),
1234 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1235 "operations_research.GScipParameters.detailed_solving_stats_filename");
1236 target = stream->WriteStringMaybeAliased(
1237 15, this->_internal_detailed_solving_stats_filename(), target);
1241 if (this->scip_model_filename().size() > 0) {
1242 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1243 this->_internal_scip_model_filename().data(),
static_cast<int>(this->_internal_scip_model_filename().length()),
1244 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1245 "operations_research.GScipParameters.scip_model_filename");
1246 target = stream->WriteStringMaybeAliased(
1247 16, this->_internal_scip_model_filename(), target);
1251 if (_internal_has_num_solutions()) {
1252 target = stream->EnsureSpace(target);
1253 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(17, this->_internal_num_solutions(), target);
1256 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1257 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1258 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1264 size_t GScipParameters::ByteSizeLong()
const {
1266 size_t total_size = 0;
1268 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1270 (void) cached_has_bits;
1274 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_bool_params_size());
1275 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1276 it = this->_internal_bool_params().begin();
1277 it != this->_internal_bool_params().end(); ++it) {
1278 total_size += GScipParameters_BoolParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1283 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_int_params_size());
1284 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int32 >::const_iterator
1285 it = this->_internal_int_params().begin();
1286 it != this->_internal_int_params().end(); ++it) {
1287 total_size += GScipParameters_IntParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1292 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_long_params_size());
1293 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::int64 >::const_iterator
1294 it = this->_internal_long_params().begin();
1295 it != this->_internal_long_params().end(); ++it) {
1296 total_size += GScipParameters_LongParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1301 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_real_params_size());
1302 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1303 it = this->_internal_real_params().begin();
1304 it != this->_internal_real_params().end(); ++it) {
1305 total_size += GScipParameters_RealParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1310 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_char_params_size());
1311 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1312 it = this->_internal_char_params().begin();
1313 it != this->_internal_char_params().end(); ++it) {
1314 total_size += GScipParameters_CharParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1319 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_string_params_size());
1320 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1321 it = this->_internal_string_params().begin();
1322 it != this->_internal_string_params().end(); ++it) {
1323 total_size += GScipParameters_StringParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1327 if (this->search_logs_filename().size() > 0) {
1329 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1330 this->_internal_search_logs_filename());
1334 if (this->detailed_solving_stats_filename().size() > 0) {
1336 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1337 this->_internal_detailed_solving_stats_filename());
1341 if (this->scip_model_filename().size() > 0) {
1343 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1344 this->_internal_scip_model_filename());
1348 if (this->emphasis() != 0) {
1350 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_emphasis());
1353 cached_has_bits = _has_bits_[0];
1354 if (cached_has_bits & 0x0000000fu) {
1356 if (cached_has_bits & 0x00000001u) {
1358 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_heuristics());
1362 if (cached_has_bits & 0x00000002u) {
1364 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_presolve());
1368 if (cached_has_bits & 0x00000004u) {
1370 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_separating());
1374 if (cached_has_bits & 0x00000008u) {
1375 total_size += 1 + 1;
1380 if (this->print_detailed_solving_stats() != 0) {
1381 total_size += 1 + 1;
1385 if (this->print_scip_model() != 0) {
1386 total_size += 1 + 1;
1390 if (cached_has_bits & 0x00000010u) {
1392 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1393 this->_internal_num_solutions());
1396 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1397 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1398 _internal_metadata_, total_size, &_cached_size_);
1400 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1401 SetCachedSize(cached_size);
1405 void GScipParameters::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1407 GOOGLE_DCHECK_NE(&from,
this);
1408 const GScipParameters* source =
1409 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GScipParameters>(
1411 if (source ==
nullptr) {
1413 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from,
this);
1420 void GScipParameters::MergeFrom(
const GScipParameters& from) {
1422 GOOGLE_DCHECK_NE(&from,
this);
1423 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1424 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1425 (void) cached_has_bits;
1427 bool_params_.MergeFrom(from.bool_params_);
1428 int_params_.MergeFrom(from.int_params_);
1429 long_params_.MergeFrom(from.long_params_);
1430 real_params_.MergeFrom(from.real_params_);
1431 char_params_.MergeFrom(from.char_params_);
1432 string_params_.MergeFrom(from.string_params_);
1433 if (from.search_logs_filename().size() > 0) {
1434 _internal_set_search_logs_filename(from._internal_search_logs_filename());
1436 if (from.detailed_solving_stats_filename().size() > 0) {
1437 _internal_set_detailed_solving_stats_filename(from._internal_detailed_solving_stats_filename());
1439 if (from.scip_model_filename().size() > 0) {
1440 _internal_set_scip_model_filename(from._internal_scip_model_filename());
1442 if (from.emphasis() != 0) {
1443 _internal_set_emphasis(from._internal_emphasis());
1445 cached_has_bits = from._has_bits_[0];
1446 if (cached_has_bits & 0x0000000fu) {
1447 if (cached_has_bits & 0x00000001u) {
1448 heuristics_ = from.heuristics_;
1450 if (cached_has_bits & 0x00000002u) {
1451 presolve_ = from.presolve_;
1453 if (cached_has_bits & 0x00000004u) {
1454 separating_ = from.separating_;
1456 if (cached_has_bits & 0x00000008u) {
1457 silence_output_ = from.silence_output_;
1459 _has_bits_[0] |= cached_has_bits;
1461 if (from.print_detailed_solving_stats() != 0) {
1462 _internal_set_print_detailed_solving_stats(from._internal_print_detailed_solving_stats());
1464 if (from.print_scip_model() != 0) {
1465 _internal_set_print_scip_model(from._internal_print_scip_model());
1467 if (cached_has_bits & 0x00000010u) {
1468 _internal_set_num_solutions(from._internal_num_solutions());
1472 void GScipParameters::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1474 if (&from ==
this)
return;
1479 void GScipParameters::CopyFrom(
const GScipParameters& from) {
1481 if (&from ==
this)
return;
1486 bool GScipParameters::IsInitialized()
const {
1490 void GScipParameters::InternalSwap(GScipParameters* other) {
1492 _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
1493 swap(_has_bits_[0], other->_has_bits_[0]);
1494 bool_params_.Swap(&other->bool_params_);
1495 int_params_.Swap(&other->int_params_);
1496 long_params_.Swap(&other->long_params_);
1497 real_params_.Swap(&other->real_params_);
1498 char_params_.Swap(&other->char_params_);
1499 string_params_.Swap(&other->string_params_);
1500 search_logs_filename_.Swap(&other->search_logs_filename_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1501 detailed_solving_stats_filename_.Swap(&other->detailed_solving_stats_filename_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1502 scip_model_filename_.Swap(&other->scip_model_filename_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1503 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1504 PROTOBUF_FIELD_OFFSET(GScipParameters, num_solutions_)
1505 +
sizeof(GScipParameters::num_solutions_)
1506 - PROTOBUF_FIELD_OFFSET(GScipParameters, emphasis_)>(
1507 reinterpret_cast<char*
>(&emphasis_),
1508 reinterpret_cast<char*
>(&other->emphasis_));
1511 ::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters::GetMetadata()
const {
1512 return GetMetadataStatic();
1522 GScipSolvingStats::GScipSolvingStats(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1523 : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
1525 RegisterArenaDtor(arena);
1528 GScipSolvingStats::GScipSolvingStats(
const GScipSolvingStats& from)
1529 : ::PROTOBUF_NAMESPACE_ID::Message() {
1530 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1531 ::memcpy(&best_objective_, &from.best_objective_,
1532 static_cast<size_t>(
reinterpret_cast<char*
>(&deterministic_time_) -
1533 reinterpret_cast<char*
>(&best_objective_)) +
sizeof(deterministic_time_));
1537 void GScipSolvingStats::SharedCtor() {
1538 ::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
1539 reinterpret_cast<char*
>(&best_objective_) -
reinterpret_cast<char*
>(
this)),
1540 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&deterministic_time_) -
1541 reinterpret_cast<char*
>(&best_objective_)) +
sizeof(deterministic_time_));
1544 GScipSolvingStats::~GScipSolvingStats() {
1547 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1550 void GScipSolvingStats::SharedDtor() {
1551 GOOGLE_DCHECK(GetArena() ==
nullptr);
1554 void GScipSolvingStats::ArenaDtor(
void*
object) {
1555 GScipSolvingStats* _this =
reinterpret_cast< GScipSolvingStats*
>(object);
1558 void GScipSolvingStats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1560 void GScipSolvingStats::SetCachedSize(
int size)
const {
1561 _cached_size_.Set(size);
1564 void GScipSolvingStats::Clear() {
1566 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1568 (void) cached_has_bits;
1570 ::memset(&best_objective_, 0,
static_cast<size_t>(
1571 reinterpret_cast<char*
>(&deterministic_time_) -
1572 reinterpret_cast<char*
>(&best_objective_)) +
sizeof(deterministic_time_));
1573 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1576 const char* GScipSolvingStats::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1577 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1578 while (!ctx->Done(&ptr)) {
1579 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1580 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1585 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 9)) {
1586 best_objective_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1587 ptr +=
sizeof(double);
1588 }
else goto handle_unusual;
1592 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 17)) {
1593 best_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1594 ptr +=
sizeof(double);
1595 }
else goto handle_unusual;
1599 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 24)) {
1600 primal_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1602 }
else goto handle_unusual;
1606 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 32)) {
1607 dual_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1609 }
else goto handle_unusual;
1613 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 40)) {
1614 total_lp_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1616 }
else goto handle_unusual;
1620 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 48)) {
1621 node_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1623 }
else goto handle_unusual;
1627 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 57)) {
1628 first_lp_relaxation_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1629 ptr +=
sizeof(double);
1630 }
else goto handle_unusual;
1634 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 65)) {
1635 root_node_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1636 ptr +=
sizeof(double);
1637 }
else goto handle_unusual;
1641 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 73)) {
1642 deterministic_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1643 ptr +=
sizeof(double);
1644 }
else goto handle_unusual;
1648 if ((tag & 7) == 4 || tag == 0) {
1649 ctx->SetLastTag(tag);
1652 ptr = UnknownFieldParse(tag,
1653 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1655 CHK_(ptr !=
nullptr);
1668 ::PROTOBUF_NAMESPACE_ID::uint8* GScipSolvingStats::_InternalSerialize(
1669 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
1671 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1672 (void) cached_has_bits;
1675 if (!(this->best_objective() <= 0 && this->best_objective() >= 0)) {
1676 target = stream->EnsureSpace(target);
1677 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_best_objective(), target);
1681 if (!(this->best_bound() <= 0 && this->best_bound() >= 0)) {
1682 target = stream->EnsureSpace(target);
1683 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_best_bound(), target);
1687 if (this->primal_simplex_iterations() != 0) {
1688 target = stream->EnsureSpace(target);
1689 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_primal_simplex_iterations(), target);
1693 if (this->dual_simplex_iterations() != 0) {
1694 target = stream->EnsureSpace(target);
1695 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->_internal_dual_simplex_iterations(), target);
1699 if (this->total_lp_iterations() != 0) {
1700 target = stream->EnsureSpace(target);
1701 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_total_lp_iterations(), target);
1705 if (this->node_count() != 0) {
1706 target = stream->EnsureSpace(target);
1707 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_node_count(), target);
1711 if (!(this->first_lp_relaxation_bound() <= 0 && this->first_lp_relaxation_bound() >= 0)) {
1712 target = stream->EnsureSpace(target);
1713 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(7, this->_internal_first_lp_relaxation_bound(), target);
1717 if (!(this->root_node_bound() <= 0 && this->root_node_bound() >= 0)) {
1718 target = stream->EnsureSpace(target);
1719 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(8, this->_internal_root_node_bound(), target);
1723 if (!(this->deterministic_time() <= 0 && this->deterministic_time() >= 0)) {
1724 target = stream->EnsureSpace(target);
1725 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(9, this->_internal_deterministic_time(), target);
1728 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1729 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1730 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1736 size_t GScipSolvingStats::ByteSizeLong()
const {
1738 size_t total_size = 0;
1740 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1742 (void) cached_has_bits;
1745 if (!(this->best_objective() <= 0 && this->best_objective() >= 0)) {
1746 total_size += 1 + 8;
1750 if (!(this->best_bound() <= 0 && this->best_bound() >= 0)) {
1751 total_size += 1 + 8;
1755 if (this->primal_simplex_iterations() != 0) {
1757 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1758 this->_internal_primal_simplex_iterations());
1762 if (this->dual_simplex_iterations() != 0) {
1764 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1765 this->_internal_dual_simplex_iterations());
1769 if (this->total_lp_iterations() != 0) {
1771 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1772 this->_internal_total_lp_iterations());
1776 if (this->node_count() != 0) {
1778 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
1779 this->_internal_node_count());
1783 if (!(this->first_lp_relaxation_bound() <= 0 && this->first_lp_relaxation_bound() >= 0)) {
1784 total_size += 1 + 8;
1788 if (!(this->root_node_bound() <= 0 && this->root_node_bound() >= 0)) {
1789 total_size += 1 + 8;
1793 if (!(this->deterministic_time() <= 0 && this->deterministic_time() >= 0)) {
1794 total_size += 1 + 8;
1797 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1798 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1799 _internal_metadata_, total_size, &_cached_size_);
1801 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1802 SetCachedSize(cached_size);
1806 void GScipSolvingStats::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1808 GOOGLE_DCHECK_NE(&from,
this);
1809 const GScipSolvingStats* source =
1810 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GScipSolvingStats>(
1812 if (source ==
nullptr) {
1814 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from,
this);
1821 void GScipSolvingStats::MergeFrom(
const GScipSolvingStats& from) {
1823 GOOGLE_DCHECK_NE(&from,
this);
1824 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1825 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1826 (void) cached_has_bits;
1828 if (!(from.best_objective() <= 0 && from.best_objective() >= 0)) {
1829 _internal_set_best_objective(from._internal_best_objective());
1831 if (!(from.best_bound() <= 0 && from.best_bound() >= 0)) {
1832 _internal_set_best_bound(from._internal_best_bound());
1834 if (from.primal_simplex_iterations() != 0) {
1835 _internal_set_primal_simplex_iterations(from._internal_primal_simplex_iterations());
1837 if (from.dual_simplex_iterations() != 0) {
1838 _internal_set_dual_simplex_iterations(from._internal_dual_simplex_iterations());
1840 if (from.total_lp_iterations() != 0) {
1841 _internal_set_total_lp_iterations(from._internal_total_lp_iterations());
1843 if (from.node_count() != 0) {
1844 _internal_set_node_count(from._internal_node_count());
1846 if (!(from.first_lp_relaxation_bound() <= 0 && from.first_lp_relaxation_bound() >= 0)) {
1847 _internal_set_first_lp_relaxation_bound(from._internal_first_lp_relaxation_bound());
1849 if (!(from.root_node_bound() <= 0 && from.root_node_bound() >= 0)) {
1850 _internal_set_root_node_bound(from._internal_root_node_bound());
1852 if (!(from.deterministic_time() <= 0 && from.deterministic_time() >= 0)) {
1853 _internal_set_deterministic_time(from._internal_deterministic_time());
1857 void GScipSolvingStats::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1859 if (&from ==
this)
return;
1864 void GScipSolvingStats::CopyFrom(
const GScipSolvingStats& from) {
1866 if (&from ==
this)
return;
1871 bool GScipSolvingStats::IsInitialized()
const {
1875 void GScipSolvingStats::InternalSwap(GScipSolvingStats* other) {
1877 _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
1878 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1879 PROTOBUF_FIELD_OFFSET(GScipSolvingStats, deterministic_time_)
1880 +
sizeof(GScipSolvingStats::deterministic_time_)
1881 - PROTOBUF_FIELD_OFFSET(GScipSolvingStats, best_objective_)>(
1882 reinterpret_cast<char*
>(&best_objective_),
1883 reinterpret_cast<char*
>(&other->best_objective_));
1886 ::PROTOBUF_NAMESPACE_ID::Metadata GScipSolvingStats::GetMetadata()
const {
1887 return GetMetadataStatic();
1895 static const ::operations_research::GScipSolvingStats& stats(
const GScipOutput* msg);
1898 const ::operations_research::GScipSolvingStats&
1900 return *msg->stats_;
1902 GScipOutput::GScipOutput(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1903 : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
1905 RegisterArenaDtor(arena);
1908 GScipOutput::GScipOutput(
const GScipOutput& from)
1909 : ::PROTOBUF_NAMESPACE_ID::Message() {
1910 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1911 status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1912 if (!from._internal_status_detail().empty()) {
1913 status_detail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_status_detail(),
1916 if (from._internal_has_stats()) {
1917 stats_ = new ::operations_research::GScipSolvingStats(*from.stats_);
1921 status_ = from.status_;
1925 void GScipOutput::SharedCtor() {
1926 status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1927 ::memset(
reinterpret_cast<char*
>(
this) +
static_cast<size_t>(
1928 reinterpret_cast<char*
>(&stats_) -
reinterpret_cast<char*
>(
this)),
1929 0,
static_cast<size_t>(
reinterpret_cast<char*
>(&status_) -
1930 reinterpret_cast<char*
>(&stats_)) +
sizeof(status_));
1933 GScipOutput::~GScipOutput() {
1936 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1939 void GScipOutput::SharedDtor() {
1940 GOOGLE_DCHECK(GetArena() ==
nullptr);
1941 status_detail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1942 if (
this != internal_default_instance())
delete stats_;
1945 void GScipOutput::ArenaDtor(
void*
object) {
1946 GScipOutput* _this =
reinterpret_cast< GScipOutput*
>(object);
1949 void GScipOutput::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1951 void GScipOutput::SetCachedSize(
int size)
const {
1952 _cached_size_.Set(size);
1955 void GScipOutput::Clear() {
1957 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1959 (void) cached_has_bits;
1961 status_detail_.ClearToEmpty();
1962 if (GetArena() ==
nullptr && stats_ !=
nullptr) {
1967 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1970 const char* GScipOutput::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1971 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1972 while (!ctx->Done(&ptr)) {
1973 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1974 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1979 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 8)) {
1980 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1983 }
else goto handle_unusual;
1987 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 18)) {
1988 auto str = _internal_mutable_status_detail();
1989 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1990 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str,
"operations_research.GScipOutput.status_detail"));
1992 }
else goto handle_unusual;
1996 if (PROTOBUF_PREDICT_TRUE(
static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag) == 26)) {
1997 ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr);
1999 }
else goto handle_unusual;
2003 if ((tag & 7) == 4 || tag == 0) {
2004 ctx->SetLastTag(tag);
2007 ptr = UnknownFieldParse(tag,
2008 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2010 CHK_(ptr !=
nullptr);
2023 ::PROTOBUF_NAMESPACE_ID::uint8* GScipOutput::_InternalSerialize(
2024 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream)
const {
2026 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2027 (void) cached_has_bits;
2030 if (this->status() != 0) {
2031 target = stream->EnsureSpace(target);
2032 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
2033 1, this->_internal_status(), target);
2037 if (this->status_detail().size() > 0) {
2038 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2039 this->_internal_status_detail().data(),
static_cast<int>(this->_internal_status_detail().length()),
2040 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2041 "operations_research.GScipOutput.status_detail");
2042 target = stream->WriteStringMaybeAliased(
2043 2, this->_internal_status_detail(), target);
2047 if (this->has_stats()) {
2048 target = stream->EnsureSpace(target);
2049 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2050 InternalWriteMessage(
2054 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2055 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2056 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2062 size_t GScipOutput::ByteSizeLong()
const {
2064 size_t total_size = 0;
2066 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2068 (void) cached_has_bits;
2071 if (this->status_detail().size() > 0) {
2073 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2074 this->_internal_status_detail());
2078 if (this->has_stats()) {
2080 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2085 if (this->status() != 0) {
2087 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
2090 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2091 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
2092 _internal_metadata_, total_size, &_cached_size_);
2094 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
2095 SetCachedSize(cached_size);
2099 void GScipOutput::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2101 GOOGLE_DCHECK_NE(&from,
this);
2102 const GScipOutput* source =
2103 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<GScipOutput>(
2105 if (source ==
nullptr) {
2107 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from,
this);
2114 void GScipOutput::MergeFrom(
const GScipOutput& from) {
2116 GOOGLE_DCHECK_NE(&from,
this);
2117 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2118 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
2119 (void) cached_has_bits;
2121 if (from.status_detail().size() > 0) {
2122 _internal_set_status_detail(from._internal_status_detail());
2124 if (from.has_stats()) {
2125 _internal_mutable_stats()->::operations_research::GScipSolvingStats::MergeFrom(from._internal_stats());
2127 if (from.status() != 0) {
2128 _internal_set_status(from._internal_status());
2132 void GScipOutput::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2134 if (&from ==
this)
return;
2139 void GScipOutput::CopyFrom(
const GScipOutput& from) {
2141 if (&from ==
this)
return;
2146 bool GScipOutput::IsInitialized()
const {
2150 void GScipOutput::InternalSwap(GScipOutput* other) {
2152 _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
2153 status_detail_.Swap(&other->status_detail_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
2154 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2155 PROTOBUF_FIELD_OFFSET(GScipOutput, status_)
2156 +
sizeof(GScipOutput::status_)
2157 - PROTOBUF_FIELD_OFFSET(GScipOutput, stats_)>(
2158 reinterpret_cast<char*
>(&stats_),
2159 reinterpret_cast<char*
>(&other->stats_));
2162 ::PROTOBUF_NAMESPACE_ID::Metadata GScipOutput::GetMetadata()
const {
2163 return GetMetadataStatic();
2169 PROTOBUF_NAMESPACE_OPEN
2171 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(arena);
2174 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(arena);
2177 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(arena);
2180 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(arena);
2183 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(arena);
2186 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(arena);
2189 return Arena::CreateMessageInternal< ::operations_research::GScipParameters >(arena);
2192 return Arena::CreateMessageInternal< ::operations_research::GScipSolvingStats >(arena);
2195 return Arena::CreateMessageInternal< ::operations_research::GScipOutput >(arena);
2197 PROTOBUF_NAMESPACE_CLOSE
2200 #include <google/protobuf/port_undef.inc>
static const ::operations_research::GScipSolvingStats & stats(const GScipOutput *msg)
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
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_NOINLINE ::operations_research::GScipParameters_RealParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_NOINLINE ::operations_research::GScipOutput * Arena::CreateMaybeMessage< ::operations_research::GScipOutput >(Arena *arena)
PROTOBUF_NOINLINE ::operations_research::GScipParameters * Arena::CreateMaybeMessage< ::operations_research::GScipParameters >(Arena *arena)
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fgscip_2fgscip_2eproto
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fgscip_2fgscip_2eproto[3]
PROTOBUF_ATTRIBUTE_WEAK ::PROTOBUF_NAMESPACE_ID::Metadata descriptor_table_ortools_2fgscip_2fgscip_2eproto_metadata_getter(int index)
PROTOBUF_NOINLINE ::operations_research::GScipParameters_IntParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_NOINLINE ::operations_research::GScipParameters_StringParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(Arena *arena)
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
PROTOBUF_NOINLINE ::operations_research::GScipParameters_CharParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_ortools_2fgscip_2fgscip_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fgscip_2fgscip_2eproto[9]
PROTOBUF_NOINLINE ::operations_research::GScipSolvingStats * Arena::CreateMaybeMessage< ::operations_research::GScipSolvingStats >(Arena *arena)
PROTOBUF_NOINLINE ::operations_research::GScipParameters_LongParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(Arena *arena)
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_BoolParamsEntry_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