10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
29inline constexpr PartialVariableAssignment::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
32 _var_index_cached_byte_size_{0},
38#if defined(PROTOBUF_CUSTOM_VTABLE)
41 : ::google::protobuf::Message(),
43 _impl_(::_pbi::ConstantInitialized()) {
53PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
56inline constexpr OptionalDouble::Impl_::Impl_(
57 ::_pbi::ConstantInitialized) noexcept
63#if defined(PROTOBUF_CUSTOM_VTABLE)
66 : ::google::protobuf::Message(),
68 _impl_(::_pbi::ConstantInitialized()) {
78PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
81inline constexpr MPVariableProto::Impl_::Impl_(
82 ::_pbi::ConstantInitialized) noexcept
85 &::google::protobuf::internal::fixed_address_empty_string,
86 ::_pbi::ConstantInitialized()),
87 objective_coefficient_{0},
89 branching_priority_{0},
90 lower_bound_{-std::numeric_limits<double>::infinity()},
91 upper_bound_{std::numeric_limits<double>::infinity()} {}
95#if defined(PROTOBUF_CUSTOM_VTABLE)
98 : ::google::protobuf::Message(),
100 _impl_(::_pbi::ConstantInitialized()) {
110PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
113inline constexpr MPSosConstraint::Impl_::Impl_(
114 ::_pbi::ConstantInitialized) noexcept
122#if defined(PROTOBUF_CUSTOM_VTABLE)
125 : ::google::protobuf::Message(),
127 _impl_(::_pbi::ConstantInitialized()) {
137PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
140inline constexpr MPSolveInfo::Impl_::Impl_(
141 ::_pbi::ConstantInitialized) noexcept
143 solve_wall_time_seconds_{0},
144 solve_user_time_seconds_{0} {}
148#if defined(PROTOBUF_CUSTOM_VTABLE)
151 : ::google::protobuf::Message(),
153 _impl_(::_pbi::ConstantInitialized()) {
163PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
166inline constexpr MPSolution::Impl_::Impl_(
167 ::_pbi::ConstantInitialized) noexcept
170 objective_value_{0} {}
174#if defined(PROTOBUF_CUSTOM_VTABLE)
177 : ::google::protobuf::Message(),
179 _impl_(::_pbi::ConstantInitialized()) {
189PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
192inline constexpr MPQuadraticObjective::Impl_::Impl_(
193 ::_pbi::ConstantInitialized) noexcept
201#if defined(PROTOBUF_CUSTOM_VTABLE)
204 : ::google::protobuf::Message(),
206 _impl_(::_pbi::ConstantInitialized()) {
216PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
219inline constexpr MPQuadraticConstraint::Impl_::Impl_(
220 ::_pbi::ConstantInitialized) noexcept
227 lower_bound_{-std::numeric_limits<double>::infinity()},
228 upper_bound_{std::numeric_limits<double>::infinity()} {}
232#if defined(PROTOBUF_CUSTOM_VTABLE)
235 : ::google::protobuf::Message(),
237 _impl_(::_pbi::ConstantInitialized()) {
247PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
250inline constexpr MPModelProto_Annotation::Impl_::Impl_(
251 ::_pbi::ConstantInitialized) noexcept
254 &::google::protobuf::internal::fixed_address_empty_string,
255 ::_pbi::ConstantInitialized()),
257 &::google::protobuf::internal::fixed_address_empty_string,
258 ::_pbi::ConstantInitialized()),
260 &::google::protobuf::internal::fixed_address_empty_string,
261 ::_pbi::ConstantInitialized()),
267#if defined(PROTOBUF_CUSTOM_VTABLE)
270 : ::google::protobuf::Message(),
272 _impl_(::_pbi::ConstantInitialized()) {
282PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
285inline constexpr MPConstraintProto::Impl_::Impl_(
286 ::_pbi::ConstantInitialized) noexcept
289 _var_index_cached_byte_size_{0},
292 &::google::protobuf::internal::fixed_address_empty_string,
293 ::_pbi::ConstantInitialized()),
295 lower_bound_{-std::numeric_limits<double>::infinity()},
296 upper_bound_{std::numeric_limits<double>::infinity()} {}
300#if defined(PROTOBUF_CUSTOM_VTABLE)
303 : ::google::protobuf::Message(),
305 _impl_(::_pbi::ConstantInitialized()) {
315PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
318inline constexpr MPArrayWithConstantConstraint::Impl_::Impl_(
319 ::_pbi::ConstantInitialized) noexcept
323 resultant_var_index_{0} {}
327#if defined(PROTOBUF_CUSTOM_VTABLE)
330 : ::google::protobuf::Message(),
332 _impl_(::_pbi::ConstantInitialized()) {
342PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
345inline constexpr MPArrayConstraint::Impl_::Impl_(
346 ::_pbi::ConstantInitialized) noexcept
349 resultant_var_index_{0} {}
353#if defined(PROTOBUF_CUSTOM_VTABLE)
356 : ::google::protobuf::Message(),
358 _impl_(::_pbi::ConstantInitialized()) {
368PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
371inline constexpr MPAbsConstraint::Impl_::Impl_(
372 ::_pbi::ConstantInitialized) noexcept
375 resultant_var_index_{0} {}
379#if defined(PROTOBUF_CUSTOM_VTABLE)
382 : ::google::protobuf::Message(),
384 _impl_(::_pbi::ConstantInitialized()) {
394PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
397inline constexpr MPSolverCommonParameters::Impl_::Impl_(
398 ::_pbi::ConstantInitialized) noexcept
400 relative_mip_gap_{
nullptr},
401 primal_tolerance_{
nullptr},
402 dual_tolerance_{
nullptr},
409#if defined(PROTOBUF_CUSTOM_VTABLE)
412 : ::google::protobuf::Message(),
414 _impl_(::_pbi::ConstantInitialized()) {
424PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
427inline constexpr MPSolutionResponse::Impl_::Impl_(
428 ::_pbi::ConstantInitialized) noexcept
433 additional_solutions_{},
435 &::google::protobuf::internal::fixed_address_empty_string,
436 ::_pbi::ConstantInitialized()),
437 solver_specific_info_(
438 &::google::protobuf::internal::fixed_address_empty_string,
439 ::_pbi::ConstantInitialized()),
440 solve_info_{
nullptr},
442 best_objective_bound_{0},
447#if defined(PROTOBUF_CUSTOM_VTABLE)
450 : ::google::protobuf::Message(),
452 _impl_(::_pbi::ConstantInitialized()) {
462PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
466#if defined(PROTOBUF_CUSTOM_VTABLE)
469 : MPModelDeltaProto_VariableOverridesEntry_DoNotUse::MapEntry() {
480PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
484#if defined(PROTOBUF_CUSTOM_VTABLE)
487 : MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::MapEntry() {
498PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
501inline constexpr MPIndicatorConstraint::Impl_::Impl_(
502 ::_pbi::ConstantInitialized) noexcept
504 constraint_{
nullptr},
510#if defined(PROTOBUF_CUSTOM_VTABLE)
513 : ::google::protobuf::Message(),
515 _impl_(::_pbi::ConstantInitialized()) {
525PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
528inline constexpr MPModelDeltaProto::Impl_::Impl_(
529 ::_pbi::ConstantInitialized) noexcept
531 variable_overrides_{},
532 constraint_overrides_{},
533 baseline_model_file_path_(
534 &::google::protobuf::internal::fixed_address_empty_string,
535 ::_pbi::ConstantInitialized()) {}
539#if defined(PROTOBUF_CUSTOM_VTABLE)
542 : ::google::protobuf::Message(),
544 _impl_(::_pbi::ConstantInitialized()) {
554PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
557inline constexpr MPGeneralConstraintProto::Impl_::Impl_(
558 ::_pbi::ConstantInitialized) noexcept
561 &::google::protobuf::internal::fixed_address_empty_string,
562 ::_pbi::ConstantInitialized()),
563 general_constraint_{},
568#if defined(PROTOBUF_CUSTOM_VTABLE)
571 : ::google::protobuf::Message(),
573 _impl_(::_pbi::ConstantInitialized()) {
583PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
586inline constexpr MPModelProto::Impl_::Impl_(
587 ::_pbi::ConstantInitialized) noexcept
591 general_constraint_{},
594 &::google::protobuf::internal::fixed_address_empty_string,
595 ::_pbi::ConstantInitialized()),
596 solution_hint_{
nullptr},
597 quadratic_objective_{
nullptr},
598 objective_offset_{0},
603#if defined(PROTOBUF_CUSTOM_VTABLE)
606 : ::google::protobuf::Message(),
608 _impl_(::_pbi::ConstantInitialized()) {
618PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
621inline constexpr MPModelRequest::Impl_::Impl_(
622 ::_pbi::ConstantInitialized) noexcept
624 solver_specific_parameters_(
625 &::google::protobuf::internal::fixed_address_empty_string,
626 ::_pbi::ConstantInitialized()),
628 model_delta_{
nullptr},
629 solver_time_limit_seconds_{0},
630 enable_internal_solver_output_{
false},
631 ignore_solver_specific_parameters_failure_{
false},
632 populate_additional_solutions_up_to_{0},
637#if defined(PROTOBUF_CUSTOM_VTABLE)
640 : ::google::protobuf::Message(),
642 _impl_(::_pbi::ConstantInitialized()) {
652PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
655static const ::_pb::EnumDescriptor* PROTOBUF_NONNULL
657static constexpr const ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE
697 ::_pbi::kInvalidFieldOffsetTag,
698 ::_pbi::kInvalidFieldOffsetTag,
699 ::_pbi::kInvalidFieldOffsetTag,
700 ::_pbi::kInvalidFieldOffsetTag,
701 ::_pbi::kInvalidFieldOffsetTag,
702 ::_pbi::kInvalidFieldOffsetTag,
703 ::_pbi::kInvalidFieldOffsetTag,
704 ::_pbi::kInvalidFieldOffsetTag,
915static const ::_pbi::MigrationSchema
966 "\n)ortools/linear_solver/linear_solver.pr"
967 "oto\022\023operations_research\032#ortools/util/o"
968 "ptional_boolean.proto\"\262\001\n\017MPVariableProt"
969 "o\022\031\n\013lower_bound\030\001 \001(\001:\004-inf\022\030\n\013upper_bo"
970 "und\030\002 \001(\001:\003inf\022 \n\025objective_coefficient\030"
971 "\003 \001(\001:\0010\022\031\n\nis_integer\030\004 \001(\010:\005false\022\016\n\004n"
972 "ame\030\005 \001(\t:\000\022\035\n\022branching_priority\030\006 \001(\005:"
973 "\0010\"\240\001\n\021MPConstraintProto\022\025\n\tvar_index\030\006 "
974 "\003(\005B\002\020\001\022\027\n\013coefficient\030\007 \003(\001B\002\020\001\022\031\n\013lowe"
975 "r_bound\030\002 \001(\001:\004-inf\022\030\n\013upper_bound\030\003 \001(\001"
976 ":\003inf\022\016\n\004name\030\004 \001(\t:\000\022\026\n\007is_lazy\030\005 \001(\010:\005"
977 "false\"\367\004\n\030MPGeneralConstraintProto\022\016\n\004na"
978 "me\030\001 \001(\t:\000\022J\n\024indicator_constraint\030\002 \001(\013"
979 "2*.operations_research.MPIndicatorConstr"
980 "aintH\000\022>\n\016sos_constraint\030\003 \001(\0132$.operati"
981 "ons_research.MPSosConstraintH\000\022J\n\024quadra"
982 "tic_constraint\030\004 \001(\0132*.operations_resear"
983 "ch.MPQuadraticConstraintH\000\022>\n\016abs_constr"
984 "aint\030\005 \001(\0132$.operations_research.MPAbsCo"
985 "nstraintH\000\022@\n\016and_constraint\030\006 \001(\0132&.ope"
986 "rations_research.MPArrayConstraintH\000\022\?\n\r"
987 "or_constraint\030\007 \001(\0132&.operations_researc"
988 "h.MPArrayConstraintH\000\022L\n\016min_constraint\030"
989 "\010 \001(\01322.operations_research.MPArrayWithC"
990 "onstantConstraintH\000\022L\n\016max_constraint\030\t "
991 "\001(\01322.operations_research.MPArrayWithCon"
992 "stantConstraintH\000B\024\n\022general_constraint\""
993 "y\n\025MPIndicatorConstraint\022\021\n\tvar_index\030\001 "
994 "\001(\005\022\021\n\tvar_value\030\002 \001(\005\022:\n\nconstraint\030\003 \001"
995 "(\0132&.operations_research.MPConstraintPro"
996 "to\"\237\001\n\017MPSosConstraint\022E\n\004type\030\001 \001(\0162).o"
997 "perations_research.MPSosConstraint.Type:"
998 "\014SOS1_DEFAULT\022\021\n\tvar_index\030\002 \003(\005\022\016\n\006weig"
999 "ht\030\003 \003(\001\"\"\n\004Type\022\020\n\014SOS1_DEFAULT\020\000\022\010\n\004SO"
1000 "S2\020\001\"\264\001\n\025MPQuadraticConstraint\022\021\n\tvar_in"
1001 "dex\030\001 \003(\005\022\023\n\013coefficient\030\002 \003(\001\022\023\n\013qvar1_"
1002 "index\030\003 \003(\005\022\023\n\013qvar2_index\030\004 \003(\005\022\024\n\014qcoe"
1003 "fficient\030\005 \003(\001\022\031\n\013lower_bound\030\006 \001(\001:\004-in"
1004 "f\022\030\n\013upper_bound\030\007 \001(\001:\003inf\"A\n\017MPAbsCons"
1005 "traint\022\021\n\tvar_index\030\001 \001(\005\022\033\n\023resultant_v"
1006 "ar_index\030\002 \001(\005\"C\n\021MPArrayConstraint\022\021\n\tv"
1007 "ar_index\030\001 \003(\005\022\033\n\023resultant_var_index\030\002 "
1008 "\001(\005\"a\n\035MPArrayWithConstantConstraint\022\021\n\t"
1009 "var_index\030\001 \003(\005\022\020\n\010constant\030\002 \001(\001\022\033\n\023res"
1010 "ultant_var_index\030\003 \001(\005\"U\n\024MPQuadraticObj"
1011 "ective\022\023\n\013qvar1_index\030\001 \003(\005\022\023\n\013qvar2_ind"
1012 "ex\030\002 \003(\005\022\023\n\013coefficient\030\003 \003(\001\"I\n\031Partial"
1013 "VariableAssignment\022\025\n\tvar_index\030\001 \003(\005B\002\020"
1014 "\001\022\025\n\tvar_value\030\002 \003(\001B\002\020\001\"\344\005\n\014MPModelProt"
1015 "o\0226\n\010variable\030\003 \003(\0132$.operations_researc"
1016 "h.MPVariableProto\022:\n\nconstraint\030\004 \003(\0132&."
1017 "operations_research.MPConstraintProto\022I\n"
1018 "\022general_constraint\030\007 \003(\0132-.operations_r"
1019 "esearch.MPGeneralConstraintProto\022\027\n\010maxi"
1020 "mize\030\001 \001(\010:\005false\022\033\n\020objective_offset\030\002 "
1021 "\001(\001:\0010\022F\n\023quadratic_objective\030\010 \001(\0132).op"
1022 "erations_research.MPQuadraticObjective\022\016"
1023 "\n\004name\030\005 \001(\t:\000\022E\n\rsolution_hint\030\006 \001(\0132.."
1024 "operations_research.PartialVariableAssig"
1025 "nment\022@\n\nannotation\030\t \003(\0132,.operations_r"
1026 "esearch.MPModelProto.Annotation\032\375\001\n\nAnno"
1027 "tation\022L\n\013target_type\030\001 \001(\01627.operations"
1028 "_research.MPModelProto.Annotation.Target"
1029 "Type\022\024\n\014target_index\030\002 \001(\005\022\023\n\013target_nam"
1030 "e\030\003 \001(\t\022\023\n\013payload_key\030\004 \001(\t\022\025\n\rpayload_"
1031 "value\030\005 \001(\t\"J\n\nTargetType\022\024\n\020VARIABLE_DE"
1032 "FAULT\020\000\022\016\n\nCONSTRAINT\020\001\022\026\n\022GENERAL_CONST"
1033 "RAINT\020\002\"\037\n\016OptionalDouble\022\r\n\005value\030\001 \001(\001"
1034 "\"\275\004\n\030MPSolverCommonParameters\022=\n\020relativ"
1035 "e_mip_gap\030\001 \001(\0132#.operations_research.Op"
1036 "tionalDouble\022=\n\020primal_tolerance\030\002 \001(\0132#"
1037 ".operations_research.OptionalDouble\022;\n\016d"
1038 "ual_tolerance\030\003 \001(\0132#.operations_researc"
1039 "h.OptionalDouble\022j\n\014lp_algorithm\030\004 \001(\0162\?"
1040 ".operations_research.MPSolverCommonParam"
1041 "eters.LPAlgorithmValues:\023LP_ALGO_UNSPECI"
1042 "FIED\022H\n\010presolve\030\005 \001(\0162$.operations_rese"
1043 "arch.OptionalBoolean:\020BOOL_UNSPECIFIED\022G"
1044 "\n\007scaling\030\007 \001(\0162$.operations_research.Op"
1045 "tionalBoolean:\020BOOL_UNSPECIFIED\"g\n\021LPAlg"
1046 "orithmValues\022\027\n\023LP_ALGO_UNSPECIFIED\020\000\022\020\n"
1047 "\014LP_ALGO_DUAL\020\001\022\022\n\016LP_ALGO_PRIMAL\020\002\022\023\n\017L"
1048 "P_ALGO_BARRIER\020\003\"\263\003\n\021MPModelDeltaProto\022 "
1049 "\n\030baseline_model_file_path\030\001 \001(\t\022Y\n\022vari"
1050 "able_overrides\030\002 \003(\0132=.operations_resear"
1051 "ch.MPModelDeltaProto.VariableOverridesEn"
1052 "try\022]\n\024constraint_overrides\030\003 \003(\0132\?.oper"
1053 "ations_research.MPModelDeltaProto.Constr"
1054 "aintOverridesEntry\032^\n\026VariableOverridesE"
1055 "ntry\022\013\n\003key\030\001 \001(\005\0223\n\005value\030\002 \001(\0132$.opera"
1056 "tions_research.MPVariableProto:\0028\001\032b\n\030Co"
1057 "nstraintOverridesEntry\022\013\n\003key\030\001 \001(\005\0225\n\005v"
1058 "alue\030\002 \001(\0132&.operations_research.MPConst"
1059 "raintProto:\0028\001\"\233\010\n\016MPModelRequest\0220\n\005mod"
1060 "el\030\001 \001(\0132!.operations_research.MPModelPr"
1061 "oto\022\\\n\013solver_type\030\002 \001(\0162..operations_re"
1062 "search.MPModelRequest.SolverType:\027GLOP_L"
1063 "INEAR_PROGRAMMING\022!\n\031solver_time_limit_s"
1064 "econds\030\003 \001(\001\022,\n\035enable_internal_solver_o"
1065 "utput\030\004 \001(\010:\005false\022\"\n\032solver_specific_pa"
1066 "rameters\030\005 \001(\t\0228\n)ignore_solver_specific"
1067 "_parameters_failure\030\t \001(\010:\005false\022;\n\013mode"
1068 "l_delta\030\010 \001(\0132&.operations_research.MPMo"
1069 "delDeltaProto\022.\n#populate_additional_sol"
1070 "utions_up_to\030\013 \001(\005:\0010\"\334\004\n\nSolverType\022\032\n\026"
1071 "CLP_LINEAR_PROGRAMMING\020\000\022\033\n\027GLOP_LINEAR_"
1072 "PROGRAMMING\020\002\022\033\n\027GLPK_LINEAR_PROGRAMMING"
1073 "\020\001\022\035\n\031GUROBI_LINEAR_PROGRAMMING\020\006\022\035\n\031XPR"
1074 "ESS_LINEAR_PROGRAMMING\020e\022\034\n\030CPLEX_LINEAR"
1075 "_PROGRAMMING\020\n\022\034\n\030HIGHS_LINEAR_PROGRAMMI"
1076 "NG\020\017\022\"\n\036SCIP_MIXED_INTEGER_PROGRAMMING\020\003"
1077 "\022\"\n\036GLPK_MIXED_INTEGER_PROGRAMMING\020\004\022!\n\035"
1078 "CBC_MIXED_INTEGER_PROGRAMMING\020\005\022$\n GUROB"
1079 "I_MIXED_INTEGER_PROGRAMMING\020\007\022$\n XPRESS_"
1080 "MIXED_INTEGER_PROGRAMMING\020f\022#\n\037CPLEX_MIX"
1081 "ED_INTEGER_PROGRAMMING\020\013\022#\n\037HIGHS_MIXED_"
1082 "INTEGER_PROGRAMMING\020\020\022\033\n\027BOP_INTEGER_PRO"
1083 "GRAMMING\020\014\022\033\n\027SAT_INTEGER_PROGRAMMING\020\016\022"
1084 "\033\n\027PDLP_LINEAR_PROGRAMMING\020\010\022&\n\"KNAPSACK"
1085 "_MIXED_INTEGER_PROGRAMMING\020\r\"A\n\nMPSoluti"
1086 "on\022\027\n\017objective_value\030\001 \001(\001\022\032\n\016variable_"
1087 "value\030\002 \003(\001B\002\020\001\"O\n\013MPSolveInfo\022\037\n\027solve_"
1088 "wall_time_seconds\030\001 \001(\001\022\037\n\027solve_user_ti"
1089 "me_seconds\030\002 \001(\001\"\226\003\n\022MPSolutionResponse\022"
1090 "T\n\006status\030\001 \001(\0162+.operations_research.MP"
1091 "SolverResponseStatus:\027MPSOLVER_UNKNOWN_S"
1092 "TATUS\022\022\n\nstatus_str\030\007 \001(\t\022\027\n\017objective_v"
1093 "alue\030\002 \001(\001\022\034\n\024best_objective_bound\030\005 \001(\001"
1094 "\022\032\n\016variable_value\030\003 \003(\001B\002\020\001\0224\n\nsolve_in"
1095 "fo\030\n \001(\0132 .operations_research.MPSolveIn"
1096 "fo\022\034\n\024solver_specific_info\030\013 \001(\014\022\026\n\ndual"
1097 "_value\030\004 \003(\001B\002\020\001\022\030\n\014reduced_cost\030\006 \003(\001B\002"
1098 "\020\001\022=\n\024additional_solutions\030\010 \003(\0132\037.opera"
1099 "tions_research.MPSolution*\275\003\n\026MPSolverRe"
1100 "sponseStatus\022\024\n\020MPSOLVER_OPTIMAL\020\000\022\025\n\021MP"
1101 "SOLVER_FEASIBLE\020\001\022\027\n\023MPSOLVER_INFEASIBLE"
1102 "\020\002\022\026\n\022MPSOLVER_UNBOUNDED\020\003\022\025\n\021MPSOLVER_A"
1103 "BNORMAL\020\004\022\027\n\023MPSOLVER_NOT_SOLVED\020\006\022\033\n\027MP"
1104 "SOLVER_MODEL_IS_VALID\020a\022\036\n\032MPSOLVER_CANC"
1105 "ELLED_BY_USER\020b\022\033\n\027MPSOLVER_UNKNOWN_STAT"
1106 "US\020c\022\032\n\026MPSOLVER_MODEL_INVALID\020\005\022(\n$MPSO"
1107 "LVER_MODEL_INVALID_SOLUTION_HINT\020T\022,\n(MP"
1108 "SOLVER_MODEL_INVALID_SOLVER_PARAMETERS\020U"
1109 "\022$\n MPSOLVER_SOLVER_TYPE_UNAVAILABLE\020\007\022!"
1110 "\n\035MPSOLVER_INCOMPATIBLE_OPTIONS\020qB#\n\037com"
1111 ".google.ortools.linearsolverP\001"
1113static const ::_pbi::DescriptorTable* PROTOBUF_NONNULL
const
1122 descriptor_table_protodef_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto,
1123 "ortools/linear_solver/linear_solver.proto",
1158 589824u, 96u, 254u, 0u, 805306368u, };
1164 524288u, 128u, 0u, 0u, 234893312u, 512u, };
1167class MPVariableProto::_Internal {
1170 decltype(::std::declval<MPVariableProto>()._impl_._has_bits_);
1176#if defined(PROTOBUF_CUSTOM_VTABLE)
1179 : ::google::protobuf::Message(arena) {
1184PROTOBUF_NDEBUG_INLINE MPVariableProto::Impl_::Impl_(
1185 ::google::protobuf::internal::InternalVisibility visibility,
1186 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1187 const ::operations_research::MPVariableProto& from_msg)
1188 : _has_bits_{from._has_bits_},
1190 name_(arena, from.name_) {}
1193 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1195#if defined(PROTOBUF_CUSTOM_VTABLE)
1198 : ::google::protobuf::Message(arena) {
1202 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1203 from._internal_metadata_);
1204 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1205 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
1206 offsetof(Impl_, objective_coefficient_),
1207 reinterpret_cast<const char *
>(&from._impl_) +
1208 offsetof(Impl_, objective_coefficient_),
1209 offsetof(Impl_, upper_bound_) -
1210 offsetof(Impl_, objective_coefficient_) +
1211 sizeof(Impl_::upper_bound_));
1215PROTOBUF_NDEBUG_INLINE MPVariableProto::Impl_::Impl_(
1216 ::google::protobuf::internal::InternalVisibility visibility,
1217 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1220 lower_bound_{-std::numeric_limits<double>::infinity()},
1221 upper_bound_{std::numeric_limits<double>::infinity()} {}
1223inline void MPVariableProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1224 new (&
_impl_) Impl_(internal_visibility(), arena);
1225 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
1226 offsetof(Impl_, objective_coefficient_),
1228 offsetof(Impl_, branching_priority_) -
1229 offsetof(Impl_, objective_coefficient_) +
1230 sizeof(Impl_::branching_priority_));
1236inline void MPVariableProto::SharedDtor(MessageLite& self) {
1238 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1239 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1240 this_.
_impl_.name_.Destroy();
1245 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1246 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1254 return ::google::protobuf::internal::ClassDataFull{
1255 ::google::protobuf::internal::ClassData{
1260 &MPVariableProto::MergeImpl,
1261 ::google::protobuf::Message::GetNewImpl<MPVariableProto>(),
1262#if defined(PROTOBUF_CUSTOM_VTABLE)
1263 &MPVariableProto::SharedDtor,
1270 &MPVariableProto::kDescriptorMethods,
1276PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1280PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1286PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1287const ::_pbi::TcParseTable<3, 6, 0, 48, 2>
1288MPVariableProto::_table_ = {
1293 offsetof(
decltype(_table_), field_lookup_table),
1295 offsetof(
decltype(_table_), field_entries),
1298 offsetof(
decltype(_table_), field_names),
1301 ::_pbi::TcParser::GenericFallback,
1302 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1303 ::_pbi::TcParser::GetTable<::operations_research::MPVariableProto>(),
1306 {::_pbi::TcParser::MiniParse, {}},
1308 {::_pbi::TcParser::FastF64S1,
1309 {9, 4, 0, PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.lower_bound_)}},
1311 {::_pbi::TcParser::FastF64S1,
1312 {17, 5, 0, PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.upper_bound_)}},
1314 {::_pbi::TcParser::FastF64S1,
1315 {25, 1, 0, PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.objective_coefficient_)}},
1317 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
MPVariableProto, _impl_.is_integer_), 2>(),
1318 {32, 2, 0, PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.is_integer_)}},
1320 {::_pbi::TcParser::FastSS1,
1323 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPVariableProto, _impl_.branching_priority_), 3>(),
1324 {48, 3, 0, PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.branching_priority_)}},
1325 {::_pbi::TcParser::MiniParse, {}},
1330 {PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.lower_bound_), _Internal::kHasBitsOffset + 4, 0,
1331 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1333 {PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.upper_bound_), _Internal::kHasBitsOffset + 5, 0,
1334 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1336 {PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.objective_coefficient_), _Internal::kHasBitsOffset + 1, 0,
1337 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1339 {PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.is_integer_), _Internal::kHasBitsOffset + 2, 0,
1340 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1342 {PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
1343 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1345 {PROTOBUF_FIELD_OFFSET(
MPVariableProto, _impl_.branching_priority_), _Internal::kHasBitsOffset + 3, 0,
1346 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
1351 "operations_research.MPVariableProto"
1357 ::google::protobuf::internal::TSanWrite(&
_impl_);
1358 ::uint32_t cached_has_bits = 0;
1360 (void) cached_has_bits;
1362 cached_has_bits =
_impl_._has_bits_[0];
1363 if ((cached_has_bits & 0x00000001u) != 0) {
1364 _impl_.name_.ClearNonDefaultToEmpty();
1366 if ((cached_has_bits & 0x0000003eu) != 0) {
1367 ::memset(&
_impl_.objective_coefficient_, 0,
static_cast<::
size_t>(
1368 reinterpret_cast<char*
>(&
_impl_.branching_priority_) -
1369 reinterpret_cast<char*
>(&
_impl_.objective_coefficient_)) +
sizeof(
_impl_.branching_priority_));
1370 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
1371 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
1373 _impl_._has_bits_.Clear();
1374 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1377#if defined(PROTOBUF_CUSTOM_VTABLE)
1379 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
1380 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1384 ::uint8_t* PROTOBUF_NONNULL target,
1385 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1389 ::uint32_t cached_has_bits = 0;
1390 (void)cached_has_bits;
1392 cached_has_bits = this_.
_impl_._has_bits_[0];
1394 if ((cached_has_bits & 0x00000010u) != 0) {
1395 target = stream->EnsureSpace(target);
1396 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1397 1, this_._internal_lower_bound(), target);
1401 if ((cached_has_bits & 0x00000020u) != 0) {
1402 target = stream->EnsureSpace(target);
1403 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1404 2, this_._internal_upper_bound(), target);
1408 if ((cached_has_bits & 0x00000002u) != 0) {
1409 target = stream->EnsureSpace(target);
1410 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1411 3, this_._internal_objective_coefficient(), target);
1415 if ((cached_has_bits & 0x00000004u) != 0) {
1416 target = stream->EnsureSpace(target);
1417 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1418 4, this_._internal_is_integer(), target);
1422 if ((cached_has_bits & 0x00000001u) != 0) {
1423 const ::std::string& _s = this_._internal_name();
1424 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1425 "operations_research.MPVariableProto.name");
1426 target = stream->WriteStringMaybeAliased(5, _s, target);
1430 if ((cached_has_bits & 0x00000008u) != 0) {
1432 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<6>(
1433 stream, this_._internal_branching_priority(), target);
1436 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1438 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1439 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1445#if defined(PROTOBUF_CUSTOM_VTABLE)
1453 ::size_t total_size = 0;
1455 ::uint32_t cached_has_bits = 0;
1457 (void)cached_has_bits;
1459 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1460 cached_has_bits = this_.
_impl_._has_bits_[0];
1461 total_size += ::absl::popcount(0x00000032u & cached_has_bits) * 9;
1462 total_size +=
static_cast<bool>(0x00000004u & cached_has_bits) * 2;
1463 if ((cached_has_bits & 0x00000009u) != 0) {
1465 if ((cached_has_bits & 0x00000001u) != 0) {
1466 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1467 this_._internal_name());
1470 if ((cached_has_bits & 0x00000008u) != 0) {
1471 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
1472 this_._internal_branching_priority());
1475 return this_.MaybeComputeUnknownFieldsSize(total_size,
1476 &this_.
_impl_._cached_size_);
1479void MPVariableProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1483 ABSL_DCHECK_NE(&from, _this);
1484 ::uint32_t cached_has_bits = 0;
1485 (void) cached_has_bits;
1487 cached_has_bits = from._impl_._has_bits_[0];
1488 if ((cached_has_bits & 0x0000003fu) != 0) {
1489 if ((cached_has_bits & 0x00000001u) != 0) {
1490 _this->_internal_set_name(from._internal_name());
1492 if ((cached_has_bits & 0x00000002u) != 0) {
1493 _this->_impl_.objective_coefficient_ = from._impl_.objective_coefficient_;
1495 if ((cached_has_bits & 0x00000004u) != 0) {
1496 _this->_impl_.is_integer_ = from._impl_.is_integer_;
1498 if ((cached_has_bits & 0x00000008u) != 0) {
1499 _this->_impl_.branching_priority_ = from._impl_.branching_priority_;
1501 if ((cached_has_bits & 0x00000010u) != 0) {
1502 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
1504 if ((cached_has_bits & 0x00000020u) != 0) {
1505 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
1508 _this->_impl_._has_bits_[0] |= cached_has_bits;
1509 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1514 if (&from ==
this)
return;
1520void MPVariableProto::InternalSwap(
MPVariableProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1522 auto* arena = GetArena();
1523 ABSL_DCHECK_EQ(arena, other->GetArena());
1524 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1525 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1526 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1527 ::google::protobuf::internal::memswap<
1531 reinterpret_cast<char*
>(&
_impl_.objective_coefficient_),
1532 reinterpret_cast<char*
>(&other->_impl_.objective_coefficient_));
1536 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1543 decltype(::std::declval<MPConstraintProto>()._impl_._has_bits_);
1549#if defined(PROTOBUF_CUSTOM_VTABLE)
1552 : ::google::protobuf::Message(arena) {
1557PROTOBUF_NDEBUG_INLINE MPConstraintProto::Impl_::Impl_(
1558 ::google::protobuf::internal::InternalVisibility visibility,
1559 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
1560 const ::operations_research::MPConstraintProto& from_msg)
1561 : _has_bits_{from._has_bits_},
1563 var_index_{visibility, arena, from.var_index_},
1564 _var_index_cached_byte_size_{0},
1565 coefficient_{visibility, arena, from.coefficient_},
1566 name_(arena, from.name_) {}
1569 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
1571#if defined(PROTOBUF_CUSTOM_VTABLE)
1574 : ::google::protobuf::Message(arena) {
1578 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
1579 from._internal_metadata_);
1580 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1581 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
1582 offsetof(Impl_, is_lazy_),
1583 reinterpret_cast<const char *
>(&from._impl_) +
1584 offsetof(Impl_, is_lazy_),
1585 offsetof(Impl_, upper_bound_) -
1586 offsetof(Impl_, is_lazy_) +
1587 sizeof(Impl_::upper_bound_));
1591PROTOBUF_NDEBUG_INLINE MPConstraintProto::Impl_::Impl_(
1592 ::google::protobuf::internal::InternalVisibility visibility,
1593 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
1595 var_index_{visibility, arena},
1596 _var_index_cached_byte_size_{0},
1597 coefficient_{visibility, arena},
1599 lower_bound_{-std::numeric_limits<double>::infinity()},
1600 upper_bound_{std::numeric_limits<double>::infinity()} {}
1602inline void MPConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
1603 new (&
_impl_) Impl_(internal_visibility(), arena);
1610inline void MPConstraintProto::SharedDtor(
MessageLite& self) {
1612 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1613 ABSL_DCHECK(this_.GetArena() ==
nullptr);
1614 this_.
_impl_.name_.Destroy();
1619 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
1620 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
1624 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1627 InternalGetArenaOffset(
1631 InternalGetArenaOffset(
1634 if (arena_bits.has_value()) {
1635 return ::google::protobuf::internal::MessageCreator::CopyInit(
1636 sizeof(MPConstraintProto), alignof(MPConstraintProto), *arena_bits);
1638 return ::google::protobuf::internal::MessageCreator(&MPConstraintProto::PlacementNew_,
1639 sizeof(MPConstraintProto),
1640 alignof(MPConstraintProto));
1644 return ::google::protobuf::internal::ClassDataFull{
1645 ::google::protobuf::internal::ClassData{
1650 &MPConstraintProto::MergeImpl,
1651 ::google::protobuf::Message::GetNewImpl<MPConstraintProto>(),
1652#if defined(PROTOBUF_CUSTOM_VTABLE)
1653 &MPConstraintProto::SharedDtor,
1660 &MPConstraintProto::kDescriptorMethods,
1666PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
1670PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
1676PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1677const ::_pbi::TcParseTable<3, 6, 0, 50, 2>
1678MPConstraintProto::_table_ = {
1683 offsetof(
decltype(_table_), field_lookup_table),
1685 offsetof(
decltype(_table_), field_entries),
1688 offsetof(
decltype(_table_), field_names),
1691 ::_pbi::TcParser::GenericFallback,
1692 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1693 ::_pbi::TcParser::GetTable<::operations_research::MPConstraintProto>(),
1696 {::_pbi::TcParser::MiniParse, {}},
1697 {::_pbi::TcParser::MiniParse, {}},
1699 {::_pbi::TcParser::FastF64S1,
1700 {17, 2, 0, PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.lower_bound_)}},
1702 {::_pbi::TcParser::FastF64S1,
1703 {25, 3, 0, PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.upper_bound_)}},
1705 {::_pbi::TcParser::FastSS1,
1706 {34, 0, 0, PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.name_)}},
1708 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(MPConstraintProto,
_impl_.is_lazy_), 1>(),
1709 {40, 1, 0, PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.is_lazy_)}},
1711 {::_pbi::TcParser::FastV32P1,
1712 {50, 63, 0, PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.var_index_)}},
1714 {::_pbi::TcParser::FastF64P1,
1715 {58, 63, 0, PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.coefficient_)}},
1721 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1724 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
1727 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1730 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
1732 {PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.var_index_), -1, 0,
1733 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
1735 {PROTOBUF_FIELD_OFFSET(MPConstraintProto,
_impl_.coefficient_), -1, 0,
1736 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
1741 "operations_research.MPConstraintProto"
1747 ::google::protobuf::internal::TSanWrite(&
_impl_);
1748 ::uint32_t cached_has_bits = 0;
1750 (void) cached_has_bits;
1752 _impl_.var_index_.Clear();
1753 _impl_.coefficient_.Clear();
1754 cached_has_bits =
_impl_._has_bits_[0];
1755 if ((cached_has_bits & 0x00000001u) != 0) {
1756 _impl_.name_.ClearNonDefaultToEmpty();
1758 if ((cached_has_bits & 0x0000000eu) != 0) {
1760 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
1761 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
1763 _impl_._has_bits_.Clear();
1764 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1767#if defined(PROTOBUF_CUSTOM_VTABLE)
1769 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
1770 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
1771 const MPConstraintProto& this_ =
static_cast<const MPConstraintProto&
>(base);
1774 ::uint8_t* PROTOBUF_NONNULL target,
1775 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
1779 ::uint32_t cached_has_bits = 0;
1780 (void)cached_has_bits;
1782 cached_has_bits = this_.
_impl_._has_bits_[0];
1784 if ((cached_has_bits & 0x00000004u) != 0) {
1785 target = stream->EnsureSpace(target);
1786 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1787 2, this_._internal_lower_bound(), target);
1791 if ((cached_has_bits & 0x00000008u) != 0) {
1792 target = stream->EnsureSpace(target);
1793 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1794 3, this_._internal_upper_bound(), target);
1798 if ((cached_has_bits & 0x00000001u) != 0) {
1799 const ::std::string& _s = this_._internal_name();
1800 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1801 "operations_research.MPConstraintProto.name");
1802 target = stream->WriteStringMaybeAliased(4, _s, target);
1806 if ((cached_has_bits & 0x00000002u) != 0) {
1807 target = stream->EnsureSpace(target);
1808 target = ::_pbi::WireFormatLite::WriteBoolToArray(
1809 5, this_._internal_is_lazy(), target);
1814 int byte_size = this_.
_impl_._var_index_cached_byte_size_.Get();
1815 if (byte_size > 0) {
1816 target = stream->WriteInt32Packed(
1817 6, this_._internal_var_index(), byte_size, target);
1822 if (this_._internal_coefficient_size() > 0) {
1823 target = stream->WriteFixedPacked(7, this_._internal_coefficient(), target);
1826 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1828 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1829 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1835#if defined(PROTOBUF_CUSTOM_VTABLE)
1843 ::size_t total_size = 0;
1845 ::uint32_t cached_has_bits = 0;
1847 (void)cached_has_bits;
1849 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1854 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
1855 this_._internal_var_index(), 1,
1856 this_.
_impl_._var_index_cached_byte_size_);
1860 ::size_t data_size = ::size_t{8} *
1861 ::_pbi::FromIntSize(this_._internal_coefficient_size());
1862 ::size_t tag_size = data_size == 0
1864 : 1 + ::_pbi::WireFormatLite::Int32Size(
1865 static_cast<::int32_t
>(data_size));
1866 total_size += tag_size + data_size;
1869 cached_has_bits = this_.
_impl_._has_bits_[0];
1870 total_size += ::absl::popcount(0x0000000cu & cached_has_bits) * 9;
1871 total_size +=
static_cast<bool>(0x00000002u & cached_has_bits) * 2;
1874 if ((cached_has_bits & 0x00000001u) != 0) {
1875 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1876 this_._internal_name());
1879 return this_.MaybeComputeUnknownFieldsSize(total_size,
1880 &this_.
_impl_._cached_size_);
1883void MPConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1884 auto*
const _this =
static_cast<MPConstraintProto*
>(&to_msg);
1885 auto& from =
static_cast<const MPConstraintProto&
>(from_msg);
1887 ABSL_DCHECK_NE(&from, _this);
1888 ::uint32_t cached_has_bits = 0;
1889 (void) cached_has_bits;
1891 _this->_internal_mutable_var_index()->MergeFrom(from._internal_var_index());
1892 _this->_internal_mutable_coefficient()->MergeFrom(from._internal_coefficient());
1893 cached_has_bits = from._impl_._has_bits_[0];
1894 if ((cached_has_bits & 0x0000000fu) != 0) {
1895 if ((cached_has_bits & 0x00000001u) != 0) {
1896 _this->_internal_set_name(from._internal_name());
1898 if ((cached_has_bits & 0x00000002u) != 0) {
1899 _this->_impl_.is_lazy_ = from._impl_.is_lazy_;
1901 if ((cached_has_bits & 0x00000004u) != 0) {
1902 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
1904 if ((cached_has_bits & 0x00000008u) != 0) {
1905 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
1908 _this->_impl_._has_bits_[0] |= cached_has_bits;
1909 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1914 if (&from ==
this)
return;
1920void MPConstraintProto::InternalSwap(
MPConstraintProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
1922 auto* arena = GetArena();
1923 ABSL_DCHECK_EQ(arena, other->GetArena());
1924 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1925 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1926 _impl_.var_index_.InternalSwap(&other->_impl_.var_index_);
1927 _impl_.coefficient_.InternalSwap(&other->_impl_.coefficient_);
1928 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
1929 ::google::protobuf::internal::memswap<
1933 reinterpret_cast<char*
>(&
_impl_.is_lazy_),
1934 reinterpret_cast<char*
>(&other->_impl_.is_lazy_));
1938 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
1945 decltype(::std::declval<MPGeneralConstraintProto>()._impl_._has_bits_);
1953 ::google::protobuf::Arena* message_arena = GetArena();
1957 if (message_arena != submessage_arena) {
1960 set_has_indicator_constraint();
1966 ::google::protobuf::Arena* message_arena = GetArena();
1967 clear_general_constraint();
1969 ::google::protobuf::Arena* submessage_arena =
sos_constraint->GetArena();
1970 if (message_arena != submessage_arena) {
1973 set_has_sos_constraint();
1979 ::google::protobuf::Arena* message_arena = GetArena();
1980 clear_general_constraint();
1983 if (message_arena != submessage_arena) {
1986 set_has_quadratic_constraint();
1992 ::google::protobuf::Arena* message_arena = GetArena();
1993 clear_general_constraint();
1995 ::google::protobuf::Arena* submessage_arena =
abs_constraint->GetArena();
1996 if (message_arena != submessage_arena) {
1999 set_has_abs_constraint();
2005 ::google::protobuf::Arena* message_arena = GetArena();
2006 clear_general_constraint();
2008 ::google::protobuf::Arena* submessage_arena =
and_constraint->GetArena();
2009 if (message_arena != submessage_arena) {
2012 set_has_and_constraint();
2018 ::google::protobuf::Arena* message_arena = GetArena();
2019 clear_general_constraint();
2021 ::google::protobuf::Arena* submessage_arena =
or_constraint->GetArena();
2022 if (message_arena != submessage_arena) {
2025 set_has_or_constraint();
2031 ::google::protobuf::Arena* message_arena = GetArena();
2032 clear_general_constraint();
2034 ::google::protobuf::Arena* submessage_arena =
min_constraint->GetArena();
2035 if (message_arena != submessage_arena) {
2038 set_has_min_constraint();
2044 ::google::protobuf::Arena* message_arena = GetArena();
2045 clear_general_constraint();
2047 ::google::protobuf::Arena* submessage_arena =
max_constraint->GetArena();
2048 if (message_arena != submessage_arena) {
2051 set_has_max_constraint();
2057#if defined(PROTOBUF_CUSTOM_VTABLE)
2060 : ::google::protobuf::Message(arena) {
2065PROTOBUF_NDEBUG_INLINE MPGeneralConstraintProto::Impl_::Impl_(
2066 ::google::protobuf::internal::InternalVisibility visibility,
2067 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2068 const ::operations_research::MPGeneralConstraintProto& from_msg)
2069 : _has_bits_{from._has_bits_},
2071 name_(arena, from.name_),
2072 general_constraint_{},
2073 _oneof_case_{from._oneof_case_[0]} {}
2076 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2077 const MPGeneralConstraintProto& from)
2078#if defined(PROTOBUF_CUSTOM_VTABLE)
2081 : ::google::protobuf::Message(arena) {
2085 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2086 from._internal_metadata_);
2087 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2092 _impl_.general_constraint_.indicator_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.indicator_constraint_);
2095 _impl_.general_constraint_.sos_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.sos_constraint_);
2098 _impl_.general_constraint_.quadratic_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.quadratic_constraint_);
2101 _impl_.general_constraint_.abs_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.abs_constraint_);
2104 _impl_.general_constraint_.and_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.and_constraint_);
2107 _impl_.general_constraint_.or_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.or_constraint_);
2110 _impl_.general_constraint_.min_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.min_constraint_);
2113 _impl_.general_constraint_.max_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.max_constraint_);
2119PROTOBUF_NDEBUG_INLINE MPGeneralConstraintProto::Impl_::Impl_(
2120 ::google::protobuf::internal::InternalVisibility visibility,
2121 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2124 general_constraint_{},
2127inline void MPGeneralConstraintProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2128 new (&
_impl_) Impl_(internal_visibility(), arena);
2134inline void MPGeneralConstraintProto::SharedDtor(MessageLite& self) {
2136 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2137 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2138 this_.
_impl_.name_.Destroy();
2139 if (this_.has_general_constraint()) {
2147 ::google::protobuf::internal::TSanWrite(&
_impl_);
2150 if (GetArena() ==
nullptr) {
2151 delete _impl_.general_constraint_.indicator_constraint_;
2152 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2153 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.indicator_constraint_);
2158 if (GetArena() ==
nullptr) {
2159 delete _impl_.general_constraint_.sos_constraint_;
2160 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2161 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.sos_constraint_);
2166 if (GetArena() ==
nullptr) {
2167 delete _impl_.general_constraint_.quadratic_constraint_;
2168 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2169 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.quadratic_constraint_);
2174 if (GetArena() ==
nullptr) {
2175 delete _impl_.general_constraint_.abs_constraint_;
2176 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2177 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.abs_constraint_);
2182 if (GetArena() ==
nullptr) {
2183 delete _impl_.general_constraint_.and_constraint_;
2184 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2185 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.and_constraint_);
2190 if (GetArena() ==
nullptr) {
2191 delete _impl_.general_constraint_.or_constraint_;
2192 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2193 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.or_constraint_);
2198 if (GetArena() ==
nullptr) {
2199 delete _impl_.general_constraint_.min_constraint_;
2200 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2201 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.min_constraint_);
2206 if (GetArena() ==
nullptr) {
2207 delete _impl_.general_constraint_.max_constraint_;
2208 }
else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2209 ::google::protobuf::internal::MaybePoisonAfterClear(
_impl_.general_constraint_.max_constraint_);
2222 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2223 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2231 return ::google::protobuf::internal::ClassDataFull{
2232 ::google::protobuf::internal::ClassData{
2237 &MPGeneralConstraintProto::MergeImpl,
2238 ::google::protobuf::Message::GetNewImpl<MPGeneralConstraintProto>(),
2239#if defined(PROTOBUF_CUSTOM_VTABLE)
2240 &MPGeneralConstraintProto::SharedDtor,
2247 &MPGeneralConstraintProto::kDescriptorMethods,
2253PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2257PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2263PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2264const ::_pbi::TcParseTable<0, 9, 8, 65, 2>
2265MPGeneralConstraintProto::_table_ = {
2270 offsetof(
decltype(_table_), field_lookup_table),
2272 offsetof(
decltype(_table_), field_entries),
2275 offsetof(
decltype(_table_), aux_entries),
2278 ::_pbi::TcParser::GenericFallback,
2279 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2280 ::_pbi::TcParser::GetTable<::operations_research::MPGeneralConstraintProto>(),
2284 {::_pbi::TcParser::FastSS1,
2285 {10, 0, 0, PROTOBUF_FIELD_OFFSET(MPGeneralConstraintProto, _impl_.name_)}},
2291 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
2293 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.indicator_constraint_), _Internal::kOneofCaseOffset + 0, 0,
2294 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2296 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.sos_constraint_), _Internal::kOneofCaseOffset + 0, 1,
2297 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2299 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.quadratic_constraint_), _Internal::kOneofCaseOffset + 0, 2,
2300 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2302 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.abs_constraint_), _Internal::kOneofCaseOffset + 0, 3,
2303 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2305 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.and_constraint_), _Internal::kOneofCaseOffset + 0, 4,
2306 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2308 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.or_constraint_), _Internal::kOneofCaseOffset + 0, 5,
2309 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2311 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.min_constraint_), _Internal::kOneofCaseOffset + 0, 6,
2312 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2314 {PROTOBUF_FIELD_OFFSET(
MPGeneralConstraintProto, _impl_.general_constraint_.max_constraint_), _Internal::kOneofCaseOffset + 0, 7,
2315 (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
2318 {::_pbi::TcParser::GetTable<::operations_research::MPIndicatorConstraint>()},
2319 {::_pbi::TcParser::GetTable<::operations_research::MPSosConstraint>()},
2320 {::_pbi::TcParser::GetTable<::operations_research::MPQuadraticConstraint>()},
2321 {::_pbi::TcParser::GetTable<::operations_research::MPAbsConstraint>()},
2322 {::_pbi::TcParser::GetTable<::operations_research::MPArrayConstraint>()},
2323 {::_pbi::TcParser::GetTable<::operations_research::MPArrayConstraint>()},
2324 {::_pbi::TcParser::GetTable<::operations_research::MPArrayWithConstantConstraint>()},
2325 {::_pbi::TcParser::GetTable<::operations_research::MPArrayWithConstantConstraint>()},
2328 "\54\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
2329 "operations_research.MPGeneralConstraintProto"
2335 ::google::protobuf::internal::TSanWrite(&
_impl_);
2336 ::uint32_t cached_has_bits = 0;
2338 (void) cached_has_bits;
2340 cached_has_bits =
_impl_._has_bits_[0];
2341 if ((cached_has_bits & 0x00000001u) != 0) {
2342 _impl_.name_.ClearNonDefaultToEmpty();
2345 _impl_._has_bits_.Clear();
2346 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2349#if defined(PROTOBUF_CUSTOM_VTABLE)
2351 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
2352 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2356 ::uint8_t* PROTOBUF_NONNULL target,
2357 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2361 ::uint32_t cached_has_bits = 0;
2362 (void)cached_has_bits;
2364 cached_has_bits = this_.
_impl_._has_bits_[0];
2366 if ((cached_has_bits & 0x00000001u) != 0) {
2367 const ::std::string& _s = this_._internal_name();
2368 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
2369 "operations_research.MPGeneralConstraintProto.name");
2370 target = stream->WriteStringMaybeAliased(1, _s, target);
2375 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2381 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2387 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2393 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2399 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2405 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2411 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2417 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2425 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2427 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2428 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2434#if defined(PROTOBUF_CUSTOM_VTABLE)
2442 ::size_t total_size = 0;
2444 ::uint32_t cached_has_bits = 0;
2446 (void)cached_has_bits;
2450 cached_has_bits = this_._impl_._has_bits_[0];
2451 if ((cached_has_bits & 0x00000001u) != 0) {
2452 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2453 this_._internal_name());
2456 switch (this_.general_constraint_case()) {
2460 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.indicator_constraint_);
2466 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.sos_constraint_);
2472 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.quadratic_constraint_);
2478 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.abs_constraint_);
2484 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.and_constraint_);
2490 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.or_constraint_);
2496 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.min_constraint_);
2502 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.general_constraint_.max_constraint_);
2509 return this_.MaybeComputeUnknownFieldsSize(total_size,
2510 &this_._impl_._cached_size_);
2513void MPGeneralConstraintProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2518 ABSL_DCHECK_NE(&from, _this);
2519 ::uint32_t cached_has_bits = 0;
2520 (void) cached_has_bits;
2522 cached_has_bits = from._impl_._has_bits_[0];
2523 if ((cached_has_bits & 0x00000001u) != 0) {
2524 _this->_internal_set_name(from._internal_name());
2526 _this->_impl_._has_bits_[0] |= cached_has_bits;
2527 if (
const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
2528 const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
2529 const bool oneof_needs_init = oneof_to_case != oneof_from_case;
2530 if (oneof_needs_init) {
2531 if (oneof_to_case != 0) {
2532 _this->clear_general_constraint();
2534 _this->_impl_._oneof_case_[0] = oneof_from_case;
2537 switch (oneof_from_case) {
2539 if (oneof_needs_init) {
2540 _this->_impl_.general_constraint_.indicator_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.indicator_constraint_);
2542 _this->_impl_.general_constraint_.indicator_constraint_->MergeFrom(*from._impl_.general_constraint_.indicator_constraint_);
2547 if (oneof_needs_init) {
2548 _this->_impl_.general_constraint_.sos_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.sos_constraint_);
2550 _this->_impl_.general_constraint_.sos_constraint_->MergeFrom(*from._impl_.general_constraint_.sos_constraint_);
2555 if (oneof_needs_init) {
2556 _this->_impl_.general_constraint_.quadratic_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.quadratic_constraint_);
2558 _this->_impl_.general_constraint_.quadratic_constraint_->MergeFrom(*from._impl_.general_constraint_.quadratic_constraint_);
2563 if (oneof_needs_init) {
2564 _this->_impl_.general_constraint_.abs_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.abs_constraint_);
2566 _this->_impl_.general_constraint_.abs_constraint_->MergeFrom(*from._impl_.general_constraint_.abs_constraint_);
2571 if (oneof_needs_init) {
2572 _this->_impl_.general_constraint_.and_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.and_constraint_);
2574 _this->_impl_.general_constraint_.and_constraint_->MergeFrom(*from._impl_.general_constraint_.and_constraint_);
2579 if (oneof_needs_init) {
2580 _this->_impl_.general_constraint_.or_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.or_constraint_);
2582 _this->_impl_.general_constraint_.or_constraint_->MergeFrom(*from._impl_.general_constraint_.or_constraint_);
2587 if (oneof_needs_init) {
2588 _this->_impl_.general_constraint_.min_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.min_constraint_);
2590 _this->_impl_.general_constraint_.min_constraint_->MergeFrom(*from._impl_.general_constraint_.min_constraint_);
2595 if (oneof_needs_init) {
2596 _this->_impl_.general_constraint_.max_constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.general_constraint_.max_constraint_);
2598 _this->_impl_.general_constraint_.max_constraint_->MergeFrom(*from._impl_.general_constraint_.max_constraint_);
2606 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2611 if (&from ==
this)
return;
2619 auto* arena = GetArena();
2620 ABSL_DCHECK_EQ(arena, other->GetArena());
2621 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2622 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2623 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
2624 swap(
_impl_.general_constraint_, other->_impl_.general_constraint_);
2625 swap(
_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2629 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2636 decltype(::std::declval<MPIndicatorConstraint>()._impl_._has_bits_);
2642#if defined(PROTOBUF_CUSTOM_VTABLE)
2645 : ::google::protobuf::Message(arena) {
2650PROTOBUF_NDEBUG_INLINE MPIndicatorConstraint::Impl_::Impl_(
2651 ::google::protobuf::internal::InternalVisibility visibility,
2652 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2653 const ::operations_research::MPIndicatorConstraint& from_msg)
2654 : _has_bits_{from._has_bits_},
2658 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2659 const MPIndicatorConstraint& from)
2660#if defined(PROTOBUF_CUSTOM_VTABLE)
2663 : ::google::protobuf::Message(arena) {
2667 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2668 from._internal_metadata_);
2669 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2670 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
2671 _impl_.constraint_ = ((cached_has_bits & 0x00000001u) != 0)
2672 ? ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_)
2674 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
2675 offsetof(Impl_, var_index_),
2676 reinterpret_cast<const char *
>(&from._impl_) +
2677 offsetof(Impl_, var_index_),
2678 offsetof(Impl_, var_value_) -
2679 offsetof(Impl_, var_index_) +
2680 sizeof(Impl_::var_value_));
2684PROTOBUF_NDEBUG_INLINE MPIndicatorConstraint::Impl_::Impl_(
2685 ::google::protobuf::internal::InternalVisibility visibility,
2686 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
2687 : _cached_size_{0} {}
2689inline void MPIndicatorConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
2690 new (&
_impl_) Impl_(internal_visibility(), arena);
2691 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
2692 offsetof(Impl_, constraint_),
2694 offsetof(Impl_, var_value_) -
2695 offsetof(Impl_, constraint_) +
2696 sizeof(Impl_::var_value_));
2704 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2705 ABSL_DCHECK(this_.GetArena() ==
nullptr);
2706 delete this_.
_impl_.constraint_;
2711 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
2712 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
2720 return ::google::protobuf::internal::ClassDataFull{
2721 ::google::protobuf::internal::ClassData{
2726 &MPIndicatorConstraint::MergeImpl,
2727 ::google::protobuf::Message::GetNewImpl<MPIndicatorConstraint>(),
2728#if defined(PROTOBUF_CUSTOM_VTABLE)
2729 &MPIndicatorConstraint::SharedDtor,
2736 &MPIndicatorConstraint::kDescriptorMethods,
2742PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
2746PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
2752PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2753const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
2754MPIndicatorConstraint::_table_ = {
2759 offsetof(
decltype(_table_), field_lookup_table),
2761 offsetof(
decltype(_table_), field_entries),
2764 offsetof(
decltype(_table_), aux_entries),
2767 ::_pbi::TcParser::GenericFallback,
2768 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2769 ::_pbi::TcParser::GetTable<::operations_research::MPIndicatorConstraint>(),
2772 {::_pbi::TcParser::MiniParse, {}},
2774 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPIndicatorConstraint, _impl_.var_index_), 1>(),
2777 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPIndicatorConstraint, _impl_.var_value_), 2>(),
2780 {::_pbi::TcParser::FastMtS1,
2787 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2790 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
2792 {PROTOBUF_FIELD_OFFSET(
MPIndicatorConstraint, _impl_.constraint_), _Internal::kHasBitsOffset + 0, 0,
2793 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
2796 {::_pbi::TcParser::GetTable<::operations_research::MPConstraintProto>()},
2803 ::google::protobuf::internal::TSanWrite(&
_impl_);
2804 ::uint32_t cached_has_bits = 0;
2806 (void) cached_has_bits;
2808 cached_has_bits =
_impl_._has_bits_[0];
2809 if ((cached_has_bits & 0x00000001u) != 0) {
2810 ABSL_DCHECK(
_impl_.constraint_ !=
nullptr);
2811 _impl_.constraint_->Clear();
2813 if ((cached_has_bits & 0x00000006u) != 0) {
2814 ::memset(&
_impl_.var_index_, 0,
static_cast<::
size_t>(
2815 reinterpret_cast<char*
>(&
_impl_.var_value_) -
2816 reinterpret_cast<char*
>(&
_impl_.var_index_)) +
sizeof(
_impl_.var_value_));
2818 _impl_._has_bits_.Clear();
2819 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2822#if defined(PROTOBUF_CUSTOM_VTABLE)
2824 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
2825 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
2829 ::uint8_t* PROTOBUF_NONNULL target,
2830 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
2834 ::uint32_t cached_has_bits = 0;
2835 (void)cached_has_bits;
2837 cached_has_bits = this_._impl_._has_bits_[0];
2839 if ((cached_has_bits & 0x00000002u) != 0) {
2841 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
2842 stream, this_._internal_var_index(), target);
2846 if ((cached_has_bits & 0x00000004u) != 0) {
2848 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
2849 stream, this_._internal_var_value(), target);
2853 if ((cached_has_bits & 0x00000001u) != 0) {
2854 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2855 3, *this_._impl_.constraint_, this_._impl_.constraint_->GetCachedSize(), target,
2859 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2861 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2862 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2868#if defined(PROTOBUF_CUSTOM_VTABLE)
2876 ::size_t total_size = 0;
2878 ::uint32_t cached_has_bits = 0;
2880 (void)cached_has_bits;
2882 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2883 cached_has_bits = this_._impl_._has_bits_[0];
2884 if ((cached_has_bits & 0x00000007u) != 0) {
2886 if ((cached_has_bits & 0x00000001u) != 0) {
2888 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.constraint_);
2891 if ((cached_has_bits & 0x00000002u) != 0) {
2892 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2893 this_._internal_var_index());
2896 if ((cached_has_bits & 0x00000004u) != 0) {
2897 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
2898 this_._internal_var_value());
2901 return this_.MaybeComputeUnknownFieldsSize(total_size,
2902 &this_._impl_._cached_size_);
2905void MPIndicatorConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2910 ABSL_DCHECK_NE(&from, _this);
2911 ::uint32_t cached_has_bits = 0;
2912 (void) cached_has_bits;
2914 cached_has_bits = from._impl_._has_bits_[0];
2915 if ((cached_has_bits & 0x00000007u) != 0) {
2916 if ((cached_has_bits & 0x00000001u) != 0) {
2917 ABSL_DCHECK(from._impl_.constraint_ !=
nullptr);
2918 if (_this->_impl_.constraint_ ==
nullptr) {
2919 _this->_impl_.constraint_ = ::google::protobuf::Message::CopyConstruct(arena, *from._impl_.constraint_);
2921 _this->_impl_.constraint_->MergeFrom(*from._impl_.constraint_);
2924 if ((cached_has_bits & 0x00000002u) != 0) {
2925 _this->_impl_.var_index_ = from._impl_.var_index_;
2927 if ((cached_has_bits & 0x00000004u) != 0) {
2928 _this->_impl_.var_value_ = from._impl_.var_value_;
2931 _this->_impl_._has_bits_[0] |= cached_has_bits;
2932 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2937 if (&from ==
this)
return;
2943void MPIndicatorConstraint::InternalSwap(
MPIndicatorConstraint* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
2945 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2946 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2947 ::google::protobuf::internal::memswap<
2951 reinterpret_cast<char*
>(&
_impl_.constraint_),
2952 reinterpret_cast<char*
>(&other->_impl_.constraint_));
2956 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
2963 decltype(::std::declval<MPSosConstraint>()._impl_._has_bits_);
2964 static constexpr ::int32_t kHasBitsOffset =
2969#if defined(PROTOBUF_CUSTOM_VTABLE)
2972 : ::google::protobuf::Message(arena) {
2977PROTOBUF_NDEBUG_INLINE MPSosConstraint::Impl_::Impl_(
2978 ::google::protobuf::internal::InternalVisibility visibility,
2979 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
2980 const ::operations_research::MPSosConstraint& from_msg)
2981 : _has_bits_{from._has_bits_},
2983 var_index_{visibility, arena, from.var_index_},
2984 weight_{visibility, arena, from.weight_} {}
2987 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
2988 const MPSosConstraint& from)
2989#if defined(PROTOBUF_CUSTOM_VTABLE)
2992 : ::google::protobuf::Message(arena) {
2996 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
2997 from._internal_metadata_);
2998 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2999 _impl_.type_ = from._impl_.type_;
3003PROTOBUF_NDEBUG_INLINE MPSosConstraint::Impl_::Impl_(
3004 ::google::protobuf::internal::InternalVisibility visibility,
3005 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3007 var_index_{visibility, arena},
3008 weight_{visibility, arena} {}
3010inline void MPSosConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3011 new (&
_impl_) Impl_(internal_visibility(), arena);
3018inline void MPSosConstraint::SharedDtor(MessageLite& self) {
3020 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3021 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3026 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3027 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3031 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3034 InternalGetArenaOffset(
3035 ::google::protobuf::Message::internal_visibility()),
3038 InternalGetArenaOffset(
3041 if (arena_bits.has_value()) {
3042 return ::google::protobuf::internal::MessageCreator::ZeroInit(
3043 sizeof(MPSosConstraint), alignof(MPSosConstraint), *arena_bits);
3045 return ::google::protobuf::internal::MessageCreator(&MPSosConstraint::PlacementNew_,
3046 sizeof(MPSosConstraint),
3047 alignof(MPSosConstraint));
3051 return ::google::protobuf::internal::ClassDataFull{
3052 ::google::protobuf::internal::ClassData{
3057 &MPSosConstraint::MergeImpl,
3058 ::google::protobuf::Message::GetNewImpl<MPSosConstraint>(),
3059#if defined(PROTOBUF_CUSTOM_VTABLE)
3060 &MPSosConstraint::SharedDtor,
3067 &MPSosConstraint::kDescriptorMethods,
3073PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3077PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3083PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3084const ::_pbi::TcParseTable<2, 3, 1, 0, 2>
3085MPSosConstraint::_table_ = {
3090 offsetof(
decltype(_table_), field_lookup_table),
3092 offsetof(
decltype(_table_), field_entries),
3095 offsetof(
decltype(_table_), aux_entries),
3098 ::_pbi::TcParser::GenericFallback,
3099 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3100 ::_pbi::TcParser::GetTable<::operations_research::MPSosConstraint>(),
3103 {::_pbi::TcParser::MiniParse, {}},
3105 {::_pbi::TcParser::FastEr0S1,
3108 {::_pbi::TcParser::FastV32R1,
3111 {::_pbi::TcParser::FastF64R1,
3118 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
3121 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
3124 (0 | ::_fl::kFcRepeated | ::_fl::kDouble)},
3134 ::google::protobuf::internal::TSanWrite(&
_impl_);
3135 ::uint32_t cached_has_bits = 0;
3137 (void) cached_has_bits;
3139 _impl_.var_index_.Clear();
3142 _impl_._has_bits_.Clear();
3143 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3146#if defined(PROTOBUF_CUSTOM_VTABLE)
3148 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
3149 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3153 ::uint8_t* PROTOBUF_NONNULL target,
3154 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3158 ::uint32_t cached_has_bits = 0;
3159 (void)cached_has_bits;
3161 cached_has_bits = this_.
_impl_._has_bits_[0];
3163 if ((cached_has_bits & 0x00000001u) != 0) {
3164 target = stream->EnsureSpace(target);
3165 target = ::_pbi::WireFormatLite::WriteEnumToArray(
3166 1, this_._internal_type(), target);
3170 for (
int i = 0, n = this_._internal_var_index_size(); i < n; ++i) {
3171 target = stream->EnsureSpace(target);
3172 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
3173 2, this_._internal_var_index().Get(i), target);
3177 for (
int i = 0, n = this_._internal_weight_size(); i < n; ++i) {
3178 target = stream->EnsureSpace(target);
3179 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3180 3, this_._internal_weight().Get(i), target);
3183 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3185 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3186 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3192#if defined(PROTOBUF_CUSTOM_VTABLE)
3200 ::size_t total_size = 0;
3202 ::uint32_t cached_has_bits = 0;
3204 (void)cached_has_bits;
3206 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3210 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
3211 this_._internal_var_index());
3212 ::size_t tag_size = ::size_t{1} *
3213 ::_pbi::FromIntSize(this_._internal_var_index_size());
3214 total_size += tag_size + data_size;
3218 ::size_t data_size = ::size_t{8} *
3219 ::_pbi::FromIntSize(this_._internal_weight_size());
3220 ::size_t tag_size = ::size_t{1} *
3221 ::_pbi::FromIntSize(this_._internal_weight_size());
3222 total_size += tag_size + data_size;
3227 cached_has_bits = this_._impl_._has_bits_[0];
3228 if ((cached_has_bits & 0x00000001u) != 0) {
3230 ::_pbi::WireFormatLite::EnumSize(this_._internal_type());
3233 return this_.MaybeComputeUnknownFieldsSize(total_size,
3234 &this_._impl_._cached_size_);
3237void MPSosConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3241 ABSL_DCHECK_NE(&from, _this);
3242 ::uint32_t cached_has_bits = 0;
3243 (void) cached_has_bits;
3245 _this->_internal_mutable_var_index()->MergeFrom(from._internal_var_index());
3246 _this->_internal_mutable_weight()->MergeFrom(from._internal_weight());
3247 cached_has_bits = from._impl_._has_bits_[0];
3248 if ((cached_has_bits & 0x00000001u) != 0) {
3249 _this->_impl_.type_ = from._impl_.type_;
3251 _this->_impl_._has_bits_[0] |= cached_has_bits;
3252 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3257 if (&from ==
this)
return;
3263void MPSosConstraint::InternalSwap(
MPSosConstraint* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3265 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3266 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3267 _impl_.var_index_.InternalSwap(&other->_impl_.var_index_);
3268 _impl_.weight_.InternalSwap(&other->_impl_.weight_);
3273 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3280 decltype(::std::declval<MPQuadraticConstraint>()._impl_._has_bits_);
3281 static constexpr ::int32_t kHasBitsOffset =
3286#if defined(PROTOBUF_CUSTOM_VTABLE)
3289 : ::google::protobuf::Message(arena) {
3294PROTOBUF_NDEBUG_INLINE MPQuadraticConstraint::Impl_::Impl_(
3295 ::google::protobuf::internal::InternalVisibility visibility,
3296 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3297 const ::operations_research::MPQuadraticConstraint& from_msg)
3298 : _has_bits_{from._has_bits_},
3300 var_index_{visibility, arena, from.var_index_},
3301 coefficient_{visibility, arena, from.coefficient_},
3302 qvar1_index_{visibility, arena, from.qvar1_index_},
3303 qvar2_index_{visibility, arena, from.qvar2_index_},
3304 qcoefficient_{visibility, arena, from.qcoefficient_} {}
3307 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
3308 const MPQuadraticConstraint& from)
3309#if defined(PROTOBUF_CUSTOM_VTABLE)
3312 : ::google::protobuf::Message(arena) {
3316 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
3317 from._internal_metadata_);
3318 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3319 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
3320 offsetof(Impl_, lower_bound_),
3321 reinterpret_cast<const char *
>(&from._impl_) +
3322 offsetof(Impl_, lower_bound_),
3323 offsetof(Impl_, upper_bound_) -
3324 offsetof(Impl_, lower_bound_) +
3325 sizeof(Impl_::upper_bound_));
3329PROTOBUF_NDEBUG_INLINE MPQuadraticConstraint::Impl_::Impl_(
3330 ::google::protobuf::internal::InternalVisibility visibility,
3331 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3333 var_index_{visibility, arena},
3334 coefficient_{visibility, arena},
3335 qvar1_index_{visibility, arena},
3336 qvar2_index_{visibility, arena},
3337 qcoefficient_{visibility, arena},
3338 lower_bound_{-
std::numeric_limits<double>::infinity()},
3339 upper_bound_{
std::numeric_limits<double>::infinity()} {}
3341inline void MPQuadraticConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3342 new (&
_impl_) Impl_(internal_visibility(), arena);
3348inline void MPQuadraticConstraint::SharedDtor(MessageLite& self) {
3350 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3351 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3352 this_._impl_.~Impl_();
3356 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3357 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3361 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
3364 InternalGetArenaOffset(
3365 ::google::protobuf::Message::internal_visibility()),
3368 InternalGetArenaOffset(
3372 InternalGetArenaOffset(
3376 InternalGetArenaOffset(
3380 InternalGetArenaOffset(
3383 if (arena_bits.has_value()) {
3384 return ::google::protobuf::internal::MessageCreator::CopyInit(
3385 sizeof(MPQuadraticConstraint), alignof(MPQuadraticConstraint), *arena_bits);
3387 return ::google::protobuf::internal::MessageCreator(&MPQuadraticConstraint::PlacementNew_,
3388 sizeof(MPQuadraticConstraint),
3389 alignof(MPQuadraticConstraint));
3393 return ::google::protobuf::internal::ClassDataFull{
3394 ::google::protobuf::internal::ClassData{
3399 &MPQuadraticConstraint::MergeImpl,
3400 ::google::protobuf::Message::GetNewImpl<MPQuadraticConstraint>(),
3401#if defined(PROTOBUF_CUSTOM_VTABLE)
3402 &MPQuadraticConstraint::SharedDtor,
3409 &MPQuadraticConstraint::kDescriptorMethods,
3415PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3419PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3425PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3426const ::_pbi::TcParseTable<3, 7, 0, 0, 2>
3427MPQuadraticConstraint::_table_ = {
3432 offsetof(
decltype(_table_), field_lookup_table),
3434 offsetof(
decltype(_table_), field_entries),
3437 offsetof(
decltype(_table_), field_names),
3440 ::_pbi::TcParser::GenericFallback,
3441 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3442 ::_pbi::TcParser::GetTable<::operations_research::MPQuadraticConstraint>(),
3445 {::_pbi::TcParser::MiniParse, {}},
3447 {::_pbi::TcParser::FastV32R1,
3450 {::_pbi::TcParser::FastF64R1,
3453 {::_pbi::TcParser::FastV32R1,
3456 {::_pbi::TcParser::FastV32R1,
3459 {::_pbi::TcParser::FastF64R1,
3462 {::_pbi::TcParser::FastF64S1,
3465 {::_pbi::TcParser::FastF64S1,
3472 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
3475 (0 | ::_fl::kFcRepeated | ::_fl::kDouble)},
3478 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
3481 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
3484 (0 | ::_fl::kFcRepeated | ::_fl::kDouble)},
3487 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
3490 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
3498 ::google::protobuf::internal::TSanWrite(&
_impl_);
3499 ::uint32_t cached_has_bits = 0;
3501 (void) cached_has_bits;
3503 _impl_.var_index_.Clear();
3504 _impl_.coefficient_.Clear();
3505 _impl_.qvar1_index_.Clear();
3506 _impl_.qvar2_index_.Clear();
3507 _impl_.qcoefficient_.Clear();
3508 cached_has_bits =
_impl_._has_bits_[0];
3509 if ((cached_has_bits & 0x00000003u) != 0) {
3510 _impl_.lower_bound_ = -std::numeric_limits<double>::infinity();
3511 _impl_.upper_bound_ = std::numeric_limits<double>::infinity();
3513 _impl_._has_bits_.Clear();
3514 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3517#if defined(PROTOBUF_CUSTOM_VTABLE)
3519 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3520 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3524 ::uint8_t* PROTOBUF_NONNULL target,
3525 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3529 ::uint32_t cached_has_bits = 0;
3530 (void)cached_has_bits;
3533 for (
int i = 0, n = this_._internal_var_index_size(); i < n; ++i) {
3534 target = stream->EnsureSpace(target);
3535 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
3536 1, this_._internal_var_index().Get(i), target);
3540 for (
int i = 0, n = this_._internal_coefficient_size(); i < n; ++i) {
3541 target = stream->EnsureSpace(target);
3542 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3543 2, this_._internal_coefficient().Get(i), target);
3547 for (
int i = 0, n = this_._internal_qvar1_index_size(); i < n; ++i) {
3548 target = stream->EnsureSpace(target);
3549 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
3550 3, this_._internal_qvar1_index().Get(i), target);
3554 for (
int i = 0, n = this_._internal_qvar2_index_size(); i < n; ++i) {
3555 target = stream->EnsureSpace(target);
3556 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
3557 4, this_._internal_qvar2_index().Get(i), target);
3561 for (
int i = 0, n = this_._internal_qcoefficient_size(); i < n; ++i) {
3562 target = stream->EnsureSpace(target);
3563 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3564 5, this_._internal_qcoefficient().Get(i), target);
3567 cached_has_bits = this_._impl_._has_bits_[0];
3569 if ((cached_has_bits & 0x00000001u) != 0) {
3570 target = stream->EnsureSpace(target);
3571 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3572 6, this_._internal_lower_bound(), target);
3576 if ((cached_has_bits & 0x00000002u) != 0) {
3577 target = stream->EnsureSpace(target);
3578 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
3579 7, this_._internal_upper_bound(), target);
3582 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3584 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3585 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3591#if defined(PROTOBUF_CUSTOM_VTABLE)
3599 ::size_t total_size = 0;
3601 ::uint32_t cached_has_bits = 0;
3603 (void)cached_has_bits;
3605 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3609 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
3610 this_._internal_var_index());
3611 ::size_t tag_size = ::size_t{1} *
3612 ::_pbi::FromIntSize(this_._internal_var_index_size());
3613 total_size += tag_size + data_size;
3617 ::size_t data_size = ::size_t{8} *
3618 ::_pbi::FromIntSize(this_._internal_coefficient_size());
3619 ::size_t tag_size = ::size_t{1} *
3620 ::_pbi::FromIntSize(this_._internal_coefficient_size());
3621 total_size += tag_size + data_size;
3625 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
3626 this_._internal_qvar1_index());
3627 ::size_t tag_size = ::size_t{1} *
3628 ::_pbi::FromIntSize(this_._internal_qvar1_index_size());
3629 total_size += tag_size + data_size;
3633 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
3634 this_._internal_qvar2_index());
3635 ::size_t tag_size = ::size_t{1} *
3636 ::_pbi::FromIntSize(this_._internal_qvar2_index_size());
3637 total_size += tag_size + data_size;
3641 ::size_t data_size = ::size_t{8} *
3642 ::_pbi::FromIntSize(this_._internal_qcoefficient_size());
3643 ::size_t tag_size = ::size_t{1} *
3644 ::_pbi::FromIntSize(this_._internal_qcoefficient_size());
3645 total_size += tag_size + data_size;
3648 cached_has_bits = this_._impl_._has_bits_[0];
3649 total_size += ::absl::popcount(0x00000003u & cached_has_bits) * 9;
3650 return this_.MaybeComputeUnknownFieldsSize(total_size,
3651 &this_._impl_._cached_size_);
3654void MPQuadraticConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3658 ABSL_DCHECK_NE(&from, _this);
3659 ::uint32_t cached_has_bits = 0;
3660 (void) cached_has_bits;
3662 _this->_internal_mutable_var_index()->MergeFrom(from._internal_var_index());
3663 _this->_internal_mutable_coefficient()->MergeFrom(from._internal_coefficient());
3664 _this->_internal_mutable_qvar1_index()->MergeFrom(from._internal_qvar1_index());
3665 _this->_internal_mutable_qvar2_index()->MergeFrom(from._internal_qvar2_index());
3666 _this->_internal_mutable_qcoefficient()->MergeFrom(from._internal_qcoefficient());
3667 cached_has_bits = from._impl_._has_bits_[0];
3668 if ((cached_has_bits & 0x00000003u) != 0) {
3669 if ((cached_has_bits & 0x00000001u) != 0) {
3670 _this->_impl_.lower_bound_ = from._impl_.lower_bound_;
3672 if ((cached_has_bits & 0x00000002u) != 0) {
3673 _this->_impl_.upper_bound_ = from._impl_.upper_bound_;
3676 _this->_impl_._has_bits_[0] |= cached_has_bits;
3677 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3682 if (&from ==
this)
return;
3688void MPQuadraticConstraint::InternalSwap(
MPQuadraticConstraint* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3690 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3691 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3692 _impl_.var_index_.InternalSwap(&other->_impl_.var_index_);
3693 _impl_.coefficient_.InternalSwap(&other->_impl_.coefficient_);
3694 _impl_.qvar1_index_.InternalSwap(&other->_impl_.qvar1_index_);
3695 _impl_.qvar2_index_.InternalSwap(&other->_impl_.qvar2_index_);
3696 _impl_.qcoefficient_.InternalSwap(&other->_impl_.qcoefficient_);
3697 ::google::protobuf::internal::memswap<
3701 reinterpret_cast<char*
>(&
_impl_.lower_bound_),
3702 reinterpret_cast<char*
>(&other->_impl_.lower_bound_));
3706 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3710class MPAbsConstraint::_Internal {
3713 decltype(::std::declval<MPAbsConstraint>()._impl_._has_bits_);
3714 static constexpr ::int32_t kHasBitsOffset =
3719#if defined(PROTOBUF_CUSTOM_VTABLE)
3722 : ::google::protobuf::Message(arena) {
3728 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPAbsConstraint& from)
3729#if defined(PROTOBUF_CUSTOM_VTABLE)
3732 : ::google::protobuf::Message(arena),
3735 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3736 from._internal_metadata_);
3738PROTOBUF_NDEBUG_INLINE MPAbsConstraint::Impl_::Impl_(
3739 ::google::protobuf::internal::InternalVisibility visibility,
3740 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
3741 : _cached_size_{0} {}
3743inline void MPAbsConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
3744 new (&
_impl_) Impl_(internal_visibility(), arena);
3745 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
3746 offsetof(Impl_, var_index_),
3748 offsetof(Impl_, resultant_var_index_) -
3749 offsetof(Impl_, var_index_) +
3750 sizeof(Impl_::resultant_var_index_));
3756inline void MPAbsConstraint::SharedDtor(MessageLite& self) {
3758 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3759 ABSL_DCHECK(this_.GetArena() ==
nullptr);
3760 this_._impl_.~Impl_();
3764 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
3765 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
3769 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
MPAbsConstraint),
3773 return ::google::protobuf::internal::ClassDataFull{
3774 ::google::protobuf::internal::ClassData{
3779 &MPAbsConstraint::MergeImpl,
3780 ::google::protobuf::Message::GetNewImpl<MPAbsConstraint>(),
3781#if defined(PROTOBUF_CUSTOM_VTABLE)
3782 &MPAbsConstraint::SharedDtor,
3789 &MPAbsConstraint::kDescriptorMethods,
3795PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
3799PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
3805PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3806const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
3807MPAbsConstraint::_table_ = {
3812 offsetof(
decltype(_table_), field_lookup_table),
3814 offsetof(
decltype(_table_), field_entries),
3817 offsetof(
decltype(_table_), field_names),
3820 ::_pbi::TcParser::GenericFallback,
3821 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3822 ::_pbi::TcParser::GetTable<::operations_research::MPAbsConstraint>(),
3826 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPAbsConstraint,
_impl_.resultant_var_index_), 1>(),
3829 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPAbsConstraint,
_impl_.var_index_), 0>(),
3836 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3839 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
3847 ::google::protobuf::internal::TSanWrite(&
_impl_);
3848 ::uint32_t cached_has_bits = 0;
3850 (void) cached_has_bits;
3853 if ((cached_has_bits & 0x00000003u) != 0) {
3854 ::memset(&
_impl_.var_index_, 0,
static_cast<::
size_t>(
3855 reinterpret_cast<char*
>(&
_impl_.resultant_var_index_) -
3856 reinterpret_cast<char*
>(&
_impl_.var_index_)) +
sizeof(
_impl_.resultant_var_index_));
3858 _impl_._has_bits_.Clear();
3859 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3862#if defined(PROTOBUF_CUSTOM_VTABLE)
3864 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
3865 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
3869 ::uint8_t* PROTOBUF_NONNULL target,
3870 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
3874 ::uint32_t cached_has_bits = 0;
3875 (void)cached_has_bits;
3877 cached_has_bits = this_._impl_._has_bits_[0];
3879 if ((cached_has_bits & 0x00000001u) != 0) {
3881 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<1>(
3882 stream, this_._internal_var_index(), target);
3886 if ((cached_has_bits & 0x00000002u) != 0) {
3888 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
3889 stream, this_._internal_resultant_var_index(), target);
3892 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3894 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3895 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3901#if defined(PROTOBUF_CUSTOM_VTABLE)
3909 ::size_t total_size = 0;
3911 ::uint32_t cached_has_bits = 0;
3913 (void)cached_has_bits;
3915 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3916 cached_has_bits = this_._impl_._has_bits_[0];
3917 if ((cached_has_bits & 0x00000003u) != 0) {
3919 if ((cached_has_bits & 0x00000001u) != 0) {
3920 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3921 this_._internal_var_index());
3924 if ((cached_has_bits & 0x00000002u) != 0) {
3925 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
3926 this_._internal_resultant_var_index());
3929 return this_.MaybeComputeUnknownFieldsSize(total_size,
3930 &this_._impl_._cached_size_);
3933void MPAbsConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3937 ABSL_DCHECK_NE(&from, _this);
3938 ::uint32_t cached_has_bits = 0;
3939 (void) cached_has_bits;
3941 cached_has_bits = from.
_impl_._has_bits_[0];
3942 if ((cached_has_bits & 0x00000003u) != 0) {
3943 if ((cached_has_bits & 0x00000001u) != 0) {
3944 _this->_impl_.var_index_ = from.
_impl_.var_index_;
3946 if ((cached_has_bits & 0x00000002u) != 0) {
3947 _this->_impl_.resultant_var_index_ = from.
_impl_.resultant_var_index_;
3950 _this->_impl_._has_bits_[0] |= cached_has_bits;
3951 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3956 if (&from ==
this)
return;
3962void MPAbsConstraint::InternalSwap(
MPAbsConstraint* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
3964 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3965 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3966 ::google::protobuf::internal::memswap<
3970 reinterpret_cast<char*
>(&
_impl_.var_index_),
3971 reinterpret_cast<char*
>(&other->_impl_.var_index_));
3975 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
3979class MPArrayConstraint::_Internal {
3982 decltype(::std::declval<MPArrayConstraint>()._impl_._has_bits_);
3983 static constexpr ::int32_t kHasBitsOffset =
3988#if defined(PROTOBUF_CUSTOM_VTABLE)
3991 : ::google::protobuf::Message(arena) {
3996PROTOBUF_NDEBUG_INLINE MPArrayConstraint::Impl_::Impl_(
3997 ::google::protobuf::internal::InternalVisibility visibility,
3998 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
3999 const ::operations_research::MPArrayConstraint& from_msg)
4000 : _has_bits_{from._has_bits_},
4002 var_index_{visibility, arena, from.var_index_} {}
4005 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4006 const MPArrayConstraint& from)
4007#if defined(PROTOBUF_CUSTOM_VTABLE)
4010 : ::google::protobuf::Message(arena) {
4014 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
4015 from._internal_metadata_);
4016 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
4017 _impl_.resultant_var_index_ = from._impl_.resultant_var_index_;
4021PROTOBUF_NDEBUG_INLINE MPArrayConstraint::Impl_::Impl_(
4022 ::google::protobuf::internal::InternalVisibility visibility,
4023 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4025 var_index_{visibility, arena} {}
4027inline void MPArrayConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4028 new (&
_impl_) Impl_(internal_visibility(), arena);
4029 _impl_.resultant_var_index_ = {};
4035inline void MPArrayConstraint::SharedDtor(MessageLite& self) {
4037 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4038 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4039 this_._impl_.~Impl_();
4043 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4044 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4048 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4051 InternalGetArenaOffset(
4054 if (arena_bits.has_value()) {
4055 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4056 sizeof(MPArrayConstraint), alignof(MPArrayConstraint), *arena_bits);
4058 return ::google::protobuf::internal::MessageCreator(&MPArrayConstraint::PlacementNew_,
4059 sizeof(MPArrayConstraint),
4060 alignof(MPArrayConstraint));
4064 return ::google::protobuf::internal::ClassDataFull{
4065 ::google::protobuf::internal::ClassData{
4070 &MPArrayConstraint::MergeImpl,
4071 ::google::protobuf::Message::GetNewImpl<MPArrayConstraint>(),
4072#if defined(PROTOBUF_CUSTOM_VTABLE)
4073 &MPArrayConstraint::SharedDtor,
4080 &MPArrayConstraint::kDescriptorMethods,
4086PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4090PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4096PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4097const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
4098MPArrayConstraint::_table_ = {
4103 offsetof(
decltype(_table_), field_lookup_table),
4105 offsetof(
decltype(_table_), field_entries),
4108 offsetof(
decltype(_table_), field_names),
4111 ::_pbi::TcParser::GenericFallback,
4112 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4113 ::_pbi::TcParser::GetTable<::operations_research::MPArrayConstraint>(),
4117 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPArrayConstraint,
_impl_.resultant_var_index_), 0>(),
4120 {::_pbi::TcParser::FastV32R1,
4127 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
4130 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
4138 ::google::protobuf::internal::TSanWrite(&
_impl_);
4139 ::uint32_t cached_has_bits = 0;
4141 (void) cached_has_bits;
4143 _impl_.var_index_.Clear();
4145 _impl_._has_bits_.Clear();
4146 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4149#if defined(PROTOBUF_CUSTOM_VTABLE)
4151 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
4152 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4156 ::uint8_t* PROTOBUF_NONNULL target,
4157 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4161 ::uint32_t cached_has_bits = 0;
4162 (void)cached_has_bits;
4165 for (
int i = 0, n = this_._internal_var_index_size(); i < n; ++i) {
4166 target = stream->EnsureSpace(target);
4167 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
4168 1, this_._internal_var_index().Get(i), target);
4171 cached_has_bits = this_.
_impl_._has_bits_[0];
4173 if ((cached_has_bits & 0x00000001u) != 0) {
4175 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
4176 stream, this_._internal_resultant_var_index(), target);
4179 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4181 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4182 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4188#if defined(PROTOBUF_CUSTOM_VTABLE)
4196 ::size_t total_size = 0;
4198 ::uint32_t cached_has_bits = 0;
4200 (void)cached_has_bits;
4202 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4206 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
4207 this_._internal_var_index());
4208 ::size_t tag_size = ::size_t{1} *
4209 ::_pbi::FromIntSize(this_._internal_var_index_size());
4210 total_size += tag_size + data_size;
4215 cached_has_bits = this_._impl_._has_bits_[0];
4216 if ((cached_has_bits & 0x00000001u) != 0) {
4217 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
4218 this_._internal_resultant_var_index());
4221 return this_.MaybeComputeUnknownFieldsSize(total_size,
4222 &this_._impl_._cached_size_);
4225void MPArrayConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4229 ABSL_DCHECK_NE(&from, _this);
4230 ::uint32_t cached_has_bits = 0;
4231 (void) cached_has_bits;
4233 _this->_internal_mutable_var_index()->MergeFrom(from._internal_var_index());
4234 cached_has_bits = from._impl_._has_bits_[0];
4235 if ((cached_has_bits & 0x00000001u) != 0) {
4236 _this->
_impl_.resultant_var_index_ = from._impl_.resultant_var_index_;
4238 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4239 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4244 if (&from ==
this)
return;
4252 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4253 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4254 _impl_.var_index_.InternalSwap(&other->_impl_.var_index_);
4255 swap(
_impl_.resultant_var_index_, other->_impl_.resultant_var_index_);
4259 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4263class MPArrayWithConstantConstraint::_Internal {
4266 decltype(::std::declval<MPArrayWithConstantConstraint>()._impl_._has_bits_);
4267 static constexpr ::int32_t kHasBitsOffset =
4272#if defined(PROTOBUF_CUSTOM_VTABLE)
4275 : ::google::protobuf::Message(arena) {
4280PROTOBUF_NDEBUG_INLINE MPArrayWithConstantConstraint::Impl_::Impl_(
4281 ::google::protobuf::internal::InternalVisibility visibility,
4282 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4283 const ::operations_research::MPArrayWithConstantConstraint& from_msg)
4284 : _has_bits_{from._has_bits_},
4286 var_index_{visibility, arena, from.var_index_} {}
4289 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4291#if defined(PROTOBUF_CUSTOM_VTABLE)
4294 : ::google::protobuf::Message(arena) {
4298 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4299 from._internal_metadata_);
4300 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4301 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
4302 offsetof(Impl_, constant_),
4303 reinterpret_cast<const char *
>(&from.
_impl_) +
4304 offsetof(Impl_, constant_),
4305 offsetof(Impl_, resultant_var_index_) -
4306 offsetof(Impl_, constant_) +
4307 sizeof(Impl_::resultant_var_index_));
4311PROTOBUF_NDEBUG_INLINE MPArrayWithConstantConstraint::Impl_::Impl_(
4312 ::google::protobuf::internal::InternalVisibility visibility,
4313 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4315 var_index_{visibility, arena} {}
4317inline void MPArrayWithConstantConstraint::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4318 new (&
_impl_) Impl_(internal_visibility(), arena);
4319 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
4320 offsetof(Impl_, constant_),
4322 offsetof(Impl_, resultant_var_index_) -
4323 offsetof(Impl_, constant_) +
4324 sizeof(Impl_::resultant_var_index_));
4330inline void MPArrayWithConstantConstraint::SharedDtor(MessageLite& self) {
4332 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4333 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4334 this_._impl_.~Impl_();
4338 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4339 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4343 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4346 InternalGetArenaOffset(
4349 if (arena_bits.has_value()) {
4350 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4351 sizeof(MPArrayWithConstantConstraint), alignof(MPArrayWithConstantConstraint), *arena_bits);
4353 return ::google::protobuf::internal::MessageCreator(&MPArrayWithConstantConstraint::PlacementNew_,
4354 sizeof(MPArrayWithConstantConstraint),
4355 alignof(MPArrayWithConstantConstraint));
4359 return ::google::protobuf::internal::ClassDataFull{
4360 ::google::protobuf::internal::ClassData{
4365 &MPArrayWithConstantConstraint::MergeImpl,
4366 ::google::protobuf::Message::GetNewImpl<MPArrayWithConstantConstraint>(),
4367#if defined(PROTOBUF_CUSTOM_VTABLE)
4368 &MPArrayWithConstantConstraint::SharedDtor,
4375 &MPArrayWithConstantConstraint::kDescriptorMethods,
4381PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4385PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4391PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4392const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
4393MPArrayWithConstantConstraint::_table_ = {
4398 offsetof(
decltype(_table_), field_lookup_table),
4400 offsetof(
decltype(_table_), field_entries),
4403 offsetof(
decltype(_table_), field_names),
4406 ::_pbi::TcParser::GenericFallback,
4407 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4408 ::_pbi::TcParser::GetTable<::operations_research::MPArrayWithConstantConstraint>(),
4411 {::_pbi::TcParser::MiniParse, {}},
4413 {::_pbi::TcParser::FastV32R1,
4416 {::_pbi::TcParser::FastF64S1,
4426 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
4429 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
4432 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
4440 ::google::protobuf::internal::TSanWrite(&
_impl_);
4441 ::uint32_t cached_has_bits = 0;
4443 (void) cached_has_bits;
4445 _impl_.var_index_.Clear();
4446 cached_has_bits =
_impl_._has_bits_[0];
4447 if ((cached_has_bits & 0x00000003u) != 0) {
4448 ::memset(&
_impl_.constant_, 0,
static_cast<::
size_t>(
4449 reinterpret_cast<char*
>(&
_impl_.resultant_var_index_) -
4450 reinterpret_cast<char*
>(&
_impl_.constant_)) +
sizeof(
_impl_.resultant_var_index_));
4452 _impl_._has_bits_.Clear();
4453 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4456#if defined(PROTOBUF_CUSTOM_VTABLE)
4458 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
4459 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4463 ::uint8_t* PROTOBUF_NONNULL target,
4464 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4468 ::uint32_t cached_has_bits = 0;
4469 (void)cached_has_bits;
4472 for (
int i = 0, n = this_._internal_var_index_size(); i < n; ++i) {
4473 target = stream->EnsureSpace(target);
4474 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
4475 1, this_._internal_var_index().Get(i), target);
4478 cached_has_bits = this_._impl_._has_bits_[0];
4480 if ((cached_has_bits & 0x00000001u) != 0) {
4481 target = stream->EnsureSpace(target);
4482 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
4483 2, this_._internal_constant(), target);
4487 if ((cached_has_bits & 0x00000002u) != 0) {
4489 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<3>(
4490 stream, this_._internal_resultant_var_index(), target);
4493 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4495 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4496 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4502#if defined(PROTOBUF_CUSTOM_VTABLE)
4510 ::size_t total_size = 0;
4512 ::uint32_t cached_has_bits = 0;
4514 (void)cached_has_bits;
4516 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4520 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
4521 this_._internal_var_index());
4522 ::size_t tag_size = ::size_t{1} *
4523 ::_pbi::FromIntSize(this_._internal_var_index_size());
4524 total_size += tag_size + data_size;
4527 cached_has_bits = this_._impl_._has_bits_[0];
4528 total_size +=
static_cast<bool>(0x00000001u & cached_has_bits) * 9;
4531 if ((cached_has_bits & 0x00000002u) != 0) {
4532 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
4533 this_._internal_resultant_var_index());
4536 return this_.MaybeComputeUnknownFieldsSize(total_size,
4537 &this_._impl_._cached_size_);
4540void MPArrayWithConstantConstraint::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4544 ABSL_DCHECK_NE(&from, _this);
4545 ::uint32_t cached_has_bits = 0;
4546 (void) cached_has_bits;
4548 _this->_internal_mutable_var_index()->MergeFrom(from._internal_var_index());
4549 cached_has_bits = from.
_impl_._has_bits_[0];
4550 if ((cached_has_bits & 0x00000003u) != 0) {
4551 if ((cached_has_bits & 0x00000001u) != 0) {
4554 if ((cached_has_bits & 0x00000002u) != 0) {
4555 _this->
_impl_.resultant_var_index_ = from.
_impl_.resultant_var_index_;
4558 _this->
_impl_._has_bits_[0] |= cached_has_bits;
4559 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4564 if (&from ==
this)
return;
4572 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4573 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
4574 _impl_.var_index_.InternalSwap(&other->_impl_.var_index_);
4575 ::google::protobuf::internal::memswap<
4579 reinterpret_cast<char*
>(&
_impl_.constant_),
4580 reinterpret_cast<char*
>(&other->_impl_.constant_));
4584 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4588class MPQuadraticObjective::_Internal {
4593#if defined(PROTOBUF_CUSTOM_VTABLE)
4596 : ::google::protobuf::Message(arena) {
4601PROTOBUF_NDEBUG_INLINE MPQuadraticObjective::Impl_::Impl_(
4602 ::google::protobuf::internal::InternalVisibility visibility,
4603 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4604 const ::operations_research::MPQuadraticObjective& from_msg)
4605 : qvar1_index_{visibility, arena, from.qvar1_index_},
4606 qvar2_index_{visibility, arena, from.qvar2_index_},
4607 coefficient_{visibility, arena, from.coefficient_},
4611 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4613#if defined(PROTOBUF_CUSTOM_VTABLE)
4616 : ::google::protobuf::Message(arena) {
4620 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4621 from._internal_metadata_);
4622 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4626PROTOBUF_NDEBUG_INLINE MPQuadraticObjective::Impl_::Impl_(
4627 ::google::protobuf::internal::InternalVisibility visibility,
4628 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4629 : qvar1_index_{visibility, arena},
4630 qvar2_index_{visibility, arena},
4631 coefficient_{visibility, arena},
4634inline void MPQuadraticObjective::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4635 new (&
_impl_) Impl_(internal_visibility(), arena);
4641inline void MPQuadraticObjective::SharedDtor(MessageLite& self) {
4643 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4644 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4645 this_._impl_.~Impl_();
4649 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4650 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4654 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4657 InternalGetArenaOffset(
4661 InternalGetArenaOffset(
4665 InternalGetArenaOffset(
4668 if (arena_bits.has_value()) {
4669 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4670 sizeof(MPQuadraticObjective), alignof(MPQuadraticObjective), *arena_bits);
4672 return ::google::protobuf::internal::MessageCreator(&MPQuadraticObjective::PlacementNew_,
4673 sizeof(MPQuadraticObjective),
4674 alignof(MPQuadraticObjective));
4678 return ::google::protobuf::internal::ClassDataFull{
4679 ::google::protobuf::internal::ClassData{
4684 &MPQuadraticObjective::MergeImpl,
4685 ::google::protobuf::Message::GetNewImpl<MPQuadraticObjective>(),
4686#if defined(PROTOBUF_CUSTOM_VTABLE)
4687 &MPQuadraticObjective::SharedDtor,
4694 &MPQuadraticObjective::kDescriptorMethods,
4700PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
4704PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
4710PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
4711const ::_pbi::TcParseTable<2, 3, 0, 0, 2>
4712MPQuadraticObjective::_table_ = {
4717 offsetof(
decltype(_table_), field_lookup_table),
4719 offsetof(
decltype(_table_), field_entries),
4722 offsetof(
decltype(_table_), field_names),
4725 ::_pbi::TcParser::GenericFallback,
4726 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
4727 ::_pbi::TcParser::GetTable<::operations_research::MPQuadraticObjective>(),
4730 {::_pbi::TcParser::MiniParse, {}},
4732 {::_pbi::TcParser::FastV32R1,
4735 {::_pbi::TcParser::FastV32R1,
4738 {::_pbi::TcParser::FastF64R1,
4745 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
4748 (0 | ::_fl::kFcRepeated | ::_fl::kInt32)},
4751 (0 | ::_fl::kFcRepeated | ::_fl::kDouble)},
4759 ::google::protobuf::internal::TSanWrite(&
_impl_);
4760 ::uint32_t cached_has_bits = 0;
4762 (void) cached_has_bits;
4764 _impl_.qvar1_index_.Clear();
4765 _impl_.qvar2_index_.Clear();
4766 _impl_.coefficient_.Clear();
4767 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
4770#if defined(PROTOBUF_CUSTOM_VTABLE)
4772 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
4773 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
4777 ::uint8_t* PROTOBUF_NONNULL target,
4778 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
4782 ::uint32_t cached_has_bits = 0;
4783 (void)cached_has_bits;
4786 for (
int i = 0, n = this_._internal_qvar1_index_size(); i < n; ++i) {
4787 target = stream->EnsureSpace(target);
4788 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
4789 1, this_._internal_qvar1_index().Get(i), target);
4793 for (
int i = 0, n = this_._internal_qvar2_index_size(); i < n; ++i) {
4794 target = stream->EnsureSpace(target);
4795 target = ::_pbi::WireFormatLite::WriteInt32ToArray(
4796 2, this_._internal_qvar2_index().Get(i), target);
4800 for (
int i = 0, n = this_._internal_coefficient_size(); i < n; ++i) {
4801 target = stream->EnsureSpace(target);
4802 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
4803 3, this_._internal_coefficient().Get(i), target);
4806 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
4808 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
4809 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
4815#if defined(PROTOBUF_CUSTOM_VTABLE)
4823 ::size_t total_size = 0;
4825 ::uint32_t cached_has_bits = 0;
4827 (void)cached_has_bits;
4829 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
4833 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
4834 this_._internal_qvar1_index());
4835 ::size_t tag_size = ::size_t{1} *
4836 ::_pbi::FromIntSize(this_._internal_qvar1_index_size());
4837 total_size += tag_size + data_size;
4841 ::size_t data_size = ::_pbi::WireFormatLite::Int32Size(
4842 this_._internal_qvar2_index());
4843 ::size_t tag_size = ::size_t{1} *
4844 ::_pbi::FromIntSize(this_._internal_qvar2_index_size());
4845 total_size += tag_size + data_size;
4849 ::size_t data_size = ::size_t{8} *
4850 ::_pbi::FromIntSize(this_._internal_coefficient_size());
4851 ::size_t tag_size = ::size_t{1} *
4852 ::_pbi::FromIntSize(this_._internal_coefficient_size());
4853 total_size += tag_size + data_size;
4856 return this_.MaybeComputeUnknownFieldsSize(total_size,
4857 &this_._impl_._cached_size_);
4860void MPQuadraticObjective::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
4864 ABSL_DCHECK_NE(&from, _this);
4865 ::uint32_t cached_has_bits = 0;
4866 (void) cached_has_bits;
4868 _this->_internal_mutable_qvar1_index()->MergeFrom(from._internal_qvar1_index());
4869 _this->_internal_mutable_qvar2_index()->MergeFrom(from._internal_qvar2_index());
4870 _this->_internal_mutable_coefficient()->MergeFrom(from._internal_coefficient());
4871 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
4876 if (&from ==
this)
return;
4882void MPQuadraticObjective::InternalSwap(
MPQuadraticObjective* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
4884 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
4885 _impl_.qvar1_index_.InternalSwap(&other->_impl_.qvar1_index_);
4886 _impl_.qvar2_index_.InternalSwap(&other->_impl_.qvar2_index_);
4887 _impl_.coefficient_.InternalSwap(&other->_impl_.coefficient_);
4891 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
4895class PartialVariableAssignment::_Internal {
4900#if defined(PROTOBUF_CUSTOM_VTABLE)
4903 : ::google::protobuf::Message(arena) {
4908PROTOBUF_NDEBUG_INLINE PartialVariableAssignment::Impl_::Impl_(
4909 ::google::protobuf::internal::InternalVisibility visibility,
4910 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
4911 const ::operations_research::PartialVariableAssignment& from_msg)
4912 : var_index_{visibility, arena, from.var_index_},
4913 _var_index_cached_byte_size_{0},
4914 var_value_{visibility, arena, from.var_value_},
4918 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
4920#if defined(PROTOBUF_CUSTOM_VTABLE)
4923 : ::google::protobuf::Message(arena) {
4927 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
4928 from._internal_metadata_);
4929 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
4933PROTOBUF_NDEBUG_INLINE PartialVariableAssignment::Impl_::Impl_(
4934 ::google::protobuf::internal::InternalVisibility visibility,
4935 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
4936 : var_index_{visibility, arena},
4937 _var_index_cached_byte_size_{0},
4938 var_value_{visibility, arena},
4941inline void PartialVariableAssignment::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
4942 new (&
_impl_) Impl_(internal_visibility(), arena);
4948inline void PartialVariableAssignment::SharedDtor(MessageLite& self) {
4950 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
4951 ABSL_DCHECK(this_.GetArena() ==
nullptr);
4952 this_._impl_.~Impl_();
4956 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
4957 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
4961 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
4964 InternalGetArenaOffset(
4968 InternalGetArenaOffset(
4971 if (arena_bits.has_value()) {
4972 return ::google::protobuf::internal::MessageCreator::ZeroInit(
4973 sizeof(PartialVariableAssignment), alignof(PartialVariableAssignment), *arena_bits);
4975 return ::google::protobuf::internal::MessageCreator(&PartialVariableAssignment::PlacementNew_,
4976 sizeof(PartialVariableAssignment),
4977 alignof(PartialVariableAssignment));
4981 return ::google::protobuf::internal::ClassDataFull{
4982 ::google::protobuf::internal::ClassData{
4987 &PartialVariableAssignment::MergeImpl,
4988 ::google::protobuf::Message::GetNewImpl<PartialVariableAssignment>(),
4989#if defined(PROTOBUF_CUSTOM_VTABLE)
4990 &PartialVariableAssignment::SharedDtor,
4997 &PartialVariableAssignment::kDescriptorMethods,
5003PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5007PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5013PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5014const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
5015PartialVariableAssignment::_table_ = {
5020 offsetof(
decltype(_table_), field_lookup_table),
5022 offsetof(
decltype(_table_), field_entries),
5025 offsetof(
decltype(_table_), field_names),
5028 ::_pbi::TcParser::GenericFallback,
5029 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5030 ::_pbi::TcParser::GetTable<::operations_research::PartialVariableAssignment>(),
5034 {::_pbi::TcParser::FastF64P1,
5037 {::_pbi::TcParser::FastV32P1,
5044 (0 | ::_fl::kFcRepeated | ::_fl::kPackedInt32)},
5047 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
5055 ::google::protobuf::internal::TSanWrite(&
_impl_);
5056 ::uint32_t cached_has_bits = 0;
5058 (void) cached_has_bits;
5060 _impl_.var_index_.Clear();
5061 _impl_.var_value_.Clear();
5062 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5065#if defined(PROTOBUF_CUSTOM_VTABLE)
5067 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
5068 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5072 ::uint8_t* PROTOBUF_NONNULL target,
5073 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5077 ::uint32_t cached_has_bits = 0;
5078 (void)cached_has_bits;
5082 int byte_size = this_.
_impl_._var_index_cached_byte_size_.Get();
5083 if (byte_size > 0) {
5084 target = stream->WriteInt32Packed(
5085 1, this_._internal_var_index(), byte_size, target);
5090 if (this_._internal_var_value_size() > 0) {
5091 target = stream->WriteFixedPacked(2, this_._internal_var_value(), target);
5094 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5096 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5097 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5103#if defined(PROTOBUF_CUSTOM_VTABLE)
5111 ::size_t total_size = 0;
5113 ::uint32_t cached_has_bits = 0;
5115 (void)cached_has_bits;
5117 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5122 ::_pbi::WireFormatLite::Int32SizeWithPackedTagSize(
5123 this_._internal_var_index(), 1,
5124 this_._impl_._var_index_cached_byte_size_);
5128 ::size_t data_size = ::size_t{8} *
5129 ::_pbi::FromIntSize(this_._internal_var_value_size());
5130 ::size_t tag_size = data_size == 0
5132 : 1 + ::_pbi::WireFormatLite::Int32Size(
5133 static_cast<::int32_t
>(data_size));
5134 total_size += tag_size + data_size;
5137 return this_.MaybeComputeUnknownFieldsSize(total_size,
5138 &this_._impl_._cached_size_);
5141void PartialVariableAssignment::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5145 ABSL_DCHECK_NE(&from, _this);
5146 ::uint32_t cached_has_bits = 0;
5147 (void) cached_has_bits;
5149 _this->_internal_mutable_var_index()->MergeFrom(from._internal_var_index());
5150 _this->_internal_mutable_var_value()->MergeFrom(from._internal_var_value());
5151 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5156 if (&from ==
this)
return;
5164 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5165 _impl_.var_index_.InternalSwap(&other->_impl_.var_index_);
5166 _impl_.var_value_.InternalSwap(&other->_impl_.var_value_);
5170 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
5174class MPModelProto_Annotation::_Internal {
5177 decltype(::std::declval<MPModelProto_Annotation>()._impl_._has_bits_);
5178 static constexpr ::int32_t kHasBitsOffset =
5179 8 * PROTOBUF_FIELD_OFFSET(MPModelProto_Annotation, _impl_._has_bits_);
5183#if defined(PROTOBUF_CUSTOM_VTABLE)
5186 : ::google::protobuf::Message(arena) {
5191PROTOBUF_NDEBUG_INLINE MPModelProto_Annotation::Impl_::Impl_(
5192 ::google::protobuf::internal::InternalVisibility visibility,
5193 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5194 const ::operations_research::MPModelProto_Annotation& from_msg)
5195 : _has_bits_{from._has_bits_},
5197 target_name_(arena, from.target_name_),
5198 payload_key_(arena, from.payload_key_),
5199 payload_value_(arena, from.payload_value_) {}
5202 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5204#if defined(PROTOBUF_CUSTOM_VTABLE)
5207 : ::google::protobuf::Message(arena) {
5211 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5212 from._internal_metadata_);
5214 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
5215 offsetof(Impl_, target_type_),
5216 reinterpret_cast<const char *
>(&from.
_impl_) +
5217 offsetof(Impl_, target_type_),
5218 offsetof(Impl_, target_index_) -
5219 offsetof(Impl_, target_type_) +
5220 sizeof(Impl_::target_index_));
5224PROTOBUF_NDEBUG_INLINE MPModelProto_Annotation::Impl_::Impl_(
5225 ::google::protobuf::internal::InternalVisibility visibility,
5226 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5228 target_name_(arena),
5229 payload_key_(arena),
5230 payload_value_(arena) {}
5232inline void MPModelProto_Annotation::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5233 new (&
_impl_) Impl_(internal_visibility(), arena);
5234 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
5235 offsetof(Impl_, target_type_),
5237 offsetof(Impl_, target_index_) -
5238 offsetof(Impl_, target_type_) +
5239 sizeof(Impl_::target_index_));
5245inline void MPModelProto_Annotation::SharedDtor(MessageLite& self) {
5247 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5248 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5249 this_._impl_.target_name_.Destroy();
5250 this_._impl_.payload_key_.Destroy();
5251 this_._impl_.payload_value_.Destroy();
5252 this_._impl_.~Impl_();
5256 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5257 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5265 return ::google::protobuf::internal::ClassDataFull{
5266 ::google::protobuf::internal::ClassData{
5271 &MPModelProto_Annotation::MergeImpl,
5272 ::google::protobuf::Message::GetNewImpl<MPModelProto_Annotation>(),
5273#if defined(PROTOBUF_CUSTOM_VTABLE)
5274 &MPModelProto_Annotation::SharedDtor,
5281 &MPModelProto_Annotation::kDescriptorMethods,
5287PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5291PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5297PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5298const ::_pbi::TcParseTable<3, 5, 1, 87, 2>
5299MPModelProto_Annotation::_table_ = {
5304 offsetof(
decltype(_table_), field_lookup_table),
5306 offsetof(
decltype(_table_), field_entries),
5309 offsetof(
decltype(_table_), aux_entries),
5312 ::_pbi::TcParser::GenericFallback,
5313 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5314 ::_pbi::TcParser::GetTable<::operations_research::MPModelProto_Annotation>(),
5317 {::_pbi::TcParser::MiniParse, {}},
5319 {::_pbi::TcParser::FastEr0S1,
5322 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPModelProto_Annotation, _impl_.target_index_), 4>(),
5325 {::_pbi::TcParser::FastSS1,
5328 {::_pbi::TcParser::FastSS1,
5331 {::_pbi::TcParser::FastSS1,
5333 {::_pbi::TcParser::MiniParse, {}},
5334 {::_pbi::TcParser::MiniParse, {}},
5340 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
5343 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
5346 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5349 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5352 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5358 "\53\0\0\13\13\15\0\0"
5359 "operations_research.MPModelProto.Annotation"
5367 ::google::protobuf::internal::TSanWrite(&
_impl_);
5368 ::uint32_t cached_has_bits = 0;
5370 (void) cached_has_bits;
5372 cached_has_bits =
_impl_._has_bits_[0];
5373 if ((cached_has_bits & 0x00000007u) != 0) {
5374 if ((cached_has_bits & 0x00000001u) != 0) {
5375 _impl_.target_name_.ClearNonDefaultToEmpty();
5377 if ((cached_has_bits & 0x00000002u) != 0) {
5378 _impl_.payload_key_.ClearNonDefaultToEmpty();
5380 if ((cached_has_bits & 0x00000004u) != 0) {
5381 _impl_.payload_value_.ClearNonDefaultToEmpty();
5384 if ((cached_has_bits & 0x00000018u) != 0) {
5385 ::memset(&
_impl_.target_type_, 0,
static_cast<::
size_t>(
5386 reinterpret_cast<char*
>(&
_impl_.target_index_) -
5387 reinterpret_cast<char*
>(&
_impl_.target_type_)) +
sizeof(
_impl_.target_index_));
5389 _impl_._has_bits_.Clear();
5390 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5393#if defined(PROTOBUF_CUSTOM_VTABLE)
5395 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
5396 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5400 ::uint8_t* PROTOBUF_NONNULL target,
5401 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5405 ::uint32_t cached_has_bits = 0;
5406 (void)cached_has_bits;
5408 cached_has_bits = this_._impl_._has_bits_[0];
5410 if ((cached_has_bits & 0x00000008u) != 0) {
5411 target = stream->EnsureSpace(target);
5412 target = ::_pbi::WireFormatLite::WriteEnumToArray(
5413 1, this_._internal_target_type(), target);
5417 if ((cached_has_bits & 0x00000010u) != 0) {
5419 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<2>(
5420 stream, this_._internal_target_index(), target);
5424 if ((cached_has_bits & 0x00000001u) != 0) {
5425 const ::std::string& _s = this_._internal_target_name();
5426 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5427 "operations_research.MPModelProto.Annotation.target_name");
5428 target = stream->WriteStringMaybeAliased(3, _s, target);
5432 if ((cached_has_bits & 0x00000002u) != 0) {
5433 const ::std::string& _s = this_._internal_payload_key();
5434 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5435 "operations_research.MPModelProto.Annotation.payload_key");
5436 target = stream->WriteStringMaybeAliased(4, _s, target);
5440 if ((cached_has_bits & 0x00000004u) != 0) {
5441 const ::std::string& _s = this_._internal_payload_value();
5442 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5443 "operations_research.MPModelProto.Annotation.payload_value");
5444 target = stream->WriteStringMaybeAliased(5, _s, target);
5447 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5449 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5450 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5456#if defined(PROTOBUF_CUSTOM_VTABLE)
5464 ::size_t total_size = 0;
5466 ::uint32_t cached_has_bits = 0;
5468 (void)cached_has_bits;
5470 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5471 cached_has_bits = this_._impl_._has_bits_[0];
5472 if ((cached_has_bits & 0x0000001fu) != 0) {
5474 if ((cached_has_bits & 0x00000001u) != 0) {
5475 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5476 this_._internal_target_name());
5479 if ((cached_has_bits & 0x00000002u) != 0) {
5480 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5481 this_._internal_payload_key());
5484 if ((cached_has_bits & 0x00000004u) != 0) {
5485 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
5486 this_._internal_payload_value());
5489 if ((cached_has_bits & 0x00000008u) != 0) {
5491 ::_pbi::WireFormatLite::EnumSize(this_._internal_target_type());
5494 if ((cached_has_bits & 0x00000010u) != 0) {
5495 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
5496 this_._internal_target_index());
5499 return this_.MaybeComputeUnknownFieldsSize(total_size,
5500 &this_._impl_._cached_size_);
5503void MPModelProto_Annotation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
5507 ABSL_DCHECK_NE(&from, _this);
5508 ::uint32_t cached_has_bits = 0;
5509 (void) cached_has_bits;
5511 cached_has_bits = from.
_impl_._has_bits_[0];
5512 if ((cached_has_bits & 0x0000001fu) != 0) {
5513 if ((cached_has_bits & 0x00000001u) != 0) {
5514 _this->_internal_set_target_name(from._internal_target_name());
5516 if ((cached_has_bits & 0x00000002u) != 0) {
5517 _this->_internal_set_payload_key(from._internal_payload_key());
5519 if ((cached_has_bits & 0x00000004u) != 0) {
5520 _this->_internal_set_payload_value(from._internal_payload_value());
5522 if ((cached_has_bits & 0x00000008u) != 0) {
5525 if ((cached_has_bits & 0x00000010u) != 0) {
5526 _this->
_impl_.target_index_ = from.
_impl_.target_index_;
5529 _this->
_impl_._has_bits_[0] |= cached_has_bits;
5530 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
5535 if (&from ==
this)
return;
5541void MPModelProto_Annotation::InternalSwap(
MPModelProto_Annotation* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
5543 auto* arena = GetArena();
5544 ABSL_DCHECK_EQ(arena, other->GetArena());
5545 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
5546 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
5547 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.target_name_, &other->_impl_.target_name_, arena);
5548 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.payload_key_, &other->_impl_.payload_key_, arena);
5549 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.payload_value_, &other->_impl_.payload_value_, arena);
5550 ::google::protobuf::internal::memswap<
5554 reinterpret_cast<char*
>(&
_impl_.target_type_),
5555 reinterpret_cast<char*
>(&other->_impl_.target_type_));
5559 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
5563class MPModelProto::_Internal {
5566 decltype(::std::declval<MPModelProto>()._impl_._has_bits_);
5567 static constexpr ::int32_t kHasBitsOffset =
5568 8 * PROTOBUF_FIELD_OFFSET(MPModelProto, _impl_._has_bits_);
5572#if defined(PROTOBUF_CUSTOM_VTABLE)
5575 : ::google::protobuf::Message(arena) {
5580PROTOBUF_NDEBUG_INLINE MPModelProto::Impl_::Impl_(
5581 ::google::protobuf::internal::InternalVisibility visibility,
5582 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
5583 const ::operations_research::MPModelProto& from_msg)
5584 : _has_bits_{from._has_bits_},
5586 variable_{visibility, arena, from.variable_},
5587 constraint_{visibility, arena, from.constraint_},
5588 general_constraint_{visibility, arena, from.general_constraint_},
5589 annotation_{visibility, arena, from.annotation_},
5590 name_(arena, from.name_) {}
5593 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
5595#if defined(PROTOBUF_CUSTOM_VTABLE)
5598 : ::google::protobuf::Message(arena) {
5602 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
5603 from._internal_metadata_);
5604 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
5605 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
5606 _impl_.solution_hint_ = ((cached_has_bits & 0x00000002u) != 0)
5607 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solution_hint_)
5609 _impl_.quadratic_objective_ = ((cached_has_bits & 0x00000004u) != 0)
5610 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.quadratic_objective_)
5612 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
5613 offsetof(Impl_, objective_offset_),
5614 reinterpret_cast<const char *
>(&from.
_impl_) +
5615 offsetof(Impl_, objective_offset_),
5616 offsetof(Impl_, maximize_) -
5617 offsetof(Impl_, objective_offset_) +
5618 sizeof(Impl_::maximize_));
5622PROTOBUF_NDEBUG_INLINE MPModelProto::Impl_::Impl_(
5623 ::google::protobuf::internal::InternalVisibility visibility,
5624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
5626 variable_{visibility, arena},
5627 constraint_{visibility, arena},
5628 general_constraint_{visibility, arena},
5629 annotation_{visibility, arena},
5632inline void MPModelProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
5633 new (&
_impl_) Impl_(internal_visibility(), arena);
5634 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
5635 offsetof(Impl_, solution_hint_),
5637 offsetof(Impl_, maximize_) -
5638 offsetof(Impl_, solution_hint_) +
5639 sizeof(Impl_::maximize_));
5645inline void MPModelProto::SharedDtor(MessageLite& self) {
5647 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
5648 ABSL_DCHECK(this_.GetArena() ==
nullptr);
5649 this_._impl_.name_.Destroy();
5650 delete this_._impl_.solution_hint_;
5651 delete this_._impl_.quadratic_objective_;
5652 this_._impl_.~Impl_();
5656 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
5657 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
5661 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
5664 InternalGetArenaOffset(
5668 InternalGetArenaOffset(
5672 InternalGetArenaOffset(
5676 InternalGetArenaOffset(
5679 if (arena_bits.has_value()) {
5680 return ::google::protobuf::internal::MessageCreator::CopyInit(
5681 sizeof(MPModelProto), alignof(MPModelProto), *arena_bits);
5683 return ::google::protobuf::internal::MessageCreator(&MPModelProto::PlacementNew_,
5684 sizeof(MPModelProto),
5685 alignof(MPModelProto));
5689 return ::google::protobuf::internal::ClassDataFull{
5690 ::google::protobuf::internal::ClassData{
5695 &MPModelProto::MergeImpl,
5696 ::google::protobuf::Message::GetNewImpl<MPModelProto>(),
5697#if defined(PROTOBUF_CUSTOM_VTABLE)
5698 &MPModelProto::SharedDtor,
5705 &MPModelProto::kDescriptorMethods,
5711PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
5715PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
5721PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
5722const ::_pbi::TcParseTable<4, 9, 6, 53, 2>
5723MPModelProto::_table_ = {
5728 offsetof(
decltype(_table_), field_lookup_table),
5730 offsetof(
decltype(_table_), field_entries),
5733 offsetof(
decltype(_table_), aux_entries),
5736 ::_pbi::TcParser::GenericFallback,
5737 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
5738 ::_pbi::TcParser::GetTable<::operations_research::MPModelProto>(),
5741 {::_pbi::TcParser::MiniParse, {}},
5743 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
MPModelProto,
_impl_.maximize_), 4>(),
5746 {::_pbi::TcParser::FastF64S1,
5749 {::_pbi::TcParser::FastMtR1,
5752 {::_pbi::TcParser::FastMtR1,
5755 {::_pbi::TcParser::FastSS1,
5758 {::_pbi::TcParser::FastMtS1,
5761 {::_pbi::TcParser::FastMtR1,
5764 {::_pbi::TcParser::FastMtS1,
5767 {::_pbi::TcParser::FastMtR1,
5769 {::_pbi::TcParser::MiniParse, {}},
5770 {::_pbi::TcParser::MiniParse, {}},
5771 {::_pbi::TcParser::MiniParse, {}},
5772 {::_pbi::TcParser::MiniParse, {}},
5773 {::_pbi::TcParser::MiniParse, {}},
5774 {::_pbi::TcParser::MiniParse, {}},
5780 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
5783 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
5786 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5789 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5792 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
5795 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
5798 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5801 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
5804 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
5807 {::_pbi::TcParser::GetTable<::operations_research::MPVariableProto>()},
5808 {::_pbi::TcParser::GetTable<::operations_research::MPConstraintProto>()},
5809 {::_pbi::TcParser::GetTable<::operations_research::PartialVariableAssignment>()},
5810 {::_pbi::TcParser::GetTable<::operations_research::MPGeneralConstraintProto>()},
5811 {::_pbi::TcParser::GetTable<::operations_research::MPQuadraticObjective>()},
5812 {::_pbi::TcParser::GetTable<::operations_research::MPModelProto_Annotation>()},
5815 "\40\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0"
5816 "operations_research.MPModelProto"
5822 ::google::protobuf::internal::TSanWrite(&
_impl_);
5823 ::uint32_t cached_has_bits = 0;
5825 (void) cached_has_bits;
5827 _impl_.variable_.Clear();
5828 _impl_.constraint_.Clear();
5829 _impl_.general_constraint_.Clear();
5830 _impl_.annotation_.Clear();
5831 cached_has_bits =
_impl_._has_bits_[0];
5832 if ((cached_has_bits & 0x00000007u) != 0) {
5833 if ((cached_has_bits & 0x00000001u) != 0) {
5834 _impl_.name_.ClearNonDefaultToEmpty();
5836 if ((cached_has_bits & 0x00000002u) != 0) {
5837 ABSL_DCHECK(
_impl_.solution_hint_ !=
nullptr);
5840 if ((cached_has_bits & 0x00000004u) != 0) {
5841 ABSL_DCHECK(
_impl_.quadratic_objective_ !=
nullptr);
5845 if ((cached_has_bits & 0x00000018u) != 0) {
5846 ::memset(&
_impl_.objective_offset_, 0,
static_cast<::
size_t>(
5847 reinterpret_cast<char*
>(&
_impl_.maximize_) -
5848 reinterpret_cast<char*
>(&
_impl_.objective_offset_)) +
sizeof(
_impl_.maximize_));
5850 _impl_._has_bits_.Clear();
5851 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
5854#if defined(PROTOBUF_CUSTOM_VTABLE)
5856 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
5857 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
5861 ::uint8_t* PROTOBUF_NONNULL target,
5862 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
5866 ::uint32_t cached_has_bits = 0;
5867 (void)cached_has_bits;
5869 cached_has_bits = this_._impl_._has_bits_[0];
5871 if ((cached_has_bits & 0x00000010u) != 0) {
5872 target = stream->EnsureSpace(target);
5873 target = ::_pbi::WireFormatLite::WriteBoolToArray(
5874 1, this_._internal_maximize(), target);
5878 if ((cached_has_bits & 0x00000008u) != 0) {
5879 target = stream->EnsureSpace(target);
5880 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
5881 2, this_._internal_objective_offset(), target);
5885 for (
unsigned i = 0, n =
static_cast<unsigned>(
5886 this_._internal_variable_size());
5888 const auto& repfield = this_._internal_variable().Get(i);
5890 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5891 3, repfield, repfield.GetCachedSize(),
5896 for (
unsigned i = 0, n =
static_cast<unsigned>(
5897 this_._internal_constraint_size());
5899 const auto& repfield = this_._internal_constraint().Get(i);
5901 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5902 4, repfield, repfield.GetCachedSize(),
5907 if ((cached_has_bits & 0x00000001u) != 0) {
5908 const ::std::string& _s = this_._internal_name();
5909 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
5910 "operations_research.MPModelProto.name");
5911 target = stream->WriteStringMaybeAliased(5, _s, target);
5915 if ((cached_has_bits & 0x00000002u) != 0) {
5916 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5917 6, *this_._impl_.solution_hint_, this_._impl_.solution_hint_->GetCachedSize(), target,
5922 for (
unsigned i = 0, n =
static_cast<unsigned>(
5923 this_._internal_general_constraint_size());
5925 const auto& repfield = this_._internal_general_constraint().Get(i);
5927 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5928 7, repfield, repfield.GetCachedSize(),
5933 if ((cached_has_bits & 0x00000004u) != 0) {
5934 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5935 8, *this_._impl_.quadratic_objective_, this_._impl_.quadratic_objective_->GetCachedSize(), target,
5940 for (
unsigned i = 0, n =
static_cast<unsigned>(
5941 this_._internal_annotation_size());
5943 const auto& repfield = this_._internal_annotation().Get(i);
5945 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5946 9, repfield, repfield.GetCachedSize(),
5950 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
5952 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
5953 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
5959#if defined(PROTOBUF_CUSTOM_VTABLE)
5967 ::size_t total_size = 0;
5969 ::uint32_t cached_has_bits = 0;
5971 (void)cached_has_bits;
5973 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
5977 total_size += 1UL * this_._internal_variable_size();
5978 for (
const auto& msg : this_._internal_variable()) {
5979 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5984 total_size += 1UL * this_._internal_constraint_size();
5985 for (
const auto& msg : this_._internal_constraint()) {
5986 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5991 total_size += 1UL * this_._internal_general_constraint_size();
5992 for (
const auto& msg : this_._internal_general_constraint()) {
5993 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
5998 total_size += 1UL * this_._internal_annotation_size();
5999 for (
const auto& msg : this_._internal_annotation()) {
6000 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
6004 cached_has_bits = this_._impl_._has_bits_[0];
6005 total_size +=
static_cast<bool>(0x00000008u & cached_has_bits) * 9;
6006 total_size +=
static_cast<bool>(0x00000010u & cached_has_bits) * 2;
6007 if ((cached_has_bits & 0x00000007u) != 0) {
6009 if ((cached_has_bits & 0x00000001u) != 0) {
6010 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
6011 this_._internal_name());
6014 if ((cached_has_bits & 0x00000002u) != 0) {
6016 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solution_hint_);
6019 if ((cached_has_bits & 0x00000004u) != 0) {
6021 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.quadratic_objective_);
6024 return this_.MaybeComputeUnknownFieldsSize(total_size,
6025 &this_._impl_._cached_size_);
6028void MPModelProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6029 auto*
const _this =
static_cast<MPModelProto*
>(&to_msg);
6030 auto& from =
static_cast<const MPModelProto&
>(from_msg);
6033 ABSL_DCHECK_NE(&from, _this);
6034 ::uint32_t cached_has_bits = 0;
6035 (void) cached_has_bits;
6037 _this->_internal_mutable_variable()->MergeFrom(
6038 from._internal_variable());
6039 _this->_internal_mutable_constraint()->MergeFrom(
6040 from._internal_constraint());
6041 _this->_internal_mutable_general_constraint()->MergeFrom(
6042 from._internal_general_constraint());
6043 _this->_internal_mutable_annotation()->MergeFrom(
6044 from._internal_annotation());
6045 cached_has_bits = from.
_impl_._has_bits_[0];
6046 if ((cached_has_bits & 0x0000001fu) != 0) {
6047 if ((cached_has_bits & 0x00000001u) != 0) {
6048 _this->_internal_set_name(from._internal_name());
6050 if ((cached_has_bits & 0x00000002u) != 0) {
6051 ABSL_DCHECK(from.
_impl_.solution_hint_ !=
nullptr);
6052 if (_this->
_impl_.solution_hint_ ==
nullptr) {
6053 _this->
_impl_.solution_hint_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solution_hint_);
6058 if ((cached_has_bits & 0x00000004u) != 0) {
6059 ABSL_DCHECK(from.
_impl_.quadratic_objective_ !=
nullptr);
6060 if (_this->
_impl_.quadratic_objective_ ==
nullptr) {
6061 _this->
_impl_.quadratic_objective_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.quadratic_objective_);
6066 if ((cached_has_bits & 0x00000008u) != 0) {
6067 _this->
_impl_.objective_offset_ = from.
_impl_.objective_offset_;
6069 if ((cached_has_bits & 0x00000010u) != 0) {
6073 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6074 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6079 if (&from ==
this)
return;
6085void MPModelProto::InternalSwap(
MPModelProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
6087 auto* arena = GetArena();
6088 ABSL_DCHECK_EQ(arena, other->GetArena());
6089 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6091 _impl_.variable_.InternalSwap(&other->_impl_.variable_);
6092 _impl_.constraint_.InternalSwap(&other->_impl_.constraint_);
6093 _impl_.general_constraint_.InternalSwap(&other->_impl_.general_constraint_);
6094 _impl_.annotation_.InternalSwap(&other->_impl_.annotation_);
6095 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.name_, &other->_impl_.name_, arena);
6096 ::google::protobuf::internal::memswap<
6100 reinterpret_cast<char*
>(&
_impl_.solution_hint_),
6101 reinterpret_cast<char*
>(&other->_impl_.solution_hint_));
6105 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
6109class OptionalDouble::_Internal {
6112 decltype(::std::declval<OptionalDouble>()._impl_._has_bits_);
6113 static constexpr ::int32_t kHasBitsOffset =
6114 8 * PROTOBUF_FIELD_OFFSET(OptionalDouble, _impl_._has_bits_);
6118#if defined(PROTOBUF_CUSTOM_VTABLE)
6121 : ::google::protobuf::Message(arena) {
6128#if defined(PROTOBUF_CUSTOM_VTABLE)
6131 : ::google::protobuf::Message(arena),
6134 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
6135 from._internal_metadata_);
6137PROTOBUF_NDEBUG_INLINE OptionalDouble::Impl_::Impl_(
6138 ::google::protobuf::internal::InternalVisibility visibility,
6139 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6140 : _cached_size_{0} {}
6142inline void OptionalDouble::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6143 new (&
_impl_) Impl_(internal_visibility(), arena);
6150inline void OptionalDouble::SharedDtor(
MessageLite& self) {
6151 OptionalDouble& this_ =
static_cast<OptionalDouble&
>(self);
6152 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6153 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6154 this_._impl_.~Impl_();
6158 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6159 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6163 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
OptionalDouble),
6167 return ::google::protobuf::internal::ClassDataFull{
6168 ::google::protobuf::internal::ClassData{
6173 &OptionalDouble::MergeImpl,
6174 ::google::protobuf::Message::GetNewImpl<OptionalDouble>(),
6175#if defined(PROTOBUF_CUSTOM_VTABLE)
6176 &OptionalDouble::SharedDtor,
6183 &OptionalDouble::kDescriptorMethods,
6189PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6193PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6199PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6200const ::_pbi::TcParseTable<0, 1, 0, 0, 2>
6201OptionalDouble::_table_ = {
6203 PROTOBUF_FIELD_OFFSET(OptionalDouble,
_impl_._has_bits_),
6206 offsetof(
decltype(_table_), field_lookup_table),
6208 offsetof(
decltype(_table_), field_entries),
6211 offsetof(
decltype(_table_), field_names),
6214 ::_pbi::TcParser::GenericFallback,
6215 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6216 ::_pbi::TcParser::GetTable<::operations_research::OptionalDouble>(),
6220 {::_pbi::TcParser::FastF64S1,
6227 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
6235 ::google::protobuf::internal::TSanWrite(&
_impl_);
6236 ::uint32_t cached_has_bits = 0;
6238 (void) cached_has_bits;
6241 _impl_._has_bits_.Clear();
6242 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6245#if defined(PROTOBUF_CUSTOM_VTABLE)
6247 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
6248 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6252 ::uint8_t* PROTOBUF_NONNULL target,
6253 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6257 ::uint32_t cached_has_bits = 0;
6258 (void)cached_has_bits;
6260 cached_has_bits = this_.
_impl_._has_bits_[0];
6262 if ((cached_has_bits & 0x00000001u) != 0) {
6263 target = stream->EnsureSpace(target);
6264 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
6265 1, this_._internal_value(), target);
6268 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6270 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6271 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6277#if defined(PROTOBUF_CUSTOM_VTABLE)
6279 const OptionalDouble& this_ =
static_cast<const OptionalDouble&
>(base);
6282 const OptionalDouble& this_ = *
this;
6285 ::size_t total_size = 0;
6287 ::uint32_t cached_has_bits = 0;
6289 (void)cached_has_bits;
6291 cached_has_bits = this_.
_impl_._has_bits_[0];
6292 total_size +=
static_cast<bool>(0x00000001u & cached_has_bits) * 9;
6293 return this_.MaybeComputeUnknownFieldsSize(total_size,
6294 &this_._impl_._cached_size_);
6297void OptionalDouble::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6301 ABSL_DCHECK_NE(&from, _this);
6302 ::uint32_t cached_has_bits = 0;
6303 (void) cached_has_bits;
6305 cached_has_bits = from.
_impl_._has_bits_[0];
6306 if ((cached_has_bits & 0x00000001u) != 0) {
6309 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6310 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6315 if (&from ==
this)
return;
6321void OptionalDouble::InternalSwap(OptionalDouble* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
6323 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6324 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6329 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
6336 decltype(::std::declval<MPSolverCommonParameters>()._impl_._has_bits_);
6337 static constexpr ::int32_t kHasBitsOffset =
6342#if defined(PROTOBUF_CUSTOM_VTABLE)
6345 : ::google::protobuf::Message(arena) {
6350PROTOBUF_NDEBUG_INLINE MPSolverCommonParameters::Impl_::Impl_(
6351 ::google::protobuf::internal::InternalVisibility visibility,
6352 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6353 const ::operations_research::MPSolverCommonParameters& from_msg)
6354 : _has_bits_{from._has_bits_},
6358 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6360#if defined(PROTOBUF_CUSTOM_VTABLE)
6363 : ::google::protobuf::Message(arena) {
6367 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6368 from._internal_metadata_);
6369 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6370 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
6371 _impl_.relative_mip_gap_ = ((cached_has_bits & 0x00000001u) != 0)
6372 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.relative_mip_gap_)
6374 _impl_.primal_tolerance_ = ((cached_has_bits & 0x00000002u) != 0)
6375 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.primal_tolerance_)
6377 _impl_.dual_tolerance_ = ((cached_has_bits & 0x00000004u) != 0)
6378 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.dual_tolerance_)
6380 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
6381 offsetof(Impl_, lp_algorithm_),
6382 reinterpret_cast<const char *
>(&from.
_impl_) +
6383 offsetof(Impl_, lp_algorithm_),
6384 offsetof(Impl_, scaling_) -
6385 offsetof(Impl_, lp_algorithm_) +
6386 sizeof(Impl_::scaling_));
6390PROTOBUF_NDEBUG_INLINE MPSolverCommonParameters::Impl_::Impl_(
6391 ::google::protobuf::internal::InternalVisibility visibility,
6392 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6393 : _cached_size_{0} {}
6395inline void MPSolverCommonParameters::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
6396 new (&
_impl_) Impl_(internal_visibility(), arena);
6397 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
6398 offsetof(Impl_, relative_mip_gap_),
6400 offsetof(Impl_, scaling_) -
6401 offsetof(Impl_, relative_mip_gap_) +
6402 sizeof(Impl_::scaling_));
6408inline void MPSolverCommonParameters::SharedDtor(MessageLite& self) {
6410 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
6411 ABSL_DCHECK(this_.GetArena() ==
nullptr);
6412 delete this_._impl_.relative_mip_gap_;
6413 delete this_._impl_.primal_tolerance_;
6414 delete this_._impl_.dual_tolerance_;
6415 this_._impl_.~Impl_();
6419 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6420 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6428 return ::google::protobuf::internal::ClassDataFull{
6429 ::google::protobuf::internal::ClassData{
6434 &MPSolverCommonParameters::MergeImpl,
6435 ::google::protobuf::Message::GetNewImpl<MPSolverCommonParameters>(),
6436#if defined(PROTOBUF_CUSTOM_VTABLE)
6437 &MPSolverCommonParameters::SharedDtor,
6444 &MPSolverCommonParameters::kDescriptorMethods,
6450PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6454PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6460PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6461const ::_pbi::TcParseTable<3, 6, 6, 0, 2>
6462MPSolverCommonParameters::_table_ = {
6467 offsetof(
decltype(_table_), field_lookup_table),
6469 offsetof(
decltype(_table_), field_entries),
6472 offsetof(
decltype(_table_), aux_entries),
6475 ::_pbi::TcParser::GenericFallback,
6476 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6477 ::_pbi::TcParser::GetTable<::operations_research::MPSolverCommonParameters>(),
6480 {::_pbi::TcParser::MiniParse, {}},
6482 {::_pbi::TcParser::FastMtS1,
6485 {::_pbi::TcParser::FastMtS1,
6488 {::_pbi::TcParser::FastMtS1,
6491 {::_pbi::TcParser::FastEr0S1,
6494 {::_pbi::TcParser::FastEvS1,
6496 {::_pbi::TcParser::MiniParse, {}},
6498 {::_pbi::TcParser::FastEvS1,
6505 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6508 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6511 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6514 (0 | ::_fl::kFcOptional | ::_fl::kEnumRange)},
6517 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
6520 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
6523 {::_pbi::TcParser::GetTable<::operations_research::OptionalDouble>()},
6524 {::_pbi::TcParser::GetTable<::operations_research::OptionalDouble>()},
6525 {::_pbi::TcParser::GetTable<::operations_research::OptionalDouble>()},
6535 ::google::protobuf::internal::TSanWrite(&
_impl_);
6536 ::uint32_t cached_has_bits = 0;
6538 (void) cached_has_bits;
6540 cached_has_bits =
_impl_._has_bits_[0];
6541 if ((cached_has_bits & 0x00000007u) != 0) {
6542 if ((cached_has_bits & 0x00000001u) != 0) {
6543 ABSL_DCHECK(
_impl_.relative_mip_gap_ !=
nullptr);
6544 _impl_.relative_mip_gap_->Clear();
6546 if ((cached_has_bits & 0x00000002u) != 0) {
6547 ABSL_DCHECK(
_impl_.primal_tolerance_ !=
nullptr);
6550 if ((cached_has_bits & 0x00000004u) != 0) {
6551 ABSL_DCHECK(
_impl_.dual_tolerance_ !=
nullptr);
6555 if ((cached_has_bits & 0x00000038u) != 0) {
6556 ::memset(&
_impl_.lp_algorithm_, 0,
static_cast<::
size_t>(
6557 reinterpret_cast<char*
>(&
_impl_.scaling_) -
6558 reinterpret_cast<char*
>(&
_impl_.lp_algorithm_)) +
sizeof(
_impl_.scaling_));
6560 _impl_._has_bits_.Clear();
6561 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
6564#if defined(PROTOBUF_CUSTOM_VTABLE)
6566 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
6567 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
6571 ::uint8_t* PROTOBUF_NONNULL target,
6572 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
6576 ::uint32_t cached_has_bits = 0;
6577 (void)cached_has_bits;
6579 cached_has_bits = this_._impl_._has_bits_[0];
6581 if ((cached_has_bits & 0x00000001u) != 0) {
6582 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6583 1, *this_._impl_.relative_mip_gap_, this_._impl_.relative_mip_gap_->GetCachedSize(), target,
6588 if ((cached_has_bits & 0x00000002u) != 0) {
6589 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6590 2, *this_._impl_.primal_tolerance_, this_._impl_.primal_tolerance_->GetCachedSize(), target,
6595 if ((cached_has_bits & 0x00000004u) != 0) {
6596 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6597 3, *this_._impl_.dual_tolerance_, this_._impl_.dual_tolerance_->GetCachedSize(), target,
6602 if ((cached_has_bits & 0x00000008u) != 0) {
6603 target = stream->EnsureSpace(target);
6604 target = ::_pbi::WireFormatLite::WriteEnumToArray(
6605 4, this_._internal_lp_algorithm(), target);
6609 if ((cached_has_bits & 0x00000010u) != 0) {
6610 target = stream->EnsureSpace(target);
6611 target = ::_pbi::WireFormatLite::WriteEnumToArray(
6612 5, this_._internal_presolve(), target);
6616 if ((cached_has_bits & 0x00000020u) != 0) {
6617 target = stream->EnsureSpace(target);
6618 target = ::_pbi::WireFormatLite::WriteEnumToArray(
6619 7, this_._internal_scaling(), target);
6622 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
6624 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
6625 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
6631#if defined(PROTOBUF_CUSTOM_VTABLE)
6639 ::size_t total_size = 0;
6641 ::uint32_t cached_has_bits = 0;
6643 (void)cached_has_bits;
6645 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
6646 cached_has_bits = this_._impl_._has_bits_[0];
6647 if ((cached_has_bits & 0x0000003fu) != 0) {
6649 if ((cached_has_bits & 0x00000001u) != 0) {
6651 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.relative_mip_gap_);
6654 if ((cached_has_bits & 0x00000002u) != 0) {
6656 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primal_tolerance_);
6659 if ((cached_has_bits & 0x00000004u) != 0) {
6661 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.dual_tolerance_);
6664 if ((cached_has_bits & 0x00000008u) != 0) {
6666 ::_pbi::WireFormatLite::EnumSize(this_._internal_lp_algorithm());
6669 if ((cached_has_bits & 0x00000010u) != 0) {
6671 ::_pbi::WireFormatLite::EnumSize(this_._internal_presolve());
6674 if ((cached_has_bits & 0x00000020u) != 0) {
6676 ::_pbi::WireFormatLite::EnumSize(this_._internal_scaling());
6679 return this_.MaybeComputeUnknownFieldsSize(total_size,
6680 &this_._impl_._cached_size_);
6683void MPSolverCommonParameters::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
6688 ABSL_DCHECK_NE(&from, _this);
6689 ::uint32_t cached_has_bits = 0;
6690 (void) cached_has_bits;
6692 cached_has_bits = from.
_impl_._has_bits_[0];
6693 if ((cached_has_bits & 0x0000003fu) != 0) {
6694 if ((cached_has_bits & 0x00000001u) != 0) {
6695 ABSL_DCHECK(from.
_impl_.relative_mip_gap_ !=
nullptr);
6696 if (_this->
_impl_.relative_mip_gap_ ==
nullptr) {
6697 _this->
_impl_.relative_mip_gap_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.relative_mip_gap_);
6702 if ((cached_has_bits & 0x00000002u) != 0) {
6703 ABSL_DCHECK(from.
_impl_.primal_tolerance_ !=
nullptr);
6704 if (_this->
_impl_.primal_tolerance_ ==
nullptr) {
6705 _this->
_impl_.primal_tolerance_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.primal_tolerance_);
6710 if ((cached_has_bits & 0x00000004u) != 0) {
6711 ABSL_DCHECK(from.
_impl_.dual_tolerance_ !=
nullptr);
6712 if (_this->
_impl_.dual_tolerance_ ==
nullptr) {
6713 _this->
_impl_.dual_tolerance_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.dual_tolerance_);
6718 if ((cached_has_bits & 0x00000008u) != 0) {
6719 _this->
_impl_.lp_algorithm_ = from.
_impl_.lp_algorithm_;
6721 if ((cached_has_bits & 0x00000010u) != 0) {
6724 if ((cached_has_bits & 0x00000020u) != 0) {
6728 _this->
_impl_._has_bits_[0] |= cached_has_bits;
6729 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
6734 if (&from ==
this)
return;
6742 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
6743 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
6744 ::google::protobuf::internal::memswap<
6748 reinterpret_cast<char*
>(&
_impl_.relative_mip_gap_),
6749 reinterpret_cast<char*
>(&other->_impl_.relative_mip_gap_));
6753 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
6757#if defined(PROTOBUF_CUSTOM_VTABLE)
6766inline void* PROTOBUF_NONNULL MPModelDeltaProto_VariableOverridesEntry_DoNotUse::PlacementNew_(
6767 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6768 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6771constexpr auto MPModelDeltaProto_VariableOverridesEntry_DoNotUse::InternalNewImpl_() {
6776 return ::google::protobuf::internal::ClassDataFull{
6777 ::google::protobuf::internal::ClassData{
6782 &MPModelDeltaProto_VariableOverridesEntry_DoNotUse::MergeImpl,
6783 ::google::protobuf::Message::GetNewImpl<MPModelDeltaProto_VariableOverridesEntry_DoNotUse>(),
6784#if defined(PROTOBUF_CUSTOM_VTABLE)
6785 &MPModelDeltaProto_VariableOverridesEntry_DoNotUse::SharedDtor,
6786 static_cast<void (::google::protobuf::MessageLite::*)()
>(&MPModelDeltaProto_VariableOverridesEntry_DoNotUse::ClearImpl),
6787 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
6793 &MPModelDeltaProto_VariableOverridesEntry_DoNotUse::kDescriptorMethods,
6799PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6803PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6804MPModelDeltaProto_VariableOverridesEntry_DoNotUse::GetClassData()
const {
6809PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6810const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
6811MPModelDeltaProto_VariableOverridesEntry_DoNotUse::_table_ = {
6816 offsetof(
decltype(_table_), field_lookup_table),
6818 offsetof(
decltype(_table_), field_entries),
6821 offsetof(
decltype(_table_), aux_entries),
6824 ::_pbi::TcParser::DiscardEverythingFallback,
6825 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6826 ::_pbi::TcParser::GetTable<::operations_research::MPModelDeltaProto_VariableOverridesEntry_DoNotUse>(),
6830 {::_pbi::TcParser::FastMtS1,
6831 {18, 0, 0, PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_VariableOverridesEntry_DoNotUse, _impl_.value_)}},
6833 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MPModelDeltaProto_VariableOverridesEntry_DoNotUse, _impl_.key_), 1>(),
6834 {8, 1, 0, PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_VariableOverridesEntry_DoNotUse, _impl_.key_)}},
6840 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
6843 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6846 {::_pbi::TcParser::GetTable<::operations_research::MPVariableProto>()},
6853#if defined(PROTOBUF_CUSTOM_VTABLE)
6856MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6859MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse() : SuperType() {}
6860MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse(::google::protobuf::Arena* PROTOBUF_NULLABLE arena) : SuperType(arena) {}
6862inline void* PROTOBUF_NONNULL MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::PlacementNew_(
6863 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
6864 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
6865 return ::new (mem) MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse(arena);
6867constexpr auto MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::InternalNewImpl_() {
6868 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse),
6869 alignof(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse));
6871constexpr auto MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::InternalGenerateClassData_() {
6872 return ::google::protobuf::internal::ClassDataFull{
6873 ::google::protobuf::internal::ClassData{
6878 &MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::MergeImpl,
6879 ::google::protobuf::Message::GetNewImpl<MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse>(),
6880#if defined(PROTOBUF_CUSTOM_VTABLE)
6881 &MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::SharedDtor,
6882 static_cast<void (::google::protobuf::MessageLite::*)()
>(&MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::ClearImpl),
6883 ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
6889 &MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::kDescriptorMethods,
6895PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
6897 MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::InternalGenerateClassData_();
6899PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
6900MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::GetClassData()
const {
6901 ::google::protobuf::internal::PrefetchToLocalCache(&MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_class_data_);
6905PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
6906const ::_pbi::TcParseTable<1, 2, 1, 0, 2>
6907MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse::_table_ = {
6909 PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse, _impl_._has_bits_),
6912 offsetof(
decltype(_table_), field_lookup_table),
6914 offsetof(
decltype(_table_), field_entries),
6917 offsetof(
decltype(_table_), aux_entries),
6920 ::_pbi::TcParser::DiscardEverythingFallback,
6921 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
6922 ::_pbi::TcParser::GetTable<::operations_research::MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse>(),
6926 {::_pbi::TcParser::FastMtS1,
6927 {18, 0, 0, PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse, _impl_.value_)}},
6929 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse, _impl_.key_), 1>(),
6930 {8, 1, 0, PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse, _impl_.key_)}},
6935 {PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse, _impl_.key_), _Internal::kHasBitsOffset + 1, 0,
6936 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
6938 {PROTOBUF_FIELD_OFFSET(MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
6939 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
6942 {::_pbi::TcParser::GetTable<::operations_research::MPConstraintProto>()},
6949class MPModelDeltaProto::_Internal {
6952 decltype(::std::declval<MPModelDeltaProto>()._impl_._has_bits_);
6953 static constexpr ::int32_t kHasBitsOffset =
6954 8 * PROTOBUF_FIELD_OFFSET(MPModelDeltaProto, _impl_._has_bits_);
6957MPModelDeltaProto::MPModelDeltaProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6958#if defined(PROTOBUF_CUSTOM_VTABLE)
6961 : ::google::protobuf::Message(arena) {
6966PROTOBUF_NDEBUG_INLINE MPModelDeltaProto::Impl_::Impl_(
6967 ::google::protobuf::internal::InternalVisibility visibility,
6968 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
6969 const ::operations_research::MPModelDeltaProto& from_msg)
6970 : _has_bits_{from._has_bits_},
6972 variable_overrides_{visibility, arena, from.variable_overrides_},
6973 constraint_overrides_{visibility, arena, from.constraint_overrides_},
6974 baseline_model_file_path_(arena, from.baseline_model_file_path_) {}
6977 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
6979#if defined(PROTOBUF_CUSTOM_VTABLE)
6982 : ::google::protobuf::Message(arena) {
6986 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
6987 from._internal_metadata_);
6988 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
6992PROTOBUF_NDEBUG_INLINE MPModelDeltaProto::Impl_::Impl_(
6993 ::google::protobuf::internal::InternalVisibility visibility,
6994 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
6996 variable_overrides_{visibility, arena},
6997 constraint_overrides_{visibility, arena},
6998 baseline_model_file_path_(arena) {}
7000inline void MPModelDeltaProto::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7001 new (&
_impl_) Impl_(internal_visibility(), arena);
7007inline void MPModelDeltaProto::SharedDtor(MessageLite& self) {
7009 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7010 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7011 this_._impl_.baseline_model_file_path_.Destroy();
7012 this_._impl_.~Impl_();
7016 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7017 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7021 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7024 InternalGetArenaOffset(
7025 ::google::protobuf::Message::internal_visibility()),
7028 InternalGetArenaOffsetAlt(
7029 ::google::protobuf::Message::internal_visibility()),
7032 InternalGetArenaOffset(
7033 ::google::protobuf::Message::internal_visibility()),
7036 InternalGetArenaOffsetAlt(
7039 if (arena_bits.has_value()) {
7040 return ::google::protobuf::internal::MessageCreator::CopyInit(
7041 sizeof(MPModelDeltaProto), alignof(MPModelDeltaProto), *arena_bits);
7043 return ::google::protobuf::internal::MessageCreator(&MPModelDeltaProto::PlacementNew_,
7044 sizeof(MPModelDeltaProto),
7045 alignof(MPModelDeltaProto));
7049 return ::google::protobuf::internal::ClassDataFull{
7050 ::google::protobuf::internal::ClassData{
7055 &MPModelDeltaProto::MergeImpl,
7056 ::google::protobuf::Message::GetNewImpl<MPModelDeltaProto>(),
7057#if defined(PROTOBUF_CUSTOM_VTABLE)
7058 &MPModelDeltaProto::SharedDtor,
7065 &MPModelDeltaProto::kDescriptorMethods,
7071PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7075PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7081PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7082const ::_pbi::TcParseTable<0, 3, 4, 70, 2>
7083MPModelDeltaProto::_table_ = {
7088 offsetof(
decltype(_table_), field_lookup_table),
7090 offsetof(
decltype(_table_), field_entries),
7093 offsetof(
decltype(_table_), aux_entries),
7096 ::_pbi::TcParser::GenericFallback,
7097 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7098 ::_pbi::TcParser::GetTable<::operations_research::MPModelDeltaProto>(),
7102 {::_pbi::TcParser::FastSS1,
7109 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7112 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
7115 (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
7118 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
7121 {::_pbi::TcParser::GetTable<::operations_research::MPVariableProto>()},
7122 {::_pbi::TcParser::GetMapAuxInfo(0, 0, 0,
7125 {::_pbi::TcParser::GetTable<::operations_research::MPConstraintProto>()},
7128 "\45\30\0\0\0\0\0\0"
7129 "operations_research.MPModelDeltaProto"
7130 "baseline_model_file_path"
7135 ::google::protobuf::internal::TSanWrite(&
_impl_);
7136 ::uint32_t cached_has_bits = 0;
7138 (void) cached_has_bits;
7140 _impl_.variable_overrides_.Clear();
7141 _impl_.constraint_overrides_.Clear();
7142 cached_has_bits =
_impl_._has_bits_[0];
7143 if ((cached_has_bits & 0x00000001u) != 0) {
7144 _impl_.baseline_model_file_path_.ClearNonDefaultToEmpty();
7146 _impl_._has_bits_.Clear();
7147 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7150#if defined(PROTOBUF_CUSTOM_VTABLE)
7152 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
7153 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7157 ::uint8_t* PROTOBUF_NONNULL target,
7158 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7162 ::uint32_t cached_has_bits = 0;
7163 (void)cached_has_bits;
7165 cached_has_bits = this_.
_impl_._has_bits_[0];
7167 if ((cached_has_bits & 0x00000001u) != 0) {
7168 const ::std::string& _s = this_._internal_baseline_model_file_path();
7169 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7170 "operations_research.MPModelDeltaProto.baseline_model_file_path");
7171 target = stream->WriteStringMaybeAliased(1, _s, target);
7175 if (!this_._internal_variable_overrides().empty()) {
7176 using MapType = ::google::protobuf::Map<::int32_t, ::operations_research::MPVariableProto>;
7178 _pbi::WireFormatLite::TYPE_INT32,
7179 _pbi::WireFormatLite::TYPE_MESSAGE>;
7180 const auto& field = this_._internal_variable_overrides();
7182 if (stream->IsSerializationDeterministic() && field.size() > 1) {
7183 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
7184 target = WireHelper::InternalSerialize(
7185 2, entry.first, entry.second, target, stream);
7188 for (
const auto& entry : field) {
7189 target = WireHelper::InternalSerialize(
7190 2, entry.first, entry.second, target, stream);
7196 if (!this_._internal_constraint_overrides().empty()) {
7197 using MapType = ::google::protobuf::Map<::int32_t, ::operations_research::MPConstraintProto>;
7199 _pbi::WireFormatLite::TYPE_INT32,
7200 _pbi::WireFormatLite::TYPE_MESSAGE>;
7201 const auto& field = this_._internal_constraint_overrides();
7203 if (stream->IsSerializationDeterministic() && field.size() > 1) {
7204 for (
const auto& entry : ::google::protobuf::internal::MapSorterFlat<MapType>(field)) {
7205 target = WireHelper::InternalSerialize(
7206 3, entry.first, entry.second, target, stream);
7209 for (
const auto& entry : field) {
7210 target = WireHelper::InternalSerialize(
7211 3, entry.first, entry.second, target, stream);
7216 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7218 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7219 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7225#if defined(PROTOBUF_CUSTOM_VTABLE)
7233 ::size_t total_size = 0;
7235 ::uint32_t cached_has_bits = 0;
7237 (void)cached_has_bits;
7239 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7244 1 * ::google::protobuf::internal::FromIntSize(this_._internal_variable_overrides_size());
7245 for (
const auto& entry : this_._internal_variable_overrides()) {
7246 total_size += _pbi::MapEntryFuncs<::int32_t, ::operations_research::MPVariableProto,
7247 _pbi::WireFormatLite::TYPE_INT32,
7248 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
7254 1 * ::google::protobuf::internal::FromIntSize(this_._internal_constraint_overrides_size());
7255 for (
const auto& entry : this_._internal_constraint_overrides()) {
7257 _pbi::WireFormatLite::TYPE_INT32,
7258 _pbi::WireFormatLite::TYPE_MESSAGE>
::ByteSizeLong(entry.first, entry.second);
7264 cached_has_bits = this_._impl_._has_bits_[0];
7265 if ((cached_has_bits & 0x00000001u) != 0) {
7266 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7267 this_._internal_baseline_model_file_path());
7270 return this_.MaybeComputeUnknownFieldsSize(total_size,
7271 &this_._impl_._cached_size_);
7274void MPModelDeltaProto::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7278 ABSL_DCHECK_NE(&from, _this);
7279 ::uint32_t cached_has_bits = 0;
7280 (void) cached_has_bits;
7282 _this->
_impl_.variable_overrides_.MergeFrom(from.
_impl_.variable_overrides_);
7283 _this->
_impl_.constraint_overrides_.MergeFrom(from.
_impl_.constraint_overrides_);
7284 cached_has_bits = from.
_impl_._has_bits_[0];
7285 if ((cached_has_bits & 0x00000001u) != 0) {
7286 _this->_internal_set_baseline_model_file_path(from._internal_baseline_model_file_path());
7288 _this->
_impl_._has_bits_[0] |= cached_has_bits;
7289 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7294 if (&from ==
this)
return;
7300void MPModelDeltaProto::InternalSwap(
MPModelDeltaProto* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
7302 auto* arena = GetArena();
7303 ABSL_DCHECK_EQ(arena, other->GetArena());
7304 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7305 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7306 _impl_.variable_overrides_.InternalSwap(&other->_impl_.variable_overrides_);
7307 _impl_.constraint_overrides_.InternalSwap(&other->_impl_.constraint_overrides_);
7308 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.baseline_model_file_path_, &other->_impl_.baseline_model_file_path_, arena);
7312 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
7319 decltype(::std::declval<MPModelRequest>()._impl_._has_bits_);
7320 static constexpr ::int32_t kHasBitsOffset =
7325#if defined(PROTOBUF_CUSTOM_VTABLE)
7328 : ::google::protobuf::Message(arena) {
7333PROTOBUF_NDEBUG_INLINE MPModelRequest::Impl_::Impl_(
7334 ::google::protobuf::internal::InternalVisibility visibility,
7335 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
7336 const ::operations_research::MPModelRequest& from_msg)
7337 : _has_bits_{from._has_bits_},
7339 solver_specific_parameters_(arena, from.solver_specific_parameters_) {}
7342 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
7344#if defined(PROTOBUF_CUSTOM_VTABLE)
7347 : ::google::protobuf::Message(arena) {
7351 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7352 from._internal_metadata_);
7353 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
7354 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
7355 _impl_.model_ = ((cached_has_bits & 0x00000002u) != 0)
7356 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.model_)
7358 _impl_.model_delta_ = ((cached_has_bits & 0x00000004u) != 0)
7359 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.model_delta_)
7361 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
7362 offsetof(Impl_, solver_time_limit_seconds_),
7363 reinterpret_cast<const char *
>(&from.
_impl_) +
7364 offsetof(Impl_, solver_time_limit_seconds_),
7365 offsetof(Impl_, solver_type_) -
7366 offsetof(Impl_, solver_time_limit_seconds_) +
7367 sizeof(Impl_::solver_type_));
7371PROTOBUF_NDEBUG_INLINE MPModelRequest::Impl_::Impl_(
7372 ::google::protobuf::internal::InternalVisibility visibility,
7373 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
7375 solver_specific_parameters_(arena),
7378inline void MPModelRequest::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7379 new (&
_impl_) Impl_(internal_visibility(), arena);
7380 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
7381 offsetof(Impl_, model_),
7383 offsetof(Impl_, populate_additional_solutions_up_to_) -
7384 offsetof(Impl_, model_) +
7385 sizeof(Impl_::populate_additional_solutions_up_to_));
7391inline void MPModelRequest::SharedDtor(MessageLite& self) {
7393 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7394 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7395 this_._impl_.solver_specific_parameters_.Destroy();
7396 delete this_._impl_.model_;
7397 delete this_._impl_.model_delta_;
7398 this_._impl_.~Impl_();
7402 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7403 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7407 return ::google::protobuf::internal::MessageCreator::CopyInit(
sizeof(
MPModelRequest),
7411 return ::google::protobuf::internal::ClassDataFull{
7412 ::google::protobuf::internal::ClassData{
7417 &MPModelRequest::MergeImpl,
7418 ::google::protobuf::Message::GetNewImpl<MPModelRequest>(),
7419#if defined(PROTOBUF_CUSTOM_VTABLE)
7420 &MPModelRequest::SharedDtor,
7427 &MPModelRequest::kDescriptorMethods,
7433PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7437PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7443PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7444const ::_pbi::TcParseTable<4, 8, 3, 77, 2>
7445MPModelRequest::_table_ = {
7450 offsetof(
decltype(_table_), field_lookup_table),
7452 offsetof(
decltype(_table_), field_entries),
7455 offsetof(
decltype(_table_), aux_entries),
7458 ::_pbi::TcParser::GenericFallback,
7459 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7460 ::_pbi::TcParser::GetTable<::operations_research::MPModelRequest>(),
7463 {::_pbi::TcParser::MiniParse, {}},
7465 {::_pbi::TcParser::FastMtS1,
7466 {10, 1, 0, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.model_)}},
7468 {::_pbi::TcParser::FastEvS1,
7469 {16, 7, 2, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.solver_type_)}},
7471 {::_pbi::TcParser::FastF64S1,
7472 {25, 3, 0, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.solver_time_limit_seconds_)}},
7474 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
MPModelRequest, _impl_.enable_internal_solver_output_), 4>(),
7475 {32, 4, 0, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.enable_internal_solver_output_)}},
7477 {::_pbi::TcParser::FastSS1,
7478 {42, 0, 0, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.solver_specific_parameters_)}},
7479 {::_pbi::TcParser::MiniParse, {}},
7480 {::_pbi::TcParser::MiniParse, {}},
7482 {::_pbi::TcParser::FastMtS1,
7483 {66, 2, 1, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.model_delta_)}},
7485 {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(
MPModelRequest, _impl_.ignore_solver_specific_parameters_failure_), 5>(),
7486 {72, 5, 0, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.ignore_solver_specific_parameters_failure_)}},
7487 {::_pbi::TcParser::MiniParse, {}},
7489 {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(
MPModelRequest, _impl_.populate_additional_solutions_up_to_), 6>(),
7490 {88, 6, 0, PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.populate_additional_solutions_up_to_)}},
7491 {::_pbi::TcParser::MiniParse, {}},
7492 {::_pbi::TcParser::MiniParse, {}},
7493 {::_pbi::TcParser::MiniParse, {}},
7494 {::_pbi::TcParser::MiniParse, {}},
7499 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.model_), _Internal::kHasBitsOffset + 1, 0,
7500 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
7502 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.solver_type_), _Internal::kHasBitsOffset + 7, 2,
7503 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
7505 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.solver_time_limit_seconds_), _Internal::kHasBitsOffset + 3, 0,
7506 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
7508 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.enable_internal_solver_output_), _Internal::kHasBitsOffset + 4, 0,
7509 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
7511 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.solver_specific_parameters_), _Internal::kHasBitsOffset + 0, 0,
7512 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
7514 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.model_delta_), _Internal::kHasBitsOffset + 2, 1,
7515 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
7517 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.ignore_solver_specific_parameters_failure_), _Internal::kHasBitsOffset + 5, 0,
7518 (0 | ::_fl::kFcOptional | ::_fl::kBool)},
7520 {PROTOBUF_FIELD_OFFSET(
MPModelRequest, _impl_.populate_additional_solutions_up_to_), _Internal::kHasBitsOffset + 6, 0,
7521 (0 | ::_fl::kFcOptional | ::_fl::kInt32)},
7524 {::_pbi::TcParser::GetTable<::operations_research::MPModelProto>()},
7525 {::_pbi::TcParser::GetTable<::operations_research::MPModelDeltaProto>()},
7529 "\42\0\0\0\0\32\0\0\0\0\0\0\0\0\0\0"
7530 "operations_research.MPModelRequest"
7531 "solver_specific_parameters"
7536 ::google::protobuf::internal::TSanWrite(&
_impl_);
7537 ::uint32_t cached_has_bits = 0;
7539 (void) cached_has_bits;
7541 cached_has_bits =
_impl_._has_bits_[0];
7542 if ((cached_has_bits & 0x00000007u) != 0) {
7543 if ((cached_has_bits & 0x00000001u) != 0) {
7544 _impl_.solver_specific_parameters_.ClearNonDefaultToEmpty();
7546 if ((cached_has_bits & 0x00000002u) != 0) {
7547 ABSL_DCHECK(
_impl_.model_ !=
nullptr);
7550 if ((cached_has_bits & 0x00000004u) != 0) {
7551 ABSL_DCHECK(
_impl_.model_delta_ !=
nullptr);
7552 _impl_.model_delta_->Clear();
7555 if ((cached_has_bits & 0x000000f8u) != 0) {
7556 ::memset(&
_impl_.solver_time_limit_seconds_, 0,
static_cast<::
size_t>(
7557 reinterpret_cast<char*
>(&
_impl_.populate_additional_solutions_up_to_) -
7558 reinterpret_cast<char*
>(&
_impl_.solver_time_limit_seconds_)) +
sizeof(
_impl_.populate_additional_solutions_up_to_));
7561 _impl_._has_bits_.Clear();
7562 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7565#if defined(PROTOBUF_CUSTOM_VTABLE)
7567 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
7568 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7572 ::uint8_t* PROTOBUF_NONNULL target,
7573 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7577 ::uint32_t cached_has_bits = 0;
7578 (void)cached_has_bits;
7580 cached_has_bits = this_._impl_._has_bits_[0];
7582 if ((cached_has_bits & 0x00000002u) != 0) {
7583 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7584 1, *this_._impl_.model_, this_._impl_.model_->GetCachedSize(), target,
7589 if ((cached_has_bits & 0x00000080u) != 0) {
7590 target = stream->EnsureSpace(target);
7591 target = ::_pbi::WireFormatLite::WriteEnumToArray(
7592 2, this_._internal_solver_type(), target);
7596 if ((cached_has_bits & 0x00000008u) != 0) {
7597 target = stream->EnsureSpace(target);
7598 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
7599 3, this_._internal_solver_time_limit_seconds(), target);
7603 if ((cached_has_bits & 0x00000010u) != 0) {
7604 target = stream->EnsureSpace(target);
7605 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7606 4, this_._internal_enable_internal_solver_output(), target);
7610 if ((cached_has_bits & 0x00000001u) != 0) {
7611 const ::std::string& _s = this_._internal_solver_specific_parameters();
7612 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
7613 "operations_research.MPModelRequest.solver_specific_parameters");
7614 target = stream->WriteStringMaybeAliased(5, _s, target);
7618 if ((cached_has_bits & 0x00000004u) != 0) {
7619 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
7620 8, *this_._impl_.model_delta_, this_._impl_.model_delta_->GetCachedSize(), target,
7625 if ((cached_has_bits & 0x00000020u) != 0) {
7626 target = stream->EnsureSpace(target);
7627 target = ::_pbi::WireFormatLite::WriteBoolToArray(
7628 9, this_._internal_ignore_solver_specific_parameters_failure(), target);
7632 if ((cached_has_bits & 0x00000040u) != 0) {
7634 ::google::protobuf::internal::WireFormatLite::WriteInt32ToArrayWithField<11>(
7635 stream, this_._internal_populate_additional_solutions_up_to(), target);
7638 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7640 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7641 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7647#if defined(PROTOBUF_CUSTOM_VTABLE)
7655 ::size_t total_size = 0;
7657 ::uint32_t cached_has_bits = 0;
7659 (void)cached_has_bits;
7661 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7662 cached_has_bits = this_._impl_._has_bits_[0];
7663 total_size +=
static_cast<bool>(0x00000008u & cached_has_bits) * 9;
7664 total_size += ::absl::popcount(0x00000030u & cached_has_bits) * 2;
7665 if ((cached_has_bits & 0x000000c7u) != 0) {
7667 if ((cached_has_bits & 0x00000001u) != 0) {
7668 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
7669 this_._internal_solver_specific_parameters());
7672 if ((cached_has_bits & 0x00000002u) != 0) {
7674 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.model_);
7677 if ((cached_has_bits & 0x00000004u) != 0) {
7679 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.model_delta_);
7682 if ((cached_has_bits & 0x00000040u) != 0) {
7683 total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
7684 this_._internal_populate_additional_solutions_up_to());
7687 if ((cached_has_bits & 0x00000080u) != 0) {
7689 ::_pbi::WireFormatLite::EnumSize(this_._internal_solver_type());
7692 return this_.MaybeComputeUnknownFieldsSize(total_size,
7693 &this_._impl_._cached_size_);
7696void MPModelRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
7701 ABSL_DCHECK_NE(&from, _this);
7702 ::uint32_t cached_has_bits = 0;
7703 (void) cached_has_bits;
7705 cached_has_bits = from.
_impl_._has_bits_[0];
7706 if ((cached_has_bits & 0x000000ffu) != 0) {
7707 if ((cached_has_bits & 0x00000001u) != 0) {
7708 _this->_internal_set_solver_specific_parameters(from._internal_solver_specific_parameters());
7710 if ((cached_has_bits & 0x00000002u) != 0) {
7711 ABSL_DCHECK(from.
_impl_.model_ !=
nullptr);
7712 if (_this->
_impl_.model_ ==
nullptr) {
7713 _this->
_impl_.model_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.model_);
7718 if ((cached_has_bits & 0x00000004u) != 0) {
7719 ABSL_DCHECK(from.
_impl_.model_delta_ !=
nullptr);
7720 if (_this->
_impl_.model_delta_ ==
nullptr) {
7721 _this->
_impl_.model_delta_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.model_delta_);
7726 if ((cached_has_bits & 0x00000008u) != 0) {
7727 _this->
_impl_.solver_time_limit_seconds_ = from.
_impl_.solver_time_limit_seconds_;
7729 if ((cached_has_bits & 0x00000010u) != 0) {
7730 _this->
_impl_.enable_internal_solver_output_ = from.
_impl_.enable_internal_solver_output_;
7732 if ((cached_has_bits & 0x00000020u) != 0) {
7733 _this->
_impl_.ignore_solver_specific_parameters_failure_ = from.
_impl_.ignore_solver_specific_parameters_failure_;
7735 if ((cached_has_bits & 0x00000040u) != 0) {
7736 _this->
_impl_.populate_additional_solutions_up_to_ = from.
_impl_.populate_additional_solutions_up_to_;
7738 if ((cached_has_bits & 0x00000080u) != 0) {
7742 _this->
_impl_._has_bits_[0] |= cached_has_bits;
7743 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
7748 if (&from ==
this)
return;
7754void MPModelRequest::InternalSwap(
MPModelRequest* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
7756 auto* arena = GetArena();
7757 ABSL_DCHECK_EQ(arena, other->GetArena());
7758 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
7759 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
7760 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solver_specific_parameters_, &other->_impl_.solver_specific_parameters_, arena);
7761 ::google::protobuf::internal::memswap<
7766 reinterpret_cast<char*
>(&other->_impl_.model_));
7770 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
7774class MPSolution::_Internal {
7777 decltype(::std::declval<MPSolution>()._impl_._has_bits_);
7778 static constexpr ::int32_t kHasBitsOffset =
7779 8 * PROTOBUF_FIELD_OFFSET(MPSolution, _impl_._has_bits_);
7783#if defined(PROTOBUF_CUSTOM_VTABLE)
7786 : ::google::protobuf::Message(arena) {
7791PROTOBUF_NDEBUG_INLINE MPSolution::Impl_::Impl_(
7792 ::google::protobuf::internal::InternalVisibility visibility,
7793 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
7794 const ::operations_research::MPSolution& from_msg)
7795 : _has_bits_{from._has_bits_},
7797 variable_value_{visibility, arena, from.variable_value_} {}
7800 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
7802#if defined(PROTOBUF_CUSTOM_VTABLE)
7805 : ::google::protobuf::Message(arena) {
7809 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
7810 from._internal_metadata_);
7811 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
7812 _impl_.objective_value_ = from.
_impl_.objective_value_;
7816PROTOBUF_NDEBUG_INLINE MPSolution::Impl_::Impl_(
7817 ::google::protobuf::internal::InternalVisibility visibility,
7818 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
7820 variable_value_{visibility, arena} {}
7822inline void MPSolution::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
7823 new (&
_impl_) Impl_(internal_visibility(), arena);
7824 _impl_.objective_value_ = {};
7830inline void MPSolution::SharedDtor(
MessageLite& self) {
7831 MPSolution& this_ =
static_cast<MPSolution&
>(self);
7832 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
7833 ABSL_DCHECK(this_.GetArena() ==
nullptr);
7834 this_._impl_.~Impl_();
7838 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
7839 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
7840 return ::new (mem) MPSolution(arena);
7843 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
7844 PROTOBUF_FIELD_OFFSET(MPSolution,
_impl_.variable_value_) +
7846 InternalGetArenaOffset(
7849 if (arena_bits.has_value()) {
7850 return ::google::protobuf::internal::MessageCreator::ZeroInit(
7851 sizeof(MPSolution), alignof(MPSolution), *arena_bits);
7853 return ::google::protobuf::internal::MessageCreator(&MPSolution::PlacementNew_,
7855 alignof(MPSolution));
7859 return ::google::protobuf::internal::ClassDataFull{
7860 ::google::protobuf::internal::ClassData{
7865 &MPSolution::MergeImpl,
7866 ::google::protobuf::Message::GetNewImpl<MPSolution>(),
7867#if defined(PROTOBUF_CUSTOM_VTABLE)
7868 &MPSolution::SharedDtor,
7875 &MPSolution::kDescriptorMethods,
7881PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
7885PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
7891PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
7892const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
7893MPSolution::_table_ = {
7895 PROTOBUF_FIELD_OFFSET(MPSolution,
_impl_._has_bits_),
7898 offsetof(
decltype(_table_), field_lookup_table),
7900 offsetof(
decltype(_table_), field_entries),
7903 offsetof(
decltype(_table_), field_names),
7906 ::_pbi::TcParser::GenericFallback,
7907 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
7908 ::_pbi::TcParser::GetTable<::operations_research::MPSolution>(),
7912 {::_pbi::TcParser::FastF64P1,
7915 {::_pbi::TcParser::FastF64S1,
7922 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
7924 {PROTOBUF_FIELD_OFFSET(MPSolution,
_impl_.variable_value_), -1, 0,
7925 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
7933 ::google::protobuf::internal::TSanWrite(&
_impl_);
7934 ::uint32_t cached_has_bits = 0;
7936 (void) cached_has_bits;
7938 _impl_.variable_value_.Clear();
7939 _impl_.objective_value_ = 0;
7940 _impl_._has_bits_.Clear();
7941 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
7944#if defined(PROTOBUF_CUSTOM_VTABLE)
7946 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
7947 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
7948 const MPSolution& this_ =
static_cast<const MPSolution&
>(base);
7951 ::uint8_t* PROTOBUF_NONNULL target,
7952 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
7956 ::uint32_t cached_has_bits = 0;
7957 (void)cached_has_bits;
7959 cached_has_bits = this_.
_impl_._has_bits_[0];
7961 if ((cached_has_bits & 0x00000001u) != 0) {
7962 target = stream->EnsureSpace(target);
7963 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
7964 1, this_._internal_objective_value(), target);
7968 if (this_._internal_variable_value_size() > 0) {
7969 target = stream->WriteFixedPacked(2, this_._internal_variable_value(), target);
7972 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
7974 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
7975 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
7981#if defined(PROTOBUF_CUSTOM_VTABLE)
7983 const MPSolution& this_ =
static_cast<const MPSolution&
>(base);
7986 const MPSolution& this_ = *
this;
7989 ::size_t total_size = 0;
7991 ::uint32_t cached_has_bits = 0;
7993 (void)cached_has_bits;
7995 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
7999 ::size_t data_size = ::size_t{8} *
8000 ::_pbi::FromIntSize(this_._internal_variable_value_size());
8001 ::size_t tag_size = data_size == 0
8003 : 1 + ::_pbi::WireFormatLite::Int32Size(
8004 static_cast<::int32_t
>(data_size));
8005 total_size += tag_size + data_size;
8008 cached_has_bits = this_._impl_._has_bits_[0];
8009 total_size +=
static_cast<bool>(0x00000001u & cached_has_bits) * 9;
8010 return this_.MaybeComputeUnknownFieldsSize(total_size,
8011 &this_._impl_._cached_size_);
8014void MPSolution::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
8015 auto*
const _this =
static_cast<MPSolution*
>(&to_msg);
8016 auto& from =
static_cast<const MPSolution&
>(from_msg);
8018 ABSL_DCHECK_NE(&from, _this);
8019 ::uint32_t cached_has_bits = 0;
8020 (void) cached_has_bits;
8022 _this->_internal_mutable_variable_value()->
MergeFrom(from._internal_variable_value());
8023 cached_has_bits = from.
_impl_._has_bits_[0];
8024 if ((cached_has_bits & 0x00000001u) != 0) {
8025 _this->
_impl_.objective_value_ = from.
_impl_.objective_value_;
8027 _this->
_impl_._has_bits_[0] |= cached_has_bits;
8028 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8033 if (&from ==
this)
return;
8039void MPSolution::InternalSwap(MPSolution* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
8041 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8042 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8043 _impl_.variable_value_.InternalSwap(&other->_impl_.variable_value_);
8044 swap(
_impl_.objective_value_, other->_impl_.objective_value_);
8048 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
8055 decltype(::std::declval<MPSolveInfo>()._impl_._has_bits_);
8056 static constexpr ::int32_t kHasBitsOffset =
8061#if defined(PROTOBUF_CUSTOM_VTABLE)
8064 : ::google::protobuf::Message(arena) {
8070 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const MPSolveInfo& from)
8071#if defined(PROTOBUF_CUSTOM_VTABLE)
8074 : ::google::protobuf::Message(arena),
8077 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
8078 from._internal_metadata_);
8080PROTOBUF_NDEBUG_INLINE MPSolveInfo::Impl_::Impl_(
8081 ::google::protobuf::internal::InternalVisibility visibility,
8082 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
8083 : _cached_size_{0} {}
8085inline void MPSolveInfo::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
8086 new (&
_impl_) Impl_(internal_visibility(), arena);
8087 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
8088 offsetof(Impl_, solve_wall_time_seconds_),
8090 offsetof(Impl_, solve_user_time_seconds_) -
8091 offsetof(Impl_, solve_wall_time_seconds_) +
8092 sizeof(Impl_::solve_user_time_seconds_));
8098inline void MPSolveInfo::SharedDtor(MessageLite& self) {
8100 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8101 ABSL_DCHECK(this_.GetArena() ==
nullptr);
8102 this_._impl_.~Impl_();
8106 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
8107 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
8111 return ::google::protobuf::internal::MessageCreator::ZeroInit(
sizeof(
MPSolveInfo),
8115 return ::google::protobuf::internal::ClassDataFull{
8116 ::google::protobuf::internal::ClassData{
8121 &MPSolveInfo::MergeImpl,
8122 ::google::protobuf::Message::GetNewImpl<MPSolveInfo>(),
8123#if defined(PROTOBUF_CUSTOM_VTABLE)
8124 &MPSolveInfo::SharedDtor,
8131 &MPSolveInfo::kDescriptorMethods,
8137PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
8141PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
8147PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8148const ::_pbi::TcParseTable<1, 2, 0, 0, 2>
8149MPSolveInfo::_table_ = {
8151 PROTOBUF_FIELD_OFFSET(MPSolveInfo, _impl_._has_bits_),
8154 offsetof(
decltype(_table_), field_lookup_table),
8156 offsetof(
decltype(_table_), field_entries),
8159 offsetof(
decltype(_table_), field_names),
8162 ::_pbi::TcParser::GenericFallback,
8163 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
8164 ::_pbi::TcParser::GetTable<::operations_research::MPSolveInfo>(),
8168 {::_pbi::TcParser::FastF64S1,
8169 {17, 1, 0, PROTOBUF_FIELD_OFFSET(
MPSolveInfo, _impl_.solve_user_time_seconds_)}},
8171 {::_pbi::TcParser::FastF64S1,
8172 {9, 0, 0, PROTOBUF_FIELD_OFFSET(
MPSolveInfo, _impl_.solve_wall_time_seconds_)}},
8177 {PROTOBUF_FIELD_OFFSET(
MPSolveInfo, _impl_.solve_wall_time_seconds_), _Internal::kHasBitsOffset + 0, 0,
8178 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
8180 {PROTOBUF_FIELD_OFFSET(
MPSolveInfo, _impl_.solve_user_time_seconds_), _Internal::kHasBitsOffset + 1, 0,
8181 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
8189 ::google::protobuf::internal::TSanWrite(&
_impl_);
8190 ::uint32_t cached_has_bits = 0;
8192 (void) cached_has_bits;
8194 cached_has_bits =
_impl_._has_bits_[0];
8195 if ((cached_has_bits & 0x00000003u) != 0) {
8196 ::memset(&
_impl_.solve_wall_time_seconds_, 0,
static_cast<::
size_t>(
8197 reinterpret_cast<char*
>(&
_impl_.solve_user_time_seconds_) -
8198 reinterpret_cast<char*
>(&
_impl_.solve_wall_time_seconds_)) +
sizeof(
_impl_.solve_user_time_seconds_));
8200 _impl_._has_bits_.Clear();
8201 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8204#if defined(PROTOBUF_CUSTOM_VTABLE)
8206 const ::google::protobuf::MessageLite&
base, ::uint8_t* PROTOBUF_NONNULL target,
8207 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
8211 ::uint8_t* PROTOBUF_NONNULL target,
8212 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
8216 ::uint32_t cached_has_bits = 0;
8217 (void)cached_has_bits;
8219 cached_has_bits = this_.
_impl_._has_bits_[0];
8221 if ((cached_has_bits & 0x00000001u) != 0) {
8222 target = stream->EnsureSpace(target);
8223 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
8224 1, this_._internal_solve_wall_time_seconds(), target);
8228 if ((cached_has_bits & 0x00000002u) != 0) {
8229 target = stream->EnsureSpace(target);
8230 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
8231 2, this_._internal_solve_user_time_seconds(), target);
8234 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
8236 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8237 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8243#if defined(PROTOBUF_CUSTOM_VTABLE)
8251 ::size_t total_size = 0;
8253 ::uint32_t cached_has_bits = 0;
8255 (void)cached_has_bits;
8257 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8258 cached_has_bits = this_._impl_._has_bits_[0];
8259 total_size += ::absl::popcount(0x00000003u & cached_has_bits) * 9;
8260 return this_.MaybeComputeUnknownFieldsSize(total_size,
8261 &this_._impl_._cached_size_);
8264void MPSolveInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
8265 auto*
const _this =
static_cast<MPSolveInfo*
>(&to_msg);
8266 auto& from =
static_cast<const MPSolveInfo&
>(from_msg);
8268 ABSL_DCHECK_NE(&from, _this);
8269 ::uint32_t cached_has_bits = 0;
8270 (void) cached_has_bits;
8272 cached_has_bits = from.
_impl_._has_bits_[0];
8273 if ((cached_has_bits & 0x00000003u) != 0) {
8274 if ((cached_has_bits & 0x00000001u) != 0) {
8275 _this->
_impl_.solve_wall_time_seconds_ = from.
_impl_.solve_wall_time_seconds_;
8277 if ((cached_has_bits & 0x00000002u) != 0) {
8278 _this->
_impl_.solve_user_time_seconds_ = from.
_impl_.solve_user_time_seconds_;
8281 _this->
_impl_._has_bits_[0] |= cached_has_bits;
8282 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8287 if (&from ==
this)
return;
8293void MPSolveInfo::InternalSwap(
MPSolveInfo* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
8295 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8296 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8297 ::google::protobuf::internal::memswap<
8301 reinterpret_cast<char*
>(&
_impl_.solve_wall_time_seconds_),
8302 reinterpret_cast<char*
>(&other->_impl_.solve_wall_time_seconds_));
8306 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
8313 decltype(::std::declval<MPSolutionResponse>()._impl_._has_bits_);
8314 static constexpr ::int32_t kHasBitsOffset =
8319#if defined(PROTOBUF_CUSTOM_VTABLE)
8322 : ::google::protobuf::Message(arena) {
8327PROTOBUF_NDEBUG_INLINE MPSolutionResponse::Impl_::Impl_(
8328 ::google::protobuf::internal::InternalVisibility visibility,
8329 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
8330 const ::operations_research::MPSolutionResponse& from_msg)
8331 : _has_bits_{from._has_bits_},
8333 variable_value_{visibility, arena, from.variable_value_},
8334 dual_value_{visibility, arena, from.dual_value_},
8335 reduced_cost_{visibility, arena, from.reduced_cost_},
8336 additional_solutions_{visibility, arena, from.additional_solutions_},
8337 status_str_(arena, from.status_str_),
8338 solver_specific_info_(arena, from.solver_specific_info_) {}
8341 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
8343#if defined(PROTOBUF_CUSTOM_VTABLE)
8346 : ::google::protobuf::Message(arena) {
8350 _internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(
8351 from._internal_metadata_);
8352 new (&
_impl_) Impl_(internal_visibility(), arena, from.
_impl_, from);
8353 ::uint32_t cached_has_bits =
_impl_._has_bits_[0];
8354 _impl_.solve_info_ = ((cached_has_bits & 0x00000004u) != 0)
8355 ? ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solve_info_)
8357 ::memcpy(
reinterpret_cast<char *
>(&
_impl_) +
8358 offsetof(Impl_, objective_value_),
8359 reinterpret_cast<const char *
>(&from.
_impl_) +
8360 offsetof(Impl_, objective_value_),
8361 offsetof(Impl_, status_) -
8362 offsetof(Impl_, objective_value_) +
8363 sizeof(Impl_::status_));
8367PROTOBUF_NDEBUG_INLINE MPSolutionResponse::Impl_::Impl_(
8368 ::google::protobuf::internal::InternalVisibility visibility,
8369 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
8371 variable_value_{visibility, arena},
8372 dual_value_{visibility, arena},
8373 reduced_cost_{visibility, arena},
8374 additional_solutions_{visibility, arena},
8376 solver_specific_info_(arena),
8379inline void MPSolutionResponse::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
8380 new (&
_impl_) Impl_(internal_visibility(), arena);
8381 ::memset(
reinterpret_cast<char *
>(&
_impl_) +
8382 offsetof(Impl_, solve_info_),
8384 offsetof(Impl_, best_objective_bound_) -
8385 offsetof(Impl_, solve_info_) +
8386 sizeof(Impl_::best_objective_bound_));
8392inline void MPSolutionResponse::SharedDtor(MessageLite& self) {
8394 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
8395 ABSL_DCHECK(this_.GetArena() ==
nullptr);
8396 this_._impl_.status_str_.Destroy();
8397 this_._impl_.solver_specific_info_.Destroy();
8398 delete this_._impl_.solve_info_;
8399 this_._impl_.~Impl_();
8403 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
8404 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
8408 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
8411 InternalGetArenaOffset(
8415 InternalGetArenaOffset(
8419 InternalGetArenaOffset(
8423 InternalGetArenaOffset(
8426 if (arena_bits.has_value()) {
8427 return ::google::protobuf::internal::MessageCreator::CopyInit(
8428 sizeof(MPSolutionResponse), alignof(MPSolutionResponse), *arena_bits);
8430 return ::google::protobuf::internal::MessageCreator(&MPSolutionResponse::PlacementNew_,
8431 sizeof(MPSolutionResponse),
8432 alignof(MPSolutionResponse));
8436 return ::google::protobuf::internal::ClassDataFull{
8437 ::google::protobuf::internal::ClassData{
8442 &MPSolutionResponse::MergeImpl,
8443 ::google::protobuf::Message::GetNewImpl<MPSolutionResponse>(),
8444#if defined(PROTOBUF_CUSTOM_VTABLE)
8445 &MPSolutionResponse::SharedDtor,
8452 &MPSolutionResponse::kDescriptorMethods,
8458PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
8462PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
8468PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
8469const ::_pbi::TcParseTable<4, 10, 3, 65, 2>
8470MPSolutionResponse::_table_ = {
8475 offsetof(
decltype(_table_), field_lookup_table),
8477 offsetof(
decltype(_table_), field_entries),
8480 offsetof(
decltype(_table_), aux_entries),
8483 ::_pbi::TcParser::GenericFallback,
8484 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
8485 ::_pbi::TcParser::GetTable<::operations_research::MPSolutionResponse>(),
8488 {::_pbi::TcParser::MiniParse, {}},
8490 {::_pbi::TcParser::FastEvS1,
8493 {::_pbi::TcParser::FastF64S1,
8496 {::_pbi::TcParser::FastF64P1,
8499 {::_pbi::TcParser::FastF64P1,
8502 {::_pbi::TcParser::FastF64S1,
8505 {::_pbi::TcParser::FastF64P1,
8508 {::_pbi::TcParser::FastSS1,
8511 {::_pbi::TcParser::FastMtR1,
8513 {::_pbi::TcParser::MiniParse, {}},
8515 {::_pbi::TcParser::FastMtS1,
8518 {::_pbi::TcParser::FastBS1,
8520 {::_pbi::TcParser::MiniParse, {}},
8521 {::_pbi::TcParser::MiniParse, {}},
8522 {::_pbi::TcParser::MiniParse, {}},
8523 {::_pbi::TcParser::MiniParse, {}},
8529 (0 | ::_fl::kFcOptional | ::_fl::kEnum)},
8532 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
8535 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
8538 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
8541 (0 | ::_fl::kFcOptional | ::_fl::kDouble)},
8544 (0 | ::_fl::kFcRepeated | ::_fl::kPackedDouble)},
8547 (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
8550 (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
8553 (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
8556 (0 | ::_fl::kFcOptional | ::_fl::kBytes | ::_fl::kRepAString)},
8559 {::_pbi::TcParser::GetTable<::operations_research::MPSolution>()},
8560 {::_pbi::TcParser::GetTable<::operations_research::MPSolveInfo>()},
8564 "\46\0\0\0\0\0\0\12\0\0\0\0\0\0\0\0"
8565 "operations_research.MPSolutionResponse"
8571 ::google::protobuf::internal::TSanWrite(&
_impl_);
8572 ::uint32_t cached_has_bits = 0;
8574 (void) cached_has_bits;
8576 _impl_.variable_value_.Clear();
8577 _impl_.dual_value_.Clear();
8578 _impl_.reduced_cost_.Clear();
8579 _impl_.additional_solutions_.Clear();
8580 cached_has_bits =
_impl_._has_bits_[0];
8581 if ((cached_has_bits & 0x00000007u) != 0) {
8582 if ((cached_has_bits & 0x00000001u) != 0) {
8583 _impl_.status_str_.ClearNonDefaultToEmpty();
8585 if ((cached_has_bits & 0x00000002u) != 0) {
8586 _impl_.solver_specific_info_.ClearNonDefaultToEmpty();
8588 if ((cached_has_bits & 0x00000004u) != 0) {
8589 ABSL_DCHECK(
_impl_.solve_info_ !=
nullptr);
8590 _impl_.solve_info_->Clear();
8593 if ((cached_has_bits & 0x00000038u) != 0) {
8594 ::memset(&
_impl_.objective_value_, 0,
static_cast<::
size_t>(
8595 reinterpret_cast<char*
>(&
_impl_.best_objective_bound_) -
8596 reinterpret_cast<char*
>(&
_impl_.objective_value_)) +
sizeof(
_impl_.best_objective_bound_));
8599 _impl_._has_bits_.Clear();
8600 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
8603#if defined(PROTOBUF_CUSTOM_VTABLE)
8605 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
8606 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
8610 ::uint8_t* PROTOBUF_NONNULL target,
8611 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
8615 ::uint32_t cached_has_bits = 0;
8616 (void)cached_has_bits;
8618 cached_has_bits = this_._impl_._has_bits_[0];
8620 if ((cached_has_bits & 0x00000020u) != 0) {
8621 target = stream->EnsureSpace(target);
8622 target = ::_pbi::WireFormatLite::WriteEnumToArray(
8623 1, this_._internal_status(), target);
8627 if ((cached_has_bits & 0x00000008u) != 0) {
8628 target = stream->EnsureSpace(target);
8629 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
8630 2, this_._internal_objective_value(), target);
8634 if (this_._internal_variable_value_size() > 0) {
8635 target = stream->WriteFixedPacked(3, this_._internal_variable_value(), target);
8639 if (this_._internal_dual_value_size() > 0) {
8640 target = stream->WriteFixedPacked(4, this_._internal_dual_value(), target);
8644 if ((cached_has_bits & 0x00000010u) != 0) {
8645 target = stream->EnsureSpace(target);
8646 target = ::_pbi::WireFormatLite::WriteDoubleToArray(
8647 5, this_._internal_best_objective_bound(), target);
8651 if (this_._internal_reduced_cost_size() > 0) {
8652 target = stream->WriteFixedPacked(6, this_._internal_reduced_cost(), target);
8656 if ((cached_has_bits & 0x00000001u) != 0) {
8657 const ::std::string& _s = this_._internal_status_str();
8658 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
8659 "operations_research.MPSolutionResponse.status_str");
8660 target = stream->WriteStringMaybeAliased(7, _s, target);
8664 for (
unsigned i = 0, n =
static_cast<unsigned>(
8665 this_._internal_additional_solutions_size());
8667 const auto& repfield = this_._internal_additional_solutions().Get(i);
8669 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8670 8, repfield, repfield.GetCachedSize(),
8675 if ((cached_has_bits & 0x00000004u) != 0) {
8676 target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
8677 10, *this_._impl_.solve_info_, this_._impl_.solve_info_->GetCachedSize(), target,
8682 if ((cached_has_bits & 0x00000002u) != 0) {
8683 const ::std::string& _s = this_._internal_solver_specific_info();
8684 target = stream->WriteBytesMaybeAliased(11, _s, target);
8687 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
8689 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
8690 this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
8696#if defined(PROTOBUF_CUSTOM_VTABLE)
8704 ::size_t total_size = 0;
8706 ::uint32_t cached_has_bits = 0;
8708 (void)cached_has_bits;
8710 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
8714 ::size_t data_size = ::size_t{8} *
8715 ::_pbi::FromIntSize(this_._internal_variable_value_size());
8716 ::size_t tag_size = data_size == 0
8718 : 1 + ::_pbi::WireFormatLite::Int32Size(
8719 static_cast<::int32_t
>(data_size));
8720 total_size += tag_size + data_size;
8724 ::size_t data_size = ::size_t{8} *
8725 ::_pbi::FromIntSize(this_._internal_dual_value_size());
8726 ::size_t tag_size = data_size == 0
8728 : 1 + ::_pbi::WireFormatLite::Int32Size(
8729 static_cast<::int32_t
>(data_size));
8730 total_size += tag_size + data_size;
8734 ::size_t data_size = ::size_t{8} *
8735 ::_pbi::FromIntSize(this_._internal_reduced_cost_size());
8736 ::size_t tag_size = data_size == 0
8738 : 1 + ::_pbi::WireFormatLite::Int32Size(
8739 static_cast<::int32_t
>(data_size));
8740 total_size += tag_size + data_size;
8744 total_size += 1UL * this_._internal_additional_solutions_size();
8745 for (
const auto& msg : this_._internal_additional_solutions()) {
8746 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
8750 cached_has_bits = this_._impl_._has_bits_[0];
8751 total_size += ::absl::popcount(0x00000018u & cached_has_bits) * 9;
8752 if ((cached_has_bits & 0x00000027u) != 0) {
8754 if ((cached_has_bits & 0x00000001u) != 0) {
8755 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
8756 this_._internal_status_str());
8759 if ((cached_has_bits & 0x00000002u) != 0) {
8760 total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
8761 this_._internal_solver_specific_info());
8764 if ((cached_has_bits & 0x00000004u) != 0) {
8766 ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.solve_info_);
8769 if ((cached_has_bits & 0x00000020u) != 0) {
8771 ::_pbi::WireFormatLite::EnumSize(this_._internal_status());
8774 return this_.MaybeComputeUnknownFieldsSize(total_size,
8775 &this_._impl_._cached_size_);
8778void MPSolutionResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
8783 ABSL_DCHECK_NE(&from, _this);
8784 ::uint32_t cached_has_bits = 0;
8785 (void) cached_has_bits;
8787 _this->_internal_mutable_variable_value()->MergeFrom(from._internal_variable_value());
8788 _this->_internal_mutable_dual_value()->MergeFrom(from._internal_dual_value());
8789 _this->_internal_mutable_reduced_cost()->MergeFrom(from._internal_reduced_cost());
8790 _this->_internal_mutable_additional_solutions()->MergeFrom(
8791 from._internal_additional_solutions());
8792 cached_has_bits = from.
_impl_._has_bits_[0];
8793 if ((cached_has_bits & 0x0000003fu) != 0) {
8794 if ((cached_has_bits & 0x00000001u) != 0) {
8795 _this->_internal_set_status_str(from._internal_status_str());
8797 if ((cached_has_bits & 0x00000002u) != 0) {
8798 _this->_internal_set_solver_specific_info(from._internal_solver_specific_info());
8800 if ((cached_has_bits & 0x00000004u) != 0) {
8801 ABSL_DCHECK(from.
_impl_.solve_info_ !=
nullptr);
8802 if (_this->
_impl_.solve_info_ ==
nullptr) {
8803 _this->
_impl_.solve_info_ = ::google::protobuf::Message::CopyConstruct(arena, *from.
_impl_.solve_info_);
8808 if ((cached_has_bits & 0x00000008u) != 0) {
8809 _this->
_impl_.objective_value_ = from.
_impl_.objective_value_;
8811 if ((cached_has_bits & 0x00000010u) != 0) {
8812 _this->
_impl_.best_objective_bound_ = from.
_impl_.best_objective_bound_;
8814 if ((cached_has_bits & 0x00000020u) != 0) {
8818 _this->
_impl_._has_bits_[0] |= cached_has_bits;
8819 _this->_internal_metadata_.
MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
8824 if (&from ==
this)
return;
8830void MPSolutionResponse::InternalSwap(
MPSolutionResponse* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
8832 auto* arena = GetArena();
8833 ABSL_DCHECK_EQ(arena, other->GetArena());
8834 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
8835 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
8836 _impl_.variable_value_.InternalSwap(&other->_impl_.variable_value_);
8837 _impl_.dual_value_.InternalSwap(&other->_impl_.dual_value_);
8838 _impl_.reduced_cost_.InternalSwap(&other->_impl_.reduced_cost_);
8839 _impl_.additional_solutions_.InternalSwap(&other->_impl_.additional_solutions_);
8840 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.status_str_, &other->_impl_.status_str_, arena);
8841 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.solver_specific_info_, &other->_impl_.solver_specific_info_, arena);
8842 ::google::protobuf::internal::memswap<
8846 reinterpret_cast<char*
>(&
_impl_.solve_info_),
8847 reinterpret_cast<char*
>(&other->_impl_.solve_info_));
8851 return ::google::protobuf::Message::GetMetadataImpl(
GetClassData()->full());
8860PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
8863 ::std::false_type{});
8864#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
@protoc_insertion_point(global_scope)
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
static constexpr ::int32_t kHasBitsOffset
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
void CopyFrom(const MPAbsConstraint &from)
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~MPAbsConstraint() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(MPAbsConstraint &a, MPAbsConstraint &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalNewImpl_()
void MergeFrom(const MPAbsConstraint &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void MergeFrom(const MPArrayConstraint &from)
~MPArrayConstraint() PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalNewImpl_()
void CopyFrom(const MPArrayConstraint &from)
friend void swap(MPArrayConstraint &a, MPArrayConstraint &b)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr ::int32_t kHasBitsOffset
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const MPArrayWithConstantConstraint &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~MPArrayWithConstantConstraint() PROTOBUF_FINAL
void CopyFrom(const MPArrayWithConstantConstraint &from)
MPArrayWithConstantConstraint()
::google::protobuf::Metadata GetMetadata() const
friend void swap(MPArrayWithConstantConstraint &a, MPArrayWithConstantConstraint &b)
static constexpr ::int32_t kHasBitsOffset
decltype(::std::declval< MPConstraintProto >()._impl_._has_bits_) HasBits
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void MergeFrom(const MPConstraintProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
~MPConstraintProto() PROTOBUF_FINAL
void CopyFrom(const MPConstraintProto &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalNewImpl_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr ::int32_t kOneofCaseOffset
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void set_allocated_abs_constraint(::operations_research::MPAbsConstraint *PROTOBUF_NULLABLE value)
void set_allocated_indicator_constraint(::operations_research::MPIndicatorConstraint *PROTOBUF_NULLABLE value)
void set_allocated_or_constraint(::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE value)
GeneralConstraintCase general_constraint_case() const
void MergeFrom(const MPGeneralConstraintProto &from)
@ GENERAL_CONSTRAINT_NOT_SET
~MPGeneralConstraintProto() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
MPGeneralConstraintProto()
void clear_general_constraint()
void set_allocated_sos_constraint(::operations_research::MPSosConstraint *PROTOBUF_NULLABLE value)
const ::operations_research::MPAbsConstraint & abs_constraint() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void set_allocated_min_constraint(::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE value)
void set_allocated_and_constraint(::operations_research::MPArrayConstraint *PROTOBUF_NULLABLE value)
const ::operations_research::MPArrayWithConstantConstraint & max_constraint() const
friend void swap(MPGeneralConstraintProto &a, MPGeneralConstraintProto &b)
const ::operations_research::MPIndicatorConstraint & indicator_constraint() const
static constexpr auto InternalNewImpl_()
void set_allocated_quadratic_constraint(::operations_research::MPQuadraticConstraint *PROTOBUF_NULLABLE value)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
const ::operations_research::MPArrayConstraint & and_constraint() const
::google::protobuf::Metadata GetMetadata() const
const ::operations_research::MPArrayWithConstantConstraint & min_constraint() const
const ::operations_research::MPArrayConstraint & or_constraint() const
void set_allocated_max_constraint(::operations_research::MPArrayWithConstantConstraint *PROTOBUF_NULLABLE value)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::operations_research::MPQuadraticConstraint & quadratic_constraint() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
void CopyFrom(const MPGeneralConstraintProto &from)
const ::operations_research::MPSosConstraint & sos_constraint() const
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
friend void swap(MPIndicatorConstraint &a, MPIndicatorConstraint &b)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void MergeFrom(const MPIndicatorConstraint &from)
static constexpr auto InternalNewImpl_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
~MPIndicatorConstraint() PROTOBUF_FINAL
void CopyFrom(const MPIndicatorConstraint &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse()
MPModelDeltaProto_VariableOverridesEntry_DoNotUse()
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
friend void swap(MPModelDeltaProto &a, MPModelDeltaProto &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
void MergeFrom(const MPModelDeltaProto &from)
static constexpr auto InternalNewImpl_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const MPModelDeltaProto &from)
~MPModelDeltaProto() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
static constexpr ::int32_t kHasBitsOffset
friend void swap(MPModelProto_Annotation &a, MPModelProto_Annotation &b)
friend class ::google::protobuf::MessageLite
void CopyFrom(const MPModelProto_Annotation &from)
static constexpr auto InternalNewImpl_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
MPModelProto_Annotation()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~MPModelProto_Annotation() PROTOBUF_FINAL
void MergeFrom(const MPModelProto_Annotation &from)
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
friend class ::google::protobuf::MessageLite
void MergeFrom(const MPModelProto &from)
~MPModelProto() PROTOBUF_FINAL
void CopyFrom(const MPModelProto &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
friend void swap(MPModelProto &a, MPModelProto &b)
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void MergeFrom(const MPModelRequest &from)
static constexpr auto InternalNewImpl_()
void CopyFrom(const MPModelRequest &from)
static constexpr auto InternalGenerateClassData_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~MPModelRequest() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
friend void swap(MPModelRequest &a, MPModelRequest &b)
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend void swap(MPQuadraticConstraint &a, MPQuadraticConstraint &b)
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const MPQuadraticConstraint &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::size_t ByteSizeLong() const final
static constexpr auto InternalNewImpl_()
::google::protobuf::Metadata GetMetadata() const
void CopyFrom(const MPQuadraticConstraint &from)
static constexpr auto InternalGenerateClassData_()
~MPQuadraticConstraint() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
friend class ::google::protobuf::MessageLite
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void MergeFrom(const MPQuadraticObjective &from)
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const MPQuadraticObjective &from)
~MPQuadraticObjective() PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
static constexpr ::int32_t kHasBitsOffset
void MergeFrom(const MPSolutionResponse &from)
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void CopyFrom(const MPSolutionResponse &from)
static constexpr auto InternalNewImpl_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(MPSolutionResponse &a, MPSolutionResponse &b)
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
~MPSolutionResponse() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
void CopyFrom(const MPSolution &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::size_t ByteSizeLong() const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalNewImpl_()
~MPSolution() PROTOBUF_FINAL
void MergeFrom(const MPSolution &from)
friend class ::google::protobuf::MessageLite
static constexpr auto InternalNewImpl_()
friend void swap(MPSolveInfo &a, MPSolveInfo &b)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const MPSolveInfo &from)
~MPSolveInfo() PROTOBUF_FINAL
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const MPSolveInfo &from)
friend class ::google::protobuf::MessageLite
::size_t ByteSizeLong() const final
friend void swap(MPSolverCommonParameters &a, MPSolverCommonParameters &b)
static constexpr auto InternalNewImpl_()
MPSolverCommonParameters()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
void CopyFrom(const MPSolverCommonParameters &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
void MergeFrom(const MPSolverCommonParameters &from)
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static constexpr auto InternalGenerateClassData_()
~MPSolverCommonParameters() PROTOBUF_FINAL
friend class ::google::protobuf::Arena
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalNewImpl_()
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
friend void swap(MPSosConstraint &a, MPSosConstraint &b)
void CopyFrom(const MPSosConstraint &from)
void MergeFrom(const MPSosConstraint &from)
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~MPSosConstraint() PROTOBUF_FINAL
decltype(::std::declval< MPVariableProto >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
friend class ::google::protobuf::MessageLite
void CopyFrom(const MPVariableProto &from)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const MPVariableProto &from)
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
~MPVariableProto() PROTOBUF_FINAL
friend void swap(MPVariableProto &a, MPVariableProto &b)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalNewImpl_()
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
::size_t ByteSizeLong() const final
static constexpr auto InternalGenerateClassData_()
::size_t ByteSizeLong() const final
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
void CopyFrom(const OptionalDouble &from)
void MergeFrom(const OptionalDouble &from)
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
~OptionalDouble() PROTOBUF_FINAL
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static constexpr auto InternalNewImpl_()
friend class ::google::protobuf::MessageLite
const ::google::protobuf::internal::ClassData *PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL
static constexpr auto InternalGenerateClassData_()
static constexpr auto InternalNewImpl_()
~PartialVariableAssignment() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
void CopyFrom(const PartialVariableAssignment &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
static void *PROTOBUF_NONNULL PlacementNew_(const void *PROTOBUF_NONNULL, void *PROTOBUF_NONNULL mem, ::google::protobuf::Arena *PROTOBUF_NULLABLE arena)
::google::protobuf::Metadata GetMetadata() const
void MergeFrom(const PartialVariableAssignment &from)
::size_t ByteSizeLong() const final
PartialVariableAssignment()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
static const ::_pbi::DescriptorTable *PROTOBUF_NONNULL const descriptor_table_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto_deps[1]
const ::uint32_t TableStruct_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
::absl::once_flag descriptor_table_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto_once
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto
static const ::_pb::EnumDescriptor *PROTOBUF_NONNULL file_level_enum_descriptors_ortools_2flinear_5fsolver_2flinear_5fsolver_2eproto[5]
In SWIG mode, we don't want anything besides these top-level includes.
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPQuadraticObjectiveDefaultTypeInternal _MPQuadraticObjective_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelProto_AnnotationDefaultTypeInternal _MPModelProto_Annotation_default_instance_
PROTOBUF_CONSTINIT const uint32_t MPModelProto_Annotation_TargetType_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull OptionalDouble_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPArrayWithConstantConstraintDefaultTypeInternal _MPArrayWithConstantConstraint_default_instance_
MPModelRequest_SolverType
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPArrayConstraintDefaultTypeInternal _MPArrayConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelProto_Annotation_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelRequest_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPGeneralConstraintProtoDefaultTypeInternal _MPGeneralConstraintProto_default_instance_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPModelProto_Annotation_TargetType_descriptor()
MPSolverCommonParameters_LPAlgorithmValues
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPConstraintProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPAbsConstraint_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPQuadraticConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolutionResponseDefaultTypeInternal _MPSolutionResponse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPVariableProtoDefaultTypeInternal _MPVariableProto_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPAbsConstraintDefaultTypeInternal _MPAbsConstraint_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolutionDefaultTypeInternal _MPSolution_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPVariableProto_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPGeneralConstraintProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal _MPModelDeltaProto_VariableOverridesEntry_DoNotUse_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSosConstraintDefaultTypeInternal _MPSosConstraint_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolveInfo_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolverCommonParameters_class_data_
PROTOBUF_CONSTINIT const uint32_t MPModelRequest_SolverType_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolutionResponse_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelDeltaProto_VariableOverridesEntry_DoNotUse_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPConstraintProtoDefaultTypeInternal _MPConstraintProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t OptionalBoolean_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelProto_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPSolverResponseStatus_descriptor()
MPModelProto_Annotation_TargetType
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartialVariableAssignmentDefaultTypeInternal _PartialVariableAssignment_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSosConstraint_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPModelRequest_SolverType_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPIndicatorConstraintDefaultTypeInternal _MPIndicatorConstraint_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OptionalDoubleDefaultTypeInternal _OptionalDouble_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPArrayWithConstantConstraint_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelRequestDefaultTypeInternal _MPModelRequest_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPQuadraticObjective_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPQuadraticConstraintDefaultTypeInternal _MPQuadraticConstraint_default_instance_
PROTOBUF_CONSTINIT const uint32_t MPSolverResponseStatus_internal_data_[]
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPSosConstraint_Type_descriptor()
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolverCommonParametersDefaultTypeInternal _MPSolverCommonParameters_default_instance_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelProtoDefaultTypeInternal _MPModelProto_default_instance_
PROTOBUF_CONSTINIT const uint32_t MPSosConstraint_Type_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPArrayConstraint_class_data_
const ::google::protobuf::EnumDescriptor *PROTOBUF_NONNULL MPSolverCommonParameters_LPAlgorithmValues_descriptor()
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull PartialVariableAssignment_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPSolveInfoDefaultTypeInternal _MPSolveInfo_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelDeltaProto_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MPModelDeltaProtoDefaultTypeInternal _MPModelDeltaProto_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPIndicatorConstraint_class_data_
PROTOBUF_CONSTINIT const uint32_t MPSolverCommonParameters_LPAlgorithmValues_internal_data_[]
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPSolution_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse_class_data_
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
MPAbsConstraint _instance
~MPAbsConstraintDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPAbsConstraintDefaultTypeInternal()
MPArrayConstraint _instance
PROTOBUF_CONSTEXPR MPArrayConstraintDefaultTypeInternal()
~MPArrayConstraintDefaultTypeInternal()
~MPArrayWithConstantConstraintDefaultTypeInternal()
MPArrayWithConstantConstraint _instance
PROTOBUF_CONSTEXPR MPArrayWithConstantConstraintDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPConstraintProtoDefaultTypeInternal()
MPConstraintProto _instance
~MPConstraintProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPGeneralConstraintProtoDefaultTypeInternal()
MPGeneralConstraintProto _instance
~MPGeneralConstraintProtoDefaultTypeInternal()
~MPIndicatorConstraintDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPIndicatorConstraintDefaultTypeInternal()
MPIndicatorConstraint _instance
PROTOBUF_CONSTEXPR MPModelDeltaProtoDefaultTypeInternal()
~MPModelDeltaProtoDefaultTypeInternal()
MPModelDeltaProto _instance
PROTOBUF_CONSTEXPR MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal()
~MPModelDeltaProto_ConstraintOverridesEntry_DoNotUseDefaultTypeInternal()
MPModelDeltaProto_ConstraintOverridesEntry_DoNotUse _instance
MPModelDeltaProto_VariableOverridesEntry_DoNotUse _instance
~MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPModelDeltaProto_VariableOverridesEntry_DoNotUseDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPModelProtoDefaultTypeInternal()
~MPModelProtoDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPModelProto_AnnotationDefaultTypeInternal()
~MPModelProto_AnnotationDefaultTypeInternal()
MPModelProto_Annotation _instance
~MPModelRequestDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPModelRequestDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPQuadraticConstraintDefaultTypeInternal()
~MPQuadraticConstraintDefaultTypeInternal()
MPQuadraticConstraint _instance
PROTOBUF_CONSTEXPR MPQuadraticObjectiveDefaultTypeInternal()
~MPQuadraticObjectiveDefaultTypeInternal()
MPQuadraticObjective _instance
PROTOBUF_CONSTEXPR MPSolutionDefaultTypeInternal()
~MPSolutionDefaultTypeInternal()
~MPSolutionResponseDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPSolutionResponseDefaultTypeInternal()
MPSolutionResponse _instance
~MPSolveInfoDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPSolveInfoDefaultTypeInternal()
~MPSolverCommonParametersDefaultTypeInternal()
PROTOBUF_CONSTEXPR MPSolverCommonParametersDefaultTypeInternal()
MPSolverCommonParameters _instance
PROTOBUF_CONSTEXPR MPSosConstraintDefaultTypeInternal()
~MPSosConstraintDefaultTypeInternal()
MPSosConstraint _instance
PROTOBUF_CONSTEXPR MPVariableProtoDefaultTypeInternal()
~MPVariableProtoDefaultTypeInternal()
MPVariableProto _instance
PROTOBUF_CONSTEXPR OptionalDoubleDefaultTypeInternal()
~OptionalDoubleDefaultTypeInternal()
PROTOBUF_CONSTEXPR PartialVariableAssignmentDefaultTypeInternal()
PartialVariableAssignment _instance
~PartialVariableAssignmentDefaultTypeInternal()
::google::protobuf::Message *PROTOBUF_NULLABLE or_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE max_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE min_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE and_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE abs_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE quadratic_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE indicator_constraint_
::google::protobuf::Message *PROTOBUF_NULLABLE sos_constraint_