0
votes

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.

1
Welcome to Stackoverflow. Please provide some example of what you have tried so that someone can help steer you in the right direction.Alan

1 Answers

1
votes

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:

Batch - https://help.anylogic.com/index.jsp?topic=%2Fcom.anylogic.help%2Fhtml%2F_ProcessModeling%2FPickup.html

Pickup - https://help.anylogic.com/index.jsp?topic=%2Fcom.anylogic.help%2Fhtml%2F_ProcessModeling%2FPickup.html