<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=24.188.20.165</id>
	<title>formulasearchengine - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=24.188.20.165"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/wiki/Special:Contributions/24.188.20.165"/>
	<updated>2026-07-10T11:14:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.7</generator>
	<entry>
		<id>https://en.formulasearchengine.com/w/index.php?title=Viviani%27s_theorem&amp;diff=16779</id>
		<title>Viviani&#039;s theorem</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/w/index.php?title=Viviani%27s_theorem&amp;diff=16779"/>
		<updated>2013-09-04T20:49:44Z</updated>

		<summary type="html">&lt;p&gt;24.188.20.165: Undid revision 563532881 by 14.98.186.79 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Refimprove|date=May 2009}}&lt;br /&gt;
The &#039;&#039;&#039;facility location problem&#039;&#039;&#039;, also known as &#039;&#039;&#039;location analysis&#039;&#039;&#039; or &#039;&#039;&#039;k center problem&#039;&#039;&#039;, is a branch of [[operations research]] and [[computational geometry]] concerned with the optimal placement of facilities to minimize transportation costs while considering factors like avoiding placing hazardous materials near housing and competitors&#039; facilities. The techniques also apply to [[cluster analysis]].&lt;br /&gt;
&lt;br /&gt;
==Minisum facility location==&lt;br /&gt;
&lt;br /&gt;
A simple facility location problem is the [[Weber problem]], in which a single facility is to be placed, with the only optimization criterion being the minimization of the weighted sum of distances from a given set of point sites. More complex problems considered in this discipline include the placement of multiple facilities, constraints on the locations of facilities, and more complex optimization criteria.&lt;br /&gt;
&lt;br /&gt;
In a basic formulation, the facility location problem consists of a set of potential facility sites &#039;&#039;L&#039;&#039; where a facility can be opened, and a set of demand points &#039;&#039;D&#039;&#039; that must be serviced. The goal is to pick a subset &#039;&#039;F&#039;&#039; of facilities to open, to minimize the sum of distances from each demand point to its nearest facility, plus the sum of opening costs of the facilities.&lt;br /&gt;
&lt;br /&gt;
The facility location problem on general graphs is [[NP-hard]] to solve optimally, by reduction from (for example) the [[set cover problem]]. A number of approximation algorithms have been developed for the facility location problem and many of its variants. &lt;br /&gt;
&lt;br /&gt;
Without assumptions on the set of distances between clients and sites (in particular, without assuming that the distances satisfy the [[triangle inequality]]), the problem is known as &#039;&#039;&#039;non-metric facility location&#039;&#039;&#039; and can be approximated to within a factor O(log(n)).&amp;lt;ref&amp;gt;{{cite doi|10.1007/BF01581035}}&amp;lt;/ref&amp;gt; This factor is tight, via an [[approximation-preserving reduction]] from the set cover problem.&lt;br /&gt;
&lt;br /&gt;
If we assume distances between clients and sites are undirected and satisfy the triangle inequality, we are talking about a &#039;&#039;&#039;Metric Facility Location&#039;&#039;&#039; problem (MFL). The MFL is still NP-hard and hard to approximate within factor better than 1.46. The currently best known approximation algorithm achieves approximation ratio of 1.488.&amp;lt;ref&amp;gt;{{cite doi|10.1007/978-3-642-22012-8_5}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Minimax facility location==&lt;br /&gt;
The &#039;&#039;&#039;minimax facility location&#039;&#039;&#039; problem seeks a location which minimizes the maximum distance to the sites, where the distance from one point to the sites is the distance from the point to its nearest site. A formal definition is as follows:&lt;br /&gt;
Given a point set &#039;&#039;&#039;&#039;&#039;P&#039;&#039;&#039;&#039;&#039; ⊂ ℝ&amp;lt;sup&amp;gt;d&amp;lt;/sup&amp;gt;, find a point set &#039;&#039;&#039;&#039;&#039;S&#039;&#039;&#039;&#039;&#039; ⊂ ℝ&amp;lt;sup&amp;gt;d&amp;lt;/sup&amp;gt;, |&#039;&#039;&#039;&#039;&#039;S&#039;&#039;&#039;&#039;&#039;|=k, so that max&amp;lt;sub&amp;gt;&#039;&#039;&#039;q&#039;&#039;&#039;∈&#039;&#039;&#039;&#039;&#039;S&#039;&#039;&#039;&#039;&#039;&amp;lt;/sub&amp;gt;(min&#039;&#039;&#039;p&#039;&#039;&#039;∈&#039;&#039;&#039;&#039;&#039;P&#039;&#039;&#039;&#039;&#039;(d(&#039;&#039;&#039;p&#039;&#039;&#039;,&#039;&#039;&#039;q&#039;&#039;&#039;)) ) is minimized.&lt;br /&gt;
&lt;br /&gt;
In the case of the Euclidean metric for k=1, it is known as the [[smallest enclosing sphere]] problem or [[1-center problem]]. Its study traced at least to the year of 1860. see [[smallest enclosing circle]] and [[bounding sphere]] for more details.&lt;br /&gt;
&lt;br /&gt;
===NP Hardness===&lt;br /&gt;
It&#039;s proved that exact solution of k center problem is NP hard.&amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 | last1 = Fowler| first1 = R.J.&lt;br /&gt;
 | last2 = Paterson | first2 =M.S.&lt;br /&gt;
 | last3 = Tanimoto | first3 = S.L.&lt;br /&gt;
 | journal = Information processing letters&lt;br /&gt;
 | pages = 133–137&lt;br /&gt;
 | title = Optimal packing and covering in the plane are NP-complete&lt;br /&gt;
 | volume = 12&lt;br /&gt;
 | year = 1981}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 | last1 = Megiddo| first1 = Nimrod| authorlink = Nimrod Megiddo&lt;br /&gt;
 | last2 = Tamir| first2 =Arie &lt;br /&gt;
 | journal = Operations Research Letters&lt;br /&gt;
 | pages = 194–197&lt;br /&gt;
 | title = [http://theory.stanford.edu/~megiddo/pdf/complexity%20of%20locating%20linear%20facilities.pdf On the complexity of locating linear facilities in the plane] &lt;br /&gt;
 | volume = 1&lt;br /&gt;
 | issue = 5&lt;br /&gt;
 | year = 1982}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Gonzalez1985&amp;quot;&amp;gt;{{citation&lt;br /&gt;
 | last = Gonzalez| first = Teofilo&lt;br /&gt;
 | journal = [[Theoretical Computer Science (journal)|Theoretical Computer Science]]&lt;br /&gt;
 | pages = 293–306&lt;br /&gt;
 | title = [http://www.cs.ucsb.edu/~TEO/papers/Ktmm.pdf Clustering to minimize the maximum intercluster distance] &lt;br /&gt;
 | volume = 38&lt;br /&gt;
 | year = 1985}}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
Approximation to the problem was found to be also NP hard when the error is small. The error level in [[Approximation algorithm]] is measured as approximation factor, which is defined as the ratio between the approximation and the optimum. It&#039;s proved that the k center problem approximation is NP hard when approximation factor is less than 1.822 (dimension = 2)&amp;lt;ref name=&amp;quot;Feder1988&amp;quot;&amp;gt;{{citation&lt;br /&gt;
 | last1 = Feder | first1 = Tomás&lt;br /&gt;
 | last2 = Greene| first2 =Daniel  &lt;br /&gt;
 | journal = Proceedings of the twentieth annual ACM symposium on Theory of computing &lt;br /&gt;
 | pages = 434–444 &lt;br /&gt;
 | title = [http://theory.stanford.edu/~tomas/clustering.ps Optimal algorithms for approximate clustering] &lt;br /&gt;
 | year = 1988}}&amp;lt;/ref&amp;gt; or 2 (dimension &amp;gt;2).&amp;lt;ref name = Gonzalez1985/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Algorithms===&lt;br /&gt;
&#039;&#039;&#039;Exact solver&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
There exist algorithms to produce exact solutions to this problem. One exact solver runs in time &amp;lt;math&amp;gt;O(n^{\sqrt{k}})&amp;lt;/math&amp;gt; &amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 | last1=HWang |first1=	R. Z.&lt;br /&gt;
 | first2=R. C. T. | last2= Lee&lt;br /&gt;
 | first3=R. C. | last3= Chang&lt;br /&gt;
 | title = [http://link.springer.com/article/10.1007%2FBF01185335?LI=true# The slab dividing approach to solve the Euclidean p-center problem]&lt;br /&gt;
 | journal = Algorithmica&lt;br /&gt;
 | year = 1993&lt;br /&gt;
 | volume = 9&lt;br /&gt;
 | issue = 1&lt;br /&gt;
 | pages = 1–22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
.&amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 | last1=HWang |first1=	R. Z.&lt;br /&gt;
 | first2=R. C. | last2= Chang&lt;br /&gt;
 | first3=R. C. T. | last3= Lee&lt;br /&gt;
 | title = [http://link.springer.com/article/10.1007%2FBF01228511?LI=true# The generalized searching over separators strategy to solve some NP-Hard problems in subexponential time]&lt;br /&gt;
 | journal = Algorithmica&lt;br /&gt;
 | year = 1993&lt;br /&gt;
 | volume = 9&lt;br /&gt;
 | issue = 4&lt;br /&gt;
 | pages = 398–423}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1 + &amp;amp;epsilon; Approximation&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1+&amp;amp;epsilon; approximation is to find an solution with approximation factor no greater than 1+&amp;amp;epsilon;. This approximation is NP hard as &amp;amp;epsilon; is arbitrary. One approach based on core-set concept is proposed with execution complexity of  &amp;lt;math&amp;gt;O(2^{O(\frac{k \log{k}}{\epsilon^{2}}))}dn)&amp;lt;/math&amp;gt;&amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 |first1=Mihai |last1= Bādoiu&lt;br /&gt;
 |first2=Sariel |last2=Har-Peled&lt;br /&gt;
 |first3=Piotr |last3= Indyk&lt;br /&gt;
 |title= [http://www.cs.duke.edu/courses/spring07/cps296.2/papers/badoiu02approximate.pdf Approximate clustering via core-sets]&lt;br /&gt;
 |journal = Proceedings of the thirty-fourth annual ACM symposium on Theory of computing &lt;br /&gt;
 |pages = 250–257&lt;br /&gt;
 |year = 2002&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
. As an alternative, another algorithm also based on core-set is available. It runs in &amp;lt;math&amp;gt;O(k^n)&amp;lt;/math&amp;gt;&amp;gt;.&amp;lt;ref&amp;gt;{{citation&lt;br /&gt;
 |first1=Pankaj |last1= Kumar&lt;br /&gt;
 |first2=Piyush |last2= Kumar&lt;br /&gt;
 |title= [http://compgeom.com/~piyush/papers/kcenter.pdf Almost optimal solutions to k-clustering problems]&lt;br /&gt;
 |journal=International Journal of Computational Geometry &amp;amp; Applications&lt;br /&gt;
 |volume= 20&lt;br /&gt;
 |issue= 04&lt;br /&gt;
 |year= 2010&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; The author claims that the running time is much less than the worst case and thus it&#039;s possible to solve some problems when k is small (say k&amp;lt;5).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Farthest Point Clustering&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the hardness of the problem, it&#039;s impractical to get an exact solution or precise approximation. Instead, an approximation with factor=2 is widely used for large k cases. The approximation is referred the Farthest Point Clustering (FPC) algorithm.&amp;lt;ref name=Gonzalez1985/&amp;gt; The algorithm is quite simple: pick any point from the set as one center; search for the farthest point from remaining set as another center; repeat the process until k centers are found.&lt;br /&gt;
&lt;br /&gt;
It&#039;s easy to see that this algorithm runs in linear time. As approximation with factor less than 2 is proved to be NP hard, FPC was regarded as the best approximation one can find. &lt;br /&gt;
&lt;br /&gt;
As per the performance of execution, the time complexity is later improved to &amp;lt;math&amp;gt;O(n \log{k})&amp;lt;/math&amp;gt; with box decomposition technique.&amp;lt;ref name=Feder1988/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Maxmin facility location==&lt;br /&gt;
The &#039;&#039;&#039;maxmin facility location&#039;&#039;&#039; or &#039;&#039;&#039;obnoxious facility location&#039;&#039;&#039; problem seeks a location which maximizes the minimum distance to the sites. In the case of the Euclidean metric, it is known as the [[largest empty sphere]] problem. The planar case ([[largest empty circle]] problem) may be solved in  [[time complexity|optimal time]] &amp;lt;math&amp;gt;\Theta(n\, \log\, n)\,.&amp;lt;/math&amp;gt; &amp;lt;ref name=ps256&amp;gt;{{cite book&lt;br /&gt;
|author = [[Franco P. Preparata]] and [[Michael Ian Shamos]] | title = Computational Geometry - An Introduction | publisher = Springer-Verlag| year = 1985 | id = 1st edition: ISBN 0-387-96131-3; 2nd printing, corrected and expanded, 1988: ISBN 3-540-96131-3; Russian translation, 1989: ISBN 5-03-001041-6}}, [http://books.google.com/books?id=gFtvRdUY09UC&amp;amp;pg=PA256&amp;amp;lpg=PA256&amp;amp;dq=%22minimax+facilities+location%22&amp;amp;source=bl&amp;amp;ots=dNgqxVw_fA&amp;amp;sig=l1wPWBd1PrIEMnVIMJbAb-a_OAg&amp;amp;hl=en&amp;amp;ei=tIo5S8zeOZGCswP6mJXQBA&amp;amp;sa=X&amp;amp;oi=book_result&amp;amp;ct=result&amp;amp;resnum=1&amp;amp;ved=0CAgQ6AEwAA#v=onepage&amp;amp;q=%22minimax%20facilities%20location%22&amp;amp;f=false p. 256]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;G. T. Toussaint, &amp;quot;Computing largest empty circles with location constraints,&amp;quot; &#039;&#039;International Journal of Computer and Information Sciences&#039;&#039;, vol. 12, No. 5, October, 1983, pp. 347-358.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Graph center]]&lt;br /&gt;
*[[Quadratic assignment problem]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
*[[INFORMS]] [http://location.section.informs.org/ section on location analysis], a professional society concerned with facility location.&lt;br /&gt;
*[http://gator.dt.uh.edu/~halet/ Bibliography on facility location] collected by Trevor Hale, containing over 3400 articles.&lt;br /&gt;
*[http://www.mathematik.uni-kl.de/~lola/ Library of location algorithms]&lt;br /&gt;
*[http://sporkforge.com/opt/facility_locate.php Web-based facility location utility (single facility)]&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Facility Location}}&lt;br /&gt;
[[Category:Operations research]]&lt;/div&gt;</summary>
		<author><name>24.188.20.165</name></author>
	</entry>
</feed>