<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikibase.ronzz.org/index.php?action=history&amp;feed=atom&amp;title=Optimisation_of_generic_functions</id>
	<title>Optimisation of generic functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikibase.ronzz.org/index.php?action=history&amp;feed=atom&amp;title=Optimisation_of_generic_functions"/>
	<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=Optimisation_of_generic_functions&amp;action=history"/>
	<updated>2026-11-23T21:51:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikibase.ronzz.org/index.php?title=Optimisation_of_generic_functions&amp;diff=16259&amp;oldid=prev</id>
		<title>Rongzhou: Created page with &quot;Category:Organisation&amp;efficiency &lt;blockquote&gt; Since maxima and minima are mathematically equivalent, for simplicity, in this article, formula and examples are given &#039;&#039;&#039;only&#039;&#039;&#039; for minimisation. &lt;/blockquote&gt;  To mathematically optimise a generic function $f(X)$, where $X$ is a defined &#039;&#039;&#039;domain&#039;&#039;&#039; of a finite set of variables, one may employ:  == Neighbourhood...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=Optimisation_of_generic_functions&amp;diff=16259&amp;oldid=prev"/>
		<updated>2026-11-13T15:51:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/Category:Organisation%26efficiency&quot; title=&quot;Category:Organisation&amp;amp;efficiency&quot;&gt;Category:Organisation&amp;amp;efficiency&lt;/a&gt; &amp;lt;blockquote&amp;gt; Since &lt;a href=&quot;/wiki/Mathematical_optimisation#Mathematical_equivalence_of_maximum-minimum&quot; title=&quot;Mathematical optimisation&quot;&gt;maxima and minima are mathematically equivalent&lt;/a&gt;, for simplicity, in this article, formula and examples are given &amp;#039;&amp;#039;&amp;#039;only&amp;#039;&amp;#039;&amp;#039; for minimisation. &amp;lt;/blockquote&amp;gt;  To &lt;a href=&quot;/wiki/Mathematical_optimisation&quot; title=&quot;Mathematical optimisation&quot;&gt;mathematically optimise&lt;/a&gt; a generic function $f(X)$, where $X$ is a defined &amp;#039;&amp;#039;&amp;#039;domain&amp;#039;&amp;#039;&amp;#039; of a finite &lt;a href=&quot;/wiki/Set&quot; title=&quot;Set&quot;&gt;set&lt;/a&gt; of variables, one may employ:  == Neighbourhood...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Organisation&amp;amp;efficiency]]&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Since [[mathematical optimisation#Mathematical_equivalence_of_maximum-minimum|maxima and minima are mathematically equivalent]], for simplicity, in this article, formula and examples are given &amp;#039;&amp;#039;&amp;#039;only&amp;#039;&amp;#039;&amp;#039; for minimisation.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To [[mathematical optimisation|mathematically optimise]] a generic function $f(X)$, where $X$ is a defined &amp;#039;&amp;#039;&amp;#039;domain&amp;#039;&amp;#039;&amp;#039; of a finite [[set]] of variables, one may employ:&lt;br /&gt;
&lt;br /&gt;
== Neighbourhood search ==&lt;br /&gt;
&lt;br /&gt;
Let $\vec x_1 \in X$ be a point.&lt;br /&gt;
&lt;br /&gt;
Let $N(\vec x_1)$ denote the &amp;#039;&amp;#039;&amp;#039;neighbourhood&amp;#039;&amp;#039;&amp;#039; of $\vec x_1$ (the set of all points $\vec x_1 + \delta$ adjacent to $\vec x_1$)&lt;br /&gt;
&lt;br /&gt;
Then &amp;#039;&amp;#039;&amp;#039;neighbourhood search&amp;#039;&amp;#039;&amp;#039; is iteration with step&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
\vec x_{k+1} = \arg\min_{\vec x_{\mathrm{new}} \in N(\vec x_k)} f(\vec x_{\mathrm{new}}) \tag{search for minimum}&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
where $\vec x_{\mathrm{new}}$ denotes solutions that have never been evaluated, which is essential to avoid deadloops.&lt;br /&gt;
&lt;br /&gt;
The search terminates when $\{\vec x \in N(\vec x)|\text{new}\}=\emptyset$, or solution $\vec x_k$ where $f(\vec x_k)&amp;lt;f_\text{target}$, or $k&amp;gt;k_\text{limit}$.&lt;br /&gt;
&lt;br /&gt;
=== Variant:Tabu Search ===&lt;br /&gt;
&lt;br /&gt;
For certain problems, (e.g., combinatorial), the function domain can be astronomically large. In this case, maintaining a complete list of all evaluated solution could be expensive in memory and in comparisons done at each step, in this case, a modified neighbourhood search, called &amp;#039;&amp;#039;&amp;#039;Tabu search&amp;#039;&amp;#039;&amp;#039;, may be more adapted.&lt;br /&gt;
&lt;br /&gt;
In &amp;#039;&amp;#039;&amp;#039;Tabu search&amp;#039;&amp;#039;&amp;#039;, the algorithm explores at step $k$ the most optimal point in $N(\vec k)$, regardless whether they are more optimal than point $\vec x_k$, excluding a short list $T$ of banned moves (generally, those that reverse recent moves) to prevent circular expolorations (e.g., moving $A \to B \to C \to B \to A$)&lt;br /&gt;
&lt;br /&gt;
i.e., &amp;#039;&amp;#039;&amp;#039;Tabu search&amp;#039;&amp;#039;&amp;#039; is the iteration with step&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
\vec x_{k+1} = \arg\min_{\vec x \in N(\vec x_k) \setminus T} f(S_{\mathrm{new}})&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
== Simulated Annealing ==&lt;br /&gt;
&lt;br /&gt;
Inspired by thermodynamics, &amp;#039;&amp;#039;&amp;#039;simulated annealing&amp;#039;&amp;#039;&amp;#039; accept probalistically moving to a less optimised point to escape the traps of local valleys/crests.&lt;br /&gt;
&lt;br /&gt;
At step $k$, let $\Delta f = f(\vec x \in N(\vec x_k) - f(x_k)$&lt;br /&gt;
&lt;br /&gt;
* If $\Delta f &amp;lt; 0$ (the new solution is better), &amp;#039;&amp;#039;&amp;#039;Always accept&amp;#039;&amp;#039;&amp;#039; $\vec x_{k+1}=\vec x$ ($P = 1$).&lt;br /&gt;
* If $\Delta f &amp;gt; 0$ (the new solution is worse), &amp;#039;&amp;#039;&amp;#039;Accept or reject&amp;#039;&amp;#039;&amp;#039; $\vec x_{k+1}=\vec x$ with probability of acceptance:&lt;br /&gt;
&lt;br /&gt;
$$&lt;br /&gt;
P = e^{-\frac{\Delta f}{T}}&lt;br /&gt;
$$&lt;br /&gt;
&lt;br /&gt;
Where $T$ is the &amp;#039;&amp;#039;&amp;#039;temperature parameter&amp;#039;&amp;#039;&amp;#039;. In general, one starts with a high temperature to explore different parts of the domain and gradually decreases the temperature to fine-tune and identify an optimal solution.&lt;br /&gt;
&lt;br /&gt;
until a new solution $\vec x_{k+1}$ is found.&lt;br /&gt;
&lt;br /&gt;
== Genetic algorithm ==&lt;br /&gt;
&lt;br /&gt;
See [[genetic algorithm]].&lt;/div&gt;</summary>
		<author><name>Rongzhou</name></author>
	</entry>
</feed>