Skip to content

Solution to find optimal number of vehicles (instead of given as input) #13

@bilics

Description

@bilics

Hello!

I have successfully ran the vehicle routing example. But my question is:

Is it possible to model the problem such as that the number of vehicles is not given as input?

Imagine that I need to find the optimal number of vehicles that minimizes a cost function that is related to "price per km" - so for instance, there are several types of vehicles (with different capacities, different fuel consumptions, etc) that can be "grabbed" from a pool.

Is this possible with optapy? If so, how would I model this?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions