<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fibonacci搜索算法 &#8211; 编码无悔 /  Intent &amp; Focused</title>
	<atom:link href="https://www.codelast.com/tag/fibonacci%E6%90%9C%E7%B4%A2%E7%AE%97%E6%B3%95/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.codelast.com</link>
	<description>最优化之路</description>
	<lastBuildDate>Mon, 27 Apr 2020 17:29:15 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>[原创]漫谈line search中的Fibonacci搜索与黄金比例搜索</title>
		<link>https://www.codelast.com/%e5%8e%9f%e5%88%9b%e6%bc%ab%e8%b0%88line-search%e4%b8%ad%e7%9a%84fibonacci%e6%90%9c%e7%b4%a2%e4%b8%8e%e9%bb%84%e9%87%91%e6%af%94%e4%be%8b%e6%90%9c%e7%b4%a2/</link>
					<comments>https://www.codelast.com/%e5%8e%9f%e5%88%9b%e6%bc%ab%e8%b0%88line-search%e4%b8%ad%e7%9a%84fibonacci%e6%90%9c%e7%b4%a2%e4%b8%8e%e9%bb%84%e9%87%91%e6%af%94%e4%be%8b%e6%90%9c%e7%b4%a2/#respond</comments>
		
		<dc:creator><![CDATA[learnhard]]></dc:creator>
		<pubDate>Sun, 27 Oct 2013 04:37:21 +0000</pubDate>
				<category><![CDATA[Algorithm]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[Fibonacci search]]></category>
		<category><![CDATA[Fibonacci搜索算法]]></category>
		<category><![CDATA[golden section search]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[最优化]]></category>
		<guid isPermaLink="false">http://www.codelast.com/?p=7446</guid>

					<description><![CDATA[<p>
在一维搜索（line search）中，Fibonacci搜索与黄金比例搜索是一对&#8220;亲兄弟&#8221;，因为它们都是用分割区间的方法来求极小值，所以过程是相似的。本文就随意聊一下它们的区别与联系。<br />
<span id="more-7446"></span><br />
从名字上看，Fibonacci搜索算法当然与<a href="http://zh.wikipedia.org/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B0%E5%88%97" target="_blank" rel="noopener noreferrer"><span style="background-color:#ffa07a;">Fibonacci数列</span></a>有关。<br />
Fibonacci数列用如下式子表达：<br />
 <span class='MathJax_Preview'><img src='https://www.codelast.com/wp-content/plugins/latex/cache/tex_4fbd1c6f75756dac6bdfab7c26b95160.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="{F_0} = 0,\;{F_1} = 1,\;{F_n} = {F_{n - 1}} + {F_{n - 2}}" /></span><script type='math/tex'>{F_0} = 0,\;{F_1} = 1,\;{F_n} = {F_{n - 1}} + {F_{n - 2}}</script> <br />
即：第1个数为0，第2个数为1，后面的每个数都是前两个数之和，例如 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, &#8230;<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
Fibonacci搜索算法就是利用了该数列进行区间的分割。与<a href="http://www.codelast.com/?p=434" target="_blank" rel="noopener noreferrer"><span style="background-color:#ffa07a;">黄金比例搜索算法</span></a>每次分割区间时使用固定的比例（0.618）不同，Fibonacci搜索算法的区间缩短率是不固定的 <span class='MathJax_Preview'><img src='https://www.codelast.com/wp-content/plugins/latex/cache/tex_e891bec41ecca95e215c22e093b647f1.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="\frac{{{F_{i - 1}}}}{{{F_i}}}" /></span><script type='math/tex'>\frac{{{F_{i - 1}}}}{{{F_i}}}</script> 。</p>
<p>Fibonacci搜索算法要先确定搜索点的个数，并且在用分割方法求一维极小化问题时，Fibonacci是最优的策略（袁亚湘的书上说这个是可以证明的，但我没看怎么证明）。但跟Golden Section Search相比，由于Golden Section Search简单，所以更常用。并且，在实际中，为了能达到更快的收敛速度，通常会让Golden Section Search配合使用逆抛物内插或其他超线性收敛技术（例如复杂的Brent算法，就是结合了黄金分割+逆抛物内插的可靠line search算法），所以，也不是非用Fibonacci不可。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a>&#8230; <a href="https://www.codelast.com/%e5%8e%9f%e5%88%9b%e6%bc%ab%e8%b0%88line-search%e4%b8%ad%e7%9a%84fibonacci%e6%90%9c%e7%b4%a2%e4%b8%8e%e9%bb%84%e9%87%91%e6%af%94%e4%be%8b%e6%90%9c%e7%b4%a2/" class="read-more">Read More </a></p>]]></description>
										<content:encoded><![CDATA[<p>
在一维搜索（line search）中，Fibonacci搜索与黄金比例搜索是一对&ldquo;亲兄弟&rdquo;，因为它们都是用分割区间的方法来求极小值，所以过程是相似的。本文就随意聊一下它们的区别与联系。<br />
<span id="more-7446"></span><br />
从名字上看，Fibonacci搜索算法当然与<a href="http://zh.wikipedia.org/wiki/%E6%96%90%E6%B3%A2%E9%82%A3%E5%A5%91%E6%95%B0%E5%88%97" target="_blank" rel="noopener noreferrer"><span style="background-color:#ffa07a;">Fibonacci数列</span></a>有关。<br />
Fibonacci数列用如下式子表达：<br />
 <span class='MathJax_Preview'><img src='https://www.codelast.com/wp-content/plugins/latex/cache/tex_4fbd1c6f75756dac6bdfab7c26b95160.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="{F_0} = 0,\;{F_1} = 1,\;{F_n} = {F_{n - 1}} + {F_{n - 2}}" /></span><script type='math/tex'>{F_0} = 0,\;{F_1} = 1,\;{F_n} = {F_{n - 1}} + {F_{n - 2}}</script> <br />
即：第1个数为0，第2个数为1，后面的每个数都是前两个数之和，例如 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, &hellip;<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
Fibonacci搜索算法就是利用了该数列进行区间的分割。与<a href="http://www.codelast.com/?p=434" target="_blank" rel="noopener noreferrer"><span style="background-color:#ffa07a;">黄金比例搜索算法</span></a>每次分割区间时使用固定的比例（0.618）不同，Fibonacci搜索算法的区间缩短率是不固定的 <span class='MathJax_Preview'><img src='https://www.codelast.com/wp-content/plugins/latex/cache/tex_e891bec41ecca95e215c22e093b647f1.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="\frac{{{F_{i - 1}}}}{{{F_i}}}" /></span><script type='math/tex'>\frac{{{F_{i - 1}}}}{{{F_i}}}</script> 。</p>
<p>Fibonacci搜索算法要先确定搜索点的个数，并且在用分割方法求一维极小化问题时，Fibonacci是最优的策略（袁亚湘的书上说这个是可以证明的，但我没看怎么证明）。但跟Golden Section Search相比，由于Golden Section Search简单，所以更常用。并且，在实际中，为了能达到更快的收敛速度，通常会让Golden Section Search配合使用逆抛物内插或其他超线性收敛技术（例如复杂的Brent算法，就是结合了黄金分割+逆抛物内插的可靠line search算法），所以，也不是非用Fibonacci不可。<br />
<span style="color: rgb(255, 255, 255);">文章来源：</span><a href="http://www.codelast.com/" target="_blank" rel="noopener noreferrer"><span style="color: rgb(255, 255, 255);">http://www.codelast.com/</span></a><br />
最后，Fibonacci搜索算法是线性收敛的，它的极限形式正是Golden Section Search，即：<br />
 <span class='MathJax_Preview'><img src='https://www.codelast.com/wp-content/plugins/latex/cache/tex_ee14366e08b63d4c51639b702ac92169.gif' style='vertical-align: middle; border: none; padding-bottom:2px;' class='tex' alt="\mathop {\lim }\limits_{n \to \infty } \frac{{{F_{n - 1}}}}{{{F_n}}} = \frac{{\sqrt 5 - 1}}{2} \approx 0.618" /></span><script type='math/tex'>\mathop {\lim }\limits_{n \to \infty } \frac{{{F_{n - 1}}}}{{{F_n}}} = \frac{{\sqrt 5 - 1}}{2} \approx 0.618</script> </p>
<p><span style="color: rgb(255, 255, 255);">文章来源：</span><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><span style="color: rgb(255, 255, 255);">https://www.codelast.com/</span></a><br />
<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;版权声明&nbsp;<span style="color: rgb(255, 0, 0);">➤➤</span>&nbsp;<br />
转载需注明出处：<u><a href="https://www.codelast.com/" rel="noopener noreferrer" target="_blank"><em><span style="color: rgb(0, 0, 255);"><strong style="font-size: 16px;"><span style="font-family: arial, helvetica, sans-serif;">codelast.com</span></strong></span></em></a></u>&nbsp;<br />
感谢关注我的微信公众号（微信扫一扫）：</p>
<p style="border: 0px; font-size: 13px; margin: 0px 0px 9px; outline: 0px; padding: 0px; color: rgb(77, 77, 77);">
	<img decoding="async" alt="wechat qrcode of codelast" src="https://www.codelast.com/codelast_wechat_qr_code.jpg" style="width: 200px; height: 200px;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.codelast.com/%e5%8e%9f%e5%88%9b%e6%bc%ab%e8%b0%88line-search%e4%b8%ad%e7%9a%84fibonacci%e6%90%9c%e7%b4%a2%e4%b8%8e%e9%bb%84%e9%87%91%e6%af%94%e4%be%8b%e6%90%9c%e7%b4%a2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
