Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
The "VRP" (Vehicle Routing Problem) constraint. More...
Public Member Functions | |
RoutesConstraintProto () | |
RoutesConstraintProto (RoutesConstraintProto other) | |
RoutesConstraintProto | Clone () |
override bool | Equals (object other) |
bool | Equals (RoutesConstraintProto other) |
override int | GetHashCode () |
override string | ToString () |
void | WriteTo (pb::CodedOutputStream output) |
int | CalculateSize () |
void | MergeFrom (RoutesConstraintProto other) |
void | MergeFrom (pb::CodedInputStream input) |
Static Public Attributes | |
const int | TailsFieldNumber = 1 |
Field number for the "tails" field. | |
const int | HeadsFieldNumber = 2 |
Field number for the "heads" field. | |
const int | LiteralsFieldNumber = 3 |
Field number for the "literals" field. | |
const int | DemandsFieldNumber = 4 |
Field number for the "demands" field. | |
const int | CapacityFieldNumber = 5 |
Field number for the "capacity" field. | |
Properties | |
static pb::MessageParser< RoutesConstraintProto > | Parser [get] |
static pbr::MessageDescriptor | Descriptor [get] |
pbc::RepeatedField< int > | Tails [get] |
pbc::RepeatedField< int > | Heads [get] |
pbc::RepeatedField< int > | Literals [get] |
pbc::RepeatedField< int > | Demands [get] |
EXPERIMENTAL. The demands for each node, and the maximum capacity for each route. Note that this is currently only used for the LP relaxation and one need to add the corresponding constraint to enforce this outside of the LP. | |
long | Capacity [get, set] |
The "VRP" (Vehicle Routing Problem) constraint.
The direct graph where arc #i (from tails[i] to head[i]) is present iff literals[i] is true must satisfy this set of properties:
Definition at line 3460 of file CpModel.pb.cs.
|
inline |
Definition at line 3485 of file CpModel.pb.cs.
|
inline |
Definition at line 3493 of file CpModel.pb.cs.
|
inline |
Definition at line 3660 of file CpModel.pb.cs.
|
inline |
Definition at line 3504 of file CpModel.pb.cs.
|
inline |
Definition at line 3578 of file CpModel.pb.cs.
|
inline |
Definition at line 3584 of file CpModel.pb.cs.
|
inline |
Definition at line 3601 of file CpModel.pb.cs.
|
inline |
Definition at line 3693 of file CpModel.pb.cs.
|
inline |
Definition at line 3677 of file CpModel.pb.cs.
|
inline |
Definition at line 3616 of file CpModel.pb.cs.
|
inline |
Definition at line 3622 of file CpModel.pb.cs.
|
static |
Field number for the "capacity" field.
Definition at line 3565 of file CpModel.pb.cs.
|
static |
Field number for the "demands" field.
Definition at line 3542 of file CpModel.pb.cs.
|
static |
Field number for the "heads" field.
Definition at line 3520 of file CpModel.pb.cs.
|
static |
Field number for the "literals" field.
Definition at line 3531 of file CpModel.pb.cs.
|
static |
Field number for the "tails" field.
Definition at line 3509 of file CpModel.pb.cs.
|
getset |
Definition at line 3569 of file CpModel.pb.cs.
|
get |
EXPERIMENTAL. The demands for each node, and the maximum capacity for each route. Note that this is currently only used for the LP relaxation and one need to add the corresponding constraint to enforce this outside of the LP.
Definition at line 3560 of file CpModel.pb.cs.
|
staticget |
Definition at line 3473 of file CpModel.pb.cs.
|
get |
Definition at line 3526 of file CpModel.pb.cs.
|
get |
Definition at line 3537 of file CpModel.pb.cs.
|
staticget |
Definition at line 3469 of file CpModel.pb.cs.
|
get |
Definition at line 3515 of file CpModel.pb.cs.