![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
java.util.List< java.lang.Integer > | getTailsList () |
int | getTailsCount () |
int | getTails (int index) |
java.util.List< java.lang.Integer > | getHeadsList () |
int | getHeadsCount () |
int | getHeads (int index) |
java.util.List< java.lang.Integer > | getLiteralsList () |
int | getLiteralsCount () |
int | getLiterals (int index) |
java.util.List< java.lang.Integer > | getDemandsList () |
int | getDemandsCount () |
int | getDemands (int index) |
long | getCapacity () |
java.util.List< com.google.ortools.sat.RoutesConstraintProto.NodeExpressions > | getDimensionsList () |
com.google.ortools.sat.RoutesConstraintProto.NodeExpressions | getDimensions (int index) |
int | getDimensionsCount () |
java.util.List<? extends com.google.ortools.sat.RoutesConstraintProto.NodeExpressionsOrBuilder > | getDimensionsOrBuilderList () |
com.google.ortools.sat.RoutesConstraintProto.NodeExpressionsOrBuilder | getDimensionsOrBuilder (int index) |
Definition at line 9 of file RoutesConstraintProtoOrBuilder.java.
long com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getCapacity | ( | ) |
int64 capacity = 5;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDemands | ( | int | index | ) |
DEPRECATED. These fields are no longer used. The solver ignores them.
repeated int32 demands = 4;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDemandsCount | ( | ) |
DEPRECATED. These fields are no longer used. The solver ignores them.
repeated int32 demands = 4;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDemandsList | ( | ) |
DEPRECATED. These fields are no longer used. The solver ignores them.
repeated int32 demands = 4;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
com.google.ortools.sat.RoutesConstraintProto.NodeExpressions com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDimensions | ( | int | index | ) |
Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDimensionsCount | ( | ) |
Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
java.util.List< com.google.ortools.sat.RoutesConstraintProto.NodeExpressions > com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDimensionsList | ( | ) |
Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
com.google.ortools.sat.RoutesConstraintProto.NodeExpressionsOrBuilder com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDimensionsOrBuilder | ( | int | index | ) |
Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
java.util.List<? extends com.google.ortools.sat.RoutesConstraintProto.NodeExpressionsOrBuilder > com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getDimensionsOrBuilderList | ( | ) |
Expressions associated with the nodes of the graph, such as the load of the vehicle arriving at a node, or the time at which a vehicle arrives at a node. Expressions with the same "dimension" (such as "load" or "time") must be listed together. This field is optional. If it is set, the linear constraints of size 1 or 2 between the variables in these expressions will be used to derive cuts for this constraint. If it is not set, the solver will try to automatically derive it, from the linear constraints of size 1 or 2 in the model (this can fail in complex cases).
repeated .operations_research.sat.RoutesConstraintProto.NodeExpressions dimensions = 6;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getHeads | ( | int | index | ) |
repeated int32 heads = 2;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getHeadsCount | ( | ) |
repeated int32 heads = 2;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getHeadsList | ( | ) |
repeated int32 heads = 2;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getLiterals | ( | int | index | ) |
repeated int32 literals = 3;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getLiteralsCount | ( | ) |
repeated int32 literals = 3;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getLiteralsList | ( | ) |
repeated int32 literals = 3;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getTails | ( | int | index | ) |
repeated int32 tails = 1;
index | The index of the element to return. |
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
int com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getTailsCount | ( | ) |
repeated int32 tails = 1;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.
java.util.List< java.lang.Integer > com.google.ortools.sat.RoutesConstraintProtoOrBuilder.getTailsList | ( | ) |
repeated int32 tails = 1;
Implemented in com.google.ortools.sat.RoutesConstraintProto.Builder, and com.google.ortools.sat.RoutesConstraintProto.