Научная статья на тему 'Global search method for solving Malfatti’s four-circle problem'

Global search method for solving Malfatti’s four-circle problem Текст научной статьи по специальности «Математика»

CC BY
156
24
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
MALFATTI'S PROBLEM / TRIANGLE SET / КРУГ / CIRCLE / ГЛОБАЛЬНАЯ ОПТИМИЗАЦИЯ / GLOBAL OPTIMIZATION / АЛГОРИТМ / ALGORITHM / УСЛОВИЯ ОПТИМАЛЬНОСТИ / OPTIMALITY CONDITIONS / ЗАДАЧА МАЛЬФАТТИ / ТРЕУГОЛЬНИК

Аннотация научной статьи по математике, автор научной работы — Enkhbat Rentsen, Barkova Maria

We consider Malfatti’s problem formulated 200 years ago. In the beginning, Malfatti’s problem was supposed to be solved in a geometric construction way. In 1994, it was done by Zalgaller and Los for the original Malfatti’s problem using so-called greedy algorithm. There is still a conjecture about solving Malfatti’s problem for more than four circles by the greedy algorithm. We generalize Malfatti’s problem formulated for the case of three circles inscribed in a triangle for four circles. We examine six cases for inscribed circles in a triangle. The problem has been formulated as the convex maximization problem over a nonconvex set. Global optimality conditions by Strekalovsky have been applied to this problem. For solving numerically Malfatti’s problem, we propose an algorithm which converges globally. Subproblems of the proposed algorithm were quadratic programming problems with quadratic constraints. These problem can be solved by Lagrangian methods. For a computational purpose, we consider a triangle with given vertices. Some computational results are provided.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Global search method for solving Malfatti’s four-circle problem»



Серия «Математика»

2016. Т. 15. С. 38—49

Онлайн-доступ к журналу: http://isu.ru/izvestia

УДК 519.853 MSC 90C26

Global search method for solving Malfatti's four-circle problem

R. Enkhbat

Institute of Mathematics, National University of Mongolia

M. Barkova

Matrosov Institute for System Dynamics and Control Theory, SB of RAS

Abstract. We consider Malfatti's problem formulated 200 years ago. In the beginning, Malfatti's problem was supposed to be solved in a geometric construction way. In 1994, it was done by Zalgaller and Los for the original Malfatti's problem using so-called greedy algorithm. There is still a conjecture about solving Malfatti's problem for more than four circles by the greedy algorithm. We generalize Malfatti's problem formulated for the case of three circles inscribed in a triangle for four circles. We examine six cases for inscribed circles in a triangle. The problem has been formulated as the convex maximization problem over a nonconvex set. Global optimality conditions by Strekalovsky have been applied to this problem. For solving numerically Malfatti's problem, we propose an algorithm which converges globally. Subproblems of the proposed algorithm were quadratic programming problems with quadratic constraints. These problem can be solved by Lagrangian methods. For a computational purpose, we consider a triangle with given vertices. Some computational results are provided.

Keywords: Malfatti's problem, triangle set, circle, global optimization, algorithm, optimality conditions.

In 1803 Italian mathematician Malfatti posed the following problem: how to pack three non-overlapping circles of maximum total area in a given triangle? We call this problem as three-circle problem.

Malfatti originally assumed that the solution to this problem are three circles inscribed in a triangle such that each circle tangent to other two and touches two sides of the triangle.

1. Introduction

Now it is well known that Malfatti's solution is not optimal. There are works devoted to solving Malfatti's problem[2, 5-12]. The most common methods used for finding the best solutions to Malfatti's problem were algebraic and geometric approaches. In 1994 Zalgaller and Los [6] showed that the greedy arrangement is the best one. Based on trigonometric equations and inequalities, using so called rigit systems they did attempt to find the best solution to Malfatti's problem. In this paper, we generalize Malfatti's problem for the case of four circles inscribed in a triangle. The paper is organized as follows. In section 2, we formulate Malfatti's problem as the convex maximization problem. Global optimality conditions for Malfatti's problem are given in Section 3. In section 4 computational results are provided.

2. Malfatti's Problem and Convex Maximization

In order to generalize Malfatti's problem as an optimization problem, we need to do following steps.

First, we equivalently formulate the problem in terms of convex sets such as a circle and a triangle set. Secondly, we characterize inscribed conditions of circles into a triangle set. For this purpose, we introduce the following sets. Denote by B(x, z) a circle with a center x e R2 and a radius z e R :

B(x,z) = {y £ R2|||y - x\\<z}. (2.1)

A bounded and closed triangle set D C R2 is given by

D = {x e R2|a,x) < bi,ai e R2,bi e R,i = 1,2,3}, (2.2)

here (,) denotes the scalar product of two vectors in R2, and || • || is Euclidean norm, ai ^ aj, i = j; i,j = 1, 2, 3.

Theorem 1. B(x,z) C D if and only if

(ai,x) + zUc/KbiJ = 1,2,3. (2.3)

Proof.

Necessity. Let y e B(x,z) and y e D. A point y e B(x,z) can be easily

presented as y = x + zh,h e R2, ||h|| < 1. Condition y e D follows

that (ai,y) < bi,i = 1,2,3 or equivalently, (ai,x) + z(ai,h) < b,,,i =

1,2,3, yh e R2. Hence, we have

(aai, x) + z max (ai, h) < bi ,i = 1,2,3 M<ix

or

{a\x) + z{a\^)<bt,i = 1,2,3, which yield

{ai,x) + zW^W <bi,i = 1,2,3.

Sufficiency. Let condition (2.3) be held and on the contrary, assume that there exists y G B(x,z) such that y G D. Clearly, there exists h G R2 so that y = x + zh, ||h|| < 1. Since y G D, there exists j G {1,2,3} for which

{aj ,y) > bj or {aj ,x + zh) = {aj ,x) + z{aj ,h) > bj.

On the other hand, we have (a^, x)+z\\aJ:|| > bj which contradicts (2.3). □

Now we formulate inscribed conditions of four circles into a triangle set. There are 6 main cases:

Case 1. Four circles are mutually tangent to each other.

Case 2. Three circles are mutually tangent to each other and fourth circle

is tangent to two of them.

Case 3. Three circles are mutually tangent to each other and fourth circle is tangent to one of them.

Case 4. One of the circles is tangent to two of them while fourth circle is tangent to one of them.

Case 5. In addition to case 4, centers of 4 circles lie on the same line. Case 6. In addition to case 4, centers of only 3 circles lie on the same line.

Denote by c1(xi,x2), c2(x3,x4), c3(x5,xe) and c4(x7,xs) centers of four circles inscribed in a triangle set D given by (2.2). Let r1, r2, r3 and r4 be their corresponding radii.

Now we are ready to formulate Malfatti's generalized problem for Case 1.

max f = ^(r2 + r2 + r2 + r|), (2.4)

{ai ,cj ) + rj Wai W <bi, i = 1, 2, 3; j = 1, 2, 3, 4; (2.5)

W^ - W2 = (ri + rj )2, i = j ; i,j = 1, 2, 3, 4; (2.6)

ri > 0,r2 > 0, r3 > 0,r4 > 0. (2.7)

The function f in (2.4) denotes a total area of the four circles. Conditions (2.5) - (2.7) characterize inscribed conditions of four circles into a triangle set while conditions (2.6) correspond to Case 1. We can easily see that conditions (2.5),(2.7) and (2.6)for i = 2; j = 4 with

Wc4 - c3 W2 > (r3 + r4)2, (2.8)

describe Case 2. Case 3 is defined by conditions (2.5),(2.7) and (2.6) for i = 2; j = 4 with

Wc4 - c3 W2 > (r3 + r4)2, Wc2 - c4 W2 > (r2 + r4)2.

Case 4 is defined by conditions (2.5),(2.7) and (2.6) for i = 1; j = 3 with

lie3 - c1 II2 > (n + rs)2, ||C4 - c2 II2 > (r4 + r2)2, ||c4 - c11|2 > (n + ri)2.

Case 5 is defined by conditions (2.5),(2.7) and (2.6) for i = 2; j = 3,4 with

||c3 - c1!2 = (ri + 2r2 + rs)2, |c4 - c2||2 = (r2 + 2rs + r4)2, ||c4 - c1|2 = (r1 + 2r2 + 2r3 + r4)2.

Case 6 is defined by conditions (2.5),(2.7) and (2.6) for i = 2; j = 4 with

||c4 - c11|2 > (r4 + r1)2, ||c4 - c21|2 > (r4 + r2)2, ||c4 - c31|2 > (r4 + r3)2.

Denote by Si, i = 1,6 sets defined by conditions corresponding to cases 1-6, respectively. The sets Si, i = 1,6 are nonconvex compact sets. Thus, problem (2.4) - (2.7) becomes the convex maximization problem over a nonconvex set. A stationary point of this problem satisfies a system of 33 equations and inequalities with 24 variables including Lagrange multipliers.

3. Global Optimality Conditions and Algorithm

In previous section, we note that the solution to Malfatti's problem is:

f * = maximax f, max f, max f, max f, max f, max f }. xeSi xeS2 xeS3 xes± xes6 xes6 Let us consider again these problems

max f,Si C R12, (3.1)

where x = {x\,x2,... ,x8, ri,r2, r3, r4) e Si, i = 1,6.

Problems (3.1) belong to a class of concave programming or equivalently, convex maximization problem.

Global Optimality conditions for the convex maximization problem first formulated by Strekalovsky, A.S. in 1987 [4]. Now we apply this result to problem (3.1) which is the following:

Theorem 2. [4] Let z £ Si satisfy f'(z) = 0, then z is a solution to

problem (3.1) if and only if

(f '(y),x - y) < 0 for all y £ Ef(z)(f) and x £ Si,

where Ec(f) = {y £ М12|/(y) = c} is the level set of f at c and f'(y) is the gradient of f at y.

Before presenting an algorithm for solving problem (3.1) it is useful to restate Theorem 2 in a convenient way via the function ©(z) defined for z £ Si:

©(z) = max n(y),

( ) veEf(z)(f) (y)'

where n(y) = max(f'(y),x — y).

It has been shown in [1] that the function n(y) is continuous and differen-tiable in directions. Since f is strongly convex, the set Ef (z)(f) is compact. Thus, ©(z) < We note that n(y) < ©(z) for all y £ Ef(z)(f).

Theorem 3. Let z £ Si .satisfy f'(z) = 0, if ©(z) = 0 then z is a global solution to problem (3.1).

Proof. follows from the following inequalities: if'(y),x — y) < n(y) = max(f'(y),x — y) < ©(z) = 0

xGSi

which hold for all x £ Si and у £ Ef^(f). □

Now we apply the Algorithm MAX in [1] to solve problem (3.1) numerically.

Algorithm MAX

Step 1. Choose a point x0 £ Si such that f '(x0) = 0. Set k := 0.

Step 2. Solve the problem max n(y).

yeEf (Xk )(f)

Let yk be a solution to this problem, i.e.

n(yk )= max max(f'(y),x — y).

y£Ef(xk)(f)

Let ©(xk) := n(yk), and let xk+1 be a solution satisfying

n(yk ) = (f '(yk ),xk+1 — yk).

Step 3. If ©(xk) = 0 then stop, and xk is a global solution. Otherwise, set k = k + 1 and return to Step 2.

The convergence of the Algorithm is given by the following theorem.

Theorem 4. [1] The sequence{xk,k = 1,2,...} generated by Algrorithm MAX is a maximizing sequence for problem (3.1),that is,

lim f (xk) = max f (x),

and every accumulation point of the sequence {xk, k = 1,2,...} is a global maximizer of the problem.

4. Computational Results

Algorithm MAX starts with an arbitrary local maximizer xk found by fmincon in Matlab. Note that in numerical experiments we solved subproblem max n(y) at each iterations k = 1,2,..., as problems with the

veEf (xk)(/)

single equality constraint by the set covering method [3] while problems maxf'(yk),x — yk) have been solved by Lagrangian method. For a test

purpose, the triangle with vertices A(0,0),B(3,4) and C(8,6) has been considered. As we can see in Section 2 that solving Malfatti's problem consisted of six main cases. Then this problem is the following for Case 1:

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

max f = n(rf + rf + rf + rf) (4.1)

—4xi + 3x2 + 5ri < 0, 3xi — 4x2 + 5r1 < 0, -2xi + 5a;2 + y/29n < 14, —4x3 + 3x4 + 5r2 < 0, 3x3 — 4x4 + 5r2 < 0, —2xs + 5x4 + V29r2 < 14, —4x5 + 3x6 + 5r3 < 0, 3x5 — 4x6 + 5r3 < 0, —2x5 + 5x6 + V29r3 < 14, —4x7 + 3x8 + 5r4 < 0, 3x7 — 4x8 + 5r4 < 0, —2a;7 + bx% + r4 < 14, (x3 — xi)2 + (x4 — x2)2 — (ri + r2)2 = 0, (x5 — xi)2 + (x6 — x2)2 — (ri + r3)2 = 0, (x5 — x3)2 + (x6 — x4)2 — (r2 + r3)2 = 0, (x7 — xi)2 + (xg — x2)2 — (ri + r4)2 = 0,

(x7 — x3)2 + (xg — x4)2 — (r2 + r4)2 = 0, (x7 — x5)2 + (xg — x6)2 — (r3 + r4)2 = 0,

ri > 0,r2 > 0, r3 > 0,r4 > 0. (4.2)

Similarly, we solve the problems:

max f = n(r2 + r| + r| + r|),

subject to x G Si C M12, i = 276.

The performance of the proposed algorithm was tested on six cases of Malfatti's problem. The programming code for the algorithm was written in Matlab and run on a computer Pentium Core 2. The results are given for each case in Table 1.

Table 1

Numerical results

Case Initial local value Global value Computational time(min:sec)

Case 1 1.7727 2.4584 2:28

Case 2 1.8837 2.8062 2:06

Case 3 1.7538 3.2650 1:49

Case 4 2.1941 3.7104 2:19

Case 5 2.1083 3.0629 2:58

Case 6 2.9544 3.6689 1:55

The global solution to Malfatti's problem (4.1) — (4.2) corresponding to Case 4 was f * = 3.7104 and the centers of the circles were: (x\,x*) = (5.3057, 4.4858), (x3,x*) = (4.4925, 4.0288), (x5,x*) = (3.4339, 3.4339), (x7,x*) = (2.5830, 2.5830).

During computational process, local and stationary points were examined by Algorithm MAX. Geometric pictures showing global solutions of six cases are given in Figures 1-6.

Conclusion

200 years old Malfatti's problem has been generalized for four-circle case. The problem was reduced to the convex maximization problem with 12 variables. The global optimality conditions by Strekalovsky as well as a global search algorithm in [1] have been applied to the problem. Computational experiment was done for a given triangle.

Figure 1. Case 1

Figure 3. Case 3

Figure 4- Case 4

Figure 5. Case 5

References

1. Enkhbat R. An algorithm for maximizing a convex function over a simple set. Journal of Global Optimization, 1996, vol.8, pp. 379-391.

2. Marco Andreatta, Andrs Bezdek and Jan P. Boroski, The Problem of Malfatti: Two Centuries of Debate. The Mathematical Intelligencer, 2011, vol. 33, issue 1, pp. 72-76.

3. V.N. Nefedov, Finding the Global Maximum of a Function of Several Variables on a Set Given by Inequality Constraints. Journal of Numerical Ma,th,em,a,tics and Mathematical Physics, 1987, vol. 27(1), pp. 35-51.

4. Strekalovsky A.S. On the global extrema problem. Soviet Math. Doklad, 1987, vol. 292(5), pp. 1062-1066.

5. V.A. Zalgaller, An inequality for acute triangles. Ukr. Geom. Sb., 1991, vol. 34, pp. 10-25.

6. V.A. Zalgaller, The solution of Malfatti's problem. Journal of Mathematical Sciences, 1994, vol.72, no 4, pp. 3163-3177.

7. G.A. Los, Malfatti's Optimization Problem. [in Russian]. Dep. Ukr. NIINTI, July 5, 1988.

8. Saaty T. Integer Optimization Methods and Related Extremal Problems [Russian translation]. Moscow, Nauka, 1973.

9. Gabai H., Liban E. On Goldberg's inequality associated with the Malfatti problem. Math. Mag., 1967, vol. 41, no 5, pp. 251-252.

10. Goldberg M. On the original Malfatti problem. Math. Mag., 1967, vol. 40, no 5, pp. 241-247.

11. H. Lob and H. W. Richmond, On the solutions of the Malfatti problem for a triangle. Proc. London Math. Soc., 1930, vol. 2, no 30, pp. 287-301.

12. C. Malfatti, Memoria sopra una problema stereotomico. Memoria di Matematica e di Fisica della Societa italiana della Scienze, 1803, vol. 10, no 1, pp. 235-244.

Rentsen Enkhbat, Dr. Sc., Professor, Director of Institute of Mathematics, National University of Mongolia, 4, Baga toiruu, Sukhbaatar district, Ulaanbaatar, Mongolia, tel.: 976-99278403 (e-mail: renkhbat46@yahoo.com)

Barkova Maria, Matrosov Institute for System Dynamics and Control Theory, SB of RAS, 134, Lermontov st., Irkutsk, 664033, tel.: (3952)453082 (e-mail: mariabarkovamail@gmail. com)

Р. Энхбат, М. Баркова

Метод глобального поиска для задачи Мальфатти: случай четырёх кругов

Аннотация. Рассматривается задача Мальфатти, сформулированная 200 лет назад. Изначально, решение этой задачи предполагалось геометрическим методом. В 1994 году Залгаллер и Лос предложили для решения так называемый жадный алгоритм. Однако до сих пор не известна оптимальность этого алгоритма для задачи с п > 4 кругами. В статье обобщается задача Мальфатти, сформулированная для трёх кругов, на случай четырёх кругов. Были исследованы шесть возможных вариантов вписания кругов в треугольник. Исследуемая задача формулируется как задача максимизации выпуклой функции на невыпуклом множестве, для решения

которой используются условия глобальной оптимальности А. С. Стрекаловского. Предложен алгоритм для численного решения задачи Мальфатти, который сходится к глобальному решению. Вспомогательными задачами предложенного алгоритма являются задачи квадратичного программирования с квадратичными ограничениями. Эти задачи могут быть решены методом Лагранжа. Для проведения вычислительного эксперимента был рассмотрен треугольник с заданными вершинами. В работе приводятся численные результаты для заданного треугольника.

Ключевые слова: Задача Мальфатти, треугольник, круг, глобальная оптимизация, алгоритм, условия оптимальности.

Рэнцэн Энхбат, доктор физико-математических наук, профессор, директор Института математики, Национальный университет Монголии, Монголия, Округ Сухэ-Батора, Улан-Батор, ул. Бага Тойру, 4, тел.: 976-99278403 (e-mail: renkhbat46@yahoo.com)

Баркова Мария, Институт динамики систем и теории управления имени В. М. Матросова СО РАН, 664033, Иркутск, ул. Лермонтова, 134, тел.: (3952)453082 (e-mail: mariabarkovamail@gmail.com)

i Надоели баннеры? Вы всегда можете отключить рекламу.