Package com.google.ortools.bop
Enum BopOptimizerMethod.OptimizerType
- java.lang.Object
-
- java.lang.Enum<BopOptimizerMethod.OptimizerType>
-
- com.google.ortools.bop.BopOptimizerMethod.OptimizerType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<BopOptimizerMethod.OptimizerType>
- Enclosing class:
- BopOptimizerMethod
public static enum BopOptimizerMethod.OptimizerType extends java.lang.Enum<BopOptimizerMethod.OptimizerType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumoperations_research.bop.BopOptimizerMethod.OptimizerType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE_LNSCOMPLETE_LNS = 7;LINEAR_RELAXATIONLINEAR_RELAXATION = 1;LOCAL_SEARCHLOCAL_SEARCH = 2;LP_FIRST_SOLUTIONLP_FIRST_SOLUTION = 8;OBJECTIVE_FIRST_SOLUTIONOBJECTIVE_FIRST_SOLUTION = 9;RANDOM_CONSTRAINT_LNSRANDOM_CONSTRAINT_LNS = 4;RANDOM_CONSTRAINT_LNS_GUIDED_BY_LPRANDOM_CONSTRAINT_LNS_GUIDED_BY_LP = 11;RANDOM_FIRST_SOLUTIONRANDOM_FIRST_SOLUTION = 3;RANDOM_VARIABLE_LNSRANDOM_VARIABLE_LNS = 5;RANDOM_VARIABLE_LNS_GUIDED_BY_LPRANDOM_VARIABLE_LNS_GUIDED_BY_LP = 12;RELATION_GRAPH_LNSRELATION_GRAPH_LNS = 16;RELATION_GRAPH_LNS_GUIDED_BY_LPRELATION_GRAPH_LNS_GUIDED_BY_LP = 17;SAT_CORE_BASEDSAT_CORE_BASED = 0;SAT_LINEAR_SEARCHSAT_LINEAR_SEARCH = 15;USER_GUIDED_FIRST_SOLUTIONUSER_GUIDED_FIRST_SOLUTION = 14;
-
Field Summary
Fields Modifier and Type Field Description static intCOMPLETE_LNS_VALUECOMPLETE_LNS = 7;static intLINEAR_RELAXATION_VALUELINEAR_RELAXATION = 1;static intLOCAL_SEARCH_VALUELOCAL_SEARCH = 2;static intLP_FIRST_SOLUTION_VALUELP_FIRST_SOLUTION = 8;static intOBJECTIVE_FIRST_SOLUTION_VALUEOBJECTIVE_FIRST_SOLUTION = 9;static intRANDOM_CONSTRAINT_LNS_GUIDED_BY_LP_VALUERANDOM_CONSTRAINT_LNS_GUIDED_BY_LP = 11;static intRANDOM_CONSTRAINT_LNS_VALUERANDOM_CONSTRAINT_LNS = 4;static intRANDOM_FIRST_SOLUTION_VALUERANDOM_FIRST_SOLUTION = 3;static intRANDOM_VARIABLE_LNS_GUIDED_BY_LP_VALUERANDOM_VARIABLE_LNS_GUIDED_BY_LP = 12;static intRANDOM_VARIABLE_LNS_VALUERANDOM_VARIABLE_LNS = 5;static intRELATION_GRAPH_LNS_GUIDED_BY_LP_VALUERELATION_GRAPH_LNS_GUIDED_BY_LP = 17;static intRELATION_GRAPH_LNS_VALUERELATION_GRAPH_LNS = 16;static intSAT_CORE_BASED_VALUESAT_CORE_BASED = 0;static intSAT_LINEAR_SEARCH_VALUESAT_LINEAR_SEARCH = 15;static intUSER_GUIDED_FIRST_SOLUTION_VALUEUSER_GUIDED_FIRST_SOLUTION = 14;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static BopOptimizerMethod.OptimizerTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<BopOptimizerMethod.OptimizerType>internalGetValueMap()static BopOptimizerMethod.OptimizerTypevalueOf(int value)Deprecated.static BopOptimizerMethod.OptimizerTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static BopOptimizerMethod.OptimizerTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static BopOptimizerMethod.OptimizerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAT_CORE_BASED
public static final BopOptimizerMethod.OptimizerType SAT_CORE_BASED
SAT_CORE_BASED = 0;
-
SAT_LINEAR_SEARCH
public static final BopOptimizerMethod.OptimizerType SAT_LINEAR_SEARCH
SAT_LINEAR_SEARCH = 15;
-
LINEAR_RELAXATION
public static final BopOptimizerMethod.OptimizerType LINEAR_RELAXATION
LINEAR_RELAXATION = 1;
-
LOCAL_SEARCH
public static final BopOptimizerMethod.OptimizerType LOCAL_SEARCH
LOCAL_SEARCH = 2;
-
RANDOM_FIRST_SOLUTION
public static final BopOptimizerMethod.OptimizerType RANDOM_FIRST_SOLUTION
RANDOM_FIRST_SOLUTION = 3;
-
RANDOM_CONSTRAINT_LNS
public static final BopOptimizerMethod.OptimizerType RANDOM_CONSTRAINT_LNS
RANDOM_CONSTRAINT_LNS = 4;
-
RANDOM_VARIABLE_LNS
public static final BopOptimizerMethod.OptimizerType RANDOM_VARIABLE_LNS
RANDOM_VARIABLE_LNS = 5;
-
COMPLETE_LNS
public static final BopOptimizerMethod.OptimizerType COMPLETE_LNS
COMPLETE_LNS = 7;
-
LP_FIRST_SOLUTION
public static final BopOptimizerMethod.OptimizerType LP_FIRST_SOLUTION
LP_FIRST_SOLUTION = 8;
-
OBJECTIVE_FIRST_SOLUTION
public static final BopOptimizerMethod.OptimizerType OBJECTIVE_FIRST_SOLUTION
OBJECTIVE_FIRST_SOLUTION = 9;
-
USER_GUIDED_FIRST_SOLUTION
public static final BopOptimizerMethod.OptimizerType USER_GUIDED_FIRST_SOLUTION
USER_GUIDED_FIRST_SOLUTION = 14;
-
RANDOM_CONSTRAINT_LNS_GUIDED_BY_LP
public static final BopOptimizerMethod.OptimizerType RANDOM_CONSTRAINT_LNS_GUIDED_BY_LP
RANDOM_CONSTRAINT_LNS_GUIDED_BY_LP = 11;
-
RANDOM_VARIABLE_LNS_GUIDED_BY_LP
public static final BopOptimizerMethod.OptimizerType RANDOM_VARIABLE_LNS_GUIDED_BY_LP
RANDOM_VARIABLE_LNS_GUIDED_BY_LP = 12;
-
RELATION_GRAPH_LNS
public static final BopOptimizerMethod.OptimizerType RELATION_GRAPH_LNS
RELATION_GRAPH_LNS = 16;
-
RELATION_GRAPH_LNS_GUIDED_BY_LP
public static final BopOptimizerMethod.OptimizerType RELATION_GRAPH_LNS_GUIDED_BY_LP
RELATION_GRAPH_LNS_GUIDED_BY_LP = 17;
-
-
Field Detail
-
SAT_CORE_BASED_VALUE
public static final int SAT_CORE_BASED_VALUE
SAT_CORE_BASED = 0;- See Also:
- Constant Field Values
-
SAT_LINEAR_SEARCH_VALUE
public static final int SAT_LINEAR_SEARCH_VALUE
SAT_LINEAR_SEARCH = 15;- See Also:
- Constant Field Values
-
LINEAR_RELAXATION_VALUE
public static final int LINEAR_RELAXATION_VALUE
LINEAR_RELAXATION = 1;- See Also:
- Constant Field Values
-
LOCAL_SEARCH_VALUE
public static final int LOCAL_SEARCH_VALUE
LOCAL_SEARCH = 2;- See Also:
- Constant Field Values
-
RANDOM_FIRST_SOLUTION_VALUE
public static final int RANDOM_FIRST_SOLUTION_VALUE
RANDOM_FIRST_SOLUTION = 3;- See Also:
- Constant Field Values
-
RANDOM_CONSTRAINT_LNS_VALUE
public static final int RANDOM_CONSTRAINT_LNS_VALUE
RANDOM_CONSTRAINT_LNS = 4;- See Also:
- Constant Field Values
-
RANDOM_VARIABLE_LNS_VALUE
public static final int RANDOM_VARIABLE_LNS_VALUE
RANDOM_VARIABLE_LNS = 5;- See Also:
- Constant Field Values
-
COMPLETE_LNS_VALUE
public static final int COMPLETE_LNS_VALUE
COMPLETE_LNS = 7;- See Also:
- Constant Field Values
-
LP_FIRST_SOLUTION_VALUE
public static final int LP_FIRST_SOLUTION_VALUE
LP_FIRST_SOLUTION = 8;- See Also:
- Constant Field Values
-
OBJECTIVE_FIRST_SOLUTION_VALUE
public static final int OBJECTIVE_FIRST_SOLUTION_VALUE
OBJECTIVE_FIRST_SOLUTION = 9;- See Also:
- Constant Field Values
-
USER_GUIDED_FIRST_SOLUTION_VALUE
public static final int USER_GUIDED_FIRST_SOLUTION_VALUE
USER_GUIDED_FIRST_SOLUTION = 14;- See Also:
- Constant Field Values
-
RANDOM_CONSTRAINT_LNS_GUIDED_BY_LP_VALUE
public static final int RANDOM_CONSTRAINT_LNS_GUIDED_BY_LP_VALUE
RANDOM_CONSTRAINT_LNS_GUIDED_BY_LP = 11;- See Also:
- Constant Field Values
-
RANDOM_VARIABLE_LNS_GUIDED_BY_LP_VALUE
public static final int RANDOM_VARIABLE_LNS_GUIDED_BY_LP_VALUE
RANDOM_VARIABLE_LNS_GUIDED_BY_LP = 12;- See Also:
- Constant Field Values
-
RELATION_GRAPH_LNS_VALUE
public static final int RELATION_GRAPH_LNS_VALUE
RELATION_GRAPH_LNS = 16;- See Also:
- Constant Field Values
-
RELATION_GRAPH_LNS_GUIDED_BY_LP_VALUE
public static final int RELATION_GRAPH_LNS_GUIDED_BY_LP_VALUE
RELATION_GRAPH_LNS_GUIDED_BY_LP = 17;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static BopOptimizerMethod.OptimizerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BopOptimizerMethod.OptimizerType c : BopOptimizerMethod.OptimizerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BopOptimizerMethod.OptimizerType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static BopOptimizerMethod.OptimizerType valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static BopOptimizerMethod.OptimizerType forNumber(int value)
- 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<BopOptimizerMethod.OptimizerType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static BopOptimizerMethod.OptimizerType 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-