Reputation: 1
How to pick up multiple agents with same order number in Anylogic?
For example- my arriving agents have order number in the following order: A,A,B,C,A,B,C Then I want 3 agents with order number should be pickup together and move ahead and similarly with B and C.
Upvotes: 0
Views: 193
Reputation: 46
There are various ways to do this. You could batch your agents depending on your order number before pickup or use the pickup condition, e.g. pick all agents up with the same id than the first one in the queue.
See here for the help:
Upvotes: 1