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