The assigned vehicle doesn’t affect the pickup and delivery capacity optimization. Specifically, the system optimizes routes based on the specified maximum capacity constraints (Cube, Weight, Pieces, and Revenue) specified in the optimization settings.
However, the assigned vehicle can affect other parameters and metrics of a route. For example, when using the Mixed Fleet optimization with vehicle capacity profiles, optimizing routes for commercial vehicles, etc.