Questions tagged [optaweb-vehicle-routing]
17 questions
2
votes
1 answer
Multiple Depot Vehicle Routing Problem Optaplanner
I am trying to customize Optaplanner for my particular use-case. I have been successful so far but now I am struck at the point where I need to have multiple depot and multiple location. Their main use-case seems to be under the assumption that all…

Silverfang
- 349
- 1
- 8
1
vote
1 answer
Uncaught exception: Solving failed while running mixed-vrp code
I was looking into the code that I found on github as I was working on a similar project. This is the link: https://github.com/ge0ffrey/optaplanner-mixedvrp-experiment
I tried running the same code and I was getting an IllegalStateException and the…

Vasavi Bodala
- 11
- 2
0
votes
1 answer
Can Constraint Provider and Score Calculator be set and used at same time
Can ConstraintProvider and ScoreCalculator set and used at same time? Because it's throwing me exceptions...This is the code...
ScoreDirectorFactoryConfig scoreDirectorFactoryConfig = new ScoreDirectorFactoryConfig();
…

Vasavi Bodala
- 11
- 2
0
votes
0 answers
while trying to run optaweb vehicle routing the backend is not running it only loads map but not the city lists
it stops there...no more program running..
I tried working on ubuntu 22 and java 11 and above version.I am looking for any solution that helps the program run.
0
votes
2 answers
Optaplanner should consider only positive scores
I have a use case where I want to assign a salesperson to a list of appointments. Now, these salespeople have to travel from one point to another to reach the appointment location. I am using Optaplanner to schedule a list of salespersons for a…

user101
- 139
- 10
0
votes
1 answer
Optaplanner assigning incorrect planning entity during planning
I have a use case where I want to assign a salesperson to a list of appointments. Now, these salespeople have to travel from one point to another to reach the appointment location. I am using Optaplanner to schedule a list of salesperson to a bunch…

user101
- 139
- 10
0
votes
1 answer
Why is ScoreManager changing the solution to a worse score?
I'm using solverManager to continually save the best score:
solverManager.solveAndListen(
SINGLETON_TIME_TABLE_ID,
this::findById,
this::save
)
My save() method just updates a global reference to the best…

DFx
- 249
- 3
- 14
0
votes
1 answer
OptaPlanner VRPPD with Traffic and Time Windows
Is there currently a way to incorporate traffic patterns into OptaPlanner with the package and delivery VRP problem?
Eg. Let's say I need to optimize 500 pickup and deliveries today and tomorrow amongst 30 vehicles where each pickup has a 1-4hr time…

DFx
- 249
- 3
- 14
0
votes
1 answer
Optaplanner - Traveling Sales man (vehicle routing) java client sample
I am trying to solve a routing problem. Ours is a simple process, multiple sales persons route needs to be scheduled prior.
Eg: sales person 1, visit locations A, B, C, D, Sales person 2 visit locations P, Q, R, S.
A nightly job will process and…

sundar
- 1
- 1
0
votes
1 answer
I need to apply the Savings heuristic and Nearest Neighbor to a set of VRP (Vehicle routing problems), quickly
My knowledge of programming isn't zero but also it isn't much more than that. I need to run a set of 9 Vehicle routing problems specifically with those heuristics.
I tried running VeRyPy on Python 2.7 but I couldn't get to install every module it…

Joaquín Achurra
- 1
- 3
0
votes
0 answers
Hints about OptaPlanner configuration to solve Vehicle Routing (real-time)
I would be glad for any kind of opinion on this setup for a Vehicle Routing Problem.
First of all, these are my first steps with this tool, so please forgive me if I'm totally out of scope :-)
I've made an algorithm without optaplanner, to test a…

funder7
- 1,622
- 17
- 30
0
votes
1 answer
Failed to calculate distances
We are running optaplanner in Greece with greece-latest.osm.pbf. In some cases when we add locations to the system, some coordinates are failing to calculate distances with the warning Failed to calculate distances for ${location}, it will be…

elli
- 497
- 1
- 3
- 10
0
votes
1 answer
Optaplanner optaweb-vehicle-routing problem multiple deposits and starting depot different form arrival depot
Hi I'm currently using the kiegroup/optaweb-vehicle-routing project I wanted to know if there is a way to set more deposits and to have the starting deposit that is different from the arriving deposit? So I don't want to have more deposits and the…
0
votes
0 answers
Error when creating vehicles and locations
We are running OptaWeb Vehicle Routing and creating vehicles and locations. Some times we get the following error:
The workingObjects (PlanningVehicle{capacity=20,depot=1,id=9}, PlanningVehicle{capacity=20,depot=1,id=9}) have the same planningId…

elli
- 497
- 1
- 3
- 10
0
votes
1 answer
How to declare Optimization function?
I am working on the Vehicle Routing Problem.
My question is, we have to Minimise the total Distance covered by the Vehicle.
Where in the code we specify we have to Minimise the distance covered?
In drl file we give all the Constraint for…

sinhanitish
- 1
- 2