A numerical comparison between two exact simplicial methods for solving a capacitated 4-index transportation problem

Rachid ZITOUNI\(^\ast \) Mohamed ACHACHE\(^\S \)

March 26, 2017.

\(^\ast \)Laboratoire de Mathématiques Fondamentales et Numériques, Université Ferhat Abbas- Sétif 1, Sétif, Algérie, e-mail: rzitou@yahoo.fr.

\(^\S \)Laboratoire de Mathématiques Fondamentales et Numériques, Université Ferhat Abbas- Sétif 1, Sétif, Algérie, e-mail: achache_m@yahoo.fr.

In this paper, we deal with a numerical comparison between two exact simplicial methods for solving a capacitated four-index transportation problem. The first method was developed by R. Zitouni and A. Keraghel for solving this problem [Resolution of a capacitated transportation problem with four subscripts, Kybernetes, Emerald journals, 32, 9/10: 1450-1463 (2003)]. The second approach is the well-known simplex method. We show across some obtained numerical results that the first algorithm competes well with the simplex method.

MSC. 90C05, 90C08

Keywords. Capacitated transportation problem, four-index transportation problem, linear programming, simplicial algorithms.

1 Introduction

The transportation problem is an important subject in real-world life that covers many important problems in economy, telecommunication and localization, among others. As a special case, the transportation problem with two-dimensional index has been extensively studied and solved by L. V. Kantorovich and M. K. Gavurin (1949, [ 4 ] ) and G. B. Dantzig (1951, [ 2 ] ). Next, the study and the solution have been extended to transportation problems where the dimension of the index is higher than two. Since the sixties, several papers have been published for uncapacitated problems with a three-dimensional index and a general multi-dimensional index, see for instance [ 3 ] , [ 5 ] , [ 6 ] and [ 7 ] .

Recently, Zitouni [ 10 ] , first introduced an algorithm for solving a capacitated transportation problem with 4-index (four subscripts). The choice for the index transportation problem allows us to getting an idea for the more general multi-dimensional transportation problem case.

Our aim in this paper is to examine two exact simplicial methods for the solution of the capacited 4-index transportation problem, the method developed in [ 10 ] and the simplex method. Because the algorithm developed in [ 10 ] , tackles directly the problem, and shows its elegant computation and its rapidity convergence to provide a solution of this problem. For the comparison purpose, the obtained numerical results are compared with those obtained by the classical simplex approach applied to the reformulation of this problem as a linear program.

The outline of the paper is as follows. In Section 2, the 4-index capacited transportation problem formulation is stated. In section 3, the transportation problem solution is given. In section 4, the detailed description of two exact simplicial algorithms and the convergence of the second algorithm are presented. In section 5, some computational results are reported, followed by an important numerical comparison between their performances. Finally, a conclusion and future researchers are drawn in the last section.

Some notation used throughout the paper is as follows. \(\mathbb {R}^{r}\) denotes the space of \(r\)-dimensional real vectors whereas the set of all matrices with type \((r_{1}, r_{2})\) is denoted by \( \mathbb {R}^{r_{1}\times r_{2}}\). If \(x, z\in \) \(\mathbb {R}^{r},\) then \(x^{T}z\) denote their usual inner product. If \(S\in \mathbb {R}^{r_{1}\times r_{2}}\), then its rank is defined as \(\operatorname {rank}(S)=r\leq \min (r_{1},r_{2})\).

2 The capacitated 4-index transportation problem formulation

The capacitated transportation problem with a four-dimensional index, denoted by \((T_{4C})\), is formulated as the following constrained optimization problem:

\begin{equation} \mbox{Minimize}\, Z=\sum \limits _{i=1}^{m}\sum \limits _{j=1}^{n}\sum \limits _{k=1}^{p}\sum \limits _{l=1}^{q}c_{ijkl}x_{ijkl} \label{eq:1} \end{equation}
1

          subject to the constraints:

\begin{eqnarray} \sum \limits _{j=1}^{n}\sum \limits _{k=1}^{p}\sum \limits _{l=1}^{q} x_{ijkl} & =& \alpha _{i}\qquad \mbox{for all\qquad }i=1,...,m \label{eq:2}\\ \sum \limits _{i=1}^{m}\sum \limits _{k=1}^{p}\sum \limits _{l=1}^{q}x_{ijkl} & =& \beta _{j}\qquad \mbox{for all\qquad }j=1,...,n \label{eq:3}\\ \sum \limits _{i=1}^{m}\sum \limits _{j=1}^{n}\sum \limits _{l=1}^{q}x_{ijkl} & =& \gamma _{k}\qquad \mbox{for all\qquad }k=1,...,p \label{eq:4}\\ \sum \limits _{i=1}^{m}\sum \limits _{j=1}^{n}\sum \limits _{k=1}^{p}x_{ijkl} & =& \delta _{l}\qquad \mbox{ for all\qquad }l=1,...,q \label{eq:5} \end{eqnarray}

\begin{equation} \qquad 0\leq x_{ijkl\ }\leq d_{ijkl}\qquad \mbox{for all\qquad }(i,j,k,l), \label{eq:6} \end{equation}
6

where \(\alpha _{i}\), \(\beta _{j}\), \(\gamma _{k}\), \(\delta _{l}\), \(d_{ijkl}\) and \(c_{ijkl}\) are given and such that for all \(i\), \(j\), \(k\), and \(l\), \(\alpha _{i}{\gt}0,\) \(\beta _{j}{\gt}0,\) \(\gamma _{k}{\gt}0,\) \(\delta _{l}{\gt}0,\) \(d_{ijkl}{\gt}0\) and \(c_{ijkl}\geq 0\).

The \(T_{4C}\) problem can be also reformulated as the following linear program:

\begin{equation} \min _{x} Z=c^{T}x\, \, \, \mbox{s.t. } Ax=b,\, 0\leq x\leq d, \label{eq:7} \end{equation}
7

with

  • \(x=(x_{1111},...,x_{mnpq})^{T}\in \mathbb {R}^{N},\)

  • \(c=(c_{1111},...,c_{mnpq})^{T}\in \mathbb {R}^{N},\)

  • \(d=(d_{1111},...,d_{mnpq})^{T}\in \mathbb {R}^{N},\)

  • \(b=(\alpha _{1},...,\alpha _{m},\beta _{1},...,\beta _{n},\gamma _{1},...,\gamma _{p},\delta _{1},...,\delta _{q})^{T}\in \mathbb {R}^{M},\)

  • \(A\in \mathbb {R}^{M\times N}\), where \(M=m+n+p+q\) and \(N=mnpq\).

In this representation \(x=(x_{1111},x_{1211},...,x_{mnpq})\) has been associated to a vector \(x \in \mathbb {R} ^{N}\). To do that, we associate to each \((i,j,k,l)\in \left\{ 1,..,m\right\} \times \left\{ 1,..,n\right\} \times \left\{ 1,..,p\right\} \times \left\{ 1,..,q\right\} \) a vector \(P_{ijkl}\in \mathbb {R}^{M}\). Only four entries of the vector \(P_{ijkl}\) are nonzero, they are located on lines \(i,\) \(m+j,\) \(m+n+k\) and \(m+n+p+l,\) and their common value is 1. Note that \(P_{ijkl}\) are the columns of \(A\), they are called coefficients vectors.

In the sequel, we quote the following useful definitions (see [ 13 ] ).

Definition 1

A feasible solution \(x\) of \(T_{4C}\) is called basic solution if the columns of the sub-matrix \(A_{x}\) obtained from \(A\) by keeping only the columns corresponding to the variables \(x_{ijkl}\) such that

\(0{\lt}x_{ijkl}{\lt}d_{ijkl}\)

are linearly independent.

Definition 2

A basic feasible solution is said to be non degenerate if

\(\operatorname {rank}(A_{x})=\operatorname {rank}(A)\).
Definition 3

Given a basic feasible solution \(x=(x_{ijkl})\), the 4-tuple \((i,j,k,l)\) is called interesting if

\(0{\lt}x_{ijkl}{\lt}d_{ijkl}\).

Throughout the paper, we assume that the following feasibility assumption for \(T_{4C}\),

\begin{equation} \sum \limits _{i=1}^{m}\alpha _{i}=\sum \limits _{j=1}^{n}\beta _{j}=\sum \limits _{k=1}^{p}\gamma _{k}=\sum \limits _{l=1}^{q}\delta _{l}=H \label{eq:8} \end{equation}
8

holds.

As a consequence, it results that

\(\operatorname {rank}(A)=M-3\).

Unlike the transportation problem with two-dimensional index, the matrix \(A \) is not totally unimodular since some of its minors do not belong to \(\left\{ -1,0,1\right\} \).

It is useful to present the data of the problem thanks to the following transportation table. It consists of an array of \(M\) rows and \(N\) columns, three additional rows and an additional column. The entries of these \(N\) columns of the first, second, and third additional rows are reserved for the data of the quantities \(d_{ijkl}\), \(c_{ijkl}\), and \(x_{ijkl}\), respectively. The additional column is for the data of quantities \(\alpha _{i}\), \(\beta _{j}\), \(\gamma _{k}\), and \(\delta _{l}\), respectively. Finally, the entry of the array on the line corresponding to \(\alpha _{i^{^{\prime }}}\) and the column \(P_{ijkl}\) is \(1\) if \(i=i^{^{\prime }}\) and \(0\) otherwise. Same things for \(\beta _{j^{^{\prime }}}\), \(\gamma _{_{k^{^{\prime }}}}\), and \(\delta _{l^{^{\prime }}}\). We illustrate that by the following example.

\(\begin{tabular}{|c|c|c|c|c}\end{tabular}\)

d1111

.

\( & \)

d1211

.

\( & \hspace{1.5cm}{\scriptsize ...\hspace{1.5cm}} & \)

dmnpq

.

\( & \\ \cline {1-1}\cline {1-4} \multicolumn {1}{|c|}{}\)

c1111

.

\(\)

\(\)

c1211

.

\( & \hspace{1.5cm}{\scriptsize ...\hspace{1.5cm}} & \)

cmnpq

.

\( & \\ \cline {1-4} \multicolumn {1}{|c|}{}\)

x1111

.

\(\) \(\)

x1211

.

\( & \hspace{1.5cm}{\scriptsize ...\hspace{1.5cm}} & \)

xmnpq

.

\( & \\ \hline \multicolumn {1}{|c|}{\texttt{1}} & \texttt{1} & \hspace{1.5cm}{\scriptsize ...\hspace{1.5cm}} & \texttt{0} & \multicolumn {1}{|c|}{}\)

α1

.

\(\)
1|c|: : ... : 1|c|:
1|c|0 0 ... 1 1|c|\(\)

αm

.

\(\)
1|c|1 0 ... 0 1|c|\(\)

β1

.

\(\)
1|c|0 1 ... 0 1|c|\(\)

β2

.

\(\)
1|c|: : ... : 1|c|:
1|c|0 0 ... 1 1|c|\(\)

βn

.

\(\)
1|c|1 1 ... 0 1|c|\(\)

γ1

.

\(\)
1|c|: : ... : 1|c|:
1|c|0 0 ... 1 1|c|\(\)

γp

.

\(\)
1|c|1 1 ... 0 1|c|\(\)

δ1

.

\(\)
1|c|: : ... : 1|c|:
1|c|0 0 ... 1 1|c|\(\)

δq

.

\(\)

\(\)

None
\(T_{4C}\) - Transportation table.

3 Transportation problem solution

3.1 Feasibility conditions

We begin first to give a useful theorem that ensures the feasibility of \(T_{4C}\) problem (see [ 13 ] ).

Theorem 4

(Feasibility)
1. A necessary condition for the feasibility of the problem \(T_{4C}\) i.e., it has a feasible solution if the condition 8 holds and the following conditions

\begin{equation} \left\{ \begin{array}{c} \alpha _{i}\leq \sum \limits _{j=1}^{n}\sum \limits _{k=1}^{p}\sum \limits _{l=1}^{q}d_{ijkl} \quad \textrm{for} \quad \, i=1,...,m,\\ \beta _{j}\leq \sum \limits _{i=1}^{m}\sum \limits _{k=1}^{p}\sum \limits _{l=1}^{q}d_{ijkl}\quad \textrm{for} \quad \, \, j=1,...,n,\\ \gamma _{k}\leq \sum \limits _{i=1}^{m}\sum \limits _{j=1} ^{n}\sum \limits _{l=1}^{q}d_{ijkl\, } \quad \textrm{for} \quad \, k=1,...,p,\\ \delta _{l}\leq \sum \limits _{i=1}^{m}\sum \limits _{j=1} ^{n}\sum \limits _{k=1}^{p}d_{ijkl\, } \quad \textrm{for} \quad \, \, \, l=1,...,q, \end{array} \right. \label{eq:9} \end{equation}
9

are satisfied.

2. A sufficient condition for the feasibility of the problem \(T_{4C}\), i.e., it has a feasible solution if the condition 8 holds and the following conditions

\begin{equation} \frac{\alpha _{i}\beta _{j}\gamma _{k}\delta _{l}}{H^{3}}\leq d_{ijkl},\quad \textrm{ for all} \, \, (i,j,k,l) \label{eq:10} \end{equation}
10

are satisfied.

Proof â–¼
1. It is clear that if \(x=(x_{ijkl})\) is a feasible solution for the problem \(T_{4C}\), then conditions 8 and 9 hold.
2. Assume that \(x=(x_{ijkl})\) is a vector of \(\mathbb {R}^N\) such that
\[ x_{ijkl}=\frac{\alpha _{i}\beta _{j}\gamma _{k}\delta _{l}}{d_{ijkl}},\, \textrm{ for all \, \, }(i,j,k,l). \]

We can easily verify that \(x\) is a feasible solution for the problem \(T_{4C}\). Note that if the set of feasible solutions of the problem \(T_{4C}\) is non empty, then it is a polytopes. Since the objective function is continuous, then the set of the solution of the problem \(T_{4C}\) is non empty, i.e., there exists at least an optimal solution of it.

Proof â–¼

3.2 Optimality conditions

In this subsection, we give a theorem that ensures when a feasible solution, is an optimal solution of \(T_{4C}\).

Theorem 5

Assume that the problem \(T_{4C}\) is feasible. Then a feasible solution \(x\) of \(T_{4C}\) is optimal if and only if there exists a vector

\[ y=(u_{1},\ldots ,u_{m},v_{1},\ldots ,v_{n},w_{1},\ldots ,w_{p},t_{1},\ldots ,t_{q})^{T}\in \mathbb {R}^{M} \]

such that:

\( \left\{ \begin{array}{l} u_{i}+v_{j}+w_{k}+t_{l}\leq c_{ijkl} \quad \textrm{if}\quad x_{ijkl}=0,\\ u_{i}+v_{j}+w_{k}+t_{l}=c_{ijkl}\quad \textrm{if}\quad 0{\lt}x_{ijkl}{\lt}d_{ijkl},\\ u_{i}+v_{j}+w_{k}+t_{l}\geq c_{ijkl}\quad \textrm{if}\quad x_{ijkl}=d_{ijkl}. \end{array} \right. \)

Proof â–¼

For that, we consider the following formulation of the problem \(T_{4C}\):

\begin{equation} \min _{x}[c^{T} x:\, Ax=b, -x\geq -d,\, x\geq 0], \label{eq:11} \end{equation}
11

and its dual problem is given by

\begin{equation} \max _{(y,\, z)}[b^{T}y-d^{T}z: A^{T}y-z\leq c,\, z\geq 0]. \label{eq:12} \end{equation}
12

Let \((y,z)\) an optimal solution of the problem 12. Then a feasible solution \(x\) of the problem 11 is optimal if and only if the two following complementarity conditions are satisfied

\begin{equation} (A^{T}y-z-c)_{ijkl}x_{ijkl}=0, \label{eq:13} \end{equation}
13

and

\begin{equation} (d-x)_{ijkl}z_{ijkl}=0. \label{eq:14} \end{equation}
14
  • If  \(x_{ijkl}=0,\)   then   \(x_{ijkl}{\lt}d_{ijkl}\)  and 14 imply   \(z_{ijkl}=0.\) So   \((A^{T}y)_{ijkl}\leq c_{ijkl}\).

  • If   \(0{\lt}x_{ijkl}{\lt}d_{ijkl}\)   then  14 implies   \(z_{ijkl}=0\)   and 13 leads to   \((A^{T}y-z-c)_{ijkl}=0.\) So \((A^{T}y)_{ijkl}=c_{ijkl}\).

  • If \(x_{ijkl}=d_{ijkl}\) then \(x_{ijkl}{\gt}0\) and 13 imply \((A^{T}y-z-c)_{ijkl}=0\), consequently \((A^{T}y-c)_{ijkl}=z_{ijkl}.\) Finally, we get \((A^{T}y)_{ijkl}\geq c_{ijkl}.\)

Proof â–¼

4 Description of two simplicial algorithms for \(T_{4C}\)

4.1 The simplex algorithm

In this subsection, in order to apply the technical of the simplex algorithm for solving \(T_{4C}\) problem, we need first to put \(T_{4C}\) in the framework of a special linear program. The simplex algorithm, is referred to us as Algorithm 1. It is well-known that the problem \(T_{4C}\), according to 7, can be easily reformulated as the following linear program:

\begin{equation} \min _{\hat{x}} Z=\hat{c}^{T}\hat{x} \, \, \, \mbox{s.t.}\, \, \hat{A}\hat{x}=\hat{b}, \, \hat{x}\geq 0,\label{eq:15} \end{equation}
15

in adding to the constraints those of the form: \(x_{ijkl}+y_{r}=d_{ijkl}\), (see 6 above), for \(i=1,\ldots ,m,\) \(\, j=1,\ldots ,n,\) \(k=1,\ldots ,p,\) \(l=1,\ldots ,q,\) \(r=1,...,N\), where

  • \(y_{r}\) is the gap variable,

  • \(\hat{x}=(x^{T},y^{T})^{T}\in \mathbb {R}^{2N}\) with \(y=(y_{1,}\ldots ,y_{N})^{T},\)

  • \(\hat{c}=(c^{T},0^{T})^{T}\in \mathbb {R}^{2N}\) where \(0\) is a \(N\)-null vector,

  • \(\hat{b}=(b^{T},d^{T})^{T}\in \mathbb {R} ^{M+N},\) with \(d\) is the vector of \(N\) components \(d_{ijkl}.\)

  • \(\hat{A}=\left[ \begin{tabular}{c|c}\end{tabular}\)A\( & \)0\( \\ \hline \)I_N\( & \)I_N\(\)

R^M+N×2N\(\)  with \(\operatorname {rank}(\hat{A})=M+N-3\). \(I_{N} \in \mathbb {R}^{N\times N}\) is the identity matrix.

4.2 Algorithm 2

According to the particularities of \(T_{4C}\) problem, Zitouni [ 10 ] , proposed a modification of the simplex algorithm. This algorithm is referred here as Algorithm 2, which shares with the simplex algorithm, a structure consists also of two phases such as the finite convergence and the use of the pivot principle. The advantage of this new algorithm is that it tackles the \(T_{4C}\) directly without passing by other reformulations. For more comprehension of this new algorithm, we detail its fundamental ingredients (steps) as follows.

Phase 1. (It finds a basic feasible solution or declare that \(T_{4C}\) is not solvable)

Step 1:

Initialization: for all \((i,j,k,l),\) \(\hat{\alpha }_{i}=\alpha _{i},\) \(\hat{\beta }_{j}=\beta _{j},\) \(\hat{\gamma }_{k}=\gamma _{k},\) \(\hat{\delta }_{l}=\delta _{l}\) and \(b_{ijkl}=0\), (\(b_{ijkl}\) is a boolean variable equal to \(1\) if \(x_{ijkl}\) has already been determined and \(0\) if not yet),

\(E=\left\{ (i,j,k,l),\textrm{ such that }b_{ijkl}=0\right\} \).

Iteration:

While \(E\) is non empty do

  • Choose an 4-tuple \((\bar{i},\bar{j},\bar{k},\bar{l})\in E,\) such that \(c_{\bar{i}\bar{j}\bar{k}\bar{l}}=\min \limits _{(i,j,k,l)\in E}c_{ijkl},\) (see Remark 6)

  • Take \(x_{\bar{i}\bar{j}\bar{k}\bar{l}}=\min (\hat{\alpha }_{\bar{i}},\hat{\beta }_{\bar{j}},\hat{\gamma }_{\bar{k}},\hat{\delta }_{\bar{l}}, \)  \(d_{\bar{i}\bar{j}\bar{k}\bar{l}}),\) and \(b_{\bar{i}\bar{j}\bar{k}\bar{l}}=1,\) (i.e., \(x_{\bar{i}\bar{j}\bar{k}\bar{l}}\) is determined),

  • Update \(\hat{\alpha }_{\bar{i}},\hat{\beta }_{\bar{j}},\hat{\gamma }_{\bar{k}},\) and \(\hat{\delta }_{\bar{l}}\) by the procedure (P1) below.

Step 2:

a) Determine \(\mathbf{\xi }\) as shown in the procedure (P2) below.
If \(\mathbf{\xi }=0,\) then \(x=(x_{ijkl})\) is an initial basic feasible solution for the problem \(T_{4C},\) we denote it by \(x^{(0)}. \) Go to Phase 2.

Else, construct the problem \(T_{4C}(\tilde{M})\) (as shown in the procedure (P3) below) and determine for it an initial basic feasible solution \(\overline{x}^{(0)}\) as in step 1 by taking \(\bar{x}_{m+1,n+1,p+1,q+1}^{(0)}=0\). Note that \(\overline{x}^{(0)}=(\overline{x}_{ijkl}^{(0)}),\) with \(i=1,\ldots ,m+1\), \(j=1,\ldots ,n+1,\) \(k=1,\ldots ,p+1\) and \(l=1,\ldots ,q+1\). If \(\overline{x}^{(0)}\) is optimal then the problem \(T_{4C}\) is not solvable. Stop.

b) Improvement of a basic feasible solution for \(T_{4C}(\tilde{M}). \)

Initialization: \(r=1,\) \(\mathbf{\xi {\gt}0}\) is known,

1) Determine \(\overline{x}^{(r)}\) as in Phase 2.

2) If \(\ \bar{x}_{m+1,n+1,p+1,q+1}^{(r)}=\mathbf{\xi ,}\) then \(x^{(r)}=(x_{ijkl}^{(r)})\) with \(i=1,\ldots ,m,\) \(\, j=1,\ldots ,n,\) \(k=1,\ldots ,p,\) and \(l=1,\ldots ,q,\) is an initial basic feasible solution for the problem \((T_{4C}).\) Go to Phase 2.

3) If \(\overline{x}^{(r)}\) is optimal (Phase 2), then the problem \(T_{4C}\) is not solvable. Stop. 4) Do \(r=r+1\, \) and repeat 1),\(\, \) to 3).

Next, we describe the second phase.

Phase 2. (Research of an optimal solution for \(T_{4C})\)

When Phase 2 starts, we know an initial basic feasible solution \(x^{(0)}.\) Take \(r=0\).

a) Determine the set \(I^{(r)}\) of the interesting 4-tuple \((i,j,k,l),\) (see Remark 7).

b) For all \((i,j,k,l)\in I^{(r)}\), solve the linear system

\(u_{i}^{(r)}+v_{j}^{(r)}+w_{k}^{(r)}+t_{l}^{(r)}=c_{ijkl}.\)
c) For all \((i,j,k,l)\notin I^{(r)}\) determine

\(\triangle _{ijkl}^{(r)}=c_{ijkl}-(u_{i}^{(r)}+v_{j}^{(r)}+w_{k}^{(r)}+t_{l}^{(r)}).\)

d) Apply the procedure described in (P4) below.

If the optimality condition holds then the feasible solution \(x^{(r)}\) is optimal. stop.

Else determine a vector \(P_{i_{0}j_{0}k_{0}l_{0}}\) entering at the base, it corresponds to \(\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r)}\).

e) Construct a cycle \(\mu ^{(r)}\) via the procedure described in (P5) and determine a new feasible solution as the procedure (P6) shows.

f) Do \(r=r+1\) and repeat a), to e) until the optimality condition holds.

Remark 6

If there are several elements corresponding to the minimum of \(c_{ijkl}\), we choose one, for instance the first found in the transportation table by going from the left to the right. â–¡

Remark 7

If the feasible solution is degenerate, i.e., the number of columns of \(A_{x}\) is strictly less than \( \operatorname {rank}(A)\), we complete \(A_{x}\) with additional columns so that we obtain a matrix having \(\operatorname {rank}(A)\) linearly independent columns. Next \(I^{(r)}\) can be determined. Thus will be done in the procedure (P7). â–¡

Also, the algorithm makes appeal to the following procedures.

(P1) - Updating of \(\hat{\alpha }_{\bar{i}},\hat{\beta }_{\bar{j}},\hat{\gamma }_{\bar{k}},\) and \(\hat{\delta }_{\bar{l}}\).

1) \(\hat{\alpha }_{\bar{i}}=\hat{\alpha }_{\bar{i}}-x_{\bar{i}\bar{j}\bar{k}\bar{l}},\)

if \(\hat{\alpha }_{\bar{i}}=0\) then take \(x_{\bar{i}jkl}=0\) for all \((j,k,l)\neq (\bar{j},\bar{k},\bar{l})\) and \(b_{\bar{i}jkl}=1\) for all \((j,k,l),\)

2) \(\hat{\beta }_{\bar{j}}=\hat{\beta }_{\bar{j}}-x_{\bar{i}\bar{j}\bar{k}\bar{l}},\)

if \(\hat{\beta }_{\bar{j}}=0\) then take \(x_{i\bar{j}kl}=0\) for all \((i,k,l)\neq (\bar{i},\bar{k},\bar{l})\) and \(b_{i\bar{j}kl}=1\) for all \((i,k,l),\)

3) \(\hat{\gamma }_{\bar{k}}=\hat{\gamma }_{\bar{k}}-x_{\bar{i}\bar{j}\bar{k}\bar{l}},\)

if \(\hat{\gamma }_{\bar{k}}=0\) then take \(x_{ij\bar{k}l}=0\) for all \((i,j,l)\neq (\bar{i},\bar{j},\bar{l})\) and \(b_{ij\bar{k}l}=1\) for all \((i,j,l),\)

4) \(\hat{\delta }_{\bar{l}}=\hat{\delta }_{\bar{l}}-x_{\bar{i}\bar{j}\bar{k}\bar{l}},\)

if \(\hat{\delta }_{\bar{l}}=0\) then take \(x_{ijk\bar{l}}=0\) for all \((i,j,k)\neq (\bar{i},\bar{j},\bar{k})\) and \(b_{ijk\bar{l}}=1\) for all \((i,j,k). \)

(P2) - Determination of \(\mathbf{\xi }\).

\(\begin{array}{c} \mathbf{\xi }=\sum \limits _{i=1}^{m} a_{i}=\sum \limits _{j=1}^{n} b_{j}=\sum \limits _{k=1}^{p} e_{k}=\sum \limits _{l=1}^{q} f_{l},\end{array} \) such that:

\(\begin{array}{l} a_{i}=\alpha _{i}-\sum \limits _{j=1}^{n} \sum \limits _{k=1}^{p} \sum \limits _{l=1}^{q} x_{ijkl}\quad \textrm{with}\quad i=1,...,m, \\ b_{j}=\beta _{j}-\sum \limits _{i=1}^{m} \sum \limits _{k=1}^{p} \sum \limits _{l=1}^{q} x_{ijkl}\quad \textrm{with}\quad \, \, j=1,...,n, \\ e_{k}=\gamma _{k}-\sum \limits _{i=1}^{m} \sum \limits _{j=1}^{n} \sum \limits _{l=1}^{q} x_{ijkl}\quad \textrm{with}\quad k=1,...,p, \\ f_{l}=\delta _{l}-\sum \limits _{i=1}^{m} \sum \limits _{j=1}^{n} \sum \limits _{k=1}^{p} x_{ijkl}\quad \ \textrm{with}\quad l=1,...,q.\end{array}\)

Note that the numbers \(a_{i},\) \(b_{j},\) \(e_{k}\) and \(f_{l}\) are nonnegative.

(P3) - Construction of the problem \(T_{4C}(\tilde{M}).\)

The problem \(T_{4C}(\tilde{M})\) is obtained from problem \(T_{4C}\) by adding four fictitious points with indices \(m+1,\) \(n+1,\) \(p+1,\) and \(q+1\) such that:  \(c_{m+1,n+1,p+1,q+1}=0,\) and  \(c_{m+1,jkl}=c_{i,n+1,kl}=c_{ij,p+1,l}=c_{ijk,q+1}=\tilde{M},\) where \(\tilde{M}\) is a very large number and there are no limitation on the capacities for the paths involving a fictitious point.

(P4) - Determination of a vector \(P_{i_{0}j_{0}k_{0}l_{0}}\) entering at the base or confirming that the feasible solution \(x^{(r)}\) is optimal.

Take \(\Gamma _{0}^{(r)}\) and \(\Gamma _{d}^{(r)}\) as two tables such that

\(\Gamma _{0}^{(r)}=\left\{ \triangle _{ijkl}^{(r)}\textrm{\quad such that\quad }x_{ijkl}^{(r)}=0\right\} ,\)

\(\Gamma _{d}^{(r)}=\left\{ \triangle _{ijkl}^{(r)}\textrm{\quad such that\quad }x_{ijkl}^{(r)}=d_{ijkl}\right\} ,\)

and elements \(\triangle _{ijkl}^{(r)}\) are represented as variables \(x_{ijkl} \) in the transportation table.
By going from the left to the right in \(\Gamma _{0}^{(r)},\) choose
\(\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r)}\) as the first element \(\triangle _{ijkl}^{(r)}{\lt}0\) found\(,\)
if all elements of \(\Gamma _{0}^{(r)}\) are nonnegative then choose in \(\Gamma _{d}^{(r)}\) similarly,

\(\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r)}\) as the first element \(\triangle _{ijkl}^{(r)}{\gt}0\) found.

If all elements of \(\Gamma _{d}^{(r)}\) are non positive, then the feasible solution \(x^{(r)}\) is optimal. Stop.

(P5) - Determination of a cycle.

A cycle \(\mu ^{(r)}\) containing some interesting 4-tuple \((i,j,k,l) \) and the non interesting 4-tuple \((i_{0},j_{0},k_{0},l_{0})\) corresponding to \(\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r)}\) is determined by solving the linear system \(\sum \limits _{(i,j,k,l)\in I^{(r)}}\alpha _{ijkl}^{(r)}P_{ijkl}=-P_{i_{0}j_{0}k_{0}l_{0}}\)
The non null solutions \(\alpha _{ijkl}^{(r)}\) are called coefficients of the cycle \(\mu ^{(r)}\).

(P6) - Determination of a new feasible solution.

Take

\(\sigma ^{(r)}=\left\{ (i,j,k,l)\textrm{ such that }(i,j,k,l)\textrm{ is a case of the cycle }\mu ^{(r)}\right\} \)

\(\sigma ^{(r)-}=\left\{ (i,j,k,l)\textrm{ such that }(i,j,k,l)\in \sigma ^{(r)},\textrm{ with }\alpha _{ijkl}^{(r)}{\lt}0\right\} \)

\(\sigma ^{(r)+}=\left\{ (i,j,k,l)\textrm{ such that }(i,j,k,l)\in \sigma ^{(r)},\textrm{ with }\alpha _{ijkl}^{(r)}{\gt}0\right\} \)

If \(\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r)}\in \Gamma _{0}^{(r)}\), determine

\begin{align*} \theta _{1}^{(r)}& =\min \limits _{(i,j,k,l)\in \sigma ^{(r)-}}\left( \left. x_{ijkl}^{(r)}\right/ -\alpha _{ijkl}^{(r)}\right) , \\ \theta _{2}^{(r)}& =\min \limits _{(i,j,k,l)\in \sigma ^{(r)+}}\left( \left. \big( d_{ijkl}-x_{ijkl}^{(r)}\big) \right/ \alpha _{ijkl}^{(r)}\right) , \\ \theta ^{(r)}& =\min (\theta _{1}^{(r)},\theta _{2}^{(r)}). \end{align*}

Next, take

\[ x^{(r+1)}=\left\{ x_{ijkl\, }^{(r)},\text{\hspace{0.2cm}}(i,j,k,l)\notin \sigma ^{(r)}\right\} \cup \left\{ x_{ijkl\, }^{(r)}+\alpha _{ijkl}^{(r)}\theta ^{(r)},\text{\hspace{0.2cm}}(i,j,k,l)\in \sigma ^{(r)}\right\} . \]

Else \((\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r)}\in \Gamma _{d}^{(r)})\), determine

\begin{align*} \theta _{1}^{(r)}& =\min \limits _{(i,j,k,l)\in \sigma ^{(r)+}}\left( \left. x_{ijkl}^{(r)}\right/ \alpha _{ijkl}^{(r)}\right) , \\ \theta _{2}^{(r)}& =\min \limits _{(i,j,k,l)\in \sigma ^{(r)-}}\left( \left. \big( d_{ijkl}-x_{ijkl}^{(r)}\big) \right/ -\alpha _{ijkl}^{(r)}\right) , \\ \theta ^{(r)}& =\min (\theta _{1}^{(r)},\theta _{2}^{(r)}). \end{align*}

Next, take

\[ x^{(r+1)}=\left\{ x_{ijkl\, }^{(r)},\text{\hspace{0.2cm}}(i,j,k,l)\notin \sigma ^{(r)}\right\} \cup \left\{ x_{ijkl\, }^{(r)}-\alpha _{ijkl}^{(r)}\theta ^{(r)},\text{\hspace{0.2cm}}(i,j,k,l)\in \sigma ^{(r)}\right\} . \]

(P7) - Determination of a set \(I^{(r)}\) in a degenerate case.

1. Take

  • \(E_{b}\) the set of vectors corresponding to variables \(x_{ijkl\, }^{(r)} \) verifying

    \[ 0{\lt}x_{ijkl}^{(r)}{\lt}d_{ijkl} \]

    and \(N_{b}\) is its element number.

  • \(E_{h}\) the set of vectors corresponding to variables \(x_{ijkl\, }^{(r)}\) verifying

    \[ x_{ijkl}^{(r)}=0\textrm{ or }x_{ijkl}^{(r)}=d_{ijkl} \]

    and \(N_{h}\) is its element number. We are \(N_{h}=N-N_{b},\)  with \(N=mnpq.\)

  • \(E_{s}\) any subset with \(s=\operatorname {rank}(A)-N_{b}\) elements of \(E_{h}\), for example the first \(s\) elements in \(E_{h}\) by going from the left to the right in the transportation table.

2. At the beginning of this procedure, we know a subset \( E_{s} \) of \( E_{h} \).

i) If the set\( (E_{s}\cup E_{b}) \) is a free base, then a set \(I^{(r)}\) is determined. Stop.

ii) Replace the first (the second, the third,..., or the \( s^{th}\)) element in \(E_{s}\) by the \((s+1)^{th} \) element in \(E_{h}\), or take any other subset \(E_{s}\) of \(E_{h}\), and repeat i) until a set \(I^{(r)}\) will be determined. Stop.

4.3 The convergence of Algorithm 2

Assume that the problem \(T_{4C}\) is non degenerate. Observe that if \(x^{(r)} \) and \(x^{(r+1)}\) are two successive feasible solutions of the problem \(T_{4C}\) with \(Z^{(r)}\) and \(Z^{(r+1)}\) are respectively the corresponding objective values then

\[ Z^{(r+1)}=Z^{(r)}-(-1)^{\eta }\theta ^{(r)}\triangle _{i_{0}j_{0}k_{0}l_{0}}^{(r+1)} \]

with

\[ \eta =\left\{ \begin{tabular}{l} $1\quad \textrm{ if }\quad x_{i_{0}j_{0}k_{0}l_{0}}^{(r)}=0$, \\ $0\quad \textrm{ if }\quad x_{i_{0}j_{0}k_{0}l_{0}}^{(r)}=d_{i_{0}j_{0}k_{0}l_{0}}$. \end{tabular} \right. \]

So \(\, Z^{(r+1)}{\lt}Z^{(r)}\).
Hence the Algorithm 2 guaranties that the same base never appear in two distinct iterations and since the number of the visited vertices is necessarily finite (at most \(C^{M-3}_N\)), then it converges finitely.

5 Computational results

The implementation of the two algorithms is running on a Pentium IV with a Microsoft Windows Environment, they are totally written with Borland Delphi. Table 1 summarizes the results obtained for a few numerical experiments.

Ex.

Dimension of

Number

Optimal

Time in

no.

the problem

of iterations

value \((Z^{\ast })\)

seconds

   

Alg. 1

Alg. 2

Alg. 1

Alg. 2

Alg. 1

Alg. 2

\(1\)

\( 22 \times 32\)

\( 22 \)

\(6 \)

\(41.6025\)

\(41.6025\)

\(0.078\)

\( 0.016\)

\(2\)

\( 46 \times 72\)

\( 26\)

\(8 \)

\( 1317.79\)

\( 1317.79\)

\( 0.391 \)

\(0.031\)

\(3\)

\( 121 \times 216\)

\( 38\)

\(10\)

\( 369.536\)

\(369.536\)

\( 0.172\)

\(0.078\)

\(4 \)

\( 149 \times 270\)

\( 46\)

\(11\)

\( 22.25\)

\(22.25\)

\(0.282\)

\(0.125\)

\(5 \)

\(167 \times 300\)

\(55\)

\(16\)

\(40\)

\(40\)

\(0.375 \)

\(0.172\)

\(6\)

\( 198 \times 360 \)

\( 67\)

\(17\)

\(10.25\)

\(10.25\)

\(0.609\)

\(0.266\)

\(7\)

\( 257 \times 480 \)

\( 81\)

\(26\)

\(10.4375\)

\(10.4375\)

\(2.281\)

\(0.329\)

\(8\)

\( 318 \times 600 \)

\( 54\)

\(15\)

\(38.75\)

\(38.75\)

\(1.282\)

\(0.485\)

\(9\)

\( 378 \times 720 \)

\(102\)

\(35\)

\(95.0625\)

\(95.0625\)

\(3.609\)

\(0.687\)

\(10\)

\( 469 \times 900 \)

\(178\)

\(55\)

\(11.3125\)

\(11.3125\)

\(6.437\)

\(1.000\)

\(11\)

\( 560 \times 1080 \)

\(257\)

\(83\)

\(46.25\)

\(46.25\)

\(10.438\)

\(1.406\)

\(12\)

\( 741 \times 1440 \)

\(383\)

\(117\)

\(48.75\)

\(48.75\)

\(22.890\)

\(8.672\)

Table 1 Comparison between Algorithm 1 and Algorithm 2.

6 Conclusion and future researches

In this paper, we presented two exact simplicial methods for solving the capacited 4-index transportation problem. The numerical experiments showed that Algorithm 1 is more efficient than Algorithm 8 with respect to the number of iterations and also to the computational time. Moreover, as we have successfully done in some experiments, the arrangements made on Algorithm 1 have appropriately treated the degeneracy problems and led to a considerable reduction of the computational results.

Finally, we point out that our obtained results are independent of the number of indices of the problem, so we can extend Algorithm 1 for solving capacitated transportation problems with the number of indices that are greater than four.

Bibliography

1

G. B. Dantzig, Linear Programming and Extensions, Linear Programming and Extensions, 1963. \includegraphics[scale=0.1]{ext-link.png}

2

G. B. Dantzig, Application of the Simplex Method to a Transportation Problem, Activity Analysis of Production and Allocation. Koopmans, T.C., Ed., John Wiley and Sons, New York, 1951.

3

K. B. Haley, The multi-index transportation problem, Oper. Res., 11 (1963), pp. 368–379. \includegraphics[scale=0.1]{ext-link.png}

4

L.V. Kantorovich and M.K. Gavurin, Application of mathematical methods to problems of analysis of freight flows, Problems of raising the efficiency of transport performance, Moscow-Leningrad, (in Russian), 1949.

5

M.K. Kravtsov, A Counter example to the Hypothesis of Maximum Number of Integer Vertices of the Multi-index Axial Transportation Polyhedron, Discrete Math. Appl., 10 (2000) no. 1, pp. 109–114. \includegraphics[scale=0.1]{ext-link.png}

6

M.K. Kravtsov and E.V. Lukshin, On the non-integer polyhedron vertices of the three-index axial transportation problem, Autom. Remote Control, 65 (2004) no. 3, pp. 422–430. \includegraphics[scale=0.1]{ext-link.png}

7

M. Queyranne and F. C. R. Spieksma, Approximation algorithms for multi-index transportation problems with decomposable costs, Discrete Appl. Math., 76 (1997), pp. 239–253. \includegraphics[scale=0.1]{ext-link.png}

8

R.R.K. Sharma and Saumya Prasad, Obtaining a good primal solution to the uncapacitated transportation problem, European J. Oper. Res., 144 (2003), pp. 560–564. \includegraphics[scale=0.1]{ext-link.png}

9

Tuyet-Hoa Pham and Philippe Dott, An exact method for solving the four index transportation problem and industrial application, American Journal of Operational Research, 3 (2013) no. 2, pp. 28–44. \includegraphics[scale=0.1]{ext-link.png}

10

R. Zitouni and A. Keraghel, Resolution of a capacitated transportation problem with four subscripts, Kybernetes, (Emerald journals), 32 (2003) no. 9/10, pp. 1450–1463. \includegraphics[scale=0.1]{ext-link.png}

11

R. Zitouni and A. Keraghel, A note on the algorithm of resolution of a capacitated transportation problem with four subscripts, Far East Journal of Mathematical Sciences (FJMS), 26 (2007) no. 3, pp. 769–778. \includegraphics[scale=0.1]{ext-link.png}

12

R. Zitouni, A. Keraghel and D. Benterki, Elaboration and implementation of an algorithm solving a capacitated four-index transportation problem, Appl. Math. Sci. (Ruse), 1 (2007) no. 53, pp. 2643–2657. \includegraphics[scale=0.1]{ext-link.png}

13

R. Zitouni, Etude qualitative de modèles de transport et localisation, Thèse de Doctorat d’état, Université ferhat Abbas-Sétif 1, Sétif, Algérie. 2007.