# M/M/c retrial queue implementation in Wolfram Language

**URL:** <https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428>\
**Category:** Questions\
**Tags:** operations-research\
**Created:** [August 11, 2024, 5:02am UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428 "2024-08-11T05:02:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gorandjuknic](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gorandjuknic](https://community.wolfram.com/u/gorandjuknic)\
**Post date:** [August 11, 2024, 5:02am UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/1 "2024-08-11T05:02:40Z")

</div>

Looking for a Mathematica implementation of the M/M/c retrial queueing system

---

<div class="post-metadata">

**Author:** ![mariuszi28cg](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mariuszi28cg/32/308_2.png) [@mariuszi28cg](https://community.wolfram.com/u/mariuszi28cg)\
**Post date:** [August 12, 2024, 8:24am UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/2 "2024-08-12T08:24:48Z")

</div>

With ChatGPT.

I don’t know if the code is correct.

[Open in Wolfram Cloud ↗](https://www.wolframcloud.com/obj/f0b34705-7581-4e8b-a9ca-9314edf5b00e)

---

<div class="post-metadata">

**Author:** ![gorandjuknic](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gorandjuknic](https://community.wolfram.com/u/gorandjuknic)\
**Post date:** [August 12, 2024, 8:19pm UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/3 "2024-08-12T20:19:26Z")

</div>

Thank you. Let me have a look.  
–Goran

---

<div class="post-metadata">

**Author:** ![anon21378091](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon21378091](https://community.wolfram.com/u/anon21378091)\
**Post date:** [August 13, 2024, 12:55am UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/4 "2024-08-13T00:55:20Z")

</div>

Can you ask ChatGPT for an additional calculation? I am interested in the following: There is a finite number of N customers (say, 100) interested in service, and I would like to get the probability that they all are serviced within a particular time T (say, 20 minutes), for particular values of the parameters already defined (arrival rate, servicer rate, and number of servers).  
Thank you.  
P.S. May I ask you for the formulation of the prompt you gave to ChatGPT?

---

<div class="post-metadata">

**Author:** ![mariuszi28cg](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/mariuszi28cg/32/308_2.png) [@mariuszi28cg](https://community.wolfram.com/u/mariuszi28cg)\
**Post date:** [August 13, 2024, 7:36am UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/5 "2024-08-13T07:36:49Z")

</div>

I use free version of ChatGPT 3.5, so you can ask ChatGPT yourself?

Prompt to ChatGPT

> :M/M/c retrial queueing system on wolfram language ?

give me answer wrong.  
I say:

> dosen’t work ?

ChatGPT:

> give wrong answer

I say:

> dosen’t work ?

ChatGPT: He gave this answer, I gave it to you

---

<div class="post-metadata">

**Author:** ![shuaochen](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@shuaochen](https://community.wolfram.com/u/shuaochen)\
**Post date:** [August 13, 2024, 3:11pm UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/6 "2024-08-13T15:11:20Z")

</div>

Hello Mariusz,  
I recently came across a formula you shared in one of your posts, and it piqued my curiosity. I understand this might not be your most recent post, so I reached out on your latest one. I am eager to learn more about the derivation and the details behind it. If it’s convenient for you, could we possibly communicate via email for a more detailed discussion? My email is [kailat821@gmail.com](mailto:kailat821@gmail.com). I would greatly appreciate any help you could provide.

---

<div class="post-metadata">

**Author:** ![gorandjuknic](https://avatars.discourse-cdn.com/v4/letter/g/e8c25b/32.png) [@gorandjuknic](https://community.wolfram.com/u/gorandjuknic)\
**Post date:** [August 13, 2024, 5:03pm UTC](https://community.wolfram.com/t/m-m-c-retrial-queue-implementation-in-wolfram-language/24428/7 "2024-08-13T17:03:39Z")

</div>

Thank you for your response and trial. I will “talk” to ChatGPT and see further. I just wonder what was your prompt that gave you the Mathematica code that you originally posted?
