Skip to main content
Log in

Heuristic algorithms for the problem of integer balancing of a three-dimensional matrix with constraints of the second type

  • Published:
Automatic Control and Computer Sciences Aims and scope Submit manuscript

Abstract

The problem of integer balancing of a three-dimensional matrix with constraints of the 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 an element with three zero indices should be produced with standard rounding-off rules. Heuristic algorithms for this problem are suggested: layering algorithm obtained as a generalization of a similar algorithm for the problem with constraints of the first type and a new matrix algorithm. The latter consists of three parts: search for the basic matrix, search for the maximum matrix, and matrix correction. Each of them is a cyclic change of the integer matrix using from one to three 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. The comparative analysis of matrix algorithms based on the results of computing experiments is adduced.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. Roublev, V.S. and Smirnov, A.V., NP-completeness of the integer balancing problem for a three-dimensional matrix, Dokl. Math., 2010, vol. 82, no. 3, p. 912–914.

    Article  MathSciNet  MATH  Google Scholar 

  2. Roublev, V.S. and Smirnov, A.V., The problem of integer-valued balancing of a three-dimensional matrix and algorithms of its solution, Model. Anal. Inf. Sist., 2010, vol. 17, no. 2, p. 72–98.

    Google Scholar 

  3. Smirnov, A.V., The problem of integer-valued balancing of a three-dimensional matrix and network model, Model. Anal. Inf. Sist., 2009, vol. 16, no. 3, p. 70–76.

    Google Scholar 

  4. Smirnov, A.V., Some solvability classes for the problem of integer balancing of a three-dimensional matrix with constraints of second type, Model. Anal. Inf. Sist., 2013, vol. 20, no. 2, p. 54–69.

    Google Scholar 

  5. Smirnov, A.V., The problem of integer balancing of a three-dimensional matrix with constraints of the second type, Proc. Int. Conf. Modeling and Analysis of Inf. Sist., Yaroslavl, 2012, p. 164–167.

    Google Scholar 

  6. Rublev, V.S. and Smirnov, A.V., Flows in multiple networks, Yarosl. Pedagog. Vestn., 2011, vol. 3, no. 2, p. 60–68.

    Google Scholar 

  7. Kondakov, A.S. and Roublev, V.S., The problem of balancing of a matrix plan, Proc. Odessa Seminar on Discrete Mathematics, Odessa, 2005, no. 2, p. 24–26.

    Google Scholar 

  8. Korshunova, N.M. and Roublev, V.S., The problem of integer balancing of a matrix, Sovrem. Probl. Mat. Inf., Yaroslavl, 2000, no. 3, p. 145–150.

    Google Scholar 

  9. Ford, L.R. and Fulkerson, D.R., Flows in Networks, Princeton University Press, 1962.

    Google Scholar 

  10. Roublev, V.S. and Smirnov, A.V., The problem of optimal rounding-off of the plan of currency accounts, Proc. IX Int. Conf. Cybernetics and High Technologies of the 21st Century, Voronezh, 2008, vol. 1, p. 112–123.

    Google Scholar 

  11. Mikhaylov, G.A. and Voytishek, A.V., Chislennoe statisticheskoe modelirovanie. Metody Monte-Karlo (Numerical Statistical Simulation. Monte Carlo Methods), Moscow: Akademiya, 2006.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to A. V. Smirnov.

Additional information

Published in Russian in Modelirovanie i Analiz Informatsionnykh Sistem, 2014, No. 4, pp. 132–147.

The article was translated by the authors.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Smirnov, A.V. Heuristic algorithms for the problem of integer balancing of a three-dimensional matrix with constraints of the second type. Aut. Control Comp. Sci. 49, 473–483 (2015). https://doi.org/10.3103/S0146411615070196

Download citation

  • Received:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.3103/S0146411615070196

Keywords

Navigation