14
14
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="compute_initial_temp" xml:lang="en">
16
<refname>compute_initial_temp</refname>
18
A SA function which allows to compute the initial temperature
19
of the simulated annealing
23
<title>Calling Sequence</title>
24
<synopsis>T_init = compute_initial_temp(x0,f,proba_init, ItMX [, param] )</synopsis>
27
<title>Arguments</title>
32
<para>the starting point</para>
39
the objective function which will be send to the simulated
40
annealing for optimization
45
<term>proba_init</term>
48
the initial probability of accepting a bad solution (usually
57
the number of iterations of random walk (usually around
65
<para>optional, a data structure managed with the parameters module.</para>
67
The <literal>optim_sa</literal> function is sensitive to the following fields.
71
<term>"neigh_func"</term>
74
a function which computes a neighbor of a given point.
75
The default neighbourhood function is <literal>neigh_func_default</literal>.
80
<term>"type_accept"</term>
83
the type of acceptation function.
84
If the type is equal to "sa", then the initial temperature
85
is computed from <literal>T_init = - f_sum ./ log(proba_init)</literal>.
86
If the type is equal to "vfsa", it is computed
87
from <literal>T_init = abs(f_sum / log(1/proba_init - 1))</literal>.
98
The initial temperature corresponding to the given probability
99
of accepting a bad solution
106
<title>Description</title>
108
This function computes an initial temperature given an initial
109
probability of accepting a bad solution. This computation is based on
110
some iterations of random walk.
114
<title>Examples</title>
115
<programlisting role="example"><![CDATA[
16
<refname>compute_initial_temp</refname>
18
A SA function which allows to compute the initial temperature
19
of the simulated annealing
23
<title>Calling Sequence</title>
24
<synopsis>T_init = compute_initial_temp(x0,f,proba_init, ItMX [, param] )</synopsis>
27
<title>Arguments</title>
32
<para>the starting point</para>
39
the objective function which will be send to the simulated
40
annealing for optimization
45
<term>proba_init</term>
48
the initial probability of accepting a bad solution (usually
57
the number of iterations of random walk (usually around
65
<para>optional, a data structure managed with the parameters module.</para>
67
The <literal>optim_sa</literal> function is sensitive to the following fields.
71
<term>"neigh_func"</term>
74
a function which computes a neighbor of a given point.
75
The default neighbourhood function is <literal>neigh_func_default</literal>.
80
<term>"type_accept"</term>
83
the type of acceptation function.
84
If the type is equal to "sa", then the initial temperature
85
is computed from <literal>T_init = - f_sum ./ log(proba_init)</literal>.
86
If the type is equal to "vfsa", it is computed
87
from <literal>T_init = abs(f_sum / log(1/proba_init - 1))</literal>.
98
The initial temperature corresponding to the given probability
99
of accepting a bad solution
106
<title>Description</title>
108
This function computes an initial temperature given an initial
109
probability of accepting a bad solution. This computation is based on
110
some iterations of random walk.
114
<title>Examples</title>
115
<programlisting role="example"><![CDATA[
116
116
deff('y=f(x)','y=sum(x.^2)');
126
126
T0 = compute_initial_temp(x0, rastrigin, Proba_start, It_Pre, saparams);
127
127
]]></programlisting>
129
<refsection role="see also">
130
<title>See Also</title>
131
<simplelist type="inline">
133
<link linkend="optim_sa"> optim_sa </link>
136
<link linkend="neigh_func_default">
141
<link linkend="temp_law_default">
129
<refsection role="see also">
130
<title>See Also</title>
131
<simplelist type="inline">
133
<link linkend="optim_sa"> optim_sa </link>
136
<link linkend="neigh_func_default">
141
<link linkend="temp_law_default">