Hello all,
I am new to VRP and not sure of what the problem is. I understand "invalid input" means something in my table is wrong but I can't figure out what - my information seems to be in line with the tutorials I found on Youtube (this one especially). I was wondering if someone could please give me some support or point me to the right direction.
I have only one Depot and only one vehicle - two routes in my case represent different days, not trucks. Working time is 08:00 - 12:00 and 13:00 - 17:00 with a break from 12:00 - 13:00. Time spent at each stop is 10 minutes. Cost and quantity/volume is not important to me so I left the fields blank.
The tables and parameters I'm using are below. Data types (double, date, text...) are appropriately recognised.
I'm sorry if I'm coming across as wanting other to do the job for me - I just don't know who to turn to. Thank you in advance for the help and I am available for more information.
Solved! Go to Solution.
Hello Heather,
thank you for your answer. I don't know in what stage of my many changes I was when I wrote this post but I actually managed to solve the problem. It was related to the "invalid input". I work with point names in cyrillic and the programme was having difficulties understanding the depot name. It was invalid. Changing it to the Latin alphabet worked!
Hello Barbara,
I don't see anything obviously wrong with the screenshots here. To dig more into it, could you check messages in the solve dialogue box to know more about the error. It is the rightmost tab in the solve pane as in the picture below.
Thanks,
Shubhada
Hello Shubhada, thank you for your answer! Here is what the software gives me:
Solve
=====================
Parameters
Input Network Analysis Layer Vehicle Routing Problem 4
Ignore Invalid Locations HALT
Terminate on Solve Error TERMINATE
Simplification Tolerance
Network Analyst Layer Vehicle Routing Problem 4
Solve Succeeded true
Overrides
=====================
Messages
Start Time: 03 February 2022 12:34:36
Executing network analysis service Job Id: "jccf9d3e6713e40e4938af2f68cbc51dc".
Submitted.
Executing...
Orders (Name = ""Шарора"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Узбакистон"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Ниёгон"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Ватан"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Навобод"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Туда"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Гуриёт"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Ночии Боло"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Лолаги"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Сугдиен"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Алмоси"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Сангчашма"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Мехробод"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Гайратобод"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Халкаруд"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Хаётинав"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Хилоли ахмар"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Ойбош"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Дучинора"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Мехргон"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Кавшдузон"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Нилу"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Искич"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Хонакои"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Сумбула"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Гулхани"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Orders (Name = ""Хисор"") has a second time window but does not have a MaxViolationTime value. The first time window will be interpreted as having a hard end time.
Breaks (RouteName = "Route 1", Precedence = 1) and (RouteName = "Route 1", Precedence = 2) have overlapping time windows.
Breaks (RouteName = "Route 2", Precedence = 1) and (RouteName = "Route 2", Precedence = 2) have overlapping time windows.
ERROR 030092: VRP Solver failed due to invalid input.
Invalid input in the NA classes.
Succeeded.
Failed to execute (Solve).
Failed at 03 February 2022 12:34:46 (Elapsed Time: 10.38 seconds)
The last two error messages are the ones that need to be fixed.
"Breaks (RouteName = "Route 1", Precedence = 1) and (RouteName = "Route 1", Precedence = 2) have overlapping time windows.
Breaks (RouteName = "Route 2", Precedence = 1) and (RouteName = "Route 2", Precedence = 2) have overlapping time windows."
The breaks need to be set up so that the time windows do not overlap. Breaks will start at any point within that time window and so having an overlap would mean both could be started at the exact same time.
Hello Heather,
thank you for your answer. I don't know in what stage of my many changes I was when I wrote this post but I actually managed to solve the problem. It was related to the "invalid input". I work with point names in cyrillic and the programme was having difficulties understanding the depot name. It was invalid. Changing it to the Latin alphabet worked!