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 int
Time limit reached before finding a solution with RoutingModel::Solve().static final int
No solution found to the problem after calling RoutingModel::Solve().static final int
Problem proven to be infeasible.static final int
Model, model parameters or flags are not valid.static final int
Problem not solved yet (before calling RoutingModel::Solve()).static final int
Problem has been solved to optimality.static final int
Problem solved successfully after calling RoutingModel::Solve(), except that a local optimum has not been reached.static final int
Problem solved successfully after calling RoutingModel::Solve(). -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingSearchStatus.Value
forNumber
(int value) static com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<RoutingSearchStatus.Value> static RoutingSearchStatus.Value
valueOf
(int value) Deprecated.static RoutingSearchStatus.Value
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RoutingSearchStatus.Value
Returns 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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in 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
-