1 INTRODUCTION

Organization and administration of passenger transport on the routes of a major city are always difficult problems [1, 2]. However, according to experts, these problems can be solved by the most rational use of the available and ready-to-use transportation vehicles (TVs) based on the coordinated administration of all types of urban passenger transport in a major city [3, 4].

The analysis of the task of the coordinated administration of the transport system of a major city shows that various transport tasks of future, current, and operational administration are solved in the administration process [5]. Here, the entire information base is divided into three main arrays: conditional-permanent (data on the route network and the composition of TVs), regulatory (economic indicators), and variable (data on passenger flows and the quantitative and quality performance of the transport system determined from them). The main problem with the coordinated administration of the entire transport system of a major city is the process of receiving information on passenger flows (which change both in time and space) and therefore the reception of this information needs to be automatized and mechanized.

It is known that the greatest advances in automating and mechanizing the receipt of information on passenger flows are associated with technologically recording the data on the entry (\({{a}_{i}}\), \(1 \leqslant i \leqslant n\)) and exit (\({{b}_{j}}\), \(1 \leqslant j \leqslant n\)) of passengers at each stopping point (SP) on a route (where n is the number of SPs on the route) [6]. The task of entry–exit data processing with the receipt of information on the distribution of passenger flows on the route (\({{x}_{{ij}}}\), \(i \leqslant j\)), i.e., determining the number of passengers that have travelled between each pair of SPs (i, j) on the route during, e.g., one run, has not been sufficiently studied. This defines the task of developing a mathematical model for calculating passenger travels between each pair of SPs on the route according to the entry and exit data.

2 FORMULATION OF THE PROBLEM

When collecting the data on the entry and exit at SPs of a route, the information of each individual passenger on the route remains unknown; therefore, such movements can be taken as random and independent of the choice of routes of other passengers. This allows us to make the following assumption: the choice made by each passenger on the path of travel (i, j) on the route (i.e., the passenger’s entry into the interior of the TV at the ith SP and the exit at the jth SP) is random and does not depend on the choice of other passengers of their path of travel on the route. With this assumption we can assume that when a TV stops at an SP of the route, for each passenger, the event of getting off the TV at this SP or remain on it can be considered equally probable.

Thus, solving the problem of determining elements of the route correspondence of passenger flows according to the entry–exit data requires a probabilistic interpretation. When the TV stops at the jth SP, first of all the \({{Q}_{{j - 1}}}\) passengers that have arrived from the preceding ( j−1)th SP, \({{b}_{j}}\) passengers get off the TV, and then \({{a}_{j}}\) passengers enter the TV. When the TV departs from the jth SP, we have \({{Q}_{j}}\) passengers in the interior; here,

$${{Q}_{j}} = ({{Q}_{{j - 1}}} - {{b}_{j}}) + {{a}_{j}} = \sum\limits_{r = 1}^j {({{a}_{r}} - {{b}_{r}})} .$$

When the TV stops at the ith SP, \({{a}_{i}}\) passengers enter it; it is possible that some of them can exit at the (i + 1)th SP, and this corresponds to the number of passengers that travel from the ith to the (i + 1)th SP. Denote this number by \({{x}_{{i,i + 1}}}\). If we subtract it from the number of passengers that enter at the ith SP, we obtain the number of the remaining passengers, which continue their travel on the route (i.e., potentially corresponding from the ith SP). Denote this number by \({{a}_{{i,i + 1}}}\); it is determined as follows: \({{a}_{{i,i + 1}}} = {{a}_{i}} - {{x}_{{i,i + 1}}}\).

In general, for any i and j this number is calculated by the formula

$${{a}_{{ij}}} = {{a}_{i}} - \sum\limits_{r = i + 1}^{j - 1} {{{x}_{{ir}}}} ,$$

here, for \(j = i,{{a}_{{ij}}} = {{a}_{{ii}}} = {{a}_{i}}\).

In other words, \({{a}_{{ij}}}\) is the number of remaining passengers from all those that entered the TV at the ith SP. It is determined by subtracting from \({{a}_{i}}\) the number of passengers that have already completed their travel on the route (i, i + 1) − \({{x}_{{i,i + 1}}}\), (i, i + 2) − \({{x}_{{i,i + 2}}}\), …, (i, j − 1) − \({{x}_{{i,j - 1}}}\).

In the transportation process on the route, when the TV stops at the jth SP, we have \({{Q}_{{j - 1}}}\) passengers inside, also including persons that entered at the ith SP (group \({{a}_{{ij}}}\)). As a result of the passenger exchange at an SP, together with \({{b}_{j}}\), also those passengers that entered the TV at the ith SP, i.e., from the group \({{a}_{{ij}}}\), could exit. In this case, the number \({{x}_{{ij}}}\), which belongs to \({{a}_{{ij}}}\) and \({{b}_{j}}\) at the same time, is specifically unknown.

If we determine in such a way all the journeys of passengers between any two SPs on a route, then these travels can be presented as a table of elements of the passengers’ route-correspondence (see Table 1).

Table 1.   Matrix of elements of passenger-flow correspondence

Here, n is the number of SPs on a route, \({{a}_{i}}\) is the number of passengers that enter the TV at the ith SP, \({{b}_{j}}\) is the number of passengers that get off the TV at the jth SP, and \({{x}_{{ij}}}\) is the number of corresponding passengers from the ith to the jth SP (\(i \leqslant j\)).

Table 1 shows that the summation of elements by rows corresponds to the entry data and the summation by columns corresponds to the exit data. In this respect, the mathematical formalization of the problem of determining \({{x}_{{ij}}}\) by the given \({{a}_{i}}\) and \({{b}_{j}}\) consists of the following points:

we have the system of linear algebraic equations

$$\sum\limits_{j = i}^n {{{x}_{{ij}}} = {{a}_{i}}} ,\,\,\,\,\sum\limits_{i = 1}^j {{{x}_{{ij}}} = {{b}_{j}}} ,\,\,\,\,{{x}_{{ij}}} \geqslant 0,\,\,\,\,1 \leqslant i \leqslant n,\,\,\,\,1 \leqslant j \leqslant n.$$
(1)

moreover, the condition

$$\sum\limits_{i = 1}^n {{{a}_{i}} = \sum\limits_{j = 1}^n {{{b}_{j}}} } \,\,\,\,\left( {{\text{or}}\,\,\sum\limits_{i = 1}^n {\sum\limits_{j = i}^n {{{x}_{{ij}}}} = \sum\limits_{j = 1}^n {\sum\limits_{i = 1}^j {{{x}_{{ij}}}} } } } \right)$$
(2)

is met.

Because system (1) consists of 2n equations with \({{n\left( {n + 1} \right)} \mathord{\left/ {\vphantom {{n\left( {n + 1} \right)} 2}} \right. \kern-0em} 2}\) unknowns, a unique solution is possible only if the condition \(2n = {{n\left( {n + 1} \right)} \mathord{\left/ {\vphantom {{n\left( {n + 1} \right)} 2}} \right. \kern-0em} 2}\) is met. Hence, the unique solution is possible when \(n \leqslant 3\), while when \(n > 3\) there exist, in general, countless solutions, and therefore it is impossible to obtain an unambiguous solution to this problem without additional assumptions about the distribution of passenger flows between the SPs of a route.

3 PROBABILITY METHOD FOR SOLVING THE PROBLEM

Taking into account the accepted assumption relative to the behavior of passengers when choosing the ways of travel on the route, it is easy to notice that during the stop of the TV at the jth SP, there are \({{Q}_{{j - 1}}}\) passengers in the interior, and from among them \({{b}_{j}}\) persons get off the TV. Since the exit of any group of \({{b}_{j}}\) passengers (of all those that have arrived) from the TV represents an equiprobable and disjoint event, the total number of such groups in various combinations is equal to the number of combinations of \({{Q}_{{j - 1}}}\) elements taken \({{b}_{j}}\) at a time; i.e., \(\mathop C\nolimits_{{{Q}_{{j - 1}}}}^{{{b}_{j}}} \).

All the passengers who have arrived at the jth SP (\({{Q}_{{j - 1}}}\)) can be divided into two groups: the first group consists of passengers that enter the interior of the TV at the ith SP and do not exit before the jth SP (\({{a}_{{ij}}}\)) and the second group consists of all the other passengers (\({{Q}_{{j - 1}}} - {{a}_{{ij}}}\)). Since at the jth SP, \({{b}_{j}}\) passengers exit, they can include persons that belong to group \({{a}_{{ij}}}\); denote them by \({{\lambda }_{{ij}}}\). It is obvious that \({{\lambda }_{{ij}}}\) is a random variable, which takes integer values. Here, the group of \({{\lambda }_{{ij}}}\) persons from \({{a}_{{ij}}}\) can be taken in \(\mathop C\nolimits_{{{a}_{{ij}}}}^{{{\lambda }_{{ij}}}} \) ways in various combinations. However, for each certain group of \({{\lambda }_{{ij}}}\), the remaining passengers (\({{b}_{j}} - {{\lambda }_{{ij}}}\)) here can be taken in \(\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^{{{b}_{j}} - {{\lambda }_{{ij}}}} \) different ways. Then the total number of conducive cases is \(\mathop C\nolimits_{{{a}_{{ij}}}}^{{{\lambda }_{{ij}}}} \mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^{{{b}_{j}} - {{\lambda }_{{ij}}}} \).

Based on the above, it is easy to determine the probability that of the \({{b}_{j}}\) passengers that got off, exactly \({{\lambda }_{{ij}}}\) persons belong to group \({{a}_{{ij}}}\):

$${{P}_{{{{b}_{j}}}}}({{\lambda }_{{ij}}}) = \frac{{\mathop C\nolimits_{{{a}_{{ij}}}}^{{{\lambda }_{{ij}}}} \mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^{{{b}_{j}} - {{\lambda }_{{ij}}}} }}{{\mathop C\nolimits_{{{Q}_{{j - 1}}}}^{{{b}_{j}}} }}.$$
(3)

Here, we have two possible cases: (1) where \({{a}_{{ij}}} \geqslant {{b}_{j}}\) and (2) where \({{a}_{{ij}}} \leqslant {{b}_{j}}\).

In the case \({{a}_{{ij}}} \geqslant {{b}_{j}}\), the following situations are possible (and the corresponding number of their combinations):

$$\begin{array}{*{20}{c}} {{{b}_{j}} \in {{a}_{{ij}}}}&{{\text{and}}}&{0 \in ({{Q}_{{j - 1}}} - {{a}_{{ij}}}),}&{\mathop C\nolimits_{{{a}_{{ij}}}}^{{{b}_{j}}} }&{{\text{and}}}&{\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^0 ,} \\ {({{b}_{j}} - 1) \in {{a}_{{ij}}}}&{{\text{and}}}&{1 \in ({{Q}_{{j - 1}}} - {{a}_{{ij}}}),}&{\,\,\mathop C\nolimits_{{{a}_{{ij}}}}^{{{b}_{j}} - 1} }&{{\text{and}}}&{\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^1 ,} \\ {}& \vdots &{}&{}& \vdots &{} \\ {({{b}_{j}} - k) \in {{a}_{{ij}}}}&{{\text{and}}}&{k \in ({{Q}_{{j - 1}}} - {{a}_{{ij}}}),}&{\,\,\,\,\mathop C\nolimits_{{{a}_{{ij}}}}^{{{b}_{j}} - k} }&{{\text{and}}}&{\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^k ,} \end{array}$$

where \(k = \min [{{b}_{j}},({{Q}_{{j - 1}}} - {{a}_{{ij}}})]\).

In this case, \({{\lambda }_{{ij}}}\) can be integer over the interval \(({{b}_{j}} - k) \leqslant {{\lambda }_{{ij}}} \leqslant {{b}_{j}}\). Since

$$({{b}_{j}} - k) = ({{b}_{j}} - \min [{{b}_{j}},({{Q}_{{j - 1}}} - {{a}_{{ij}}})]) = \max [({{b}_{j}} - {{b}_{j}}),{\text{(}}{{b}_{j}} - {{Q}_{{j - 1}}} + {{a}_{{ij}}})] = \max [0,{\text{(}}{{b}_{j}} + {{a}_{{ij}}} - {{Q}_{{j - 1}}})],$$

the variation interval of the random variable \({{\lambda }_{{ij}}}\) for \({{a}_{{ij}}} \geqslant {{b}_{j}}\) is

$$\max [0,{\text{(}}{{b}_{j}} + {{a}_{{ij}}} - {{Q}_{{j - 1}}})] \leqslant {{\lambda }_{{ij}}} \leqslant {{b}_{j}}.$$
(4)

In the case \({{a}_{{ij}}} \leqslant {{b}_{j}}\), the following situations are possible (and the corresponding number of their combinations):

$$\begin{array}{*{20}{c}} {{{a}_{{ij}}} \in {{a}_{{ij}}}}&{{\text{and}}}&{({{b}_{j}} - {{a}_{{ij}}}) \in ({{Q}_{{j - 1}}} - {{a}_{{ij}}}),}&{\mathop C\nolimits_{{{a}_{{ij}}}}^{{{a}_{{ij}}}} }&{{\text{and}}}&{\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^{{{b}_{j}} - {{a}_{{ij}}}} ,} \\ {({{a}_{{ij}}} - 1) \in {{a}_{{ij}}}}&{{\text{and}}}&{({{b}_{j}} - {{a}_{{ij}}} + 1) \in ({{Q}_{{j - 1}}} - {{a}_{{ij}}}),}&{\,\,\,\,\mathop C\nolimits_{{{a}_{{ij}}}}^{{{a}_{{ij}}} - 1} }&{{\text{and}}}&{\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^{{{b}_{j}} - {{a}_{{ij}}} + 1} ,} \\ {}& \vdots &{}&{}& \vdots &{} \\ {({{a}_{{ij}}} - k) \in {{a}_{{ij}}}}&{{\text{and}}}&{({{b}_{j}} - {{a}_{{ij}}} + k) \in ({{Q}_{{j - 1}}} - {{a}_{{ij}}}),}&{\,\,\,\,\mathop C\nolimits_{{{a}_{{ij}}}}^{{{a}_{{ij}}} - k} }&{{\text{and}}}&{\mathop C\nolimits_{{{Q}_{{j - 1}}} - {{a}_{{ij}}}}^{{{b}_{j}} - {{a}_{{ij}}} + k} ,} \end{array}$$

where \(k = \min [{{a}_{{ij}}},{\text{(}}{{Q}_{{j - 1}}} - {{a}_{{ij}}}) - ({{b}_{j}} - {{a}_{{ij}}})]\) = \(\min [{{a}_{{ij}}},{\text{(}}{{Q}_{{j - 1}}} - {{b}_{j}})]\).

In this case, \({{\lambda }_{{ij}}}\) can be integer over the interval \(({{a}_{{ij}}} - k) \leqslant {{\lambda }_{{ij}}} \leqslant {{a}_{{ij}}}\). Since

$$({{a}_{{ij}}} - k) = ({{a}_{{ij}}} - \min [{{a}_{{ij}}},({{Q}_{{j - 1}}} - {{b}_{j}})]) = \max [({{a}_{{ij}}} - {{a}_{{ij}}}),{\text{(}}{{a}_{{ij}}} - {{Q}_{{j - 1}}} + {{b}_{j}})] = \max [0,{\text{(}}{{b}_{j}} + {{a}_{{ij}}} - {{Q}_{{j - 1}}})],$$

the variation interval of the random variable \({{\lambda }_{{ij}}}\) for \({{a}_{{ij}}} \leqslant {{b}_{j}}\) is

$$\max [0,{\text{(}}{{b}_{j}} + {{a}_{{ij}}} - {{Q}_{{j - 1}}})] \leqslant {{\lambda }_{{ij}}} \leqslant {{a}_{{ij}}}.$$
(5)

Expressions (4) and (5) can be written in the general form

$$\max [0,{\text{(}}{{b}_{j}} + {{a}_{{ij}}} - {{Q}_{{j - 1}}})] \leqslant {{\lambda }_{{ij}}} \leqslant \min [{{a}_{{ij}}},{{b}_{j}}].$$
(6)

In this case, of all integers \({{\lambda }_{{ij}}}\) in segment (6), as the unique unknown \({{x}_{{ij}}}\), we can take a value for which the probability calculated by formula (3) reaches its maximum value in the argument \({{\lambda }_{{ij}}}\):

$${{x}_{{ij}}} = \mathop {\max }\limits_{{{\lambda }_{{ij}}}} {{P}_{{{{b}_{j}}}}}({{\lambda }_{{ij}}}).$$

Because \({{x}_{{ij}}}\) is the most probable number for the random variable \({{\lambda }_{{ij}}}\), the following inequalities must hold for two standing numbers \(({{x}_{{ij}}} - 1)\) and \(({{x}_{{ij}}} + 1)\) [7]:

$${{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}} - 1)} \mathord{\left/ {\vphantom {{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}} - 1)} {{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}})}}} \right. \kern-0em} {{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}})}} \leqslant 1\,\,\,\,{\text{and}}\,\,\,\,{{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}})} \mathord{\left/ {\vphantom {{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}})} {{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}} + 1) \geqslant 1.}}} \right. \kern-0em} {{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}} + 1) \geqslant 1.}}$$

We expand these inequalities and obtain the expressions

$$\frac{{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}} - 1)}}{{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}})}} = \frac{{{{x}_{{_{{ij}}}}}({{Q}_{{j - 1}}} - {{a}_{{ij}}} - {{b}_{j}} + {{x}_{{ij}}})}}{{({{a}_{{ij}}} - {{x}_{{ij}}} + 1)({{b}_{j}} - {{x}_{{ij}}} + 1)}} \leqslant 1,$$
$$\frac{{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}})}}{{{{P}_{{{{b}_{j}}}}}({{x}_{{ij}}} + 1)}} = \frac{{({{x}_{{ij}}} + 1)({{Q}_{{j - 1}}} - {{a}_{{ij}}} - {{b}_{j}} + {{x}_{{ij}}} + 1)}}{{({{a}_{{ij}}} - {{x}_{{ij}}})({{b}_{j}} - {{x}_{{ij}}})}} \geqslant 1.$$

The solution of these inequalities for \({{x}_{{ij}}}\) yields the two-sided inequality

$$\frac{{({{a}_{{ij}}} + 1)({{b}_{j}} + 1)}}{{{{Q}_{{j - 1}}} + 2}} - 1 \leqslant {{x}_{{ij}}} \leqslant \frac{{({{a}_{{ij}}} + 1)({{b}_{j}} + 1)}}{{{{Q}_{{j - 1}}} + 2}}.$$

For large \({{a}_{{ij}}}\), \({{b}_{j}}\), and \({{Q}_{{j - 1}}}\), we can omit 1 and 2 in these inequalities:

$$\frac{{{{a}_{{ij}}}{{b}_{j}}}}{{{{Q}_{{j - 1}}}}} - 1 \leqslant {{x}_{{ij}}} \leqslant \frac{{{{a}_{{ij}}}{{b}_{j}}}}{{{{Q}_{{j - 1}}}}}.$$

From this double inequality it follows that in order to calculate the elements \({{x}_{{ij}}}\), the following formula can be used (rounding the values to an integer):

$${{x}_{{ij}}} = \frac{{{{a}_{{ij}}}{{b}_{j}}}}{{{{Q}_{{j - 1}}}}}.$$

In general, the mathematical model of calculating \({{x}_{{ij}}}\), with allowance for the specifics of generating a table of elements of the route correspondence of passenger flows (see Table 1), is presented as follows:

$$\mathop x\nolimits_{ij} = \left\{ \begin{gathered} 0,\,\,{\text{if}}\,\,i = j, \hfill \\ {{b}_{j}} - \sum\limits_{r = 1}^{j - 2} {{{x}_{{rj}}},\,\,{\text{if}}\,\,j = i + 1,} \hfill \\ {{a}_{i}} - \sum\limits_{r = i}^{j - 1} {{{x}_{{ir}}},\,\,{\text{if}}\,\,j = n,} \hfill \\ {{({{a}_{{ij}}}{{b}_{j}})} \mathord{\left/ {\vphantom {{({{a}_{{ij}}}{{b}_{j}})} {{{Q}_{{j - 1}}}}}} \right. \kern-0em} {{{Q}_{{j - 1}}}}}\,\,{\text{for}}\,\,{\text{all}}\,\,{\text{others}}\,\,i\,\,{\text{and}}\,\,{\text{ }}j. \hfill \\ \end{gathered} \right.$$

4 SOLUTION USING THE BERNOULLI SCHEME

From the accepted assumption associated with the behavior of passengers in choosing the travel path on the route, it follows that when the TV approaches the jth SP, for each person of the passengers onboard, two events (get off the TV at this SP, or move on) are taken to be equally probable. Hence, for each passenger, the probability of the event of getting off the TV at the jth SP is \(p = {1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0em} 2}\) (and, respectively, the probability of the event of not getting off, i.e., travelling further is \(q = {1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0em} 2}\)). Then, using the Bernoulli formula, we can determine the probability that at a particular SP, \({{\lambda }_{{ij}}}\) passengers among the total number of passengers onboard will get off the TV:

$${{P}_{m}}({{\lambda }_{{ij}}}) = \mathop C\nolimits_m^{{{\lambda }_{{ij}}}} {{p}^{{{{\lambda }_{{ij}}}}}}{{q}^{{m - {{\lambda }_{{ij}}}}}},$$
(7)

where m is the number of integers in segment (6); this number can be determined by calculating the length of the given segment, i.e.,

$$m = \min [{{a}_{{ij}}},{\text{ }}{{b}_{j}}] - \max [0,{\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})].$$
(8)

Because in this case \(p = q\), formula (7) can be written as follows: \({{P}_{m}}({{\lambda }_{{ij}}}) = \mathop C\nolimits_m^{{{\lambda }_{{ij}}}} {{p}^{{{{\lambda }_{{ij}}}}}}{{p}^{{m - {{\lambda }_{{ij}}}}}} = \mathop C\nolimits_m^{{{\lambda }_{{ij}}}} {{p}^{m}}\). This means that the numerical probability of the random variable \({{\lambda }_{{ij}}}\) in segment (6) depends mainly on the binomial factor \(\mathop C\nolimits_m^{{{\lambda }_{{ij}}}} \). Hence, the value of \({{\lambda }_{{ij}}}\) for which the binomial factor \(C_{m}^{{{{\lambda }_{{ij}}}}}\) is the largest in the argument \({{\lambda }_{{ij}}}\) can be taken as the solution, i.e.,

$${{x}_{{ij}}} = \mathop {\max }\limits_{{{\lambda }_{{ij}}}} \frac{{m!}}{{{{\lambda }_{{ij}}}!(m - {{\lambda }_{{ij}}})!}}.$$

According to the theory of combinatorics, this value for \(p = q\) reaches its maximum in the middle of segment (6):

$${{x}_{{ij}}} = (\min [{{a}_{{ij}}},{{b}_{j}}] + {{\max [0,{\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})])} \mathord{\left/ {\vphantom {{\max [0,{\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})])} 2}} \right. \kern-0em} 2}.$$
(9)

However, it is known that the most probable number \({{\lambda }_{{ij}}}\) in solving problems using the Bernoulli scheme can be determined from the double inequality \(mp - p \leqslant {{\lambda }_{{ij}}} \leqslant mp + q\) [7]. Since \(p = q\), this double inequality can be presented as \(mp - p \leqslant {{\lambda }_{{ij}}} \leqslant mp + p\) or \(\left| {{{\lambda }_{{ij}}} - mp} \right| \leqslant p\); i.e., the difference between \({{\lambda }_{{ij}}}\) and mp must not exceed \({1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0em} 2}\) in absolute magnitude. This means that the most probable number \({{\lambda }_{{ij}}}\) in segment (6) can be determined using the expression of mp, which is rounded to the nearest integer. With allowance for formula (8) and the relation \(p = {1 \mathord{\left/ {\vphantom {1 2}} \right. \kern-0em} 2}\), we have

$${{x}_{{ij}}} = mp = (\min [{{a}_{{ij}}},{{b}_{j}}] - {{\max [0,{\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})])} \mathord{\left/ {\vphantom {{\max [0,{\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})])} 2}} \right. \kern-0em} 2}.$$
(10)

From the analysis of expressions (9) and (10), it follows that their right sides can be equal if and only if the following equality holds: \(\max [0,{\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})] = 0\); i.e., \({\text{(}}{{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}})\) must not be greater than zero. If that is so, then the segment of possible solutions (6) of problem (1) and (2) is presented as \(0 \leqslant {{\lambda }_{{ij}}} \leqslant \min [{{a}_{{ij}}},{{b}_{j}}]\).

5 CONCLUSIONS

To make sure that the left boundary of the segment of possible solutions (6) of problem (1) and (2) is zero, consider the following example. Assume that as a result of fixing the entry–exit data on a route with ten SPs, the following source data is obtained: \({{a}_{i}}\) = {46; 22; 2; 6; 4; 14; 15; 13; 11; 0} and \({{b}_{j}}\) = {0; 9; 11; 7; 10; 5; 21; 28; 25; 17}, respectively.

Since any integer from interval (6) is a solution to problem (1) and (2), in order to verify the validity of the result, we first calculate values of \({{x}_{{ij}}}\) using the mathematical model proposed in this paper. In the end, we obtain the numerical values of the elements of the route passenger-flow correspondence; see Table 2.

Table 2.   Matrix of elements of fixed-route passenger-flow correspondence (values of \({{x}_{{ij}}}\))

Using the formula \({{a}_{{ij}}} = {{a}_{i}} - \sum\nolimits_{r = i + 1}^{j - 1} {{{x}_{{ir}}}} \), we determine the numerical values of the elements of potentially corresponding passengers between any two SPs on the route; see Table 3.

Table 3.   Matrix of elements of potentially corresponding passengers between two SPs on a route (values of \({{a}_{{ij}}}\))

Finally, calculate the values of \({{z}_{{ij}}} = {{a}_{{ij}}} + {{b}_{j}} - {{Q}_{{j - 1}}}\) only for those i and j for which the calculation of elements of passenger correspondence according to the algorithm described in this paper is made by the formula \({{x}_{{ij}}}\) = \({{({{a}_{{ij}}}{{b}_{j}})} \mathord{\left/ {\vphantom {{({{a}_{{ij}}}{{b}_{j}})} {{{Q}_{{j - 1}}}}}} \right. \kern-0em} {{{Q}_{{j - 1}}}}}\). These values are presented in Table 4, which shows that all \({{z}_{{ij}}} \leqslant {\text{0}}\), which is what we needed to confirm.

Table 4.   Matrix of values determined by calculating interval of possible solutions (values of \({{z}_{{ij}}}\))