Skip to content

Reverse skills #1208

@dschnare

Description

@dschnare

Hello,

I'm wondering how I might efficiently model a reverse skill such that if a vehicle has refused to accept a shipment for work then the vehicle would have a "reverse skill" that would exclude the vehicle from being considered for said shipment.

The only way I can think of doing it with the current Vroom API is I would assign a skill to each shipment say shipment.pickup.id * 1000, and then assign all vehicles a skill for each shipment 1000, 1001, 1002,... Then when a vehicle has declined work, I would remove the associated skill from their skills array, but this explodes the vehicle's skills array the more shipments we have in the VRP problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions