Heuristic Algorithms for The Problem of Integer Balancing of a Three-dimensional Matrix with Constraints of Second Type
A. V. Smirnov
P. G. Demidov Yaroslavl State University, Sovetskaya str., 14, Yaroslavl, 150000, Russia
The problem of integer balancing of a three-dimensional matrix with constraints of second type is studied. The elements of the inner part (all three indices are greater than zero) of the three-dimensional matrix are summed in each direction and each section of the matrix; the total sum is also found. These sums are placed into the elements where one or more indices are equal to zero (according to the summing directions). The problem is to find an integer matrix of the same structure, which can be produced from the initial one by replacing the elements of the inner part with the largest previous or the smallest following integer. At the same time, variations of the sums of elements from those in the initial matrix should be less than 2 and the element with three zero indices should be produced with standard rules of rounding-off. Heuristic algorithms for this problem are suggested in the article: layering algorithm being got as generalization of a similar algorithm for the problem with constraints of first type and a new matrix algorithm. The last one consists of three parts: search for the base matrix, search for the maximal matrix and matrix correcting. Each of them is a cyclic change of the integer matrix using from 1 to 3 elements from the inner part. A modification of the matrix algorithm is suggested. The algorithm is directed to more uniform filling of the inner part of the integer matrix. Also, the complexity of all three algorithms is estimated in the article. The comparative analysis of matrix algorithms based on the results of computing experiments is adduced.
integer balancing, three-dimensional matrices, constraints of second type, multiple networks, multiple flows, generalized labeling algorithm, layering algorithm, matrix algorithm.
PDF file (400 kB)
A. V. Smirnov, “Heuristic Algorithms for The Problem of Integer Balancing of a Three-dimensional Matrix with Constraints of Second Type”, Model. Anal. Inform. Sist., 21:4 (2014), 132–147
Citation in format AMSBIB
\paper Heuristic Algorithms for The Problem of Integer Balancing of a Three-dimensional Matrix with Constraints of Second Type
\jour Model. Anal. Inform. Sist.
Citing articles on Google Scholar:
Related articles on Google Scholar:
|Number of views:|