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