currently im working on a simulation of robots driving in a parking garage and charging electric vehicles.
The first step is done and it is kind of working, but i have currently two major problems.
even if i am not putting any demand on the parking lot the robots drive to the lot and “simulate” charging an electric vehicle. → i tried to find a solution in the community, but i was not successful. Is there any possibility, any constraint which could make the robot not to service/drive to that parking lot while Demand(i)=0. As you can see in the picture: even if i put Demand of almost every parking lot=0, the robot drives to all the places, before going back to the depot.
Another problem is, that i want to make the robots drive on a specific route, shown as yellow in the picture/simulation. → Is there any chance of making the robots drive a minimum besides the yellow route?
My thought is that, despite being able to create that, later in the mathimatical programm i will only be able to minimize the route or the total time servicing all the customers.
Is anymore information needed? please tell me and i will provide it.
Thank you for trying to help.
Page 1 / 1
@sineplexus
quite hard to debug this without knowing how you modelled your problem.
Is there any constraint that says the capacity of the charging robots must be discharged ? Typically, the demand at different points will act as an incentive for the robots to leave their origin 0 and if there is no demand, they should stay at origin. what is your cost function ?
what do you mean by “robots have to follow the yellow route” ? how should a robot go from 0 to any of the outer points like 1 through 8 or 21 through 28
@mohansx Thank you for answering.
Well, I could upload a zip folder, but i am not sure wheter it is allowed or appreciated by you.
I have 2 constraints for the load feasibility Y(i) + Demand(i) - Y(j) <= BN * (1 - X(i,j)) X(i,j) is an arc indicator which implies whter it is a robot or not, Y(i) is the used load/energy of the robot after being at station (i). (BN is just a big number, i saw that in the community in a different routing problem)
I tried to add anoter constraint which says: Y(j)<= Capacity To my mind this should imply: the Used energy after being at the next stop has to be smaler/equal to the capcity of the vehicle.
I meant, that the robot should drive the most amount of the time on the “safe” area(yellow) and a minimum amount on the rest of the parking garage. So they are actually allowed to drive on the “grey” area. It just should be minimized. Is there any posibility to refer to their current coordinates? So i can maybe work with that.
Another problem:
I added a time window in that program. If I put 0 in the lower and upper bound of the window, the robots can not fullfill the constraint: lowerbound(i) <= D(i) <= upperbound(i) and serve all customers. D(i) is the departure time. So i want to add , if both are zero the time server can be whenever.
Another thought is: Is there any possibility that my visualization affects the simulation?