public static enum SetCoverSolutionResponse.Status extends java.lang.Enum<SetCoverSolutionResponse.Status> implements com.google.protobuf.ProtocolMessageEnum
Result of the optimization.Protobuf enum
operations_research.SetCoverSolutionResponse.Status
Enum Constant and Description |
---|
FEASIBLE
The solver had enough time to find some solution that satisfied all
constraints, but it did not reach the optimal.
|
INFEASIBLE
The model does not have any solution.
|
INVALID
The model is invalid.
|
OPTIMAL
The solver found the proven optimal solution.
|
UNDEFINED
Undefined.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FEASIBLE_VALUE
The solver had enough time to find some solution that satisfied all
constraints, but it did not reach the optimal.
|
static int |
INFEASIBLE_VALUE
The model does not have any solution.
|
static int |
INVALID_VALUE
The model is invalid.
|
static int |
OPTIMAL_VALUE
The solver found the proven optimal solution.
|
static int |
UNDEFINED_VALUE
Undefined.
|
Modifier and Type | Method and Description |
---|---|
static SetCoverSolutionResponse.Status |
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<SetCoverSolutionResponse.Status> |
internalGetValueMap() |
static SetCoverSolutionResponse.Status |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SetCoverSolutionResponse.Status |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SetCoverSolutionResponse.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SetCoverSolutionResponse.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetCoverSolutionResponse.Status UNDEFINED
Undefined.
UNDEFINED = 0;
public static final SetCoverSolutionResponse.Status OPTIMAL
The solver found the proven optimal solution.
OPTIMAL = 1;
public static final SetCoverSolutionResponse.Status FEASIBLE
The solver had enough time to find some solution that satisfied all constraints, but it did not reach the optimal.
FEASIBLE = 2;
public static final SetCoverSolutionResponse.Status INFEASIBLE
The model does not have any solution.
INFEASIBLE = 3;
public static final SetCoverSolutionResponse.Status INVALID
The model is invalid.
INVALID = 4;
public static final SetCoverSolutionResponse.Status UNRECOGNIZED
public static final int UNDEFINED_VALUE
Undefined.
UNDEFINED = 0;
public static final int OPTIMAL_VALUE
The solver found the proven optimal solution.
OPTIMAL = 1;
public static final int FEASIBLE_VALUE
The solver had enough time to find some solution that satisfied all constraints, but it did not reach the optimal.
FEASIBLE = 2;
public static final int INFEASIBLE_VALUE
The model does not have any solution.
INFEASIBLE = 3;
public static final int INVALID_VALUE
The model is invalid.
INVALID = 4;
public static SetCoverSolutionResponse.Status[] values()
for (SetCoverSolutionResponse.Status c : SetCoverSolutionResponse.Status.values()) System.out.println(c);
public static SetCoverSolutionResponse.Status 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 SetCoverSolutionResponse.Status valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static SetCoverSolutionResponse.Status forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SetCoverSolutionResponse.Status> 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 SetCoverSolutionResponse.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.