Ciw icon indicating copy to clipboard operation
Ciw copied to clipboard

How to define initial number of customers in the system at time zero?

Open DanialRamezani opened this issue 2 months ago • 1 comments

seems that defining the initial number of customers in the system was possible in earlier versions, but this feature has been removed in the current version. How can one initialize a queue with a desired number of customers?

DanialRamezani avatar Nov 26 '25 15:11 DanialRamezani

seems that defining the initial number of customers in the system was possible in earlier versions, but this feature has been removed in the current version.

AFAIK this feature has never been part of Ciw, although it is a good feature to have. This topic has come up in the past:

#98

How can one initialize a queue with a desired number of customers?

Hopefully either @geraintpalmer, myself, or someone else will get around to implementing it at some point. But for now you'll have to consider workarounds. Unless you would like to give it a try yourself and submit a PR :)

There are workarounds. Of course this is Python so you could do some direct assignment on an instance if you know where to look.

Here is a workaround approach for putting customers on the initial waitlist:

https://github.com/CiwPython/Ciw/issues/213

galenseilis avatar Dec 07 '25 20:12 galenseilis