ISSN 1992-6502 ( P ri nt)_
Vol. 17, no. 6 (59), pp. 88-91, 2013.
Vestnik UÇA7U
ISSN 2225-2789 (Online) http://journal.ugatu.ac.ru
UDC 004.7
Some approaches to solve a complex problem of
geometrical covering and orthogonal cutting
12 3
Yu. I. Valiahmetova , E. I. Hasanova , A. S. Filippova
1 [email protected], 2 [email protected], 3 [email protected]
Ufa State Aviation Technical University, Russia Submitted 2013, June 9
Abstract. Under consideration there are some approaches to solving a multi-criterion complex problem of geometrical covering the multilinked domain with orthogonal material succeed by cutting. The above problem is widely interpreted. To solve the problem the double-step approach is applied, that is, decomposition of the domain into rectangles not surpassing the domain dimension and the cutting itself. The approach suggested is compared to the three-step method described earlier.
Keywords: multi-criterion complex problem, complex problem of geometrical covering and cutting, packing, geometrical covering, covering orthogonal area
1. INTRODUCTION
It often happens that it becomes necessary to cover a certain flat area, probably with impediments, by some objects of smaller size [1]. The problem of geometrical covering is a special case of the NP-hard class of "cutting-packing problems" [2].
The paper considers the problem that takes place in the building industry. It is a complex problem of covering the preset geometrical area by some material and of cutting that material. It occurs, for example, when it is necessary to cover the floors with linoleum, fibreboard and some other materials. And at that we must minimize the material used while covering the area and maximize the sizes of the covering units.
For the first time the complex problem of geometrical covering was described in paper [3]. The three-step approach and the algorithms for solution are given in paper [4], they allow to estimate the partial information received in the process of solution.
While solving such NP-hard problems the issue of the day becomes the creation of new approach that can use the fast heuristic and meta-heuristic algorithms. We suggest in the paper that the existing approach to solving the complex problem should be improved.
2. A MULTI-CRITERIA COMPLEX PROBLEM OF GEOMETRICAL COVERING OF MULTI-CONNECTED
DOMAIN BY ORTHOGONAL MATERIAL
Complex problem statement: there are one or several types of the orthogonal material for covering some orthogonal area. Find a plan of covering the area with rectangular items and a plan of cutting the material into covering items. At that the length of the covering items junctions and the material to be cut must be minimized.
Two interrelated sub-problems are to be considered while investigating the above problem, namely: the problem of geometrical covering and the one of orthogonal resource cutting. The covering area can be interpreted as a multiply-connected orthogonal polygon containing prohibited zones [5]. The orthogonal material is a roll (semi-endless strip) or a set of sheets of the given sizes.
Mathematical model of the complex problem of geometrical covering of multiply connected area with orthogonal material is stated as a double-criteria problem.
Given: a multiply connected covering area
P = W, L, (zv ,Vv Kav, ÀV ), v = VÛ) of the width W and the length L, and also a set B of rectangular impediments of the given sizes av, Xv ,v = 1, ju, here p is a number of impediments. We enter the rectangular coordinate system: here the axes Ox and Oy coincide correspondingly with the bottom and the left flanks of the rectangle P that goes round the
covering area. Location of each rectangular impediment Bv is defined by coordinates (xv, nV) of its bottom left corner.
Besides there is an unlimited number of rectangular sheets of the length 0 and of the width h (for problems with the resource in the form of sheets), or there is the width h of the roll resource to be cut into rectangular items. There is also some information about waste material in the form of a set K = (k1, k2,...,kT) of rectangular items with
klj x kwj, j = 1,r sizes, interpreted as some material
of non-standard size.
Required: find a plan of covering of the multiply connected orthogonal area, a plan of resource cutting; minimize values of the functions that characterize the efficiency of solution for geometrical covering and cutting sub-problems:
m
min Fcov(RT) = £ (li + Wi ),
i=l
min Fcut( RT ) =
NPJJ, for rectangular sheets;
Lpn = max (x ' + ) , for semi ■
i =1..m
endless strip ;
Here
RT = {m, w, /}, w = (Wi, W2,...,wm), / = (/i, /2,...,/m) is a set of m rectangular items of the sizes wi x /i, i = l, m,, forming the covering of the given area, these items are to be cut out of the given orthogonal material. Lh wt represent the length and width of the covering rectangular item rti e RT included into the polygon covering, RT = Q ^ K+, here Q is a set of covering P rectangular items having been cut out of the orthogonal resource, K is a set of covering P rectangular items, cut out of the waste material.
Let us enter in some additional variables z
j
zf, ~/f and , so that zf = 1 ( zf = 1 ), if the rec-
'ij '
tangular item i projection on the axis Ox (Oy) is on the left (lower) of the rectangular item j projection on the axis Ox (Oy), otherwise z* = 0(zjj = 0);
zfy = 1 (~/j = 1), if the rectangular item i projection
on the axis Ox (Oy) is on the left (lower) of the impediment v projection on the axis Ox (Oy), otherwise = 0 (= 0).
It is necessary to find the following: 1. A set RT of rectangular items that cover the P area and the corresponding covering plan, i.e. for every rti e RT we are to find a set of values
{xt, yt, lt, w^j, here xi, yi are coordinates of the
item's left bottom corner in the coordinate system of the area P; lt and wt are correspondingly the length and width of a rectangular item so that:
< h , wi <© , i = 1m, (1)
xi + lj < L , yt + Wj < W, i = 1, m, (2)
xt > 0, yt > 0 , i = im, (3)
zX+j + zïj + zji > i, i=im, j=im, i * j, (4)
yj > yt + wi - W(1 - zj ) , i = 1, m,j = 1, m , (5)
Xj > xi + li - L(1 - zX) , i = 1, m, j = 1, m , (6)
+~,x+~yv+> 1,i=îm,v=(7)
Tlv> yi +Wi-W(1-~,), i =îm,v = , (8) >Xi + lt -L(1 -),i = 1,m,v = 1,n, (9)
m
Z wi ■ h = SMon • (10)
i=1
The conditions (1) impose restrictions on the sizes of covering rectangular items. The conditions (2) and (3) set an admissible position of the rectangular item in the covering domain. The conditions (4)-(6) provide non-overlapping of rectangular items among themselves, the conditions (7)-(9) -provide non-overlapping of rectangular items with impediments. The condition (10) describes necessity of full geometrical covering of the useful area with rectangular items.
1. The plan to cut the orthogonal resource into rectangular items of the set RT is such, that the following conditions are satisfied:
x\> o, y[> o, i=1m, (11)
x'i +lj <© ,y'i+Wi <h ,i = 1,m , (12)
zx + zx + zj + zï > 1, i = 1, m, j = 1, m, i * j, 13) yj > y\+ wi - W(1 - zjj ), i = L~m, j = 1m, (14)
xj > xj + li -L(1 -zx) , i = 1, m, j = 1, m . (15)
The conditions (11)-(12) provide admissible accommodation of rectangular items inside of the orthogonal material; the conditions (13)-(15) provide non-overlapping of rectangular items among themselves.
3. APPROACHES TO SOLVE A COMPLEX PROBLEM OF GEOMETRICAL COVERING AND CUTTING
The complex problem of geometrical covering and cutting represents the consecutive solution of several sub-problems. Splitting of an initial problem into sub-problems can be carried out in several ways.
<
x
90
Special issue: ITIDS + MAAO'2013
Thus, in the paper [3] it is offered the three-step approach to solution of a complex problem of geometrical covering and cutting, namely: decomposition of multiply connected orthogonal covering area into a minimum number of rectangular boxes; definition of the covering plan o and the sizes of covering items; definition of the cutting plan of rectangular items out of some orthogonal material (Fig. 1).
P
I n
n2 n
n
II
III
j
D
B
Fig. 1. Three steps of a complex problem solving: I is decomposition of a polygon into boxes; II is definition of covering plan;
III is definition of cutting plan
The matrix decomposition method [4] was earlier suggested to solve the problems of decomposition and allocation of rectangles in multiply connected polygon. It can be applied as a procedure to solve some decomposition sub-problems when solving the complex problem. Based on the above method the algorithm with waste evaluation and the hybrid evolutional algorithm with values [4, 6] have been developed and successfully applied. In both algorithms the complex problem is solved in three steps.
However, one should think about the efficiency of such a three-step approach, because the resource parameters while decomposing the covering area into boxes are not taken into consideration. To increase the solution efficiency it is offered to unite stages of decomposing and covering plan defining,
i. e. to decompose into boxes the sizes of which do not exceed the sizes of the orthogonal material. For this purpose it is offered to use the method of matrix decomposition [5] with modifications.
We suggest a new approach for searching the rational solution of a complex problem in two steps. On the first step one should solve the problem of decomposing the area into rectangular boxes the sizes of which do not exceed the sizes of the given material. On the second step one should cut the given material into covering items the sizes of which are equal to the sizes of boxes.
4. DECOMPOSING THE DOMAIN INTO RECTANGULAR BOXES
Given is the multiply connected orthogonal area for covering
P = W, L, (xv, i!v ), K ),v= 1U) . It is required to find the set n = {n1, n2, ..., nk} of rectangular boxes nt (x1, y1 ),(W', L' of minimal capacity, here (xi,yi) are the coordinates of the bottom left corner of the i-th box, W1 and Ll are its width and length correspondingly, k is the capacity of a set n, satisfying the following conditions:
• admissibility of the rectangular box location in the area of covering;
• non-overlapping of rectangular boxes among themselves;
• non-overlapping of rectangular boxes with impediments;
• full geometrical covering of the covering area to be used with rectangular boxes;
• W1 <h,L1 < ©, i = 1,k - is an additional restriction; when it is fulfilled any rectangular item for covering can be entirely cut out of the orthogonal material.
Matrix decomposition method modification
Representation of the domain with impediments in the form of matrix. Let us draw lines through horizontal edges of impediments. As a result the domain with impediments is divided into G rectangles with the lengths L and the widths dY, y = 1g . If the unequality dY> h is true for any rectangle, the latter is divided with a through horizontal line into two rectangles with the widths h and (dY - h). Such horizontal dividing is produced till the condition dy< h, y = 1G is fulfilled.
We also draw lines through vertical edges of impediments. As a result the domain with impediments is divided into U rectangles with the lengths ^, <p = 1U and the widths W.
If a semi-endless strip serves as the orthogonal resource then the length of areas is not restricted. Otherwise, by analogy with the horizontal splitting, the vertical division proceeds until the condition
qp<®,p = 1U be satisfied.
As a result the domain with impediments is covered with a network each cell of which either does not contain any impediment (is empty), or represents an impediment or a part of it. Thus the sizes of cells do not exceed the sizes of the resource.
Let us attach number 0 to each cell (y, a) if it is free (empty), and number1 if it is an impediment. Then the initial area with impediments can be written down in the form of a matrix with Boolean variables.
1. Choice of initial cell. This step remains unchanged: we choose the left bottom cell of the initial area as an initial cell. If the cell is an impediment we move up the column till an empty cell is found and it is accepted as the initial one.
2. Aggregation of empty cells, starting with the initial one, by vertical, horizontal or diagonal way. The aggregation continues till one of the following condition is fulfilled:
• the upper bound of the covering area is reached;
• there is an impediment on the way of aggregation;
• the width of a box equals h;
• the length of a box equals 0 (for sheet resource).
3. "Level" detachment of empty rectangular domains. This step is also unchanged: when the upper bound of the domain with impediments is reached an imagined cut is done through the right bound of the longest domain. The detachment of boxes out of the domain goes on to the right of the cut. The matrix decomposition method (we come back to the step 2) is recursively applied the secondary covering areas received in the process. The algorithm works till there are no empty cells. When the width of all boxes equals h, and the length equals ©, the problem is considered to be solved, it means that every box can be covered without waste with a rectangular sheet of the resource. If the resource represents a semi-endless strip and the width of boxes equals h, the material for covering each box is achieved by one vertical cut of the roll resource
If there are some boxes with the sizes less than those of the resource, we go to the cutting step.
CONCLUSION
The offered approach permits to solve a complex problem of geometrical covering and cutting in two steps: definition of the sizes of covering elements and a resource cutting. It permits to reduce laboriousness of calculations. Owing to updating of the matrix decomposition method, the sizes of covering elements do not exceed the sizes of an orthogonal resource, and as the result of this subproblem solution we get a covering plan.
At the resource cutting step it is possible to apply any method most suitable for the certain applied situation. For example, the paper [7] describes the
algorithm of a problem solving where the level-by-level algorithm with estimations is used at the cutting step.
This article is supported by the Russian Fond of fundamental research, project 12-07-00631-a.
REFERENCES
1. V. Ju. Kuznetsov, "Problems of orthogonal polygon covering with the forbidden areas," (in Russian), Vestnik UGATU, vol. 10, no. 2 (27), pp. 177-182, 2008.
2. L. V. Kantorovich and V. A. Zalgaller, Rational Cutting of Industrial Materials, (in Russian) St.-Petersburg: Neva Dialect, 2012.
3. S. V. Telitskij, A. S. Filippova, "The complex approach to the decision of a problem of a covering of area preparations of the uncertain sizes," (in Russian), Scientific and technical bulletin St.-PtbGPU. Computer science. Telecommunications. Management. no. 2 (145), pp. 61-67, 2012.
4. S. V. Telitskij, "Algorithms of recalculation of estimations for the complex decision of a geometrical covering problem," (in Russian), in Designing and research of technical systems: interhighschool Scientific collected articles., vol. 5, pp. 12-21, Naberezn. Chelni: INEKA, 2012.
5. E. A. Muhacheva, Yu. I. Valiahmetova, S. V. Telitskij, and E. I. Hasanova, "Designing of accommodation of orthogonal objects on polygons with impediments," (in Russian), Information Technologies, no. 10, pp. 16-22, 2010.
6. S. V. Telitskij, Yu. I. Valiahmetova, and E. I. Hasanova, "Hybrid algorithm on the basis of consecutive specification of estimations for problems of the maximal orthogonal covering," (in Russian), The bulletin of the Bashkir university, vol. 17, no. 1, pp. 421-425, 2012.
7. S. V. Telitskij and Yu. I. Valiahmetova, "Application of systems of the automated designing of cutting cards in shipbuilding," (in Russian), The bulletin of the Voronezh state technical university, vol. 8, no. 6, pp. 38-43, 2012.
ABOUT AUTHORS
VALIAHMETOVA, Yulia Ilyasovna, Associate Prof., Dept. of Computational Mathematics and Cybernetics (UGATU), Dipl. Engineer-programmer.,(UGATU, 2004). Cand. of Tech. Sci (UGATU, 2008).
HASANOVA, Elina Ildarovna, Senior Lecturer, Inst. of Economics and Management, USATU. Dipl. Economist-mathematician (UGATU, 2007). Cand. of Techn. Sci. (UGATU, 2011).
FILIPPOVA, Anna Sergeevna, Prof., Inst. of Professional Education and Informational Technologies (Bashkir State Pedagog. Univ.), Dipl. Systems Engineer (UGATU, 1996). Cand. of Tech. Sci. (Ufa State Univ., 1999). Dr. of Tech. Sci. (Samara State Aerospace Univ., 2007).