Time limit not working with HFCVRP
See original GitHub issueI set up a VehicleRoutingProblem
with mixed fleet and load capacity parameters, I also added a time limit (to prob.solve) equals to 1 minute. Nevertheless, the solver does not stop.
In other cases, for example in the CVRP with resource constraints, it works just fine and stops iterations once the time has been reached.
Issue Analytics
- State:
- Created a year ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Top 6 Methods to Fix Screen Time Limits Not Working 2023
Screen Time Limits Not Working, Here are the Real Fixes · Method 1. Set a Screen Time Passcode · Method 2. Toggle ON...
Read more >Vehicle Routing Problems — VRPy 0.1.0 documentation
In the capacitated vehicle routing problem (CVRP), a fleet of vehicles ... and setting the duration attribute to the maximum amount of time...
Read more >Screen time limits not working - Apple Support Communities
Screen time limits not working. My daughters screentime is limited to 2 hours all apps and categories per day. However she manages to...
Read more >Fix screen time limits not working - Microsoft Support
If you set up screen time but it isn't working as expected, here are a few things you can try: Set up one...
Read more >Screen Time Not Working on iPhone/Android? [How to Fix]
Most android devices have a parental control app that lets the parents set a time limit for their children to use the device....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, I’ll try with 1 and 2 since
prob.solve(heuristic_only=True)
returnsValueError: Clarke & Wright heuristic not compatible with time windows, pickup and delivery, simultaneous distribution and collection, mixed fleet, frequencies.
and I’m working with mixed fleet.Hi there, @Kuifje02 I’m closing this. I got to understand that the issue occurs if the floats in the distance or time matrix have a decimal part different to zero, so after rounding all of my floats (meaning I use 25.00 instead of 25.2687) it works just fine.