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