How to formulate a queueing model where riders and drivers arrive randomly and are matched at every specific...












0












$begingroup$


I am going to develop a queueing model in which riders and drivers arrive with inter-arrival time exponentially distributed.



All the riders and drivers arriving in the system will wait for some amount of time until being matched.



The matching process will pair one rider with one driver and takes place every $Delta t$ unit of time (i.e., $Delta t$, $2Delta t$, $3Delta t$, $cdots$). Whichever side outnumbers the other, its exceeding portion will remain in the queue for the next round of matching.



The service follows the first come first served principle, and how they are matched in particular is not in the scope of this problem and will not affect the queue modelling.



I tried to formulate it as a double-ended queue, where state indicates the exceeding number in the system.



double-ended queue



However, this formulation didn't incorporate the factor $Delta t$ in it, it is thereby not in a batch service fashion. I have no clue how I can formulate this $Delta t$ (somewhat like a buffer) into this model.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    I am going to develop a queueing model in which riders and drivers arrive with inter-arrival time exponentially distributed.



    All the riders and drivers arriving in the system will wait for some amount of time until being matched.



    The matching process will pair one rider with one driver and takes place every $Delta t$ unit of time (i.e., $Delta t$, $2Delta t$, $3Delta t$, $cdots$). Whichever side outnumbers the other, its exceeding portion will remain in the queue for the next round of matching.



    The service follows the first come first served principle, and how they are matched in particular is not in the scope of this problem and will not affect the queue modelling.



    I tried to formulate it as a double-ended queue, where state indicates the exceeding number in the system.



    double-ended queue



    However, this formulation didn't incorporate the factor $Delta t$ in it, it is thereby not in a batch service fashion. I have no clue how I can formulate this $Delta t$ (somewhat like a buffer) into this model.










    share|cite|improve this question









    $endgroup$















      0












      0








      0


      2



      $begingroup$


      I am going to develop a queueing model in which riders and drivers arrive with inter-arrival time exponentially distributed.



      All the riders and drivers arriving in the system will wait for some amount of time until being matched.



      The matching process will pair one rider with one driver and takes place every $Delta t$ unit of time (i.e., $Delta t$, $2Delta t$, $3Delta t$, $cdots$). Whichever side outnumbers the other, its exceeding portion will remain in the queue for the next round of matching.



      The service follows the first come first served principle, and how they are matched in particular is not in the scope of this problem and will not affect the queue modelling.



      I tried to formulate it as a double-ended queue, where state indicates the exceeding number in the system.



      double-ended queue



      However, this formulation didn't incorporate the factor $Delta t$ in it, it is thereby not in a batch service fashion. I have no clue how I can formulate this $Delta t$ (somewhat like a buffer) into this model.










      share|cite|improve this question









      $endgroup$




      I am going to develop a queueing model in which riders and drivers arrive with inter-arrival time exponentially distributed.



      All the riders and drivers arriving in the system will wait for some amount of time until being matched.



      The matching process will pair one rider with one driver and takes place every $Delta t$ unit of time (i.e., $Delta t$, $2Delta t$, $3Delta t$, $cdots$). Whichever side outnumbers the other, its exceeding portion will remain in the queue for the next round of matching.



      The service follows the first come first served principle, and how they are matched in particular is not in the scope of this problem and will not affect the queue modelling.



      I tried to formulate it as a double-ended queue, where state indicates the exceeding number in the system.



      double-ended queue



      However, this formulation didn't incorporate the factor $Delta t$ in it, it is thereby not in a batch service fashion. I have no clue how I can formulate this $Delta t$ (somewhat like a buffer) into this model.







      probability-theory stochastic-processes markov-chains markov-process queueing-theory






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Feb 2 at 3:07









      Guoyang QinGuoyang Qin

      1327




      1327






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          It seems that you are describing a discrete-time double ended batch system. You can view $Delta$ as a time slot and divide it into two stages:
          1. All matches are made so one side of the queue goes down to zero and the other goes to the remainder. (e.g. (10,5) goes to (5,0) at this stage).
          2. New arrivals occur on either side according to a Poisson distribution with rates $Delta lambda$ and $Delta mu$. (e.g. from (5,0) you may go to (6,2) if one new passenger and two new drivers arrive).



          You can write this process down as a discrete-time Markov Chain. Note that if $Deltato 0$ then this system is basically a standard double ended queue.



          Also take care that if both sides of the queue are unbounded then this process will not have a steady-state distribution as it will either be transient or null-recurrent (if the rates on both sides are equal).






          share|cite|improve this answer









          $endgroup$














            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3096990%2fhow-to-formulate-a-queueing-model-where-riders-and-drivers-arrive-randomly-and-a%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            It seems that you are describing a discrete-time double ended batch system. You can view $Delta$ as a time slot and divide it into two stages:
            1. All matches are made so one side of the queue goes down to zero and the other goes to the remainder. (e.g. (10,5) goes to (5,0) at this stage).
            2. New arrivals occur on either side according to a Poisson distribution with rates $Delta lambda$ and $Delta mu$. (e.g. from (5,0) you may go to (6,2) if one new passenger and two new drivers arrive).



            You can write this process down as a discrete-time Markov Chain. Note that if $Deltato 0$ then this system is basically a standard double ended queue.



            Also take care that if both sides of the queue are unbounded then this process will not have a steady-state distribution as it will either be transient or null-recurrent (if the rates on both sides are equal).






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              It seems that you are describing a discrete-time double ended batch system. You can view $Delta$ as a time slot and divide it into two stages:
              1. All matches are made so one side of the queue goes down to zero and the other goes to the remainder. (e.g. (10,5) goes to (5,0) at this stage).
              2. New arrivals occur on either side according to a Poisson distribution with rates $Delta lambda$ and $Delta mu$. (e.g. from (5,0) you may go to (6,2) if one new passenger and two new drivers arrive).



              You can write this process down as a discrete-time Markov Chain. Note that if $Deltato 0$ then this system is basically a standard double ended queue.



              Also take care that if both sides of the queue are unbounded then this process will not have a steady-state distribution as it will either be transient or null-recurrent (if the rates on both sides are equal).






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                It seems that you are describing a discrete-time double ended batch system. You can view $Delta$ as a time slot and divide it into two stages:
                1. All matches are made so one side of the queue goes down to zero and the other goes to the remainder. (e.g. (10,5) goes to (5,0) at this stage).
                2. New arrivals occur on either side according to a Poisson distribution with rates $Delta lambda$ and $Delta mu$. (e.g. from (5,0) you may go to (6,2) if one new passenger and two new drivers arrive).



                You can write this process down as a discrete-time Markov Chain. Note that if $Deltato 0$ then this system is basically a standard double ended queue.



                Also take care that if both sides of the queue are unbounded then this process will not have a steady-state distribution as it will either be transient or null-recurrent (if the rates on both sides are equal).






                share|cite|improve this answer









                $endgroup$



                It seems that you are describing a discrete-time double ended batch system. You can view $Delta$ as a time slot and divide it into two stages:
                1. All matches are made so one side of the queue goes down to zero and the other goes to the remainder. (e.g. (10,5) goes to (5,0) at this stage).
                2. New arrivals occur on either side according to a Poisson distribution with rates $Delta lambda$ and $Delta mu$. (e.g. from (5,0) you may go to (6,2) if one new passenger and two new drivers arrive).



                You can write this process down as a discrete-time Markov Chain. Note that if $Deltato 0$ then this system is basically a standard double ended queue.



                Also take care that if both sides of the queue are unbounded then this process will not have a steady-state distribution as it will either be transient or null-recurrent (if the rates on both sides are equal).







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Feb 7 at 10:42









                QQQQQQ

                63155




                63155






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3096990%2fhow-to-formulate-a-queueing-model-where-riders-and-drivers-arrive-randomly-and-a%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    WPF add header to Image with URL pettitions [duplicate]

                    'app-layout' is not a known element: how to share Component with different Modules