4 package com.google.ortools.linearsolver;
9 com.
google.protobuf.ExtensionRegistryLite registry) {
13 com.
google.protobuf.ExtensionRegistry registry) {
15 (
com.
google.protobuf.ExtensionRegistryLite) registry);
17 static final com.
google.protobuf.Descriptors.Descriptor
18 internal_static_operations_research_MPVariableProto_descriptor;
20 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
21 internal_static_operations_research_MPVariableProto_fieldAccessorTable;
22 static final com.
google.protobuf.Descriptors.Descriptor
23 internal_static_operations_research_MPConstraintProto_descriptor;
25 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
26 internal_static_operations_research_MPConstraintProto_fieldAccessorTable;
27 static final com.
google.protobuf.Descriptors.Descriptor
28 internal_static_operations_research_MPGeneralConstraintProto_descriptor;
30 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
31 internal_static_operations_research_MPGeneralConstraintProto_fieldAccessorTable;
32 static final com.
google.protobuf.Descriptors.Descriptor
33 internal_static_operations_research_MPIndicatorConstraint_descriptor;
35 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
36 internal_static_operations_research_MPIndicatorConstraint_fieldAccessorTable;
37 static final com.
google.protobuf.Descriptors.Descriptor
38 internal_static_operations_research_MPSosConstraint_descriptor;
40 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
41 internal_static_operations_research_MPSosConstraint_fieldAccessorTable;
42 static final com.
google.protobuf.Descriptors.Descriptor
43 internal_static_operations_research_PartialVariableAssignment_descriptor;
45 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
46 internal_static_operations_research_PartialVariableAssignment_fieldAccessorTable;
47 static final com.
google.protobuf.Descriptors.Descriptor
48 internal_static_operations_research_MPModelProto_descriptor;
50 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
51 internal_static_operations_research_MPModelProto_fieldAccessorTable;
52 static final com.
google.protobuf.Descriptors.Descriptor
53 internal_static_operations_research_OptionalDouble_descriptor;
55 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
56 internal_static_operations_research_OptionalDouble_fieldAccessorTable;
57 static final com.
google.protobuf.Descriptors.Descriptor
58 internal_static_operations_research_MPSolverCommonParameters_descriptor;
60 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
61 internal_static_operations_research_MPSolverCommonParameters_fieldAccessorTable;
62 static final com.
google.protobuf.Descriptors.Descriptor
63 internal_static_operations_research_MPModelRequest_descriptor;
65 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
66 internal_static_operations_research_MPModelRequest_fieldAccessorTable;
67 static final com.
google.protobuf.Descriptors.Descriptor
68 internal_static_operations_research_MPSolutionResponse_descriptor;
70 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable
71 internal_static_operations_research_MPSolutionResponse_fieldAccessorTable;
73 public static com.
google.protobuf.Descriptors.FileDescriptor
77 private static com.
google.protobuf.Descriptors.FileDescriptor
80 java.lang.String[] descriptorData = {
81 "\n)ortools/linear_solver/linear_solver.pr" +
82 "oto\022\023operations_research\032#ortools/util/o" +
83 "ptional_boolean.proto\"\262\001\n\017MPVariableProt" +
84 "o\022\031\n\013lower_bound\030\001 \001(\001:\004-inf\022\030\n\013upper_bo" +
85 "und\030\002 \001(\001:\003inf\022 \n\025objective_coefficient\030" +
86 "\003 \001(\001:\0010\022\031\n\nis_integer\030\004 \001(\010:\005false\022\016\n\004n" +
87 "ame\030\005 \001(\t:\000\022\035\n\022branching_priority\030\006 \001(\005:" +
88 "\0010\"\240\001\n\021MPConstraintProto\022\025\n\tvar_index\030\006 " +
89 "\003(\005B\002\020\001\022\027\n\013coefficient\030\007 \003(\001B\002\020\001\022\031\n\013lowe" +
90 "r_bound\030\002 \001(\001:\004-inf\022\030\n\013upper_bound\030\003 \001(\001" +
91 ":\003inf\022\016\n\004name\030\004 \001(\t:\000\022\026\n\007is_lazy\030\005 \001(\010:\005" +
92 "false\"\314\001\n\030MPGeneralConstraintProto\022\016\n\004na" +
93 "me\030\001 \001(\t:\000\022J\n\024indicator_constraint\030\002 \001(\013" +
94 "2*.operations_research.MPIndicatorConstr" +
95 "aintH\000\022>\n\016sos_constraint\030\003 \001(\0132$.operati" +
96 "ons_research.MPSosConstraintH\000B\024\n\022genera" +
97 "l_constraint\"y\n\025MPIndicatorConstraint\022\021\n" +
98 "\tvar_index\030\001 \001(\005\022\021\n\tvar_value\030\002 \001(\005\022:\n\nc" +
99 "onstraint\030\003 \001(\0132&.operations_research.MP" +
100 "ConstraintProto\"\237\001\n\017MPSosConstraint\022E\n\004t" +
101 "ype\030\001 \001(\0162).operations_research.MPSosCon" +
102 "straint.Type:\014SOS1_DEFAULT\022\021\n\tvar_index\030" +
103 "\002 \003(\005\022\016\n\006weight\030\003 \003(\001\"\"\n\004Type\022\020\n\014SOS1_DE" +
104 "FAULT\020\000\022\010\n\004SOS2\020\001\"I\n\031PartialVariableAssi" +
105 "gnment\022\025\n\tvar_index\030\001 \003(\005B\002\020\001\022\025\n\tvar_val" +
106 "ue\030\002 \003(\001B\002\020\001\"\332\002\n\014MPModelProto\022\027\n\010maximiz" +
107 "e\030\001 \001(\010:\005false\022\033\n\020objective_offset\030\002 \001(\001" +
108 ":\0010\0226\n\010variable\030\003 \003(\0132$.operations_resea" +
109 "rch.MPVariableProto\022:\n\nconstraint\030\004 \003(\0132" +
110 "&.operations_research.MPConstraintProto\022" +
111 "I\n\022general_constraint\030\007 \003(\0132-.operations" +
112 "_research.MPGeneralConstraintProto\022\016\n\004na" +
113 "me\030\005 \001(\t:\000\022E\n\rsolution_hint\030\006 \001(\0132..oper" +
114 "ations_research.PartialVariableAssignmen" +
115 "t\"\037\n\016OptionalDouble\022\r\n\005value\030\001 \001(\001\"\275\004\n\030M" +
116 "PSolverCommonParameters\022=\n\020relative_mip_" +
117 "gap\030\001 \001(\0132#.operations_research.Optional" +
118 "Double\022=\n\020primal_tolerance\030\002 \001(\0132#.opera" +
119 "tions_research.OptionalDouble\022;\n\016dual_to" +
120 "lerance\030\003 \001(\0132#.operations_research.Opti" +
121 "onalDouble\022j\n\014lp_algorithm\030\004 \001(\0162?.opera" +
122 "tions_research.MPSolverCommonParameters." +
123 "LPAlgorithmValues:\023LP_ALGO_UNSPECIFIED\022H" +
124 "\n\010presolve\030\005 \001(\0162$.operations_research.O" +
125 "ptionalBoolean:\020BOOL_UNSPECIFIED\022G\n\007scal" +
126 "ing\030\007 \001(\0162$.operations_research.Optional" +
127 "Boolean:\020BOOL_UNSPECIFIED\"g\n\021LPAlgorithm" +
128 "Values\022\027\n\023LP_ALGO_UNSPECIFIED\020\000\022\020\n\014LP_AL" +
129 "GO_DUAL\020\001\022\022\n\016LP_ALGO_PRIMAL\020\002\022\023\n\017LP_ALGO" +
130 "_BARRIER\020\003\"\266\005\n\016MPModelRequest\0220\n\005model\030\001" +
131 " \001(\0132!.operations_research.MPModelProto\022" +
132 "C\n\013solver_type\030\002 \001(\0162..operations_resear" +
133 "ch.MPModelRequest.SolverType\022!\n\031solver_t" +
134 "ime_limit_seconds\030\003 \001(\001\022,\n\035enable_intern" +
135 "al_solver_output\030\004 \001(\010:\005false\022\"\n\032solver_" +
136 "specific_parameters\030\005 \001(\t\"\267\003\n\nSolverType" +
137 "\022\033\n\027GLOP_LINEAR_PROGRAMMING\020\002\022\032\n\026CLP_LIN" +
138 "EAR_PROGRAMMING\020\000\022\033\n\027GLPK_LINEAR_PROGRAM" +
139 "MING\020\001\022\035\n\031GUROBI_LINEAR_PROGRAMMING\020\006\022\034\n" +
140 "\030CPLEX_LINEAR_PROGRAMMING\020\n\022\"\n\036SCIP_MIXE" +
141 "D_INTEGER_PROGRAMMING\020\003\022\"\n\036GLPK_MIXED_IN" +
142 "TEGER_PROGRAMMING\020\004\022!\n\035CBC_MIXED_INTEGER" +
143 "_PROGRAMMING\020\005\022$\n GUROBI_MIXED_INTEGER_P" +
144 "ROGRAMMING\020\007\022#\n\037CPLEX_MIXED_INTEGER_PROG" +
145 "RAMMING\020\013\022\033\n\027BOP_INTEGER_PROGRAMMING\020\014\022\033" +
146 "\n\027SAT_INTEGER_PROGRAMMING\020\016\022&\n\"KNAPSACK_" +
147 "MIXED_INTEGER_PROGRAMMING\020\r\"\357\001\n\022MPSoluti" +
148 "onResponse\022T\n\006status\030\001 \001(\0162+.operations_" +
149 "research.MPSolverResponseStatus:\027MPSOLVE" +
150 "R_UNKNOWN_STATUS\022\027\n\017objective_value\030\002 \001(" +
151 "\001\022\034\n\024best_objective_bound\030\005 \001(\001\022\032\n\016varia" +
152 "ble_value\030\003 \003(\001B\002\020\001\022\026\n\ndual_value\030\004 \003(\001B" +
153 "\002\020\001\022\030\n\014reduced_cost\030\006 \003(\001B\002\020\001*\372\002\n\026MPSolv" +
154 "erResponseStatus\022\024\n\020MPSOLVER_OPTIMAL\020\000\022\025" +
155 "\n\021MPSOLVER_FEASIBLE\020\001\022\027\n\023MPSOLVER_INFEAS" +
156 "IBLE\020\002\022\026\n\022MPSOLVER_UNBOUNDED\020\003\022\025\n\021MPSOLV" +
157 "ER_ABNORMAL\020\004\022\027\n\023MPSOLVER_NOT_SOLVED\020\006\022\033" +
158 "\n\027MPSOLVER_MODEL_IS_VALID\020a\022\033\n\027MPSOLVER_" +
159 "UNKNOWN_STATUS\020c\022\032\n\026MPSOLVER_MODEL_INVAL" +
160 "ID\020\005\022(\n$MPSOLVER_MODEL_INVALID_SOLUTION_" +
161 "HINT\020T\022,\n(MPSOLVER_MODEL_INVALID_SOLVER_" +
162 "PARAMETERS\020U\022$\n MPSOLVER_SOLVER_TYPE_UNA" +
163 "VAILABLE\020\007B#\n\037com.google.ortools.linears" +
166 descriptor =
com.
google.protobuf.Descriptors.FileDescriptor
167 .internalBuildGeneratedFileFrom(descriptorData,
168 new com.
google.protobuf.Descriptors.FileDescriptor[] {
169 com.google.ortools.util.OptionalBooleanOuterClass.getDescriptor(),
171 internal_static_operations_research_MPVariableProto_descriptor =
173 internal_static_operations_research_MPVariableProto_fieldAccessorTable =
new 174 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
175 internal_static_operations_research_MPVariableProto_descriptor,
176 new java.lang.String[] {
"LowerBound",
"UpperBound",
"ObjectiveCoefficient",
"IsInteger",
"Name",
"BranchingPriority", });
177 internal_static_operations_research_MPConstraintProto_descriptor =
179 internal_static_operations_research_MPConstraintProto_fieldAccessorTable =
new 180 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
181 internal_static_operations_research_MPConstraintProto_descriptor,
182 new java.lang.String[] {
"VarIndex",
"Coefficient",
"LowerBound",
"UpperBound",
"Name",
"IsLazy", });
183 internal_static_operations_research_MPGeneralConstraintProto_descriptor =
185 internal_static_operations_research_MPGeneralConstraintProto_fieldAccessorTable =
new 186 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
187 internal_static_operations_research_MPGeneralConstraintProto_descriptor,
188 new java.lang.String[] {
"Name",
"IndicatorConstraint",
"SosConstraint",
"GeneralConstraint", });
189 internal_static_operations_research_MPIndicatorConstraint_descriptor =
191 internal_static_operations_research_MPIndicatorConstraint_fieldAccessorTable =
new 192 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
193 internal_static_operations_research_MPIndicatorConstraint_descriptor,
194 new java.lang.String[] {
"VarIndex",
"VarValue",
"Constraint", });
195 internal_static_operations_research_MPSosConstraint_descriptor =
197 internal_static_operations_research_MPSosConstraint_fieldAccessorTable =
new 198 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
199 internal_static_operations_research_MPSosConstraint_descriptor,
200 new java.lang.String[] {
"Type",
"VarIndex",
"Weight", });
201 internal_static_operations_research_PartialVariableAssignment_descriptor =
203 internal_static_operations_research_PartialVariableAssignment_fieldAccessorTable =
new 204 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
205 internal_static_operations_research_PartialVariableAssignment_descriptor,
206 new java.lang.String[] {
"VarIndex",
"VarValue", });
207 internal_static_operations_research_MPModelProto_descriptor =
209 internal_static_operations_research_MPModelProto_fieldAccessorTable =
new 210 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
211 internal_static_operations_research_MPModelProto_descriptor,
212 new java.lang.String[] {
"Maximize",
"ObjectiveOffset",
"Variable",
"Constraint",
"GeneralConstraint",
"Name",
"SolutionHint", });
213 internal_static_operations_research_OptionalDouble_descriptor =
215 internal_static_operations_research_OptionalDouble_fieldAccessorTable =
new 216 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
217 internal_static_operations_research_OptionalDouble_descriptor,
218 new java.lang.String[] {
"Value", });
219 internal_static_operations_research_MPSolverCommonParameters_descriptor =
221 internal_static_operations_research_MPSolverCommonParameters_fieldAccessorTable =
new 222 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
223 internal_static_operations_research_MPSolverCommonParameters_descriptor,
224 new java.lang.String[] {
"RelativeMipGap",
"PrimalTolerance",
"DualTolerance",
"LpAlgorithm",
"Presolve",
"Scaling", });
225 internal_static_operations_research_MPModelRequest_descriptor =
227 internal_static_operations_research_MPModelRequest_fieldAccessorTable =
new 228 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
229 internal_static_operations_research_MPModelRequest_descriptor,
230 new java.lang.String[] {
"Model",
"SolverType",
"SolverTimeLimitSeconds",
"EnableInternalSolverOutput",
"SolverSpecificParameters", });
231 internal_static_operations_research_MPSolutionResponse_descriptor =
233 internal_static_operations_research_MPSolutionResponse_fieldAccessorTable =
new 234 com.
google.protobuf.GeneratedMessageV3.FieldAccessorTable(
235 internal_static_operations_research_MPSolutionResponse_descriptor,
236 new java.lang.String[] {
"Status",
"ObjectiveValue",
"BestObjectiveBound",
"VariableValue",
"DualValue",
"ReducedCost", });