4 package com.google.ortools.linearsolver;
21 implements
com.
google.protobuf.ProtocolMessageEnum {
155 public static final int MPSOLVER_OPTIMAL_VALUE = 0;
170 public static final int MPSOLVER_FEASIBLE_VALUE = 1;
181 public static final int MPSOLVER_INFEASIBLE_VALUE = 2;
191 public static final int MPSOLVER_UNBOUNDED_VALUE = 3;
201 public static final int MPSOLVER_ABNORMAL_VALUE = 4;
210 public static final int MPSOLVER_NOT_SOLVED_VALUE = 6;
219 public static final int MPSOLVER_MODEL_IS_VALID_VALUE = 97;
228 public static final int MPSOLVER_UNKNOWN_STATUS_VALUE = 99;
237 public static final int MPSOLVER_MODEL_INVALID_VALUE = 5;
246 public static final int MPSOLVER_MODEL_INVALID_SOLUTION_HINT_VALUE = 84;
254 public static final int MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS_VALUE = 85;
265 public static final int MPSOLVER_SOLVER_TYPE_UNAVAILABLE_VALUE = 7;
275 @java.lang.Deprecated
277 return forNumber(value);
282 case 0:
return MPSOLVER_OPTIMAL;
283 case 1:
return MPSOLVER_FEASIBLE;
284 case 2:
return MPSOLVER_INFEASIBLE;
285 case 3:
return MPSOLVER_UNBOUNDED;
286 case 4:
return MPSOLVER_ABNORMAL;
287 case 6:
return MPSOLVER_NOT_SOLVED;
288 case 97:
return MPSOLVER_MODEL_IS_VALID;
289 case 99:
return MPSOLVER_UNKNOWN_STATUS;
290 case 5:
return MPSOLVER_MODEL_INVALID;
291 case 84:
return MPSOLVER_MODEL_INVALID_SOLUTION_HINT;
292 case 85:
return MPSOLVER_MODEL_INVALID_SOLVER_PARAMETERS;
293 case 7:
return MPSOLVER_SOLVER_TYPE_UNAVAILABLE;
294 default:
return null;
300 return internalValueMap;
302 private static final com.
google.protobuf.Internal.EnumLiteMap<
310 public final com.
google.protobuf.Descriptors.EnumValueDescriptor
312 return getDescriptor().getValues().get(ordinal());
314 public final com.
google.protobuf.Descriptors.EnumDescriptor
316 return getDescriptor();
318 public static final com.
google.protobuf.Descriptors.EnumDescriptor
326 com.
google.protobuf.Descriptors.EnumValueDescriptor desc) {
327 if (desc.getType() != getDescriptor()) {
328 throw new java.lang.IllegalArgumentException(
329 "EnumValueDescriptor is not for this type.");
331 return VALUES[desc.getIndex()];
334 private final int value;