Escolar Documentos
Profissional Documentos
Cultura Documentos
EN115
This paper presents ant colony optimization - ACO. After presenting the biological basis of ASO, it explains the method
itself and then the main algorithms of the ASO method as well as their mathematical models. The "Modified Ant Colony
Algorithm" (MACA) is presented in detail as well as the manner of its operation and it application to optimization
examples of engineering problems, such as: optimization of spring, pressure vessel, welded beam and speed reducer. At the
end, the results obtained by the MASM method are compared to the results previously obtained by other methods.
Key words: Optimization, ant colony, engineering optimization problems
0. INTRODUCTION
The ant colony optimization algorithm studies behaviour
of real ant colonies used for solving optimization
problems, most frequently for finding the shortest path in
the given graph.
The term ant colony optimization was introduced by
Marco Dorigo in his doctoral dissertation in 1992, as a
result of research on the approach to combinatorial
optimization. Initially, the algorithm was applied to the
traveling salesman problem and the quadratic assignment
problem. Since 1995 Dorigo et al. have been working on
various extended versions of the original idea [1] .
All this was preceded by a significant experiment carried
out by Deneubourg in 1990. In order to examine the
behaviour of ants, Deneubourg et al. [2] conducted a series
of experiments using a bridge with two branches placed
between the anthill and the food. During the their
experiments, they first used the same lengths of the
branches, and then different lengths of bridge branches.
They noticed that ants would always find the shortest path
between the food source and their colony. It is in the
nature of ants to deposit the trail of pheromone behind
themselves when they find food, both on their way from
the anthill to the food and on their way back to the anthill.
Ants can detect pheromone, so while deciding which path
to choose they make decision on the basis of the intensity
of pheromone trail they detect and they will decide to take
the direction of a more intense pheromone trail. There are
two reasons why the intensity of pheromone can be
different. The first reason is pheromone evaporation, i.e.
the more time passes since depositing pheromone, the less
intense the trail is, and the second reason is the number of
ants that have deposited the pheromone. If more ants have
previously decided for a path, the intensity of pheromone
trail will be higher and the probability that the path is good
wil be greater so that the other ants will also take it.
Toksari [3] described ant colony optimization for finding
the global minimum. His algorithm is based on the fact
that each ant searches only around the best solution of the
previous iteration.
*Kontakt adresa autora: Fakultet za mainstvo i graevinarstvo, Dositejeva 19, 3600 Kraljevo, Srbija, grkovic.v@mfkv.kg.ac.rs
EN116
max
ij ij (1 ) + ij best
ij ij (1 ) + ij
(1)
k =1
ij k
(2)
il
is defined as:
a if x > a,
=
[ x ] b if x < b,
0 otherwise.
and ij best is
a
(6)
(7)
ij = Lbest
0, otherwise.
ij ij (1 ) + 0
where
(3)
where N s
[ x]
il
where max and min are respectively the upper and the
lower bounds imposed on the pheromone. The operator
=
L
0, otherwise.
ij ij
, if c N ( s
pijk = il il
c N s
( )
0, otherwise.
(5)
min
(4)
d ij
( 0,1]
is
the
(8)
coefficient
of
pheromone
Grkovi, V. - Bulatovi, R.
EN117
(s
},
){
il
il
ij ij
, if cil N ( s p )
pij = il il
c N s
( )
0, otherwise.
p
, h ] for the
il
=
0, 2 h 1
h
(12)
x (=
i )h
x ( i )best h
new
(11)
where:
x ( i )h
new
f ( x )min = f ( x )
new
( h )= ( h 1) + 0, 01 f ( x )min
(13)
EN118
subject
to
the
Minimize:
f ( x ) , x Rn
x23 x3
0
g1 ( x ) =
1
71785 x14
=
g2 ( x )
following constraints:
g i ( x ) 0, 1 i < l
h j ( x=
) 0, l + 1 j m
(14)
T
x = [ x1 , x2 , x3 ,..., xn ] denotes
vector,
l denotes the number of inequalities in constraints,
m l denotes the number of equations
in constraints.
n th
dimensional
12566 x x x
3
2 1
4
1
1
5108 x12
140, 45 x1
g3 ( x ) =
1
0
x22 x3
g 4=
( x)
where:
4 x22 x2 x1
x1 + x2
1,5
1 0
0, 05 x1 2 ; 0, 25 x2 1,3 ; 2 x3 15
By applying MACA to solving this problem, the number
of ants m=10000 was used and a slightly better solution
0.012650712535 was obtained.
A detailed presentation of the results obtained by the
MACA method and comparison of several best results
obtained by using other algorithms are given in Table 1.
3.2 Optimization of the pressure vessel
This problem consists of a cylindrical vessel which is
capped at both ends by hemispherical heads as it is shown
in Figure 2. The goal is to reduce the total costs, including
the costs of material, forming and welding. There are four
variables that should be optimized:
g2 ( x ) =
x2 + 0, 00954 x3 0
g3 ( x ) =
x3 x4
2
4
3
x3 + 1296000 0
3
g 4 ( x ) =x4 240 0
g 5 ( x ) = 1,1 x1 0
g 6 ( x ) = 0, 6 x2 0
0 x1 100 ; 0 x2 100
10 x3 200 ; 10 x4 200
EN119
6 PL
4 PL3
( x) =
, ( x)
.
By applying MACA to solving this problem, the number of =
2
3
x
x
Ex
x
4
3
3
4
ants m=100000 was used and a solution slightly worse
than the best one, but still considerably better than certain
x2 x6
previous algorithms, was obtained and it is
4, 013E 3 4
x3
E
36
5964.505957036.
=
Pc ( x )
1
,
2
L
2 L 4G
g 3 ( x ) = x1 x4 0
=
g 4 ( x ) 0,10471x1 + 0, 04811x3 x4 (14 + x2 ) 5 0
2
g 5 ( x=
) 0,125 x1 0
g 6 ( x ) = ( x ) max 0
g7 ( x ) =
P Pc ( x ) 0
0.125 x1 10 ; 0.1 x2 10
0.1 x3 10 ; 0.1 x4 5
where:
=
'
''
,=
2 x1 x2
=
R
x22
2
2R
+ ( '' )
M P L +
,=
x1 + x3
,
2
x2
2
x1 + x3
,
12 2
x22
=
J 2 2 x1 x2
MR
x2
EN120
27
1 0
x1 x2 x3
397, 5
2
1 0
x1 x2 x3
5 x2
g 9 ( x=
)
x1
1 0
x1
1 0
12 x2
=
g11 ( x )
1,1x7 + 1, 9
=
g10 ( x )
1,5 x6 + 1,9
1, 93 x4
g4=
( x)
1, 93 x5
1 0
x4
1 0
2, 6 x1 3, 6 ; 0, 7 x2 0,8 ; 17 x3 28
x2 x6 x3
7, 3 x4 8, 3 ; 7, 3 x5 8, 3 ; 2, 9 x6 3, 9
1 0
x5
g3=
( x)
1 0
5, 0 x7 5, 5
x2 x7 x3
g5 ( x )
g 8 ( x=
)
745 x4
6
+ 16,9 10
x2 x3
110 x63
745 x
x x + 157, 5 10
1 0
g6 ( x )
g 7 ( x=
)
1 0
85 x7
x2 x3
1 0
40
x1
x2
x3
g 1 (x)
g 2 (x)
g 3 (x)
g 4 (x)
f(x)
Belegundu [7]
0.050000
0.315900
14.25000
- 0.000014
- 0.003782
- 3.938302
- 0.756067
0.0128334375
Arora [6]
0.053396
0.399180
9.185400
0.000019
- 0.000018
- 4.123832
- 0.698283
0.0127302737
Coello [12]
0.051989
0.363965
10.890522
- 0.00126
- 0.000025
- 4.061337
- 0.722697
0.012681
Grkovi, V. - Bulatovi, R.
Eskandar [5]
0.051680
0.356522
11.300410
-1.65-13
- 7.9-14
- 4.053399
- 0.727864
0.012665
MACA
0.052310747184
0.372242379221
10.414160013342
680.655755e-6
835.529214e-6
- 4.091394977807
-1.075446873594
0.012650712535
EN121
Sandgren [9]
x1
x2
x3
x4
g 1 (x)
g 2 (x)
g 3 (x)
g 4 (x)
f(x)
1.125
0.625
47.700
117.701
- 0.204390
- 0.169942
54.226012
- 122.299000
8129.1036
Kannan,
Kramer [8]
1.125
0.625
58.291
43.690
0.000016
- 0.068904
- 21.220104
- 196.310000
7198.0428
Coello [12]
Eskandar [5]
MACA
0.8125
0.4375
40.3239
200.0000
- 0.034324
- 0.052847
- 27.105845
- 40.00000
6288.7445
0.7781
0.3846
40.3196
- 200.0000
-2.95e-11
- 7.15e-11
- 1.35E-06
- 40.0000
5885.3327
0.82217025865521
0.40638075763737
42.6028471508185
170.484922696647
64.691355586e-6
50.404181438e-6
227.89696231e-6
- 69.515077303352
5964.5059570367
Coello [12]
Eskandar [5]
MACA
0.2088
3.4205
8.9975
0.2100
- 0.337812
- 353.9026
- 0.00120
- 3.411865
- 0.08380
- 0.235649
- 363.23238
1.74830941
0.205728
3.470522
9.036620
0.205729
- 0.034128
- 3.49e-05
- 1.19e-06
- 3.432980
- 0.080728
- 0.235540
- 0.013503
1.724856
0.202611802838422
3.538184790851369
9.038385657692625
0.205720941513918
4.79880374405e-3
-10.4259994343302
-3.1091386754e-3
-3.42682278102344
77.6118028384e-3
-235.548165281e-3
-7.86546916333e-3
1.729335567988
x1
x2
x3
x4
g 1 (x)
g 2 (x)
g 3 (x)
g 4 (x)
g 5 (x)
g 6 (x)
g 7 (x)
f(x)
Zhao [13]
0.20572964
3.47048867
9.03662391
0.020572964
1.724852
Jaberipour,
Khorram [4]
0.20573
3.47049
9.03662
0.20573
0.0
0.0
5.55e-17
- 3.4329
- 0.0807
- 0.2355
- 9.09e-13
1.7248
x1
x2
x3
x4
x5
x6
x7
f(x)
Zhao [13]
3.50000000
0.70000000
17.0000000
7.30000000
7.71531991
3.35021466
5.28665446
2994.4710
4. CONCLUSION
This paper describes application of a metaheuristic
algorithm, the modified ant colony algorithm MACA, in
optimization of examples of engineering problems with
the constant number of variables. The use of this algorithm
results in obtaining optimum or approximate results, which
is shown by examples. In this case one result which is
better than the previous results is obtained, and the other
ones are approximate but optimum. Further research and
development of this algorithm may modify and improve
this method for the purpose of obtaining even better and
more optimum results.
[3]
[4]
[5]
5. REFERENCES
[1] Marco Dorigo & Thomas Sttzle: Ant Colony
Optimization, 2006.
[2] Denebourg, J. L., Aron, S., Goss, S., & Pasteels, J.
M.: The self-organizing exploratory pattern of the
[6]
[7]
Eskandar [5]
3.50000
0.70000
17
7.30000
7.715319
3.350214
5.286654
2994.471066
MACA
3.4999999994707
0.6999999999999
17
8.0517801843653
8.0846770710370
3.3516892746758
5.2867821117062
3009.6692386349
EN122
Grkovi, V. - Bulatovi, R.