<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="ru"><front><journal-meta><journal-id journal-id-type="publisher-id">mais</journal-id><journal-title-group><journal-title xml:lang="ru">Моделирование и анализ информационных систем</journal-title><trans-title-group xml:lang="en"><trans-title>Modeling and Analysis of Information Systems</trans-title></trans-title-group></journal-title-group><issn pub-type="ppub">1818-1015</issn><issn pub-type="epub">2313-5417</issn><publisher><publisher-name>Yaroslavl State University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.18255/1818-1015-2014-4-132-147</article-id><article-id custom-type="elpub" pub-id-type="custom">mais-104</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>Оригинальные статьи</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>Articles</subject></subj-group></article-categories><title-group><article-title>Эвристические алгоритмы для задачи целочисленного сбалансирования трехмерной матрицы с ограничениями второго рода</article-title><trans-title-group xml:lang="en"><trans-title>Heuristic Algorithms for The Problem of Integer Balancing of a Three-dimensional Matrix with Constraints of Second Type</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Смирнов</surname><given-names>Александр Валерьевич</given-names></name><name name-style="western" xml:lang="en"><surname>Smirnov</surname><given-names>A. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p>канд. физ.-мат. наук, доцент кафедры теоретической информатики, 150000 Россия, г. Ярославль, ул. Советская, 14</p></bio><bio xml:lang="en"><p>канд. физ.-мат. наук, доцент кафедры теоретической информатики, Sovetskaya str., 14, Yaroslavl, 150000, Russia</p></bio><email xlink:type="simple">alexander_sm@mail.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Ярославский государственный университет им. П.Г. Демидова</institution><country>Россия</country></aff><aff xml:lang="en"><institution>P.G. Demidov Yaroslavl State University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2014</year></pub-date><pub-date pub-type="epub"><day>20</day><month>08</month><year>2014</year></pub-date><volume>21</volume><issue>4</issue><fpage>132</fpage><lpage>147</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Смирнов А.В., 2014</copyright-statement><copyright-year>2014</copyright-year><copyright-holder xml:lang="ru">Смирнов А.В.</copyright-holder><copyright-holder xml:lang="en">Smirnov A.V.</copyright-holder><license xml:lang="ru" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>Данная работа распространяется под лицензией Creative Commons Attribution 4.0.</license-p></license><license xml:lang="en" license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.mais-journal.ru/jour/article/view/104">https://www.mais-journal.ru/jour/article/view/104</self-uri><abstract><p>Рассматривается задача целочисленного сбалансирования с ограничениями второго рода. В вещественной трехмерной матрице элементы внутренней части (все три индекса больше нуля) просуммированы по каждому направлению и сечению матрицы, а также найдена общая сумма. Данные суммы размещаются в элементах матрицы, у которых один или несколько индексов равны нулю (в соответствии с направлениями суммирования). Ищется целочисленная матрица той же структуры, получаемая из исходной заменой элементов внутренней части на округления до целого сверху или целого снизу. При этом суммирующие элементы должны отклоняться от исходных менее чем на 2, а элемент с тремя нулевыми индексами получается по обычным правилам округления.</p><p>В статье разрабатываются эвристические алгоритмы решения задачи. Послойный алгоритм получается как обобщение соответствующего алгоритма для задачи с ограничениями первого рода. Предлагается новый матричный алгоритм, состоящий из трех частей: поиск базовой матрицы, поиск максимальной матрицы и коррекция матрицы. На всех шагах циклически проводятся изменения целочисленной матрицы, затрагивающие от 1 до 3 элементов внутренней части. Определяется модифицированный матричный алгоритм, направленный на более равномерное заполнение внутренней части целочисленной матрицы.</p><p>Также в статье оценивается сложность всех трех алгоритмов и приводится сравнительный анализ матричных алгоритмов на основе результатов вычислительных экспериментов.</p></abstract><trans-abstract xml:lang="en"><p>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.</p></trans-abstract><kwd-group xml:lang="ru"><kwd>целочисленное сбалансирование</kwd><kwd>трехмерные матрицы</kwd><kwd>ограничения второго рода</kwd><kwd>кратные сети</kwd><kwd>кратные потоки</kwd><kwd>обобщенный алгоритм пометок</kwd><kwd>послойный алгоритм</kwd><kwd>матричный алгоритм</kwd></kwd-group><kwd-group xml:lang="en"><kwd>integer balancing</kwd><kwd>three-dimensional matrices</kwd><kwd>constraints of second type</kwd><kwd>multiple networks</kwd><kwd>multiple flows</kwd><kwd>generalized labeling algorithm</kwd><kwd>layering algorithm</kwd><kwd>matrix algorithm</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Рублев В.С., Смирнов А.В. NP-полнота задачи целочисленного сбалансирования трехмерной матрицы // ДАН. 2010. Т. 435, №3. С. 314–316 (English transl.: Roublev V.S., Smirnov A.V. NP-Completeness of the Integer Balancing Problem for a Three-Dimensional Matrix // Doklady Mathematics. 2010. Vol. 82, №3. P. 912–914).</mixed-citation><mixed-citation xml:lang="en">Рублев В.С., Смирнов А.В. NP-полнота задачи целочисленного сбалансирования трехмерной матрицы // ДАН. 2010. Т. 435, №3. С. 314–316 (English transl.: Roublev V.S., Smirnov A.V. NP-Completeness of the Integer Balancing Problem for a Three-Dimensional Matrix // Doklady Mathematics. 2010. Vol. 82, №3. P. 912–914).</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Рублев В.С., Смирнов А.В. Задача целочисленного сбалансирования трехмерной матрицы и алгоритмы ее решения // Моделирование и анализ информационных систем. 2010. Т. 17, №2. С. 72–98 (Roublev V.S., Smirnov A.V. The Problem of Integer-Valued Balancing of a Three-Dimensional Matrix and Algorithms of Its Solution // MAIS. 2010. V. 17, №2. P. 72–98 [in Russian]).</mixed-citation><mixed-citation xml:lang="en">Рублев В.С., Смирнов А.В. Задача целочисленного сбалансирования трехмерной матрицы и алгоритмы ее решения // Моделирование и анализ информационных систем. 2010. Т. 17, №2. С. 72–98 (Roublev V.S., Smirnov A.V. The Problem of Integer-Valued Balancing of a Three-Dimensional Matrix and Algorithms of Its Solution // MAIS. 2010. V. 17, №2. P. 72–98 [in Russian]).</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Смирнов А.В. Задача целочисленного сбалансирования трехмерной матрицы и сетевая модель // Моделирование и анализ информационных систем. 2009. Т. 16, №3. С. 70–76 (Smirnov A.V. The Problem of Integer-valued Balancing of a Three-dimensional Matrix and Network Model // MAIS. 2010. V. 16, №3. P. 70–76 [in Russian]).</mixed-citation><mixed-citation xml:lang="en">Смирнов А.В. Задача целочисленного сбалансирования трехмерной матрицы и сетевая модель // Моделирование и анализ информационных систем. 2009. Т. 16, №3. С. 70–76 (Smirnov A.V. The Problem of Integer-valued Balancing of a Three-dimensional Matrix and Network Model // MAIS. 2010. V. 16, №3. P. 70–76 [in Russian]).</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Смирнов А.В. Некоторые классы разрешимости задачи целочисленного сбалансирования трехмерной матрицы с ограничениями второго рода // Моделирование и анализ информационных систем. 2013. Т. 20, №2. С. 54–69 (Smirnov A.V. Some Solvability Classes for The Problem of Integer Balancing of a Three-dimensional Matrix with Constraints of Second Type // MAIS. 2013. V. 20, №2. P. 54–69 [in Russian]).</mixed-citation><mixed-citation xml:lang="en">Смирнов А.В. Некоторые классы разрешимости задачи целочисленного сбалансирования трехмерной матрицы с ограничениями второго рода // Моделирование и анализ информационных систем. 2013. Т. 20, №2. С. 54–69 (Smirnov A.V. Some Solvability Classes for The Problem of Integer Balancing of a Three-dimensional Matrix with Constraints of Second Type // MAIS. 2013. V. 20, №2. P. 54–69 [in Russian]).</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Смирнов А.В. Задача целочисленного сбалансирования трехмерной матрицы с ограничениями второго рода // Моделирование и анализ информационных систем: Труды международной научной конференции, посвященной 35-летию математического факультета и 25-летию факультета информатики и вычислительной техники Ярославского государственного университета им. П.Г. Демидова. Ярославль, 2012. C. 164–167 [Smirnov A.V. Zadacha tselochislennogo sbalansirovaniya tryokhmernoy matritsy s ogranicheniyami vtorogo roda // Modelirovanie i analiz informatsionnykh sistem: Trudy mezhdunarodnoy nauchnoy konferentsii, posvyashchyonnoy 35-letiyu matematicheskogo fakulteta i 25-letiyu fakulteta informatiki i vychislitelnoy tekhniki Yaroslavskogo gosudarstvennogo universiteta im. P. G. Demidova. Yaroslavl, 2012. S. 164–167 (in Russian)].</mixed-citation><mixed-citation xml:lang="en">Смирнов А.В. Задача целочисленного сбалансирования трехмерной матрицы с ограничениями второго рода // Моделирование и анализ информационных систем: Труды международной научной конференции, посвященной 35-летию математического факультета и 25-летию факультета информатики и вычислительной техники Ярославского государственного университета им. П.Г. Демидова. Ярославль, 2012. C. 164–167 [Smirnov A.V. Zadacha tselochislennogo sbalansirovaniya tryokhmernoy matritsy s ogranicheniyami vtorogo roda // Modelirovanie i analiz informatsionnykh sistem: Trudy mezhdunarodnoy nauchnoy konferentsii, posvyashchyonnoy 35-letiyu matematicheskogo fakulteta i 25-letiyu fakulteta informatiki i vychislitelnoy tekhniki Yaroslavskogo gosudarstvennogo universiteta im. P. G. Demidova. Yaroslavl, 2012. S. 164–167 (in Russian)].</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Рублев В. С., Смирнов А. В. Потоки в кратных сетях // Ярославский педагогический вестник. 2011. Т. 3, №2. С. 60–68 (Rublev V.S., Smirnov A.V. Flows in Multiple Networks // Yaroslavsky Pedagogichesky Vestnik. 2011. V. 3, №2. P. 60–68 [in Russian]).</mixed-citation><mixed-citation xml:lang="en">Рублев В. С., Смирнов А. В. Потоки в кратных сетях // Ярославский педагогический вестник. 2011. Т. 3, №2. С. 60–68 (Rublev V.S., Smirnov A.V. Flows in Multiple Networks // Yaroslavsky Pedagogichesky Vestnik. 2011. V. 3, №2. P. 60–68 [in Russian]).</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Кондаков А.С., Рублев В.С. Задача сбалансирования матрицы плана // Доклады Одесского семинара по дискретной математике. Одесса: Астропринт, 2005. Вып. 2. С. 24–26 [Kondakov A.S., Roublev V.S. Zadacha sbalansirovaniya matritsy plana // Doklady Odesskogo seminara po diskretnoy matematike. Odessa: Astroprint, 2005. №2. S. 24–26 (in Russian)].</mixed-citation><mixed-citation xml:lang="en">Кондаков А.С., Рублев В.С. Задача сбалансирования матрицы плана // Доклады Одесского семинара по дискретной математике. Одесса: Астропринт, 2005. Вып. 2. С. 24–26 [Kondakov A.S., Roublev V.S. Zadacha sbalansirovaniya matritsy plana // Doklady Odesskogo seminara po diskretnoy matematike. Odessa: Astroprint, 2005. №2. S. 24–26 (in Russian)].</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Коршунова Н.М., Рублев В.С. Задача целочисленного сбалансирования матрицы // Современные проблемы математики и информатики. Ярославль, 2000. Вып. 3. С. 145–150 [Korshunova N.M., Roublev V.S. Zadacha tselochislennogo sbalansirovaniya matritsy // Sovremennye problemy matematiki i informatiki. Yaroslavl, 2000. №3. S. 145–150 (in Russian)].</mixed-citation><mixed-citation xml:lang="en">Коршунова Н.М., Рублев В.С. Задача целочисленного сбалансирования матрицы // Современные проблемы математики и информатики. Ярославль, 2000. Вып. 3. С. 145–150 [Korshunova N.M., Roublev V.S. Zadacha tselochislennogo sbalansirovaniya matritsy // Sovremennye problemy matematiki i informatiki. Yaroslavl, 2000. №3. S. 145–150 (in Russian)].</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Форд Л.Р., Фалкерсон Д.Р. Потоки в сетях. М.: Мир, 1966. 276 с. (Ford L.R., Fulkerson D.R. Flows in Networks. Princeton University Press, 1962. 194 p.).</mixed-citation><mixed-citation xml:lang="en">Форд Л.Р., Фалкерсон Д.Р. Потоки в сетях. М.: Мир, 1966. 276 с. (Ford L.R., Fulkerson D.R. Flows in Networks. Princeton University Press, 1962. 194 p.).</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Рублев В.С., Смирнов А.В. Задача оптимального округления плана валютных счетов // Кибернетика и высокие технологии XXI века. Воронеж: НПФ «Саквоее», 2008. Т. 1. С. 112–123 [Roublev V.S., Smirnov A.V. Zadacha optimalnogo okrugleniya plana valyutnykh schetov // Kibernetika i vysokie tekhnologii XXI veka. Voronezh: NPF “SAKVOEE”, 2008. V. 1. S. 112–123 (in Russian)].</mixed-citation><mixed-citation xml:lang="en">Рублев В.С., Смирнов А.В. Задача оптимального округления плана валютных счетов // Кибернетика и высокие технологии XXI века. Воронеж: НПФ «Саквоее», 2008. Т. 1. С. 112–123 [Roublev V.S., Smirnov A.V. Zadacha optimalnogo okrugleniya plana valyutnykh schetov // Kibernetika i vysokie tekhnologii XXI veka. Voronezh: NPF “SAKVOEE”, 2008. V. 1. S. 112–123 (in Russian)].</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Михайлов Г.А., Войтишек А.В. Численное статистическое моделирование. Методы Монте-Карло. М.: Академия, 2006. 368 c. (Mikhaylov G.A., Voytishek A.V. Chislennoe statisticheskoe modelirovanie. Metody Monte-Karlo. M.: Akademiya, 2006. 368 s. (in Russian)].</mixed-citation><mixed-citation xml:lang="en">Михайлов Г.А., Войтишек А.В. Численное статистическое моделирование. Методы Монте-Карло. М.: Академия, 2006. 368 c. (Mikhaylov G.A., Voytishek A.V. Chislennoe statisticheskoe modelirovanie. Metody Monte-Karlo. M.: Akademiya, 2006. 368 s. (in Russian)].</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
