-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Subject: Feature Dimensions in CVRPTW/MTVRP Encoder
I have been using the code provided for solving CVRPTW and MTVRP problems and encountered a possible issue regarding the feature dimensions in the encoder part of the model.
In the CVRPTWModel and MTVRPModel, both models seem to use 5 features for encoding in the node_xy_demand_TW tensor:
- x_coord
- y_coord
- demand
- earlyTW (early time window)
- lateTW (late time window)
However, in the MTVRPModel encoder, the comment mentions that 6 features are being used. Specifically, it says:
# 6 features are: x_coord, y_coord, demands, earlyTW, lateTWBut only 5 features are listed. The input tensor node_xy_demand_TW is still 5-dimensional as in the CVRPTWModel.
Could you kindly clarify whether this is:
- A typo in the comment, and the correct number of features is 5?
- Or is the model intended to have an additional (6th) feature that is missing from the input processing (e.g., task type, service time, or another relevant feature for MTVRP)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
