Direct comparisons have been made between ASA/ VFSR and publicly- available gene
tic algorithm (GA) codes, using a test suite already adpated and adopted for GA.
In each case, ASA outperformed the GA problem. GA is a class of algorithms that
are interesting in their own right; GA was not originally developed as an optim
ization algorithm, and basic GA does not offer any statistical guarantee of glob
al convergence to an optimal point. Nevertheless, it should be expected that GA
may be better suited for some problems than SA.
???????? ?????????
????????? ????? ???? / VFSR ?? publicly- ?????? ???????? ?????????? (???) ??? ??
??? ????? ??? ??, ?? ??????? ??? ???? ?? ?? adpated ?? ??? ?? ??? ?????? ?? ???
?? ??? ???????? ????? ???, ???? ??? ?????? ?? ????? ???????? ????? ??? ?????????
?? ???? ?? ??? ??????? ??? ?? ?? ???? ??; ??? ??? ??? ?? ?? ??????? ??????????
?? ??? ??? ?????? ???? ???? ??? ??, ?? ???????? ??? ?? ?????? ??? ???? ?? ??? ??
????? ?????? ?? ???? ?? ?????????? ?????? ?????? ???? ???? ??? ??? ??, ?? ?? ???
????? ??? ?? ????? ??? ??? ???????? ?? ??? ??????? ?? ???? ?? ?????? ?? ???? ??
????
Random Search
The brute force a apporach for difficult functions in a random, or an enumerate
d search. points in the search space are selected randomly, or in some systemati
c way, and their fitness evaluated. This is an unintelligent stratedgy, and is
rarely used by itself.
????? ???
????? ?? ?????????, ?? ?? enumerated ??? ??? ??????? ??????? ?? ??? ?? apporach
?????? ??? ???????? ??? ??? ??????? ??? ?? ???? ?? ???, ?? ??? ????????? ?????
??, ?? ???? ?????? ?? ????????? ????? ?? ?? ????? stratedgy ??, ?? ???? ?? ??? ?
???? ?? ?????? ???? ???? ???
Gradient methods
A number of different methods for optimizing well- behaved continuous functions
have been developed which rely on using information about the gradient of the
function to guide the direction of search. If the derivative of thefunction cann
ot be computed, becuase it is discontinuous, for example, these methods often fa
il. such methods are generally referred to as hill-climbing. They can perform we
ll on functions with only one peak (uni-modal functions). But on functions with
many peaks. (multimodal functions), they suffer from the problem that the first
peak found will be climbed, and this may not be the higest peak. Having reached
the top of a local maximum, no further progress can be made.
??? ??????
??????? ???? ?????? ????? ????? ??? ?? ??????? ?? ??? ??????? ?????? ?? ?? ?????
? ??? ?????? ???? ??? ?? ?? ?????? ?? ??? ?? ???? ??? ??????? ?? ????? ??? ?? ??
?? ?????????? ???? ?? ????? ???? ???? thefunction ?? ?????????? ???? ?? ?? ????
???, ??????? ?? ????? ??, ?????? ?? ???, ?? ?????? ????? ????? ?? ??? ?? ??????
?? ??? ?? ?????? ????? ?? ??? ??? ???? ?? ??? ???? ???? ??? ?? ???? ?? ???? (???
?-???? ?????) ?? ??? ????? ?? ????? ???????? ?? ???? ???? ????? ?? ??????? ?? ??
? ??????? ??? (?????? ?????), ?? ?????? ?? ?? ?? ???? ???? ???? ??? ????? ?? ???
??? ???, ?? ?? ?????? ???? ???? ?? ????? ?? ??????? ?????? ?? ????? ?? ????? ???
? ???, ??? ??? ?????? ???? ????? ?? ???? ???
Iterated Search
Random search and gradient search may be combined to give an iterated hill-climb
ing search. Once one peak has been located, the hill-climb is started again, bu
t with another, randomly chosen, starting point. This technique has the advantag
e of simplicity, and can perform well if the funcional does not have too many lo
cal maxima. However, since each random trial is carried out in isolation, no ove
rall picture of the "shape" of the domain is obtained. As the random search prog
resses, it continues to allocate its trials evenly over the search space. This m
eans that it will still evaluate just as many points in regions found to be of l
ow fitness as in regions found to be of high fitness. Both SA and GAs, by compar
ison, start with an initial random population, and allocate increasing trials to
regions of the search space found to have high fitness. this is adisadvantages
if the maximum is in small region. surrounded on all sides by regions of low fit
ness. This kind of function is difficult to optimize by any method, and here the
simplicity of the iterated search usually wins.
?????? ?????
????? ??? ?? ??? ??? ?? ?????????? ?????? ????? ??? ???? ?? ??? ????? ?? ???? ??
? ?? ??? ?? ???? ????? ???? ??? ??, ?????? ????? ??? ?? ???? ?? ???? ??, ????? ?
???? ?? ???, ??????? ??? ?? ???? ????????? ?????? ?? ????? ?? ????? ?? ??? ????
??, ?? ??? funcional ?? ?? ??????? Maxima ???? ?? ????? ??? ?? ???????? ?? ????
???? ???????, ?? ??? ?? ???????? ????????? ??????? ????? ??? ???? ???? ??, ?????
?? "????" ?? ??? ????? ?????? ??????? ?? ??? ????? ??? ?? ?????? ?? ??? ???, ??
??? ???????? ?? ???? ??? ?? ???? ??????? ?????? ???? ?? ??? ???? ??? ???? ????
?? ?? ?? ?? ??? ?? ????????? ??? ???? ?? ??? ??? ?????? ?? ?? ???? ?? ?????? ??
?? ???? ????????? ??? ?? ?? ??? ??? ?? ??????? ?? ????????? ??????? ????? ??? ??
???, ????? ????, ?? ????????? ????????? ????? ?? ??? ????, ?? ??? ???????? ????
?????? ?? ??? ???? ?? ????????? ?? ??? ????????? ??? ?????? ?? ?????? ??? ?????
? ???? ?? ??????? ??? ?? ?? adisadvantages ??? ?? ?????? ?? ????????? ?? ??? ???
??? ?? ??? ????? ?????? ?? ?? ??? ?? ???? ?? ???? ?? ??????? ???? ?? ??? ???????
??, ?? ???? ??????? ??? ?? ????? ????? ?? ????? ???
Suitabilites ASA appears rapidly to be becoming an algorithm of choice when deal
ing with financial instruments. Standard nested regression and local- search met
hods usually are applied to develop hybrid securities, e.g. combining markets i
n interest rates, foreign exchange, equities and commodities by linking them vi
a options, furtures, forwards, and swaps, to increase profits and reduce risks i
n investments as well as in trading. However, the complexity and nonlinearity of
these multivariate systems, and the increasing interest of inculding informatio
n from more sophisticated modelling in to trading rules, have called for more so
phisticated numerical algorithms. As such, the parameters are a mix of continous
and discrete sets, but these seem to be able to processed quite smoothly by ada
ptive simulated annealing (ASA). One of the several strong features of these alg
orithms is their flexibilty in accommodating many ad hoc constraints, rules, etc
., as well as algebraic models. The potential uses for SA in stock price modelli
ng may be limited. However, simulated annealing has been reasonably successfully
used in the solution of a complex portfolio selection model [3]. The algorithm
was able to handle more classes of constraints than most other techniques, Tradi
ng consraints were, however difficult to handle becuase of the discontiniuties t
hey introduced in the space of feasible portfoloios. An example of the power of
SA (ASA), coupled with new statisical mechanical modelling techniques, is that
insterest rates can be fitted to the data much better than in previously publish
ed studies, One study has used SA on aset of several econometirc problems, incul
ding cost functions arising in the monetary theory of exchange rate determinatio
n, a study of firm production efficiency, and a neural net model which gener
ates chaos reputed to mirror some economic and financial series. The authors de
monstrated that their SA algorthim performed butter, e.g. at least more reliably
finding more optima, than their SA algorithm pe6rformed genetic algorthims and
a quasi-Newton algorthiom. The technique appears well suited to asset allocation
problelms with constraints.
Suitabilites ???? ?????? ???? ?? ???? ?? ???? ?? ?? ?????????? ???? ?? ???? ?? ?
? ??????? ?????? ?? ??? ??? ??? ????????? ????? ???????? ?? local- ??? ?? ??????
????? ??, ???? ???????????? ?? ?????? ???? ?? ??? ???? ?? ??? ??? ???? ?? ?????
? ?? ??????, furtures, ???, ?? ????? ?????? ??????, ?????? ??? ?????? ?? ????? ?
?? ?? ??? ??? ????? ??? ?? ??????? ??? ????? ?? ?? ???? ?? ??? ????? ??, ??????
??????, ??????? ?? ??????? ??? ??????? ?? ??????? ???????, ?????? ?? ?? ????????
?? ?? ???????????? nonlinearity, ?? ??????? ?????? ??? ?? ???? ???????? ???????
?? ??????? inculding ?? ????? ????, ?? ???? ???????? ?????????? ????????? ?? ???
?????? ??? ????, ?????? ?? ??? ?? ???? ??? ?? ?? ?????? ???, ????? ?? ??????? ?
??? annealing (????) ?? ???? ????? ?? ??????? ???? ??? ????? ???? ???? ???? ?? ?
???????? ?? ?? ????? ???????? ??? ?? ?? ?? ????? ???, ????, ???, ??? ?? ????? ??
?? ??????? ??? ???? flexibilty ??? ???? ?? ???? ??????? ??? ??? ?? ??? ?????? ??
????? ???? ????? ?? ???? ??? ???????, ???? annealing ???? ?????? ??????????? ??
???? ??????????? ??? ???? ?? ?????? ??? ???????? ???? ??? ?? [3]? ?????????? ??
?? ???? ??????? ?? ????? ??? ??? ?? ???? ??????? ????? ???? ??? ????? ??, ??????
? consraints ??, ??????? ?? discontiniuties ???? portfoloios ?? ???????? ??? ???
?? ??? ?? ??????? ???????? ??? (????) ?? ????? ?? ?? ?????? ??, ?? statisical ?
??????? ??????? ??????? ?? ??? ?????, ?? insterest ???? ???? ???? ???? ????????
?????? ??? ?? ????? ??? ????? ???? ?? ??? ????? ?? ???? ??, ?? ?????? ??? ?? eco
nometirc ???????? ?? Aset ?? ??? ???????? ???? ??? ??, inculding ?? ?????? ?? ??
?? ??????, ???? ??????? ?????? ?? ?? ??????, ?? ?? ???????? ????? ???? ?? ?? ???
???? ??????? ?? ??????? ???????? ??? ??? ??????? ???? ???? ???? ??????? ??? ????
?? ?? ??????? ???????? ??????????? ???? ?? ??? ??????????? ?????? ?? ???????? ??
?? ?? ?? ???? ??? algorthim ????? ???????? ???? ??, ??? ?? ?? ?? ?? ???? ???????
?? ???? ??????? ?????, ?? ????? ??? ???? ??? ?????????? ???????? algorthims ??
?? ????-?????? algorthiom pe6rformed? ????? ?? ??? ?? ??? ????? ??? ?? ?????????
? ????? problelms ?? ??? ?????? ?????? ???? ???
practical implementation
?????????? ???????????
1.Solution representation and generation
when attempting to solve an optimization problem using SA algorthim, the most ob
vious represenation of the control variables is usually appropriate. However the
way in much new solutions are generated may need some thought. The solution gen
erators should
* introduce small random changes, and
* allow all possible solutions to be reached.
for problems with continous control values new trials solutions can be generated
according to the formula:
1.Solution ???????????? ?? ?????
?? ??? algorthim ?? ????? ?? ?? ??????? ?????? ?? ?? ???? ?? ??????, ???????? ??
?? ???? ?????? represenation ????? ?? ???? ??? ??????? ?????? ?? ?????? ??? ???
??? ?? ??? ???? ???????? ?? ???? ?? ??????? ?? ??? ???? ?????? ?????? ?????
* ???? ????????? ???????? ???? ????, ??
* ??? ???? ?????? ?????? ?? ???? ?? ??? ?????? ???? ????
??? ???????? ??????? ?? ??? ???????? ?? ??? ?? ??????? ?? ?????? ?? ????? ?? ???
??? ??????? ???? ?? ???? ??:
xi+1= xi+Qu...........................(2)
where u is a vector of random numbers in the range (..........................
..) so that each has zero mean and unit variance, and Q is a matrix that control
s the step size distribution. In order to generate random steps with a covarianc
e matrix S, Q is found by solving
S=QQT.......................(3)
by cholesky decompsoition, for example. S should be updated as the search progre
sses to inculde information about the local topography:
where r and w perform similar roles and R id s diagonal matrix the elements of w
hich consist of the magnitude of the sucessful chnages made to each control vari
able. This tunes the maximum step size assocaited with each control variable tow
ards a value giving acceptable changes.
where U is vector of random integers in the range (-1,1) often suffices. for com
binatorial or permuation optimization problems, the solution representation and
generation mechanisms(S) will necessarily be problem - specific.
e on the cooling rate T/L than on the individuals values of T and L. Obviously
, care must be taken to avoid negative temperatures when using the LCS.
??????? ???????? ?? ?????
????????, ?????? ??? ??????? ???????? ?? ?????, ?? ??? ?? ?????? ???? ?? vlaue
??, ?????? ?? ???? ?? ?????? ???? ?? ????? ???????? ?????? ?? ???????? ??? ??? ?
??????? ??? ?? ?? ???? ???? ?? ???? ?? ?? ??????? n ????, ???????? temperature.H
owever ?? ??????? ???? ???? ????? ?? 0 ????????? ?? ??? ??? ??????? ???? n ????
??????????? ??????? ???? ?? ??? ?????? ????????? ?? ?????? ??????? ???? ?? ??? ?
?????? ?? ??? ??? ?? ?? ??????? ?????? ????????? 1. ?? ??????, ?????? ?? ??? , ?
????????? ?????? ???????? ??????? ???????? ?? ??? ?????? ???? ??
* ???????? ??????? ??
* N ???? ???????????,
????? ?? ?? ?? ???? ??? ??, ?? ??????? ?????? ???
?????? decrementing
??? ?? ???? ?? ?????? ???? ???? ??:
???? ?? ????? ???? ?? ???? ??, ????? ??, I.This expoential ???? ????? (LCS) ????
?? ?? ?? ?? ????????? ?? ?? ???? ?? ?????
?? + 1 = ??-?? ........................................ (12
)
?? ??????? ?? ?????? ?? ??????? ????? ?????? ???? ???? ??? ??, ?? ?? ?? ????? ?
????, ???? ???? ???? ?? ??? ????? ???? ?? ???? ???????????? ?????? ?? ???? ?? ??
????? ??? ???, ??? ?????????? ???????? ???? ?? ?? ?? ?? ?? ????? ?? ?????????? ?
?????? ?? ?? ????? ??? / ?? ?? ???? ?????? ???? ??, ????? ?? LCS ?? ????? ?? ???
?????? ?????? ?? ???? ?? ??? ???? ???? ??????
Random number generation
A significant component of an SA code is the random number generator, which is u
sed both for generating random changes in the control variables and for the ( te
mperature dependent) increase acceptance test. it is important, particularly whe
n tackling large scale problems requiring thousaands of iterations, that the ran
dom number generators used have good spectral properties.
8. Summary
As with genetic algorthims a major advantages of SA is its flexibility and robu
stness as a global search method. It is a "Weak method" which doesnt not use gra
dient information and makes relatively few assumptions about the problem being
solved. It can deal with highly nonlinear problems and non differemtiable functi
ons as well as functions with multiple local optima. It is also ameanble to pa
rallel implementation. simulated annealing is a very powerful and important tool
in a variety of disciplines.
A disadvantages is that the SA methods are computations- intensive. There exist
faster variants of basic simulated annealing , but the apparantely are not as qu
ite easily coded and so they are not widely used.
ore well - documented, user friendly code would help. AS with neural nets and G
As, SA looks highly promising for protfolio optimization and asset allocation
problems, because the driving variables are highly nonlinear, noisy and often
chaotic; it appears less appropriate for modelling financial time series.
????????? ?????? ?????
?? ??? ??? ?? ?? ?????????? ??? ????????? ?????? ?????? ??, ?? ????? ???????? ??
??? ????????? ???????? ???? ???? ?? ??? ?? (?????? ??????) ???????? ??????? ??
?????? ?? ??? ???????? ???? ???? ??? ?? ?????????? ??, ????? ?? ???? ?????? ?? ?
??????? ?????????????? ?? thousaands ?? ???????? ???? ??, ?? ????? ???????? ???
?? ????????? ?????? ?????? ?? ???????? ???? ???????
8. ??????
???????? algorthims ??? ?? ??? ??? ?????? ??????? ?? ?? ?????? ??? ???? ???????
?? ?? ??????? ??? ???? ?? ??? ??? ?????? ??? ?? ?? "????? ????" ?? ??? ??????? ?
? ????? ???? ???? ???? ?? ?? ?? ???? ??? ?? ?????? ?? ?? ???? ?? ??? ??????????
??? ????????? ????? ??? ?? ??????? nonlinear ???????? ?? ??? differemtiable ????
??? ?? ??? ?? ?? ??????? ??????? ?? ??? ??????? ?? ??? ???? ?? ???? ???? ?? ?? ?
?????????? ???????? ameanble ??? ???? annealing ?????? ?? ?? ????? ??? ?? ???? ?
???????? ?? ?????????? ????? ???
?? ?????? ?? ?? ??? ?????? computations- ??? ?? ??? ??? ???????? ???? annealing
?? ???? ??????? ????? ???, ????? apparantely ?? ??? ??? ???? ????? ?? ????? ????
??? ?? ????? ?? ?????? ??? ?? ???????? ???? ?? ??? ????
????? ??? ?? ????? - ????????, ?????????? ?? ?????? ??? ??? ??? ??????? ????????
??? ?? ??? ?? ??? ?? ??? ???, ???, protfolio ??????? ?? ?????????? ????? ?? ???
????? ?? ??? ???? ?????? ?? ??? ?? ??????? ????????? ?? ???????, nonlinear ??? ?
? ????? ????? ?? ??? ???; ?? ??????? ??? ???????? ??????? ?? ??? ?? ???? ??????
???? ???