Git Product home page Git Product logo

Comments (4)

reinterpretcat avatar reinterpretcat commented on July 3, 2024 1

What's about to define two vehicle types with different shift times, but with enough capacity? Shift time is a hard constraint and the solve has to assign jobs without its violation.

Vehicle type definition is described here: https://reinterpretcat.github.io/vrp/concepts/pragmatic/problem/vehicles.html

from vrp.

reinterpretcat avatar reinterpretcat commented on July 3, 2024

Hi,

I'm not sure that I got your use case. For me, it seems like you want to limit amount of jobs assigned to each vehicle rather than balancing. Have you tried to use tourSize limit on vehicle type: tourSize (optional): max amount of activities in the tour (without departure/arrival) ?

from vrp.

xeroxstar avatar xeroxstar commented on July 3, 2024

Hi,

I'm not sure that I got your use case. For me, it seems like you want to limit amount of jobs assigned to each vehicle rather than balancing. Have you tried to use tourSize limit on vehicle type: tourSize (optional): max amount of activities in the tour (without departure/arrival) ?

I want that all 20 jobs will be assigned between 2 drivers but the driver #1 can work only from 8:00 to 10:00 so he should get the amount of jobs he can achieve in 2 hours, so in my case the driver #1 should get less jobs rather the another driver because for the another driver the time shift is from 8:00 to 17:00. On the screenshot you can see that driver in green gets 3 jobs but driver in red gets only 10 jobs but he need to have 17 jobs. I am not sure about tourSize i cant find anything in docs about it, can you provide a link please?

Thx

from vrp.

xeroxstar avatar xeroxstar commented on July 3, 2024

What's about to define two vehicle types with different shift times, but with enough capacity? Shift time is a hard constraint and the solve has to assign jobs without its violation.

Vehicle type definition is described here: https://reinterpretcat.github.io/vrp/concepts/pragmatic/problem/vehicles.html

Thx for the link and the tip, let me go through the docs again i will be back with you if i will not able to solve it.

from vrp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.