Apr-05-2020, 12:10 PM
Within Simpy, I have multiple resources that can do the same job, but they are different so I can't just increase the capacity. Picture a single queue in a shopping centre that leads to all tellers. Some are manned and some are self serve. I put a request for both (two separate requests), and then yield rq_manned OR rq_selfserve, satisfied if atleast one of the requests is granted.
The problem is, what if they both become available at the same time, I don't want to actually request them both. What to do?
The problem is, what if they both become available at the same time, I don't want to actually request them both. What to do?