public static enum RoutingSearchStatus.Value extends java.lang.Enum<RoutingSearchStatus.Value> implements com.google.protobuf.ProtocolMessageEnum
operations_research.RoutingSearchStatus.Value
Enum Constant and Description |
---|
ROUTING_FAIL
No solution found to the problem after calling RoutingModel::Solve().
|
ROUTING_FAIL_TIMEOUT
Time limit reached before finding a solution with RoutingModel::Solve().
|
ROUTING_INFEASIBLE
Problem proven to be infeasible.
|
ROUTING_INVALID
Model, model parameters or flags are not valid.
|
ROUTING_NOT_SOLVED
Problem not solved yet (before calling RoutingModel::Solve()).
|
ROUTING_OPTIMAL
Problem has been solved to optimality.
|
ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED
Problem solved successfully after calling RoutingModel::Solve(), except
that a local optimum has not been reached.
|
ROUTING_SUCCESS
Problem solved successfully after calling RoutingModel::Solve().
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ROUTING_FAIL_TIMEOUT_VALUE
Time limit reached before finding a solution with RoutingModel::Solve().
|
static int |
ROUTING_FAIL_VALUE
No solution found to the problem after calling RoutingModel::Solve().
|
static int |
ROUTING_INFEASIBLE_VALUE
Problem proven to be infeasible.
|
static int |
ROUTING_INVALID_VALUE
Model, model parameters or flags are not valid.
|
static int |
ROUTING_NOT_SOLVED_VALUE
Problem not solved yet (before calling RoutingModel::Solve()).
|
static int |
ROUTING_OPTIMAL_VALUE
Problem has been solved to optimality.
|
static int |
ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_VALUE
Problem solved successfully after calling RoutingModel::Solve(), except
that a local optimum has not been reached.
|
static int |
ROUTING_SUCCESS_VALUE
Problem solved successfully after calling RoutingModel::Solve().
|
Modifier and Type | Method and Description |
---|---|
static RoutingSearchStatus.Value |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchStatus.Value> |
internalGetValueMap() |
static RoutingSearchStatus.Value |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RoutingSearchStatus.Value |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RoutingSearchStatus.Value |
valueOf(java.lang.String name)
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.
|
public static final RoutingSearchStatus.Value ROUTING_NOT_SOLVED
Problem not solved yet (before calling RoutingModel::Solve()).
ROUTING_NOT_SOLVED = 0;
public static final RoutingSearchStatus.Value ROUTING_SUCCESS
Problem solved successfully after calling RoutingModel::Solve().
ROUTING_SUCCESS = 1;
public static final RoutingSearchStatus.Value 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;
public static final RoutingSearchStatus.Value ROUTING_FAIL
No solution found to the problem after calling RoutingModel::Solve().
ROUTING_FAIL = 3;
public static final RoutingSearchStatus.Value ROUTING_FAIL_TIMEOUT
Time limit reached before finding a solution with RoutingModel::Solve().
ROUTING_FAIL_TIMEOUT = 4;
public static final RoutingSearchStatus.Value ROUTING_INVALID
Model, model parameters or flags are not valid.
ROUTING_INVALID = 5;
public static final RoutingSearchStatus.Value ROUTING_INFEASIBLE
Problem proven to be infeasible.
ROUTING_INFEASIBLE = 6;
public static final RoutingSearchStatus.Value ROUTING_OPTIMAL
Problem has been solved to optimality.
ROUTING_OPTIMAL = 7;
public static final RoutingSearchStatus.Value UNRECOGNIZED
public static final int ROUTING_NOT_SOLVED_VALUE
Problem not solved yet (before calling RoutingModel::Solve()).
ROUTING_NOT_SOLVED = 0;
public static final int ROUTING_SUCCESS_VALUE
Problem solved successfully after calling RoutingModel::Solve().
ROUTING_SUCCESS = 1;
public static final int ROUTING_PARTIAL_SUCCESS_LOCAL_OPTIMUM_NOT_REACHED_VALUE
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;
public static final int ROUTING_FAIL_VALUE
No solution found to the problem after calling RoutingModel::Solve().
ROUTING_FAIL = 3;
public static final int ROUTING_FAIL_TIMEOUT_VALUE
Time limit reached before finding a solution with RoutingModel::Solve().
ROUTING_FAIL_TIMEOUT = 4;
public static final int ROUTING_INVALID_VALUE
Model, model parameters or flags are not valid.
ROUTING_INVALID = 5;
public static final int ROUTING_INFEASIBLE_VALUE
Problem proven to be infeasible.
ROUTING_INFEASIBLE = 6;
public static final int ROUTING_OPTIMAL_VALUE
Problem has been solved to optimality.
ROUTING_OPTIMAL = 7;
public static RoutingSearchStatus.Value[] values()
for (RoutingSearchStatus.Value c : RoutingSearchStatus.Value.values()) System.out.println(c);
public static RoutingSearchStatus.Value valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static RoutingSearchStatus.Value valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static RoutingSearchStatus.Value forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RoutingSearchStatus.Value> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RoutingSearchStatus.Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.