question

ksugai avatar image
0 Likes"
ksugai asked Logan Gold commented

How to check which AGV route search algorithm is used in a model

The Dijkstra algorithm is used by default for AGV route search, and it switches to the AStar algorithm if the shouldBuildCustomRoute hook returns 1 using the AGV customization delegate, or if the user defines dynamic routing constraints in the system.

Is there an easy way to determine which algorithm is being used in a running model?

Thank you in advance.

FlexSim 24.1.1
agv routingastar algorith
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hey @KSugai, sorry it's taking so long to get back to you. We've been looking at if there is a good way to figure out which algorithm is being used, but we haven't really found anything "built in" to the AGV navigator. The only thing we can think of is to see if the model has the shouldBuildCustomRoute hook returning 1, or if the model is using dynamic routing constraints.

I'm guessing you're looking at a model(s) where you don't know if this is the case, is that right? So are you just trying to determine which algorithm is being used for troubleshooting? Or what are you hoping to accomplish by figuring out which method is being used? My understanding is the switch to using the A* algorithm is to make sure performance doesn't get significantly worse when the paths can be changed dynamically. It shouldn't really make a difference with how the model is run otherwise.

There are a couple of other things I want to explore, but in the meantime, I wanted to see if there was another way we could help depending on what you're trying to accomplish by knowing which algorithm is being used.

0 Likes 0 ·

0 Answers