Search
Preparing search index...
The search index is not available
quantlib.js
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"ql/math/optimization/simulatedannealing"
SimulatedAnnealing
Class SimulatedAnnealing
Class RNG must implement the following interface:
RNG::sample_type RNG::
next
() const;
Hierarchy
OptimizationMethod
SimulatedAnnealing
Index
Enumerations
Scheme
Constructors
constructor
Properties
RNG
_K
_T
_
T0
_alpha
_epsilon
_fac1
_fac2
_i
_ihi
_ilo
_iteration
_iterationT
_j
_lambda
_m
_n
_pb
_ptry
_rng
_scheme
_sum
_tt
_values
_vertices
_yb
_yflu
_yhi
_ylo
_ynhi
_ysave
_yt
_ytry
Accessors
is
Disposed
Methods
amotsa
dispose
minimize
sa
Init1
sa
Init2
simplex
Size
Constructors
constructor
new
Simulated
Annealing
(
rng
?:
any
)
:
SimulatedAnnealing
Parameters
Default value
rng:
any
= new MersenneTwisterUniformRng()
Returns
SimulatedAnnealing
Properties
RNG
RNG
:
any
Private
_K
_K
:
Size
Private
_T
_T
:
Real
Private
_
T0
_
T0
:
Real
Private
_alpha
_alpha
:
Real
Private
_epsilon
_epsilon
:
Real
Private
_fac1
_fac1
:
Real
Private
_fac2
_fac2
:
Real
Private
_i
_i
:
Integer
Private
_ihi
_ihi
:
Integer
Private
_ilo
_ilo
:
Integer
Private
_iteration
_iteration
:
Size
Private
_iterationT
_iterationT
:
Size
Private
_j
_j
:
Integer
Private
_lambda
_lambda
:
Real
Private
_m
_m
:
Integer
Private
_n
_n
:
Integer
Private
_pb
_pb
:
Real
[]
Private
_ptry
_ptry
:
Real
[]
Private
_rng
_rng
:
any
Private
_scheme
_scheme
:
Scheme
Private
_sum
_sum
:
Real
[]
Private
_tt
_tt
:
Real
Private
_values
_values
:
Real
[]
Private
_vertices
_vertices
:
Real
[]
[]
Private
_yb
_yb
:
Real
Private
_yflu
_yflu
:
Real
Private
_yhi
_yhi
:
Real
Private
_ylo
_ylo
:
Real
Private
_ynhi
_ynhi
:
Real
Private
_ysave
_ysave
:
Real
Private
_yt
_yt
:
Real
Private
_ytry
_ytry
:
Real
Accessors
is
Disposed
get
isDisposed
(
)
:
boolean
Returns
boolean
Methods
Private
amotsa
amotsa
(
P
:
Problem
, fac
:
Real
)
:
void
Parameters
P:
Problem
fac:
Real
Returns
void
dispose
dispose
(
)
:
void
Returns
void
minimize
minimize
(
P
:
Problem
, ec
:
EndCriteria
)
:
Type
Parameters
P:
Problem
ec:
EndCriteria
Returns
Type
sa
Init1
sa
Init1
(
lambda
:
Real
, T0
:
Real
, epsilon
:
Real
, m
:
Size
, rng
?:
any
)
:
SimulatedAnnealing
Parameters
lambda:
Real
T0:
Real
epsilon:
Real
m:
Size
Default value
rng:
any
= null
Returns
SimulatedAnnealing
sa
Init2
sa
Init2
(
lambda
:
Real
, T0
:
Real
, K
:
Size
, alpha
:
Real
, rng
?:
any
)
:
SimulatedAnnealing
Parameters
lambda:
Real
T0:
Real
K:
Size
alpha:
Real
Default value
rng:
any
= this.RNG
Returns
SimulatedAnnealing
Private
simplex
Size
simplex
Size
(
)
:
Real
Returns
Real
Globals
"ql/math/optimization/simulatedannealing"
Simulated
Annealing
Scheme
constructor
RNG
_K
_T
_
T0
_alpha
_epsilon
_fac1
_fac2
_i
_ihi
_ilo
_iteration
_iterationT
_j
_lambda
_m
_n
_pb
_ptry
_rng
_scheme
_sum
_tt
_values
_vertices
_yb
_yflu
_yhi
_ylo
_ynhi
_ysave
_yt
_ytry
is
Disposed
amotsa
dispose
minimize
sa
Init1
sa
Init2
simplex
Size
Class RNG must implement the following interface:
RNG::sample_type RNG::next() const;