![]() |
Google OR-Tools v9.12
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 3705 of file CpModel.pb.cs.
|
inline |
Definition at line 3730 of file CpModel.pb.cs.
|
inline |
Definition at line 3738 of file CpModel.pb.cs.
|
inline |
Definition at line 3905 of file CpModel.pb.cs.
|
inline |
Definition at line 3749 of file CpModel.pb.cs.
|
inline |
Definition at line 3823 of file CpModel.pb.cs.
|
inline |
Definition at line 3829 of file CpModel.pb.cs.
|
inline |
Definition at line 3846 of file CpModel.pb.cs.
|
inline |
Definition at line 3938 of file CpModel.pb.cs.
|
inline |
Definition at line 3922 of file CpModel.pb.cs.
|
inline |
Definition at line 3861 of file CpModel.pb.cs.
|
inline |
Definition at line 3867 of file CpModel.pb.cs.
|
static |
Field number for the "capacity" field.
Definition at line 3810 of file CpModel.pb.cs.
|
static |
Field number for the "demands" field.
Definition at line 3787 of file CpModel.pb.cs.
|
static |
Field number for the "heads" field.
Definition at line 3765 of file CpModel.pb.cs.
|
static |
Field number for the "literals" field.
Definition at line 3776 of file CpModel.pb.cs.
|
static |
Field number for the "tails" field.
Definition at line 3754 of file CpModel.pb.cs.
|
getset |
Definition at line 3814 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 3805 of file CpModel.pb.cs.
|
staticget |
Definition at line 3718 of file CpModel.pb.cs.
|
get |
Definition at line 3771 of file CpModel.pb.cs.
|
get |
Definition at line 3782 of file CpModel.pb.cs.
|
staticget |
Definition at line 3714 of file CpModel.pb.cs.
|
get |
Definition at line 3760 of file CpModel.pb.cs.