OR-Tools  9.2
gscip.pb.cc
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: ortools/gscip/gscip.proto
3
5
6#include <algorithm>
7
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>
15// @@protoc_insertion_point(includes)
16#include <google/protobuf/port_def.inc>
17
18PROTOBUF_PRAGMA_INIT_SEG
19namespace operations_research {
21 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
24 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
26 union {
28 };
29};
32 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
35 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
37 union {
39 };
40};
43 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
46 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
48 union {
50 };
51};
54 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
57 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
59 union {
61 };
62};
65 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
68 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
70 union {
72 };
73};
76 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized){}
79 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
81 union {
83 };
84};
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)
97 , emphasis_(0)
98
99 , heuristics_(0)
100
101 , presolve_(0)
102
103 , separating_(0)
104
105 , silence_output_(false)
106 , print_detailed_solving_stats_(false)
107 , print_scip_model_(false)
108 , num_solutions_(0)
109 , objective_limit_(0){}
112 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
114 union {
116 };
117};
118PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParametersDefaultTypeInternal _GScipParameters_default_instance_;
120 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
121 : best_objective_(0)
122 , best_bound_(0)
123 , primal_simplex_iterations_(int64_t{0})
124 , dual_simplex_iterations_(int64_t{0})
125 , total_lp_iterations_(int64_t{0})
126 , node_count_(int64_t{0})
127 , first_lp_relaxation_bound_(0)
128 , root_node_bound_(0)
129 , deterministic_time_(0){}
132 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
134 union {
136 };
137};
138PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipSolvingStatsDefaultTypeInternal _GScipSolvingStats_default_instance_;
140 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
141 : status_detail_(&::PROTOBUF_NAMESPACE_ID::internal::fixed_address_empty_string)
142 , stats_(nullptr)
143 , status_(0)
144{}
147 : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
149 union {
151 };
152};
153PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipOutputDefaultTypeInternal _GScipOutput_default_instance_;
154} // namespace operations_research
155static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fgscip_2fgscip_2eproto[9];
156static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_ortools_2fgscip_2fgscip_2eproto[3];
157static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_ortools_2fgscip_2fgscip_2eproto = nullptr;
158
161 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters_BoolParamsEntry_DoNotUse, _internal_metadata_),
162 ~0u, // no _extensions_
163 ~0u, // no _oneof_case_
164 ~0u, // no _weak_field_map_
165 ~0u, // no _inlined_string_donated_
168 0,
169 1,
171 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters_IntParamsEntry_DoNotUse, _internal_metadata_),
172 ~0u, // no _extensions_
173 ~0u, // no _oneof_case_
174 ~0u, // no _weak_field_map_
175 ~0u, // no _inlined_string_donated_
178 0,
179 1,
181 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters_LongParamsEntry_DoNotUse, _internal_metadata_),
182 ~0u, // no _extensions_
183 ~0u, // no _oneof_case_
184 ~0u, // no _weak_field_map_
185 ~0u, // no _inlined_string_donated_
188 0,
189 1,
191 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters_RealParamsEntry_DoNotUse, _internal_metadata_),
192 ~0u, // no _extensions_
193 ~0u, // no _oneof_case_
194 ~0u, // no _weak_field_map_
195 ~0u, // no _inlined_string_donated_
198 0,
199 1,
201 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters_CharParamsEntry_DoNotUse, _internal_metadata_),
202 ~0u, // no _extensions_
203 ~0u, // no _oneof_case_
204 ~0u, // no _weak_field_map_
205 ~0u, // no _inlined_string_donated_
208 0,
209 1,
211 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters_StringParamsEntry_DoNotUse, _internal_metadata_),
212 ~0u, // no _extensions_
213 ~0u, // no _oneof_case_
214 ~0u, // no _weak_field_map_
215 ~0u, // no _inlined_string_donated_
218 0,
219 1,
220 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, _has_bits_),
221 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, _internal_metadata_),
222 ~0u, // no _extensions_
223 ~0u, // no _oneof_case_
224 ~0u, // no _weak_field_map_
225 ~0u, // no _inlined_string_donated_
226 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, emphasis_),
227 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, heuristics_),
228 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, presolve_),
229 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, separating_),
230 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, bool_params_),
231 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, int_params_),
232 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, long_params_),
233 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, real_params_),
234 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, char_params_),
235 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, string_params_),
236 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, silence_output_),
237 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, print_detailed_solving_stats_),
238 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, print_scip_model_),
239 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, search_logs_filename_),
240 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, detailed_solving_stats_filename_),
241 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, scip_model_filename_),
242 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, num_solutions_),
243 PROTOBUF_FIELD_OFFSET(::operations_research::GScipParameters, objective_limit_),
244 ~0u,
245 0,
246 1,
247 2,
248 ~0u,
249 ~0u,
250 ~0u,
251 ~0u,
252 ~0u,
253 ~0u,
254 3,
255 ~0u,
256 ~0u,
257 ~0u,
258 ~0u,
259 ~0u,
260 4,
261 5,
262 ~0u, // no _has_bits_
263 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, _internal_metadata_),
264 ~0u, // no _extensions_
265 ~0u, // no _oneof_case_
266 ~0u, // no _weak_field_map_
267 ~0u, // no _inlined_string_donated_
268 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, best_objective_),
269 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, best_bound_),
270 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, primal_simplex_iterations_),
271 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, dual_simplex_iterations_),
272 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, total_lp_iterations_),
273 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, node_count_),
274 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, first_lp_relaxation_bound_),
275 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, root_node_bound_),
276 PROTOBUF_FIELD_OFFSET(::operations_research::GScipSolvingStats, deterministic_time_),
277 ~0u, // no _has_bits_
278 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, _internal_metadata_),
279 ~0u, // no _extensions_
280 ~0u, // no _oneof_case_
281 ~0u, // no _weak_field_map_
282 ~0u, // no _inlined_string_donated_
283 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, status_),
284 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, status_detail_),
285 PROTOBUF_FIELD_OFFSET(::operations_research::GScipOutput, stats_),
286};
287static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
294 { 60, 84, -1, sizeof(::operations_research::GScipParameters)},
295 { 102, -1, -1, sizeof(::operations_research::GScipSolvingStats)},
296 { 117, -1, -1, sizeof(::operations_research::GScipOutput)},
297};
298
299static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
300 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_BoolParamsEntry_DoNotUse_default_instance_),
301 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_IntParamsEntry_DoNotUse_default_instance_),
302 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_LongParamsEntry_DoNotUse_default_instance_),
303 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_RealParamsEntry_DoNotUse_default_instance_),
304 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_CharParamsEntry_DoNotUse_default_instance_),
305 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_StringParamsEntry_DoNotUse_default_instance_),
306 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipParameters_default_instance_),
307 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipSolvingStats_default_instance_),
308 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::operations_research::_GScipOutput_default_instance_),
309};
310
311const char descriptor_table_protodef_ortools_2fgscip_2fgscip_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
312 "\n\031ortools/gscip/gscip.proto\022\023operations_"
313 "research\"\222\r\n\017GScipParameters\022\?\n\010emphasis"
314 "\030\001 \001(\0162-.operations_research.GScipParame"
315 "ters.Emphasis\022L\n\nheuristics\030\002 \001(\01623.oper"
316 "ations_research.GScipParameters.MetaPara"
317 "mValueH\000\210\001\001\022J\n\010presolve\030\003 \001(\01623.operatio"
318 "ns_research.GScipParameters.MetaParamVal"
319 "ueH\001\210\001\001\022L\n\nseparating\030\004 \001(\01623.operations"
320 "_research.GScipParameters.MetaParamValue"
321 "H\002\210\001\001\022I\n\013bool_params\030\005 \003(\01324.operations_"
322 "research.GScipParameters.BoolParamsEntry"
323 "\022G\n\nint_params\030\006 \003(\01323.operations_resear"
324 "ch.GScipParameters.IntParamsEntry\022I\n\013lon"
325 "g_params\030\007 \003(\01324.operations_research.GSc"
326 "ipParameters.LongParamsEntry\022I\n\013real_par"
327 "ams\030\010 \003(\01324.operations_research.GScipPar"
328 "ameters.RealParamsEntry\022I\n\013char_params\030\t"
329 " \003(\01324.operations_research.GScipParamete"
330 "rs.CharParamsEntry\022M\n\rstring_params\030\n \003("
331 "\01326.operations_research.GScipParameters."
332 "StringParamsEntry\022\033\n\016silence_output\030\013 \001("
333 "\010H\003\210\001\001\022$\n\034print_detailed_solving_stats\030\014"
334 " \001(\010\022\030\n\020print_scip_model\030\r \001(\010\022\034\n\024search"
335 "_logs_filename\030\016 \001(\t\022\'\n\037detailed_solving"
336 "_stats_filename\030\017 \001(\t\022\033\n\023scip_model_file"
337 "name\030\020 \001(\t\022\032\n\rnum_solutions\030\021 \001(\005H\004\210\001\001\022\034"
338 "\n\017objective_limit\030\022 \001(\001H\005\210\001\001\0321\n\017BoolPara"
339 "msEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\010:\0028\001\032"
340 "0\n\016IntParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
341 "\002 \001(\005:\0028\001\0321\n\017LongParamsEntry\022\013\n\003key\030\001 \001("
342 "\t\022\r\n\005value\030\002 \001(\003:\0028\001\0321\n\017RealParamsEntry\022"
343 "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\001:\0028\001\0321\n\017CharP"
344 "aramsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
345 "8\001\0323\n\021StringParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
346 "value\030\002 \001(\t:\0028\001\"\254\001\n\010Emphasis\022\024\n\020DEFAULT_"
347 "EMPHASIS\020\000\022\013\n\007COUNTER\020\001\022\r\n\tCP_SOLVER\020\002\022\014"
348 "\n\010EASY_CIP\020\003\022\017\n\013FEASIBILITY\020\004\022\013\n\007HARD_LP"
349 "\020\005\022\016\n\nOPTIMALITY\020\006\022\016\n\nPHASE_FEAS\020\007\022\021\n\rPH"
350 "ASE_IMPROVE\020\010\022\017\n\013PHASE_PROOF\020\t\"Q\n\016MetaPa"
351 "ramValue\022\034\n\030DEFAULT_META_PARAM_VALUE\020\000\022\016"
352 "\n\nAGGRESSIVE\020\001\022\010\n\004FAST\020\002\022\007\n\003OFF\020\003B\r\n\013_he"
353 "uristicsB\013\n\t_presolveB\r\n\013_separatingB\021\n\017"
354 "_silence_outputB\020\n\016_num_solutionsB\022\n\020_ob"
355 "jective_limit\"\214\002\n\021GScipSolvingStats\022\026\n\016b"
356 "est_objective\030\001 \001(\001\022\022\n\nbest_bound\030\002 \001(\001\022"
357 "!\n\031primal_simplex_iterations\030\003 \001(\003\022\037\n\027du"
358 "al_simplex_iterations\030\004 \001(\003\022\033\n\023total_lp_"
359 "iterations\030\005 \001(\003\022\022\n\nnode_count\030\006 \001(\003\022!\n\031"
360 "first_lp_relaxation_bound\030\007 \001(\001\022\027\n\017root_"
361 "node_bound\030\010 \001(\001\022\032\n\022deterministic_time\030\t"
362 " \001(\001\"\313\003\n\013GScipOutput\0227\n\006status\030\001 \001(\0162\'.o"
363 "perations_research.GScipOutput.Status\022\025\n"
364 "\rstatus_detail\030\002 \001(\t\0225\n\005stats\030\003 \001(\0132&.op"
365 "erations_research.GScipSolvingStats\"\264\002\n\006"
366 "Status\022\013\n\007UNKNOWN\020\000\022\022\n\016USER_INTERRUPT\020\001\022"
367 "\016\n\nNODE_LIMIT\020\002\022\024\n\020TOTAL_NODE_LIMIT\020\003\022\024\n"
368 "\020STALL_NODE_LIMIT\020\004\022\016\n\nTIME_LIMIT\020\005\022\r\n\tM"
369 "EM_LIMIT\020\006\022\r\n\tGAP_LIMIT\020\007\022\r\n\tSOL_LIMIT\020\010"
370 "\022\022\n\016BEST_SOL_LIMIT\020\t\022\021\n\rRESTART_LIMIT\020\n\022"
371 "\013\n\007OPTIMAL\020\013\022\016\n\nINFEASIBLE\020\014\022\r\n\tUNBOUNDE"
372 "D\020\r\022\017\n\013INF_OR_UNBD\020\016\022\r\n\tTERMINATE\020\017\022\035\n\031I"
373 "NVALID_SOLVER_PARAMETERS\020\020b\006proto3"
374 ;
375static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fgscip_2fgscip_2eproto_once;
376const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgscip_2fgscip_2eproto = {
377 false, false, 2474, descriptor_table_protodef_ortools_2fgscip_2fgscip_2eproto, "ortools/gscip/gscip.proto",
381};
382PROTOBUF_ATTRIBUTE_WEAK const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable* descriptor_table_ortools_2fgscip_2fgscip_2eproto_getter() {
384}
385
386// Force running AddDescriptors() at dynamic initialization time.
387PROTOBUF_ATTRIBUTE_INIT_PRIORITY static ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptorsRunner dynamic_init_dummy_ortools_2fgscip_2fgscip_2eproto(&descriptor_table_ortools_2fgscip_2fgscip_2eproto);
388namespace operations_research {
389const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GScipParameters_Emphasis_descriptor() {
390 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fgscip_2fgscip_2eproto);
392}
394 switch (value) {
395 case 0:
396 case 1:
397 case 2:
398 case 3:
399 case 4:
400 case 5:
401 case 6:
402 case 7:
403 case 8:
404 case 9:
405 return true;
406 default:
407 return false;
408 }
409}
410
411#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
425#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
426const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GScipParameters_MetaParamValue_descriptor() {
427 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fgscip_2fgscip_2eproto);
429}
431 switch (value) {
432 case 0:
433 case 1:
434 case 2:
435 case 3:
436 return true;
437 default:
438 return false;
439 }
440}
441
442#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
450#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
451const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GScipOutput_Status_descriptor() {
452 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2fgscip_2fgscip_2eproto);
454}
456 switch (value) {
457 case 0:
458 case 1:
459 case 2:
460 case 3:
461 case 4:
462 case 5:
463 case 6:
464 case 7:
465 case 8:
466 case 9:
467 case 10:
468 case 11:
469 case 12:
470 case 13:
471 case 14:
472 case 15:
473 case 16:
474 return true;
475 default:
476 return false;
477 }
478}
479
480#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
501#endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
502
503// ===================================================================
504
507 : SuperType(arena) {}
509 MergeFromInternal(other);
510}
511::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters_BoolParamsEntry_DoNotUse::GetMetadata() const {
512 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
515}
516
517// ===================================================================
518
521 : SuperType(arena) {}
523 MergeFromInternal(other);
524}
525::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters_IntParamsEntry_DoNotUse::GetMetadata() const {
526 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
529}
530
531// ===================================================================
532
535 : SuperType(arena) {}
537 MergeFromInternal(other);
538}
539::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters_LongParamsEntry_DoNotUse::GetMetadata() const {
540 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
543}
544
545// ===================================================================
546
549 : SuperType(arena) {}
551 MergeFromInternal(other);
552}
553::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters_RealParamsEntry_DoNotUse::GetMetadata() const {
554 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
557}
558
559// ===================================================================
560
563 : SuperType(arena) {}
565 MergeFromInternal(other);
566}
567::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters_CharParamsEntry_DoNotUse::GetMetadata() const {
568 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
571}
572
573// ===================================================================
574
577 : SuperType(arena) {}
579 MergeFromInternal(other);
580}
581::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters_StringParamsEntry_DoNotUse::GetMetadata() const {
582 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
585}
586
587// ===================================================================
588
590 public:
591 using HasBits = decltype(std::declval<GScipParameters>()._has_bits_);
592 static void set_has_heuristics(HasBits* has_bits) {
593 (*has_bits)[0] |= 1u;
594 }
595 static void set_has_presolve(HasBits* has_bits) {
596 (*has_bits)[0] |= 2u;
597 }
598 static void set_has_separating(HasBits* has_bits) {
599 (*has_bits)[0] |= 4u;
600 }
601 static void set_has_silence_output(HasBits* has_bits) {
602 (*has_bits)[0] |= 8u;
603 }
604 static void set_has_num_solutions(HasBits* has_bits) {
605 (*has_bits)[0] |= 16u;
606 }
607 static void set_has_objective_limit(HasBits* has_bits) {
608 (*has_bits)[0] |= 32u;
609 }
610};
611
612GScipParameters::GScipParameters(::PROTOBUF_NAMESPACE_ID::Arena* arena,
613 bool is_message_owned)
614 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned),
615 bool_params_(arena),
616 int_params_(arena),
617 long_params_(arena),
618 real_params_(arena),
619 char_params_(arena),
620 string_params_(arena) {
621 SharedCtor();
622 if (!is_message_owned) {
623 RegisterArenaDtor(arena);
624 }
625 // @@protoc_insertion_point(arena_constructor:operations_research.GScipParameters)
626}
628 : ::PROTOBUF_NAMESPACE_ID::Message(),
629 _has_bits_(from._has_bits_) {
630 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
631 bool_params_.MergeFrom(from.bool_params_);
632 int_params_.MergeFrom(from.int_params_);
633 long_params_.MergeFrom(from.long_params_);
634 real_params_.MergeFrom(from.real_params_);
635 char_params_.MergeFrom(from.char_params_);
636 string_params_.MergeFrom(from.string_params_);
637 search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
638 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
639 search_logs_filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
640 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
641 if (!from._internal_search_logs_filename().empty()) {
642 search_logs_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_search_logs_filename(),
643 GetArenaForAllocation());
644 }
645 detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
646 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
647 detailed_solving_stats_filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
648 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
649 if (!from._internal_detailed_solving_stats_filename().empty()) {
650 detailed_solving_stats_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_detailed_solving_stats_filename(),
651 GetArenaForAllocation());
652 }
653 scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
654 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
655 scip_model_filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
656 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
657 if (!from._internal_scip_model_filename().empty()) {
658 scip_model_filename_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_scip_model_filename(),
659 GetArenaForAllocation());
660 }
661 ::memcpy(&emphasis_, &from.emphasis_,
662 static_cast<size_t>(reinterpret_cast<char*>(&objective_limit_) -
663 reinterpret_cast<char*>(&emphasis_)) + sizeof(objective_limit_));
664 // @@protoc_insertion_point(copy_constructor:operations_research.GScipParameters)
665}
666
667inline void GScipParameters::SharedCtor() {
668search_logs_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
669#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
670 search_logs_filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
671#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
672detailed_solving_stats_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
673#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
674 detailed_solving_stats_filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
675#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
676scip_model_filename_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
677#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
678 scip_model_filename_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
679#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
680::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
681 reinterpret_cast<char*>(&emphasis_) - reinterpret_cast<char*>(this)),
682 0, static_cast<size_t>(reinterpret_cast<char*>(&objective_limit_) -
683 reinterpret_cast<char*>(&emphasis_)) + sizeof(objective_limit_));
684}
685
687 // @@protoc_insertion_point(destructor:operations_research.GScipParameters)
688 if (GetArenaForAllocation() != nullptr) return;
689 SharedDtor();
690 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
691}
692
693inline void GScipParameters::SharedDtor() {
694 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
695 search_logs_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
696 detailed_solving_stats_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
697 scip_model_filename_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
698}
699
700void GScipParameters::ArenaDtor(void* object) {
701 GScipParameters* _this = reinterpret_cast< GScipParameters* >(object);
702 (void)_this;
703 _this->bool_params_. ~MapField();
704 _this->int_params_. ~MapField();
705 _this->long_params_. ~MapField();
706 _this->real_params_. ~MapField();
707 _this->char_params_. ~MapField();
708 _this->string_params_. ~MapField();
709}
710inline void GScipParameters::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena) {
711 if (arena != nullptr) {
712 arena->OwnCustomDestructor(this, &GScipParameters::ArenaDtor);
713 }
714}
715void GScipParameters::SetCachedSize(int size) const {
716 _cached_size_.Set(size);
717}
718
720// @@protoc_insertion_point(message_clear_start:operations_research.GScipParameters)
721 uint32_t cached_has_bits = 0;
722 // Prevent compiler warnings about cached_has_bits being unused
723 (void) cached_has_bits;
724
725 bool_params_.Clear();
726 int_params_.Clear();
727 long_params_.Clear();
728 real_params_.Clear();
729 char_params_.Clear();
730 string_params_.Clear();
731 search_logs_filename_.ClearToEmpty();
732 detailed_solving_stats_filename_.ClearToEmpty();
733 scip_model_filename_.ClearToEmpty();
734 emphasis_ = 0;
735 cached_has_bits = _has_bits_[0];
736 if (cached_has_bits & 0x0000000fu) {
737 ::memset(&heuristics_, 0, static_cast<size_t>(
738 reinterpret_cast<char*>(&silence_output_) -
739 reinterpret_cast<char*>(&heuristics_)) + sizeof(silence_output_));
740 }
741 ::memset(&print_detailed_solving_stats_, 0, static_cast<size_t>(
742 reinterpret_cast<char*>(&print_scip_model_) -
743 reinterpret_cast<char*>(&print_detailed_solving_stats_)) + sizeof(print_scip_model_));
744 if (cached_has_bits & 0x00000030u) {
745 ::memset(&num_solutions_, 0, static_cast<size_t>(
746 reinterpret_cast<char*>(&objective_limit_) -
747 reinterpret_cast<char*>(&num_solutions_)) + sizeof(objective_limit_));
748 }
749 _has_bits_.Clear();
750 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
751}
752
753const char* GScipParameters::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
754#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
755 _Internal::HasBits has_bits{};
756 while (!ctx->Done(&ptr)) {
757 uint32_t tag;
758 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
759 switch (tag >> 3) {
760 // .operations_research.GScipParameters.Emphasis emphasis = 1;
761 case 1:
762 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
763 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
764 CHK_(ptr);
765 _internal_set_emphasis(static_cast<::operations_research::GScipParameters_Emphasis>(val));
766 } else
767 goto handle_unusual;
768 continue;
769 // optional .operations_research.GScipParameters.MetaParamValue heuristics = 2;
770 case 2:
771 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
772 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
773 CHK_(ptr);
774 _internal_set_heuristics(static_cast<::operations_research::GScipParameters_MetaParamValue>(val));
775 } else
776 goto handle_unusual;
777 continue;
778 // optional .operations_research.GScipParameters.MetaParamValue presolve = 3;
779 case 3:
780 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
781 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
782 CHK_(ptr);
783 _internal_set_presolve(static_cast<::operations_research::GScipParameters_MetaParamValue>(val));
784 } else
785 goto handle_unusual;
786 continue;
787 // optional .operations_research.GScipParameters.MetaParamValue separating = 4;
788 case 4:
789 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
790 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
791 CHK_(ptr);
792 _internal_set_separating(static_cast<::operations_research::GScipParameters_MetaParamValue>(val));
793 } else
794 goto handle_unusual;
795 continue;
796 // map<string, bool> bool_params = 5;
797 case 5:
798 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
799 ptr -= 1;
800 do {
801 ptr += 1;
802 ptr = ctx->ParseMessage(&bool_params_, ptr);
803 CHK_(ptr);
804 if (!ctx->DataAvailable(ptr)) break;
805 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<42>(ptr));
806 } else
807 goto handle_unusual;
808 continue;
809 // map<string, int32> int_params = 6;
810 case 6:
811 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 50)) {
812 ptr -= 1;
813 do {
814 ptr += 1;
815 ptr = ctx->ParseMessage(&int_params_, ptr);
816 CHK_(ptr);
817 if (!ctx->DataAvailable(ptr)) break;
818 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
819 } else
820 goto handle_unusual;
821 continue;
822 // map<string, int64> long_params = 7;
823 case 7:
824 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
825 ptr -= 1;
826 do {
827 ptr += 1;
828 ptr = ctx->ParseMessage(&long_params_, ptr);
829 CHK_(ptr);
830 if (!ctx->DataAvailable(ptr)) break;
831 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
832 } else
833 goto handle_unusual;
834 continue;
835 // map<string, double> real_params = 8;
836 case 8:
837 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
838 ptr -= 1;
839 do {
840 ptr += 1;
841 ptr = ctx->ParseMessage(&real_params_, ptr);
842 CHK_(ptr);
843 if (!ctx->DataAvailable(ptr)) break;
844 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
845 } else
846 goto handle_unusual;
847 continue;
848 // map<string, string> char_params = 9;
849 case 9:
850 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
851 ptr -= 1;
852 do {
853 ptr += 1;
854 ptr = ctx->ParseMessage(&char_params_, ptr);
855 CHK_(ptr);
856 if (!ctx->DataAvailable(ptr)) break;
857 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<74>(ptr));
858 } else
859 goto handle_unusual;
860 continue;
861 // map<string, string> string_params = 10;
862 case 10:
863 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
864 ptr -= 1;
865 do {
866 ptr += 1;
867 ptr = ctx->ParseMessage(&string_params_, ptr);
868 CHK_(ptr);
869 if (!ctx->DataAvailable(ptr)) break;
870 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<82>(ptr));
871 } else
872 goto handle_unusual;
873 continue;
874 // optional bool silence_output = 11;
875 case 11:
876 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 88)) {
878 silence_output_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
879 CHK_(ptr);
880 } else
881 goto handle_unusual;
882 continue;
883 // bool print_detailed_solving_stats = 12;
884 case 12:
885 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 96)) {
886 print_detailed_solving_stats_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
887 CHK_(ptr);
888 } else
889 goto handle_unusual;
890 continue;
891 // bool print_scip_model = 13;
892 case 13:
893 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 104)) {
894 print_scip_model_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
895 CHK_(ptr);
896 } else
897 goto handle_unusual;
898 continue;
899 // string search_logs_filename = 14;
900 case 14:
901 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) {
902 auto str = _internal_mutable_search_logs_filename();
903 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
904 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.GScipParameters.search_logs_filename"));
905 CHK_(ptr);
906 } else
907 goto handle_unusual;
908 continue;
909 // string detailed_solving_stats_filename = 15;
910 case 15:
911 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
912 auto str = _internal_mutable_detailed_solving_stats_filename();
913 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
914 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.GScipParameters.detailed_solving_stats_filename"));
915 CHK_(ptr);
916 } else
917 goto handle_unusual;
918 continue;
919 // string scip_model_filename = 16;
920 case 16:
921 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 130)) {
922 auto str = _internal_mutable_scip_model_filename();
923 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
924 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.GScipParameters.scip_model_filename"));
925 CHK_(ptr);
926 } else
927 goto handle_unusual;
928 continue;
929 // optional int32 num_solutions = 17;
930 case 17:
931 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 136)) {
933 num_solutions_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
934 CHK_(ptr);
935 } else
936 goto handle_unusual;
937 continue;
938 // optional double objective_limit = 18;
939 case 18:
940 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 145)) {
942 objective_limit_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
943 ptr += sizeof(double);
944 } else
945 goto handle_unusual;
946 continue;
947 default:
948 goto handle_unusual;
949 } // switch
950 handle_unusual:
951 if ((tag == 0) || ((tag & 7) == 4)) {
952 CHK_(ptr);
953 ctx->SetLastTag(tag);
954 goto message_done;
955 }
956 ptr = UnknownFieldParse(
957 tag,
958 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
959 ptr, ctx);
960 CHK_(ptr != nullptr);
961 } // while
962message_done:
963 _has_bits_.Or(has_bits);
964 return ptr;
965failure:
966 ptr = nullptr;
967 goto message_done;
968#undef CHK_
969}
970
972 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
973 // @@protoc_insertion_point(serialize_to_array_start:operations_research.GScipParameters)
974 uint32_t cached_has_bits = 0;
975 (void) cached_has_bits;
976
977 // .operations_research.GScipParameters.Emphasis emphasis = 1;
978 if (this->_internal_emphasis() != 0) {
979 target = stream->EnsureSpace(target);
980 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
981 1, this->_internal_emphasis(), target);
982 }
983
984 // optional .operations_research.GScipParameters.MetaParamValue heuristics = 2;
985 if (_internal_has_heuristics()) {
986 target = stream->EnsureSpace(target);
987 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
988 2, this->_internal_heuristics(), target);
989 }
990
991 // optional .operations_research.GScipParameters.MetaParamValue presolve = 3;
992 if (_internal_has_presolve()) {
993 target = stream->EnsureSpace(target);
994 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
995 3, this->_internal_presolve(), target);
996 }
997
998 // optional .operations_research.GScipParameters.MetaParamValue separating = 4;
999 if (_internal_has_separating()) {
1000 target = stream->EnsureSpace(target);
1001 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
1002 4, this->_internal_separating(), target);
1003 }
1004
1005 // map<string, bool> bool_params = 5;
1006 if (!this->_internal_bool_params().empty()) {
1007 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_pointer
1008 ConstPtr;
1009 typedef ConstPtr SortItem;
1010 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1011 struct Utf8Check {
1012 static void Check(ConstPtr p) {
1013 (void)p;
1014 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1015 p->first.data(), static_cast<int>(p->first.length()),
1016 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1017 "operations_research.GScipParameters.BoolParamsEntry.key");
1018 }
1019 };
1020
1021 if (stream->IsSerializationDeterministic() &&
1022 this->_internal_bool_params().size() > 1) {
1023 ::std::unique_ptr<SortItem[]> items(
1024 new SortItem[this->_internal_bool_params().size()]);
1025 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::size_type size_type;
1026 size_type n = 0;
1027 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1028 it = this->_internal_bool_params().begin();
1029 it != this->_internal_bool_params().end(); ++it, ++n) {
1030 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1031 }
1032 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1033 for (size_type i = 0; i < n; i++) {
1034 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1035 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1036 }
1037 } else {
1038 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1039 it = this->_internal_bool_params().begin();
1040 it != this->_internal_bool_params().end(); ++it) {
1041 target = GScipParameters_BoolParamsEntry_DoNotUse::Funcs::InternalSerialize(5, it->first, it->second, target, stream);
1042 Utf8Check::Check(&(*it));
1043 }
1044 }
1045 }
1046
1047 // map<string, int32> int_params = 6;
1048 if (!this->_internal_int_params().empty()) {
1049 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >::const_pointer
1050 ConstPtr;
1051 typedef ConstPtr SortItem;
1052 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1053 struct Utf8Check {
1054 static void Check(ConstPtr p) {
1055 (void)p;
1056 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1057 p->first.data(), static_cast<int>(p->first.length()),
1058 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1059 "operations_research.GScipParameters.IntParamsEntry.key");
1060 }
1061 };
1062
1063 if (stream->IsSerializationDeterministic() &&
1064 this->_internal_int_params().size() > 1) {
1065 ::std::unique_ptr<SortItem[]> items(
1066 new SortItem[this->_internal_int_params().size()]);
1067 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >::size_type size_type;
1068 size_type n = 0;
1069 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >::const_iterator
1070 it = this->_internal_int_params().begin();
1071 it != this->_internal_int_params().end(); ++it, ++n) {
1072 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1073 }
1074 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1075 for (size_type i = 0; i < n; i++) {
1076 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1077 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1078 }
1079 } else {
1080 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >::const_iterator
1081 it = this->_internal_int_params().begin();
1082 it != this->_internal_int_params().end(); ++it) {
1083 target = GScipParameters_IntParamsEntry_DoNotUse::Funcs::InternalSerialize(6, it->first, it->second, target, stream);
1084 Utf8Check::Check(&(*it));
1085 }
1086 }
1087 }
1088
1089 // map<string, int64> long_params = 7;
1090 if (!this->_internal_long_params().empty()) {
1091 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, int64_t >::const_pointer
1092 ConstPtr;
1093 typedef ConstPtr SortItem;
1094 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1095 struct Utf8Check {
1096 static void Check(ConstPtr p) {
1097 (void)p;
1098 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1099 p->first.data(), static_cast<int>(p->first.length()),
1100 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1101 "operations_research.GScipParameters.LongParamsEntry.key");
1102 }
1103 };
1104
1105 if (stream->IsSerializationDeterministic() &&
1106 this->_internal_long_params().size() > 1) {
1107 ::std::unique_ptr<SortItem[]> items(
1108 new SortItem[this->_internal_long_params().size()]);
1109 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, int64_t >::size_type size_type;
1110 size_type n = 0;
1111 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, int64_t >::const_iterator
1112 it = this->_internal_long_params().begin();
1113 it != this->_internal_long_params().end(); ++it, ++n) {
1114 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1115 }
1116 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1117 for (size_type i = 0; i < n; i++) {
1118 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1119 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1120 }
1121 } else {
1122 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, int64_t >::const_iterator
1123 it = this->_internal_long_params().begin();
1124 it != this->_internal_long_params().end(); ++it) {
1125 target = GScipParameters_LongParamsEntry_DoNotUse::Funcs::InternalSerialize(7, it->first, it->second, target, stream);
1126 Utf8Check::Check(&(*it));
1127 }
1128 }
1129 }
1130
1131 // map<string, double> real_params = 8;
1132 if (!this->_internal_real_params().empty()) {
1133 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_pointer
1134 ConstPtr;
1135 typedef ConstPtr SortItem;
1136 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1137 struct Utf8Check {
1138 static void Check(ConstPtr p) {
1139 (void)p;
1140 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1141 p->first.data(), static_cast<int>(p->first.length()),
1142 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1143 "operations_research.GScipParameters.RealParamsEntry.key");
1144 }
1145 };
1146
1147 if (stream->IsSerializationDeterministic() &&
1148 this->_internal_real_params().size() > 1) {
1149 ::std::unique_ptr<SortItem[]> items(
1150 new SortItem[this->_internal_real_params().size()]);
1151 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::size_type size_type;
1152 size_type n = 0;
1153 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1154 it = this->_internal_real_params().begin();
1155 it != this->_internal_real_params().end(); ++it, ++n) {
1156 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1157 }
1158 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1159 for (size_type i = 0; i < n; i++) {
1160 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1161 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1162 }
1163 } else {
1164 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1165 it = this->_internal_real_params().begin();
1166 it != this->_internal_real_params().end(); ++it) {
1167 target = GScipParameters_RealParamsEntry_DoNotUse::Funcs::InternalSerialize(8, it->first, it->second, target, stream);
1168 Utf8Check::Check(&(*it));
1169 }
1170 }
1171 }
1172
1173 // map<string, string> char_params = 9;
1174 if (!this->_internal_char_params().empty()) {
1175 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1176 ConstPtr;
1177 typedef ConstPtr SortItem;
1178 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1179 struct Utf8Check {
1180 static void Check(ConstPtr p) {
1181 (void)p;
1182 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1183 p->first.data(), static_cast<int>(p->first.length()),
1184 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1185 "operations_research.GScipParameters.CharParamsEntry.key");
1186 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1187 p->second.data(), static_cast<int>(p->second.length()),
1188 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1189 "operations_research.GScipParameters.CharParamsEntry.value");
1190 }
1191 };
1192
1193 if (stream->IsSerializationDeterministic() &&
1194 this->_internal_char_params().size() > 1) {
1195 ::std::unique_ptr<SortItem[]> items(
1196 new SortItem[this->_internal_char_params().size()]);
1197 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1198 size_type n = 0;
1199 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1200 it = this->_internal_char_params().begin();
1201 it != this->_internal_char_params().end(); ++it, ++n) {
1202 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1203 }
1204 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1205 for (size_type i = 0; i < n; i++) {
1206 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1207 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1208 }
1209 } else {
1210 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1211 it = this->_internal_char_params().begin();
1212 it != this->_internal_char_params().end(); ++it) {
1213 target = GScipParameters_CharParamsEntry_DoNotUse::Funcs::InternalSerialize(9, it->first, it->second, target, stream);
1214 Utf8Check::Check(&(*it));
1215 }
1216 }
1217 }
1218
1219 // map<string, string> string_params = 10;
1220 if (!this->_internal_string_params().empty()) {
1221 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_pointer
1222 ConstPtr;
1223 typedef ConstPtr SortItem;
1224 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst<SortItem> Less;
1225 struct Utf8Check {
1226 static void Check(ConstPtr p) {
1227 (void)p;
1228 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1229 p->first.data(), static_cast<int>(p->first.length()),
1230 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1231 "operations_research.GScipParameters.StringParamsEntry.key");
1232 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1233 p->second.data(), static_cast<int>(p->second.length()),
1234 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1235 "operations_research.GScipParameters.StringParamsEntry.value");
1236 }
1237 };
1238
1239 if (stream->IsSerializationDeterministic() &&
1240 this->_internal_string_params().size() > 1) {
1241 ::std::unique_ptr<SortItem[]> items(
1242 new SortItem[this->_internal_string_params().size()]);
1243 typedef ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::size_type size_type;
1244 size_type n = 0;
1245 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1246 it = this->_internal_string_params().begin();
1247 it != this->_internal_string_params().end(); ++it, ++n) {
1248 items[static_cast<ptrdiff_t>(n)] = SortItem(&*it);
1249 }
1250 ::std::sort(&items[0], &items[static_cast<ptrdiff_t>(n)], Less());
1251 for (size_type i = 0; i < n; i++) {
1252 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream);
1253 Utf8Check::Check(&(*items[static_cast<ptrdiff_t>(i)]));
1254 }
1255 } else {
1256 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1257 it = this->_internal_string_params().begin();
1258 it != this->_internal_string_params().end(); ++it) {
1259 target = GScipParameters_StringParamsEntry_DoNotUse::Funcs::InternalSerialize(10, it->first, it->second, target, stream);
1260 Utf8Check::Check(&(*it));
1261 }
1262 }
1263 }
1264
1265 // optional bool silence_output = 11;
1266 if (_internal_has_silence_output()) {
1267 target = stream->EnsureSpace(target);
1268 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_silence_output(), target);
1269 }
1270
1271 // bool print_detailed_solving_stats = 12;
1272 if (this->_internal_print_detailed_solving_stats() != 0) {
1273 target = stream->EnsureSpace(target);
1274 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_print_detailed_solving_stats(), target);
1275 }
1276
1277 // bool print_scip_model = 13;
1278 if (this->_internal_print_scip_model() != 0) {
1279 target = stream->EnsureSpace(target);
1280 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(13, this->_internal_print_scip_model(), target);
1281 }
1282
1283 // string search_logs_filename = 14;
1284 if (!this->_internal_search_logs_filename().empty()) {
1285 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1286 this->_internal_search_logs_filename().data(), static_cast<int>(this->_internal_search_logs_filename().length()),
1287 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1288 "operations_research.GScipParameters.search_logs_filename");
1289 target = stream->WriteStringMaybeAliased(
1290 14, this->_internal_search_logs_filename(), target);
1291 }
1292
1293 // string detailed_solving_stats_filename = 15;
1294 if (!this->_internal_detailed_solving_stats_filename().empty()) {
1295 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1296 this->_internal_detailed_solving_stats_filename().data(), static_cast<int>(this->_internal_detailed_solving_stats_filename().length()),
1297 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1298 "operations_research.GScipParameters.detailed_solving_stats_filename");
1299 target = stream->WriteStringMaybeAliased(
1300 15, this->_internal_detailed_solving_stats_filename(), target);
1301 }
1302
1303 // string scip_model_filename = 16;
1304 if (!this->_internal_scip_model_filename().empty()) {
1305 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1306 this->_internal_scip_model_filename().data(), static_cast<int>(this->_internal_scip_model_filename().length()),
1307 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1308 "operations_research.GScipParameters.scip_model_filename");
1309 target = stream->WriteStringMaybeAliased(
1310 16, this->_internal_scip_model_filename(), target);
1311 }
1312
1313 // optional int32 num_solutions = 17;
1314 if (_internal_has_num_solutions()) {
1315 target = stream->EnsureSpace(target);
1316 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(17, this->_internal_num_solutions(), target);
1317 }
1318
1319 // optional double objective_limit = 18;
1320 if (_internal_has_objective_limit()) {
1321 target = stream->EnsureSpace(target);
1322 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(18, this->_internal_objective_limit(), target);
1323 }
1324
1325 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1326 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1327 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1328 }
1329 // @@protoc_insertion_point(serialize_to_array_end:operations_research.GScipParameters)
1330 return target;
1331}
1332
1334// @@protoc_insertion_point(message_byte_size_start:operations_research.GScipParameters)
1335 size_t total_size = 0;
1336
1337 uint32_t cached_has_bits = 0;
1338 // Prevent compiler warnings about cached_has_bits being unused
1339 (void) cached_has_bits;
1340
1341 // map<string, bool> bool_params = 5;
1342 total_size += 1 *
1343 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_bool_params_size());
1344 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, bool >::const_iterator
1345 it = this->_internal_bool_params().begin();
1346 it != this->_internal_bool_params().end(); ++it) {
1347 total_size += GScipParameters_BoolParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1348 }
1349
1350 // map<string, int32> int_params = 6;
1351 total_size += 1 *
1352 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_int_params_size());
1353 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, int32_t >::const_iterator
1354 it = this->_internal_int_params().begin();
1355 it != this->_internal_int_params().end(); ++it) {
1356 total_size += GScipParameters_IntParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1357 }
1358
1359 // map<string, int64> long_params = 7;
1360 total_size += 1 *
1361 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_long_params_size());
1362 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, int64_t >::const_iterator
1363 it = this->_internal_long_params().begin();
1364 it != this->_internal_long_params().end(); ++it) {
1365 total_size += GScipParameters_LongParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1366 }
1367
1368 // map<string, double> real_params = 8;
1369 total_size += 1 *
1370 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_real_params_size());
1371 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, double >::const_iterator
1372 it = this->_internal_real_params().begin();
1373 it != this->_internal_real_params().end(); ++it) {
1374 total_size += GScipParameters_RealParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1375 }
1376
1377 // map<string, string> char_params = 9;
1378 total_size += 1 *
1379 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_char_params_size());
1380 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1381 it = this->_internal_char_params().begin();
1382 it != this->_internal_char_params().end(); ++it) {
1383 total_size += GScipParameters_CharParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1384 }
1385
1386 // map<string, string> string_params = 10;
1387 total_size += 1 *
1388 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_string_params_size());
1389 for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
1390 it = this->_internal_string_params().begin();
1391 it != this->_internal_string_params().end(); ++it) {
1392 total_size += GScipParameters_StringParamsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
1393 }
1394
1395 // string search_logs_filename = 14;
1396 if (!this->_internal_search_logs_filename().empty()) {
1397 total_size += 1 +
1398 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1399 this->_internal_search_logs_filename());
1400 }
1401
1402 // string detailed_solving_stats_filename = 15;
1403 if (!this->_internal_detailed_solving_stats_filename().empty()) {
1404 total_size += 1 +
1405 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1406 this->_internal_detailed_solving_stats_filename());
1407 }
1408
1409 // string scip_model_filename = 16;
1410 if (!this->_internal_scip_model_filename().empty()) {
1411 total_size += 2 +
1412 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1413 this->_internal_scip_model_filename());
1414 }
1415
1416 // .operations_research.GScipParameters.Emphasis emphasis = 1;
1417 if (this->_internal_emphasis() != 0) {
1418 total_size += 1 +
1419 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_emphasis());
1420 }
1421
1422 cached_has_bits = _has_bits_[0];
1423 if (cached_has_bits & 0x0000000fu) {
1424 // optional .operations_research.GScipParameters.MetaParamValue heuristics = 2;
1425 if (cached_has_bits & 0x00000001u) {
1426 total_size += 1 +
1427 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_heuristics());
1428 }
1429
1430 // optional .operations_research.GScipParameters.MetaParamValue presolve = 3;
1431 if (cached_has_bits & 0x00000002u) {
1432 total_size += 1 +
1433 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_presolve());
1434 }
1435
1436 // optional .operations_research.GScipParameters.MetaParamValue separating = 4;
1437 if (cached_has_bits & 0x00000004u) {
1438 total_size += 1 +
1439 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_separating());
1440 }
1441
1442 // optional bool silence_output = 11;
1443 if (cached_has_bits & 0x00000008u) {
1444 total_size += 1 + 1;
1445 }
1446
1447 }
1448 // bool print_detailed_solving_stats = 12;
1449 if (this->_internal_print_detailed_solving_stats() != 0) {
1450 total_size += 1 + 1;
1451 }
1452
1453 // bool print_scip_model = 13;
1454 if (this->_internal_print_scip_model() != 0) {
1455 total_size += 1 + 1;
1456 }
1457
1458 if (cached_has_bits & 0x00000030u) {
1459 // optional int32 num_solutions = 17;
1460 if (cached_has_bits & 0x00000010u) {
1461 total_size += 2 +
1462 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
1463 this->_internal_num_solutions());
1464 }
1465
1466 // optional double objective_limit = 18;
1467 if (cached_has_bits & 0x00000020u) {
1468 total_size += 2 + 8;
1469 }
1470
1471 }
1472 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
1473}
1474
1475const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GScipParameters::_class_data_ = {
1476 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1477 GScipParameters::MergeImpl
1478};
1479const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GScipParameters::GetClassData() const { return &_class_data_; }
1480
1481void GScipParameters::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
1482 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1483 static_cast<GScipParameters *>(to)->MergeFrom(
1484 static_cast<const GScipParameters &>(from));
1485}
1486
1487
1489// @@protoc_insertion_point(class_specific_merge_from_start:operations_research.GScipParameters)
1490 GOOGLE_DCHECK_NE(&from, this);
1491 uint32_t cached_has_bits = 0;
1492 (void) cached_has_bits;
1493
1494 bool_params_.MergeFrom(from.bool_params_);
1495 int_params_.MergeFrom(from.int_params_);
1496 long_params_.MergeFrom(from.long_params_);
1497 real_params_.MergeFrom(from.real_params_);
1498 char_params_.MergeFrom(from.char_params_);
1499 string_params_.MergeFrom(from.string_params_);
1500 if (!from._internal_search_logs_filename().empty()) {
1501 _internal_set_search_logs_filename(from._internal_search_logs_filename());
1502 }
1503 if (!from._internal_detailed_solving_stats_filename().empty()) {
1504 _internal_set_detailed_solving_stats_filename(from._internal_detailed_solving_stats_filename());
1505 }
1506 if (!from._internal_scip_model_filename().empty()) {
1507 _internal_set_scip_model_filename(from._internal_scip_model_filename());
1508 }
1509 if (from._internal_emphasis() != 0) {
1510 _internal_set_emphasis(from._internal_emphasis());
1511 }
1512 cached_has_bits = from._has_bits_[0];
1513 if (cached_has_bits & 0x0000000fu) {
1514 if (cached_has_bits & 0x00000001u) {
1515 heuristics_ = from.heuristics_;
1516 }
1517 if (cached_has_bits & 0x00000002u) {
1518 presolve_ = from.presolve_;
1519 }
1520 if (cached_has_bits & 0x00000004u) {
1521 separating_ = from.separating_;
1522 }
1523 if (cached_has_bits & 0x00000008u) {
1524 silence_output_ = from.silence_output_;
1525 }
1526 _has_bits_[0] |= cached_has_bits;
1527 }
1528 if (from._internal_print_detailed_solving_stats() != 0) {
1529 _internal_set_print_detailed_solving_stats(from._internal_print_detailed_solving_stats());
1530 }
1531 if (from._internal_print_scip_model() != 0) {
1532 _internal_set_print_scip_model(from._internal_print_scip_model());
1533 }
1534 if (cached_has_bits & 0x00000030u) {
1535 if (cached_has_bits & 0x00000010u) {
1536 num_solutions_ = from.num_solutions_;
1537 }
1538 if (cached_has_bits & 0x00000020u) {
1539 objective_limit_ = from.objective_limit_;
1540 }
1541 _has_bits_[0] |= cached_has_bits;
1542 }
1543 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1544}
1545
1547// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.GScipParameters)
1548 if (&from == this) return;
1549 Clear();
1550 MergeFrom(from);
1551}
1552
1554 return true;
1555}
1556
1557void GScipParameters::InternalSwap(GScipParameters* other) {
1558 using std::swap;
1559 auto* lhs_arena = GetArenaForAllocation();
1560 auto* rhs_arena = other->GetArenaForAllocation();
1561 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1562 swap(_has_bits_[0], other->_has_bits_[0]);
1563 bool_params_.InternalSwap(&other->bool_params_);
1564 int_params_.InternalSwap(&other->int_params_);
1565 long_params_.InternalSwap(&other->long_params_);
1566 real_params_.InternalSwap(&other->real_params_);
1567 char_params_.InternalSwap(&other->char_params_);
1568 string_params_.InternalSwap(&other->string_params_);
1569 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1570 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1571 &search_logs_filename_, lhs_arena,
1572 &other->search_logs_filename_, rhs_arena
1573 );
1574 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1575 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1576 &detailed_solving_stats_filename_, lhs_arena,
1577 &other->detailed_solving_stats_filename_, rhs_arena
1578 );
1579 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
1580 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1581 &scip_model_filename_, lhs_arena,
1582 &other->scip_model_filename_, rhs_arena
1583 );
1584 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1585 PROTOBUF_FIELD_OFFSET(GScipParameters, objective_limit_)
1586 + sizeof(GScipParameters::objective_limit_)
1587 - PROTOBUF_FIELD_OFFSET(GScipParameters, emphasis_)>(
1588 reinterpret_cast<char*>(&emphasis_),
1589 reinterpret_cast<char*>(&other->emphasis_));
1590}
1591
1592::PROTOBUF_NAMESPACE_ID::Metadata GScipParameters::GetMetadata() const {
1593 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
1596}
1597
1598// ===================================================================
1599
1601 public:
1602};
1603
1604GScipSolvingStats::GScipSolvingStats(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1605 bool is_message_owned)
1606 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1607 SharedCtor();
1608 if (!is_message_owned) {
1609 RegisterArenaDtor(arena);
1610 }
1611 // @@protoc_insertion_point(arena_constructor:operations_research.GScipSolvingStats)
1612}
1614 : ::PROTOBUF_NAMESPACE_ID::Message() {
1615 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1616 ::memcpy(&best_objective_, &from.best_objective_,
1617 static_cast<size_t>(reinterpret_cast<char*>(&deterministic_time_) -
1618 reinterpret_cast<char*>(&best_objective_)) + sizeof(deterministic_time_));
1619 // @@protoc_insertion_point(copy_constructor:operations_research.GScipSolvingStats)
1620}
1621
1622inline void GScipSolvingStats::SharedCtor() {
1623::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
1624 reinterpret_cast<char*>(&best_objective_) - reinterpret_cast<char*>(this)),
1625 0, static_cast<size_t>(reinterpret_cast<char*>(&deterministic_time_) -
1626 reinterpret_cast<char*>(&best_objective_)) + sizeof(deterministic_time_));
1627}
1628
1630 // @@protoc_insertion_point(destructor:operations_research.GScipSolvingStats)
1631 if (GetArenaForAllocation() != nullptr) return;
1632 SharedDtor();
1633 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1634}
1635
1636inline void GScipSolvingStats::SharedDtor() {
1637 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1638}
1639
1640void GScipSolvingStats::ArenaDtor(void* object) {
1641 GScipSolvingStats* _this = reinterpret_cast< GScipSolvingStats* >(object);
1642 (void)_this;
1643}
1644void GScipSolvingStats::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1645}
1646void GScipSolvingStats::SetCachedSize(int size) const {
1647 _cached_size_.Set(size);
1648}
1649
1651// @@protoc_insertion_point(message_clear_start:operations_research.GScipSolvingStats)
1652 uint32_t cached_has_bits = 0;
1653 // Prevent compiler warnings about cached_has_bits being unused
1654 (void) cached_has_bits;
1655
1656 ::memset(&best_objective_, 0, static_cast<size_t>(
1657 reinterpret_cast<char*>(&deterministic_time_) -
1658 reinterpret_cast<char*>(&best_objective_)) + sizeof(deterministic_time_));
1659 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1660}
1661
1662const char* GScipSolvingStats::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1663#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1664 while (!ctx->Done(&ptr)) {
1665 uint32_t tag;
1666 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1667 switch (tag >> 3) {
1668 // double best_objective = 1;
1669 case 1:
1670 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 9)) {
1671 best_objective_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1672 ptr += sizeof(double);
1673 } else
1674 goto handle_unusual;
1675 continue;
1676 // double best_bound = 2;
1677 case 2:
1678 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 17)) {
1679 best_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1680 ptr += sizeof(double);
1681 } else
1682 goto handle_unusual;
1683 continue;
1684 // int64 primal_simplex_iterations = 3;
1685 case 3:
1686 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
1687 primal_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1688 CHK_(ptr);
1689 } else
1690 goto handle_unusual;
1691 continue;
1692 // int64 dual_simplex_iterations = 4;
1693 case 4:
1694 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
1695 dual_simplex_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1696 CHK_(ptr);
1697 } else
1698 goto handle_unusual;
1699 continue;
1700 // int64 total_lp_iterations = 5;
1701 case 5:
1702 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
1703 total_lp_iterations_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1704 CHK_(ptr);
1705 } else
1706 goto handle_unusual;
1707 continue;
1708 // int64 node_count = 6;
1709 case 6:
1710 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 48)) {
1711 node_count_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1712 CHK_(ptr);
1713 } else
1714 goto handle_unusual;
1715 continue;
1716 // double first_lp_relaxation_bound = 7;
1717 case 7:
1718 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 57)) {
1719 first_lp_relaxation_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1720 ptr += sizeof(double);
1721 } else
1722 goto handle_unusual;
1723 continue;
1724 // double root_node_bound = 8;
1725 case 8:
1726 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 65)) {
1727 root_node_bound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1728 ptr += sizeof(double);
1729 } else
1730 goto handle_unusual;
1731 continue;
1732 // double deterministic_time = 9;
1733 case 9:
1734 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 73)) {
1735 deterministic_time_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr);
1736 ptr += sizeof(double);
1737 } else
1738 goto handle_unusual;
1739 continue;
1740 default:
1741 goto handle_unusual;
1742 } // switch
1743 handle_unusual:
1744 if ((tag == 0) || ((tag & 7) == 4)) {
1745 CHK_(ptr);
1746 ctx->SetLastTag(tag);
1747 goto message_done;
1748 }
1749 ptr = UnknownFieldParse(
1750 tag,
1751 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1752 ptr, ctx);
1753 CHK_(ptr != nullptr);
1754 } // while
1755message_done:
1756 return ptr;
1757failure:
1758 ptr = nullptr;
1759 goto message_done;
1760#undef CHK_
1761}
1762
1764 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1765 // @@protoc_insertion_point(serialize_to_array_start:operations_research.GScipSolvingStats)
1766 uint32_t cached_has_bits = 0;
1767 (void) cached_has_bits;
1768
1769 // double best_objective = 1;
1770 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1771 double tmp_best_objective = this->_internal_best_objective();
1772 uint64_t raw_best_objective;
1773 memcpy(&raw_best_objective, &tmp_best_objective, sizeof(tmp_best_objective));
1774 if (raw_best_objective != 0) {
1775 target = stream->EnsureSpace(target);
1776 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_best_objective(), target);
1777 }
1778
1779 // double best_bound = 2;
1780 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1781 double tmp_best_bound = this->_internal_best_bound();
1782 uint64_t raw_best_bound;
1783 memcpy(&raw_best_bound, &tmp_best_bound, sizeof(tmp_best_bound));
1784 if (raw_best_bound != 0) {
1785 target = stream->EnsureSpace(target);
1786 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_best_bound(), target);
1787 }
1788
1789 // int64 primal_simplex_iterations = 3;
1790 if (this->_internal_primal_simplex_iterations() != 0) {
1791 target = stream->EnsureSpace(target);
1792 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->_internal_primal_simplex_iterations(), target);
1793 }
1794
1795 // int64 dual_simplex_iterations = 4;
1796 if (this->_internal_dual_simplex_iterations() != 0) {
1797 target = stream->EnsureSpace(target);
1798 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->_internal_dual_simplex_iterations(), target);
1799 }
1800
1801 // int64 total_lp_iterations = 5;
1802 if (this->_internal_total_lp_iterations() != 0) {
1803 target = stream->EnsureSpace(target);
1804 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->_internal_total_lp_iterations(), target);
1805 }
1806
1807 // int64 node_count = 6;
1808 if (this->_internal_node_count() != 0) {
1809 target = stream->EnsureSpace(target);
1810 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(6, this->_internal_node_count(), target);
1811 }
1812
1813 // double first_lp_relaxation_bound = 7;
1814 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1815 double tmp_first_lp_relaxation_bound = this->_internal_first_lp_relaxation_bound();
1816 uint64_t raw_first_lp_relaxation_bound;
1817 memcpy(&raw_first_lp_relaxation_bound, &tmp_first_lp_relaxation_bound, sizeof(tmp_first_lp_relaxation_bound));
1818 if (raw_first_lp_relaxation_bound != 0) {
1819 target = stream->EnsureSpace(target);
1820 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(7, this->_internal_first_lp_relaxation_bound(), target);
1821 }
1822
1823 // double root_node_bound = 8;
1824 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1825 double tmp_root_node_bound = this->_internal_root_node_bound();
1826 uint64_t raw_root_node_bound;
1827 memcpy(&raw_root_node_bound, &tmp_root_node_bound, sizeof(tmp_root_node_bound));
1828 if (raw_root_node_bound != 0) {
1829 target = stream->EnsureSpace(target);
1830 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(8, this->_internal_root_node_bound(), target);
1831 }
1832
1833 // double deterministic_time = 9;
1834 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1835 double tmp_deterministic_time = this->_internal_deterministic_time();
1836 uint64_t raw_deterministic_time;
1837 memcpy(&raw_deterministic_time, &tmp_deterministic_time, sizeof(tmp_deterministic_time));
1838 if (raw_deterministic_time != 0) {
1839 target = stream->EnsureSpace(target);
1840 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(9, this->_internal_deterministic_time(), target);
1841 }
1842
1843 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1844 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1845 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1846 }
1847 // @@protoc_insertion_point(serialize_to_array_end:operations_research.GScipSolvingStats)
1848 return target;
1849}
1850
1852// @@protoc_insertion_point(message_byte_size_start:operations_research.GScipSolvingStats)
1853 size_t total_size = 0;
1854
1855 uint32_t cached_has_bits = 0;
1856 // Prevent compiler warnings about cached_has_bits being unused
1857 (void) cached_has_bits;
1858
1859 // double best_objective = 1;
1860 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1861 double tmp_best_objective = this->_internal_best_objective();
1862 uint64_t raw_best_objective;
1863 memcpy(&raw_best_objective, &tmp_best_objective, sizeof(tmp_best_objective));
1864 if (raw_best_objective != 0) {
1865 total_size += 1 + 8;
1866 }
1867
1868 // double best_bound = 2;
1869 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1870 double tmp_best_bound = this->_internal_best_bound();
1871 uint64_t raw_best_bound;
1872 memcpy(&raw_best_bound, &tmp_best_bound, sizeof(tmp_best_bound));
1873 if (raw_best_bound != 0) {
1874 total_size += 1 + 8;
1875 }
1876
1877 // int64 primal_simplex_iterations = 3;
1878 if (this->_internal_primal_simplex_iterations() != 0) {
1879 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_primal_simplex_iterations());
1880 }
1881
1882 // int64 dual_simplex_iterations = 4;
1883 if (this->_internal_dual_simplex_iterations() != 0) {
1884 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_dual_simplex_iterations());
1885 }
1886
1887 // int64 total_lp_iterations = 5;
1888 if (this->_internal_total_lp_iterations() != 0) {
1889 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_total_lp_iterations());
1890 }
1891
1892 // int64 node_count = 6;
1893 if (this->_internal_node_count() != 0) {
1894 total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64SizePlusOne(this->_internal_node_count());
1895 }
1896
1897 // double first_lp_relaxation_bound = 7;
1898 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1899 double tmp_first_lp_relaxation_bound = this->_internal_first_lp_relaxation_bound();
1900 uint64_t raw_first_lp_relaxation_bound;
1901 memcpy(&raw_first_lp_relaxation_bound, &tmp_first_lp_relaxation_bound, sizeof(tmp_first_lp_relaxation_bound));
1902 if (raw_first_lp_relaxation_bound != 0) {
1903 total_size += 1 + 8;
1904 }
1905
1906 // double root_node_bound = 8;
1907 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1908 double tmp_root_node_bound = this->_internal_root_node_bound();
1909 uint64_t raw_root_node_bound;
1910 memcpy(&raw_root_node_bound, &tmp_root_node_bound, sizeof(tmp_root_node_bound));
1911 if (raw_root_node_bound != 0) {
1912 total_size += 1 + 8;
1913 }
1914
1915 // double deterministic_time = 9;
1916 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1917 double tmp_deterministic_time = this->_internal_deterministic_time();
1918 uint64_t raw_deterministic_time;
1919 memcpy(&raw_deterministic_time, &tmp_deterministic_time, sizeof(tmp_deterministic_time));
1920 if (raw_deterministic_time != 0) {
1921 total_size += 1 + 8;
1922 }
1923
1924 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
1925}
1926
1927const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GScipSolvingStats::_class_data_ = {
1928 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
1929 GScipSolvingStats::MergeImpl
1930};
1931const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GScipSolvingStats::GetClassData() const { return &_class_data_; }
1932
1933void GScipSolvingStats::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
1934 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1935 static_cast<GScipSolvingStats *>(to)->MergeFrom(
1936 static_cast<const GScipSolvingStats &>(from));
1937}
1938
1939
1941// @@protoc_insertion_point(class_specific_merge_from_start:operations_research.GScipSolvingStats)
1942 GOOGLE_DCHECK_NE(&from, this);
1943 uint32_t cached_has_bits = 0;
1944 (void) cached_has_bits;
1945
1946 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1947 double tmp_best_objective = from._internal_best_objective();
1948 uint64_t raw_best_objective;
1949 memcpy(&raw_best_objective, &tmp_best_objective, sizeof(tmp_best_objective));
1950 if (raw_best_objective != 0) {
1951 _internal_set_best_objective(from._internal_best_objective());
1952 }
1953 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1954 double tmp_best_bound = from._internal_best_bound();
1955 uint64_t raw_best_bound;
1956 memcpy(&raw_best_bound, &tmp_best_bound, sizeof(tmp_best_bound));
1957 if (raw_best_bound != 0) {
1958 _internal_set_best_bound(from._internal_best_bound());
1959 }
1960 if (from._internal_primal_simplex_iterations() != 0) {
1961 _internal_set_primal_simplex_iterations(from._internal_primal_simplex_iterations());
1962 }
1963 if (from._internal_dual_simplex_iterations() != 0) {
1964 _internal_set_dual_simplex_iterations(from._internal_dual_simplex_iterations());
1965 }
1966 if (from._internal_total_lp_iterations() != 0) {
1967 _internal_set_total_lp_iterations(from._internal_total_lp_iterations());
1968 }
1969 if (from._internal_node_count() != 0) {
1970 _internal_set_node_count(from._internal_node_count());
1971 }
1972 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1973 double tmp_first_lp_relaxation_bound = from._internal_first_lp_relaxation_bound();
1974 uint64_t raw_first_lp_relaxation_bound;
1975 memcpy(&raw_first_lp_relaxation_bound, &tmp_first_lp_relaxation_bound, sizeof(tmp_first_lp_relaxation_bound));
1976 if (raw_first_lp_relaxation_bound != 0) {
1977 _internal_set_first_lp_relaxation_bound(from._internal_first_lp_relaxation_bound());
1978 }
1979 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1980 double tmp_root_node_bound = from._internal_root_node_bound();
1981 uint64_t raw_root_node_bound;
1982 memcpy(&raw_root_node_bound, &tmp_root_node_bound, sizeof(tmp_root_node_bound));
1983 if (raw_root_node_bound != 0) {
1984 _internal_set_root_node_bound(from._internal_root_node_bound());
1985 }
1986 static_assert(sizeof(uint64_t) == sizeof(double), "Code assumes uint64_t and double are the same size.");
1987 double tmp_deterministic_time = from._internal_deterministic_time();
1988 uint64_t raw_deterministic_time;
1989 memcpy(&raw_deterministic_time, &tmp_deterministic_time, sizeof(tmp_deterministic_time));
1990 if (raw_deterministic_time != 0) {
1991 _internal_set_deterministic_time(from._internal_deterministic_time());
1992 }
1993 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1994}
1995
1997// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.GScipSolvingStats)
1998 if (&from == this) return;
1999 Clear();
2000 MergeFrom(from);
2001}
2002
2004 return true;
2005}
2006
2007void GScipSolvingStats::InternalSwap(GScipSolvingStats* other) {
2008 using std::swap;
2009 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2010 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2011 PROTOBUF_FIELD_OFFSET(GScipSolvingStats, deterministic_time_)
2012 + sizeof(GScipSolvingStats::deterministic_time_)
2013 - PROTOBUF_FIELD_OFFSET(GScipSolvingStats, best_objective_)>(
2014 reinterpret_cast<char*>(&best_objective_),
2015 reinterpret_cast<char*>(&other->best_objective_));
2016}
2017
2018::PROTOBUF_NAMESPACE_ID::Metadata GScipSolvingStats::GetMetadata() const {
2019 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
2022}
2023
2024// ===================================================================
2025
2027 public:
2028 static const ::operations_research::GScipSolvingStats& stats(const GScipOutput* msg);
2029};
2030
2031const ::operations_research::GScipSolvingStats&
2033 return *msg->stats_;
2034}
2035GScipOutput::GScipOutput(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2036 bool is_message_owned)
2037 : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2038 SharedCtor();
2039 if (!is_message_owned) {
2040 RegisterArenaDtor(arena);
2041 }
2042 // @@protoc_insertion_point(arena_constructor:operations_research.GScipOutput)
2043}
2045 : ::PROTOBUF_NAMESPACE_ID::Message() {
2046 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2047 status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2048 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2049 status_detail_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
2050 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2051 if (!from._internal_status_detail().empty()) {
2052 status_detail_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, from._internal_status_detail(),
2053 GetArenaForAllocation());
2054 }
2055 if (from._internal_has_stats()) {
2056 stats_ = new ::operations_research::GScipSolvingStats(*from.stats_);
2057 } else {
2058 stats_ = nullptr;
2059 }
2060 status_ = from.status_;
2061 // @@protoc_insertion_point(copy_constructor:operations_research.GScipOutput)
2062}
2063
2064inline void GScipOutput::SharedCtor() {
2065status_detail_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2066#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2067 status_detail_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
2068#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2069::memset(reinterpret_cast<char*>(this) + static_cast<size_t>(
2070 reinterpret_cast<char*>(&stats_) - reinterpret_cast<char*>(this)),
2071 0, static_cast<size_t>(reinterpret_cast<char*>(&status_) -
2072 reinterpret_cast<char*>(&stats_)) + sizeof(status_));
2073}
2074
2076 // @@protoc_insertion_point(destructor:operations_research.GScipOutput)
2077 if (GetArenaForAllocation() != nullptr) return;
2078 SharedDtor();
2079 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2080}
2081
2082inline void GScipOutput::SharedDtor() {
2083 GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2084 status_detail_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2085 if (this != internal_default_instance()) delete stats_;
2086}
2087
2088void GScipOutput::ArenaDtor(void* object) {
2089 GScipOutput* _this = reinterpret_cast< GScipOutput* >(object);
2090 (void)_this;
2091}
2092void GScipOutput::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
2093}
2094void GScipOutput::SetCachedSize(int size) const {
2095 _cached_size_.Set(size);
2096}
2097
2099// @@protoc_insertion_point(message_clear_start:operations_research.GScipOutput)
2100 uint32_t cached_has_bits = 0;
2101 // Prevent compiler warnings about cached_has_bits being unused
2102 (void) cached_has_bits;
2103
2104 status_detail_.ClearToEmpty();
2105 if (GetArenaForAllocation() == nullptr && stats_ != nullptr) {
2106 delete stats_;
2107 }
2108 stats_ = nullptr;
2109 status_ = 0;
2110 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2111}
2112
2113const char* GScipOutput::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
2114#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2115 while (!ctx->Done(&ptr)) {
2116 uint32_t tag;
2117 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
2118 switch (tag >> 3) {
2119 // .operations_research.GScipOutput.Status status = 1;
2120 case 1:
2121 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
2122 uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2123 CHK_(ptr);
2124 _internal_set_status(static_cast<::operations_research::GScipOutput_Status>(val));
2125 } else
2126 goto handle_unusual;
2127 continue;
2128 // string status_detail = 2;
2129 case 2:
2130 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
2131 auto str = _internal_mutable_status_detail();
2132 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
2133 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "operations_research.GScipOutput.status_detail"));
2134 CHK_(ptr);
2135 } else
2136 goto handle_unusual;
2137 continue;
2138 // .operations_research.GScipSolvingStats stats = 3;
2139 case 3:
2140 if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
2141 ptr = ctx->ParseMessage(_internal_mutable_stats(), ptr);
2142 CHK_(ptr);
2143 } else
2144 goto handle_unusual;
2145 continue;
2146 default:
2147 goto handle_unusual;
2148 } // switch
2149 handle_unusual:
2150 if ((tag == 0) || ((tag & 7) == 4)) {
2151 CHK_(ptr);
2152 ctx->SetLastTag(tag);
2153 goto message_done;
2154 }
2155 ptr = UnknownFieldParse(
2156 tag,
2157 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2158 ptr, ctx);
2159 CHK_(ptr != nullptr);
2160 } // while
2161message_done:
2162 return ptr;
2163failure:
2164 ptr = nullptr;
2165 goto message_done;
2166#undef CHK_
2167}
2168
2170 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2171 // @@protoc_insertion_point(serialize_to_array_start:operations_research.GScipOutput)
2172 uint32_t cached_has_bits = 0;
2173 (void) cached_has_bits;
2174
2175 // .operations_research.GScipOutput.Status status = 1;
2176 if (this->_internal_status() != 0) {
2177 target = stream->EnsureSpace(target);
2178 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
2179 1, this->_internal_status(), target);
2180 }
2181
2182 // string status_detail = 2;
2183 if (!this->_internal_status_detail().empty()) {
2184 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
2185 this->_internal_status_detail().data(), static_cast<int>(this->_internal_status_detail().length()),
2186 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
2187 "operations_research.GScipOutput.status_detail");
2188 target = stream->WriteStringMaybeAliased(
2189 2, this->_internal_status_detail(), target);
2190 }
2191
2192 // .operations_research.GScipSolvingStats stats = 3;
2193 if (this->_internal_has_stats()) {
2194 target = stream->EnsureSpace(target);
2195 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2196 InternalWriteMessage(
2197 3, _Internal::stats(this), target, stream);
2198 }
2199
2200 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2201 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
2202 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2203 }
2204 // @@protoc_insertion_point(serialize_to_array_end:operations_research.GScipOutput)
2205 return target;
2206}
2207
2209// @@protoc_insertion_point(message_byte_size_start:operations_research.GScipOutput)
2210 size_t total_size = 0;
2211
2212 uint32_t cached_has_bits = 0;
2213 // Prevent compiler warnings about cached_has_bits being unused
2214 (void) cached_has_bits;
2215
2216 // string status_detail = 2;
2217 if (!this->_internal_status_detail().empty()) {
2218 total_size += 1 +
2219 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
2220 this->_internal_status_detail());
2221 }
2222
2223 // .operations_research.GScipSolvingStats stats = 3;
2224 if (this->_internal_has_stats()) {
2225 total_size += 1 +
2226 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2227 *stats_);
2228 }
2229
2230 // .operations_research.GScipOutput.Status status = 1;
2231 if (this->_internal_status() != 0) {
2232 total_size += 1 +
2233 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_status());
2234 }
2235
2236 return MaybeComputeUnknownFieldsSize(total_size, &_cached_size_);
2237}
2238
2239const ::PROTOBUF_NAMESPACE_ID::Message::ClassData GScipOutput::_class_data_ = {
2240 ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSizeCheck,
2241 GScipOutput::MergeImpl
2242};
2243const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GScipOutput::GetClassData() const { return &_class_data_; }
2244
2245void GScipOutput::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to,
2246 const ::PROTOBUF_NAMESPACE_ID::Message& from) {
2247 static_cast<GScipOutput *>(to)->MergeFrom(
2248 static_cast<const GScipOutput &>(from));
2249}
2250
2251
2253// @@protoc_insertion_point(class_specific_merge_from_start:operations_research.GScipOutput)
2254 GOOGLE_DCHECK_NE(&from, this);
2255 uint32_t cached_has_bits = 0;
2256 (void) cached_has_bits;
2257
2258 if (!from._internal_status_detail().empty()) {
2259 _internal_set_status_detail(from._internal_status_detail());
2260 }
2261 if (from._internal_has_stats()) {
2262 _internal_mutable_stats()->::operations_research::GScipSolvingStats::MergeFrom(from._internal_stats());
2263 }
2264 if (from._internal_status() != 0) {
2265 _internal_set_status(from._internal_status());
2266 }
2267 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2268}
2269
2271// @@protoc_insertion_point(class_specific_copy_from_start:operations_research.GScipOutput)
2272 if (&from == this) return;
2273 Clear();
2274 MergeFrom(from);
2275}
2276
2278 return true;
2279}
2280
2281void GScipOutput::InternalSwap(GScipOutput* other) {
2282 using std::swap;
2283 auto* lhs_arena = GetArenaForAllocation();
2284 auto* rhs_arena = other->GetArenaForAllocation();
2285 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2286 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
2287 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2288 &status_detail_, lhs_arena,
2289 &other->status_detail_, rhs_arena
2290 );
2291 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
2292 PROTOBUF_FIELD_OFFSET(GScipOutput, status_)
2293 + sizeof(GScipOutput::status_)
2294 - PROTOBUF_FIELD_OFFSET(GScipOutput, stats_)>(
2295 reinterpret_cast<char*>(&stats_),
2296 reinterpret_cast<char*>(&other->stats_));
2297}
2298
2299::PROTOBUF_NAMESPACE_ID::Metadata GScipOutput::GetMetadata() const {
2300 return ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(
2303}
2304
2305// @@protoc_insertion_point(namespace_scope)
2306} // namespace operations_research
2307PROTOBUF_NAMESPACE_OPEN
2308template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(Arena* arena) {
2309 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(arena);
2310}
2311template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters_IntParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(Arena* arena) {
2312 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(arena);
2313}
2314template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters_LongParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(Arena* arena) {
2315 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(arena);
2316}
2317template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters_RealParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(Arena* arena) {
2318 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(arena);
2319}
2320template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters_CharParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(Arena* arena) {
2321 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(arena);
2322}
2323template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters_StringParamsEntry_DoNotUse* Arena::CreateMaybeMessage< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(Arena* arena) {
2324 return Arena::CreateMessageInternal< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(arena);
2325}
2326template<> PROTOBUF_NOINLINE ::operations_research::GScipParameters* Arena::CreateMaybeMessage< ::operations_research::GScipParameters >(Arena* arena) {
2327 return Arena::CreateMessageInternal< ::operations_research::GScipParameters >(arena);
2328}
2329template<> PROTOBUF_NOINLINE ::operations_research::GScipSolvingStats* Arena::CreateMaybeMessage< ::operations_research::GScipSolvingStats >(Arena* arena) {
2330 return Arena::CreateMessageInternal< ::operations_research::GScipSolvingStats >(arena);
2331}
2332template<> PROTOBUF_NOINLINE ::operations_research::GScipOutput* Arena::CreateMaybeMessage< ::operations_research::GScipOutput >(Arena* arena) {
2333 return Arena::CreateMessageInternal< ::operations_research::GScipOutput >(arena);
2334}
2335PROTOBUF_NAMESPACE_CLOSE
2336
2337// @@protoc_insertion_point(global_scope)
2338#include <google/protobuf/port_undef.inc>
static const ::operations_research::GScipSolvingStats & stats(const GScipOutput *msg)
Definition: gscip.pb.cc:2032
static constexpr Status TOTAL_NODE_LIMIT
Definition: gscip.pb.h:1244
static constexpr Status BEST_SOL_LIMIT
Definition: gscip.pb.h:1256
static constexpr Status Status_MAX
Definition: gscip.pb.h:1277
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition: gscip.pb.cc:2113
static constexpr Status Status_MIN
Definition: gscip.pb.h:1275
static const ClassData _class_data_
Definition: gscip.pb.h:1230
static constexpr Status UNBOUNDED
Definition: gscip.pb.h:1264
static constexpr Status INF_OR_UNBD
Definition: gscip.pb.h:1266
static constexpr Status SOL_LIMIT
Definition: gscip.pb.h:1254
static constexpr Status STALL_NODE_LIMIT
Definition: gscip.pb.h:1246
static constexpr Status TERMINATE
Definition: gscip.pb.h:1268
bool IsInitialized() const final
Definition: gscip.pb.cc:2277
static constexpr Status GAP_LIMIT
Definition: gscip.pb.h:1252
static constexpr Status RESTART_LIMIT
Definition: gscip.pb.h:1258
static constexpr Status USER_INTERRUPT
Definition: gscip.pb.h:1240
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: gscip.pb.cc:2098
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition: gscip.pb.cc:2243
static const GScipOutput * internal_default_instance()
Definition: gscip.pb.h:1161
static constexpr Status TIME_LIMIT
Definition: gscip.pb.h:1248
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:2299
static constexpr int Status_ARRAYSIZE
Definition: gscip.pb.h:1279
static constexpr Status INVALID_SOLVER_PARAMETERS
Definition: gscip.pb.h:1270
void MergeFrom(const GScipOutput &from)
Definition: gscip.pb.cc:2252
void CopyFrom(const GScipOutput &from)
Definition: gscip.pb.cc:2270
static constexpr Status NODE_LIMIT
Definition: gscip.pb.h:1242
static constexpr Status INFEASIBLE
Definition: gscip.pb.h:1262
static constexpr Status MEM_LIMIT
Definition: gscip.pb.h:1250
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition: gscip.pb.cc:2169
static constexpr Status OPTIMAL
Definition: gscip.pb.h:1260
size_t ByteSizeLong() const final
Definition: gscip.pb.cc:2208
static constexpr Status UNKNOWN
Definition: gscip.pb.h:1238
decltype(std::declval< GScipParameters >()._has_bits_) HasBits
Definition: gscip.pb.cc:591
static void set_has_silence_output(HasBits *has_bits)
Definition: gscip.pb.cc:601
static void set_has_heuristics(HasBits *has_bits)
Definition: gscip.pb.cc:592
static void set_has_objective_limit(HasBits *has_bits)
Definition: gscip.pb.cc:607
static void set_has_presolve(HasBits *has_bits)
Definition: gscip.pb.cc:595
static void set_has_num_solutions(HasBits *has_bits)
Definition: gscip.pb.cc:604
static void set_has_separating(HasBits *has_bits)
Definition: gscip.pb.cc:598
Definition: gscip.pb.h:207
void MergeFrom(const GScipParameters_BoolParamsEntry_DoNotUse &other)
Definition: gscip.pb.cc:508
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:511
::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
Definition: gscip.pb.h:212
GScipParameters_BoolParamsEntry_DoNotUse()
Definition: gscip.pb.cc:505
Definition: gscip.pb.h:307
void MergeFrom(const GScipParameters_CharParamsEntry_DoNotUse &other)
Definition: gscip.pb.cc:564
GScipParameters_CharParamsEntry_DoNotUse()
Definition: gscip.pb.cc:561
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:567
::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
Definition: gscip.pb.h:312
Definition: gscip.pb.h:232
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_IntParamsEntry_DoNotUse, std::string, int32_t, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32 > SuperType
Definition: gscip.pb.h:237
GScipParameters_IntParamsEntry_DoNotUse()
Definition: gscip.pb.cc:519
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:525
void MergeFrom(const GScipParameters_IntParamsEntry_DoNotUse &other)
Definition: gscip.pb.cc:522
Definition: gscip.pb.h:257
void MergeFrom(const GScipParameters_LongParamsEntry_DoNotUse &other)
Definition: gscip.pb.cc:536
GScipParameters_LongParamsEntry_DoNotUse()
Definition: gscip.pb.cc:533
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:539
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< GScipParameters_LongParamsEntry_DoNotUse, std::string, int64_t, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64 > SuperType
Definition: gscip.pb.h:262
Definition: gscip.pb.h:282
GScipParameters_RealParamsEntry_DoNotUse()
Definition: gscip.pb.cc:547
void MergeFrom(const GScipParameters_RealParamsEntry_DoNotUse &other)
Definition: gscip.pb.cc:550
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:553
::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
Definition: gscip.pb.h:287
Definition: gscip.pb.h:334
void MergeFrom(const GScipParameters_StringParamsEntry_DoNotUse &other)
Definition: gscip.pb.cc:578
::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
Definition: gscip.pb.h:339
GScipParameters_StringParamsEntry_DoNotUse()
Definition: gscip.pb.cc:575
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:581
static constexpr Emphasis PHASE_IMPROVE
Definition: gscip.pb.h:495
static constexpr MetaParamValue MetaParamValue_MAX
Definition: gscip.pb.h:538
static constexpr int Emphasis_ARRAYSIZE
Definition: gscip.pb.h:506
static constexpr Emphasis FEASIBILITY
Definition: gscip.pb.h:487
static constexpr int MetaParamValue_ARRAYSIZE
Definition: gscip.pb.h:540
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition: gscip.pb.cc:753
static constexpr MetaParamValue FAST
Definition: gscip.pb.h:529
static constexpr Emphasis HARD_LP
Definition: gscip.pb.h:489
static const ClassData _class_data_
Definition: gscip.pb.h:470
static constexpr Emphasis CP_SOLVER
Definition: gscip.pb.h:483
static constexpr MetaParamValue AGGRESSIVE
Definition: gscip.pb.h:527
static constexpr Emphasis PHASE_FEAS
Definition: gscip.pb.h:493
void CopyFrom(const GScipParameters &from)
Definition: gscip.pb.cc:1546
static constexpr Emphasis PHASE_PROOF
Definition: gscip.pb.h:497
static constexpr Emphasis Emphasis_MIN
Definition: gscip.pb.h:502
static constexpr MetaParamValue DEFAULT_META_PARAM_VALUE
Definition: gscip.pb.h:525
void MergeFrom(const GScipParameters &from)
Definition: gscip.pb.cc:1488
friend void swap(GScipParameters &a, GScipParameters &b)
Definition: gscip.pb.h:408
static constexpr Emphasis COUNTER
Definition: gscip.pb.h:481
static constexpr MetaParamValue MetaParamValue_MIN
Definition: gscip.pb.h:536
static constexpr Emphasis OPTIMALITY
Definition: gscip.pb.h:491
static constexpr Emphasis EASY_CIP
Definition: gscip.pb.h:485
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: gscip.pb.cc:719
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition: gscip.pb.cc:1479
static constexpr Emphasis DEFAULT_EMPHASIS
Definition: gscip.pb.h:479
static constexpr Emphasis Emphasis_MAX
Definition: gscip.pb.h:504
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:1592
static constexpr MetaParamValue OFF
Definition: gscip.pb.h:531
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition: gscip.pb.cc:971
size_t ByteSizeLong() const final
Definition: gscip.pb.cc:1333
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
Definition: gscip.pb.cc:1662
static const ClassData _class_data_
Definition: gscip.pb.h:996
void MergeFrom(const GScipSolvingStats &from)
Definition: gscip.pb.cc:1940
void CopyFrom(const GScipSolvingStats &from)
Definition: gscip.pb.cc:1996
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: gscip.pb.cc:1650
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Definition: gscip.pb.cc:1931
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: gscip.pb.cc:2018
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Definition: gscip.pb.cc:1763
int64_t value
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2fgscip_2fgscip_2eproto
Definition: gscip.pb.cc:376
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2fgscip_2fgscip_2eproto_once
Definition: gscip.pb.cc:375
const uint32_t TableStruct_ortools_2fgscip_2fgscip_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
#define CHK_(x)
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NOINLINE::operations_research::GScipParameters_BoolParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_BoolParamsEntry_DoNotUse >(Arena *arena)
Definition: gscip.pb.cc:2308
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2fgscip_2fgscip_2eproto
Definition: gscip.pb.cc:157
PROTOBUF_NOINLINE::operations_research::GScipParameters_IntParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_IntParamsEntry_DoNotUse >(Arena *arena)
Definition: gscip.pb.cc:2311
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2fgscip_2fgscip_2eproto[3]
Definition: gscip.pb.cc:156
PROTOBUF_NOINLINE::operations_research::GScipParameters_CharParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_CharParamsEntry_DoNotUse >(Arena *arena)
Definition: gscip.pb.cc:2320
PROTOBUF_NOINLINE::operations_research::GScipParameters * Arena::CreateMaybeMessage< ::operations_research::GScipParameters >(Arena *arena)
Definition: gscip.pb.cc:2326
PROTOBUF_NOINLINE::operations_research::GScipParameters_StringParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_StringParamsEntry_DoNotUse >(Arena *arena)
Definition: gscip.pb.cc:2323
PROTOBUF_NOINLINE::operations_research::GScipOutput * Arena::CreateMaybeMessage< ::operations_research::GScipOutput >(Arena *arena)
Definition: gscip.pb.cc:2332
::PROTOBUF_NAMESPACE_ID::Message const *const file_default_instances[]
Definition: gscip.pb.cc:299
PROTOBUF_NOINLINE::operations_research::GScipParameters_RealParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_RealParamsEntry_DoNotUse >(Arena *arena)
Definition: gscip.pb.cc:2317
PROTOBUF_NOINLINE::operations_research::GScipSolvingStats * Arena::CreateMaybeMessage< ::operations_research::GScipSolvingStats >(Arena *arena)
Definition: gscip.pb.cc:2329
::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_ortools_2fgscip_2fgscip_2eproto[9]
Definition: gscip.pb.cc:155
PROTOBUF_ATTRIBUTE_WEAKconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable * descriptor_table_ortools_2fgscip_2fgscip_2eproto_getter()
Definition: gscip.pb.cc:382
PROTOBUF_NOINLINE::operations_research::GScipParameters_LongParamsEntry_DoNotUse * Arena::CreateMaybeMessage< ::operations_research::GScipParameters_LongParamsEntry_DoNotUse >(Arena *arena)
Definition: gscip.pb.cc:2314
void swap(IdMap< K, V > &a, IdMap< K, V > &b)
Definition: id_map.h:262
Collection of objects used to extend the Constraint Solver library.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipSolvingStatsDefaultTypeInternal _GScipSolvingStats_default_instance_
Definition: gscip.pb.cc:138
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_MetaParamValue_descriptor()
Definition: gscip.pb.cc:426
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_IntParamsEntry_DoNotUse_default_instance_
Definition: gscip.pb.cc:41
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParametersDefaultTypeInternal _GScipParameters_default_instance_
Definition: gscip.pb.cc:118
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipParameters_Emphasis_descriptor()
Definition: gscip.pb.cc:389
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipOutputDefaultTypeInternal _GScipOutput_default_instance_
Definition: gscip.pb.cc:153
bool GScipParameters_Emphasis_IsValid(int value)
Definition: gscip.pb.cc:393
bool GScipParameters_MetaParamValue_IsValid(int value)
Definition: gscip.pb.cc:430
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GScipOutput_Status_descriptor()
Definition: gscip.pb.cc:451
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_CharParamsEntry_DoNotUse_default_instance_
Definition: gscip.pb.cc:74
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_StringParamsEntry_DoNotUse_default_instance_
Definition: gscip.pb.cc:85
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_LongParamsEntry_DoNotUse_default_instance_
Definition: gscip.pb.cc:52
bool GScipOutput_Status_IsValid(int value)
Definition: gscip.pb.cc:455
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_BoolParamsEntry_DoNotUse_default_instance_
Definition: gscip.pb.cc:30
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal _GScipParameters_RealParamsEntry_DoNotUse_default_instance_
Definition: gscip.pb.cc:63
static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
Definition: gscip.pb.cc:22
GScipParameters_BoolParamsEntry_DoNotUse _instance
Definition: gscip.pb.cc:27
~GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:25
constexpr GScipParameters_BoolParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:23
Definition: gscip.pb.cc:66
~GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:69
constexpr GScipParameters_CharParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:67
GScipParameters_CharParamsEntry_DoNotUse _instance
Definition: gscip.pb.cc:71
Definition: gscip.pb.cc:33
constexpr GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:34
GScipParameters_IntParamsEntry_DoNotUse _instance
Definition: gscip.pb.cc:38
~GScipParameters_IntParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:36
Definition: gscip.pb.cc:44
constexpr GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:45
GScipParameters_LongParamsEntry_DoNotUse _instance
Definition: gscip.pb.cc:49
~GScipParameters_LongParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:47
Definition: gscip.pb.cc:55
constexpr GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:56
~GScipParameters_RealParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:58
GScipParameters_RealParamsEntry_DoNotUse _instance
Definition: gscip.pb.cc:60
Definition: gscip.pb.cc:77
constexpr GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:78
~GScipParameters_StringParamsEntry_DoNotUseDefaultTypeInternal()
Definition: gscip.pb.cc:80
GScipParameters_StringParamsEntry_DoNotUse _instance
Definition: gscip.pb.cc:82