Enum RoutingSearchStatus.Value
java.lang.Object
java.lang.Enum<RoutingSearchStatus.Value>
com.google.ortools.constraintsolver.RoutingSearchStatus.Value
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RoutingSearchStatus.Value>,java.lang.constant.Constable
- Enclosing class:
RoutingSearchStatus
public static enum RoutingSearchStatus.Value
extends Enum<RoutingSearchStatus.Value>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
operations_research.RoutingSearchStatus.Value-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo solution found to the problem after calling RoutingModel::Solve().Time limit reached before finding a solution with RoutingModel::Solve().Problem proven to be infeasible.Model, model parameters or flags are not valid.Problem not solved yet (before calling RoutingModel::Solve()).Problem has been solved to optimality.Problem solved successfully after calling RoutingModel::Solve(), except that a local optimum has not been reached.Problem solved successfully after calling RoutingModel::Solve(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTime limit reached before finding a solution with RoutingModel::Solve().static final intNo solution found to the problem after calling RoutingModel::Solve().static final intProblem proven to be infeasible.static final intModel, model parameters or flags are not valid.static final intProblem not solved yet (before calling RoutingModel::Solve()).static final intProblem has been solved to optimality.static final intProblem solved successfully after calling RoutingModel::Solve(), except that a local optimum has not been reached.static final intProblem solved successfully after calling RoutingModel::Solve(). -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingSearchStatus.ValueforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RoutingSearchStatus.Value> static RoutingSearchStatus.ValuevalueOf(int value) Deprecated.static RoutingSearchStatus.ValuevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RoutingSearchStatus.ValueReturns the enum constant of this type with the specified name.static RoutingSearchStatus.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ROUTING_NOT_SOLVED
Problem not solved yet (before calling RoutingModel::Solve()).
ROUTING_NOT_SOLVED = 0; -
ROUTING_SUCCESS
Problem solved successfully after calling RoutingModel::Solve().
ROUTING_SUCCESS = 1; -
ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED
Problem solved successfully after calling RoutingModel::Solve(), except that a local optimum has not been reached. Leaving more time would allow improving the solution.
ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED = 2; -
ROUTING_FAIL
No solution found to the problem after calling RoutingModel::Solve().
ROUTING_FAIL = 3; -
ROUTING_FAIL_TIMEOUT
Time limit reached before finding a solution with RoutingModel::Solve().
ROUTING_FAIL_TIMEOUT = 4; -
ROUTING_INVALID
Model, model parameters or flags are not valid.
ROUTING_INVALID = 5; -
ROUTING_INFEASIBLE
Problem proven to be infeasible.
ROUTING_INFEASIBLE = 6; -
ROUTING_OPTIMAL
Problem has been solved to optimality.
ROUTING_OPTIMAL = 7; -
UNRECOGNIZED
-
-
Field Details
-
ROUTING_NOT_SOLVED_VALUE
public static final int ROUTING_NOT_SOLVED_VALUEProblem not solved yet (before calling RoutingModel::Solve()).
ROUTING_NOT_SOLVED = 0;- See Also:
-
ROUTING_SUCCESS_VALUE
public static final int ROUTING_SUCCESS_VALUEProblem solved successfully after calling RoutingModel::Solve().
ROUTING_SUCCESS = 1;- See Also:
-
ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_VALUE
public static final int ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_VALUEProblem solved successfully after calling RoutingModel::Solve(), except that a local optimum has not been reached. Leaving more time would allow improving the solution.
ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED = 2;- See Also:
-
ROUTING_FAIL_VALUE
public static final int ROUTING_FAIL_VALUENo solution found to the problem after calling RoutingModel::Solve().
ROUTING_FAIL = 3;- See Also:
-
ROUTING_FAIL_TIMEOUT_VALUE
public static final int ROUTING_FAIL_TIMEOUT_VALUETime limit reached before finding a solution with RoutingModel::Solve().
ROUTING_FAIL_TIMEOUT = 4;- See Also:
-
ROUTING_INVALID_VALUE
public static final int ROUTING_INVALID_VALUEModel, model parameters or flags are not valid.
ROUTING_INVALID = 5;- See Also:
-
ROUTING_INFEASIBLE_VALUE
public static final int ROUTING_INFEASIBLE_VALUEProblem proven to be infeasible.
ROUTING_INFEASIBLE = 6;- See Also:
-
ROUTING_OPTIMAL_VALUE
public static final int ROUTING_OPTIMAL_VALUEProblem has been solved to optimality.
ROUTING_OPTIMAL = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchStatus.Value> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static RoutingSearchStatus.Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-