SlideShare a Scribd company logo
1 of 35
Download to read offline
Approximation	Algorithms
Chapter	24.	Facility	Location
2017.06.02.
Sangwoo	Mo
1/34
Table	of	Contents
• LP	Duality
• Facility	Location
• Algorithm
• Analysis
2/34
Table	of	Contents
• LP	Duality
• Facility	Location
• Algorithm
• Analysis
3/34
LP	Duality
• Primal	(𝓟):
minimize ∑ 𝑐& 𝑥&
(
&)*
subject	to ∑ 𝑎,& 𝑥& ≥ 𝑏,
(
&)* 𝑖 = 1, … , 𝑚
𝑥& ≥ 0 𝑗 = 1, … , 𝑛
• Dual	(𝓓):
maximize ∑ 𝑏, 𝑦,
:
,)*
subject	to ∑ 𝑎,& 𝑦,
:
,)* ≤ 𝑐& 𝑗 = 1, … , 𝑛
𝑦, ≥ 0 𝑖 = 1, … , 𝑚
4/34
LP	Duality	(Example)
• Let’s	consider	a	simple	example
minimize 7𝑥* + 𝑥> + 5𝑥@
subject	to 𝑥* − 𝑥> + 3𝑥@ ≥ 10
5𝑥* + 2𝑥> − 𝑥@ ≥ 6
𝑥*, 𝑥>, 𝑥@ ≥ 0
• Let	𝑓 be	objective,	𝑓* and	𝑓> be	L.H.S.	of	constraints	respectively
• The	goal	is	finding	the	lower	bound of	the	objective	𝑓
• Since	𝑓, and	𝑥, are	bounded	below,	if	we	can	represent	𝑓 with	
positive	combination of	𝑓, and	𝑥,,	be	can	bound	𝑓 below
• ex)	7𝑥* + 𝑥> + 5𝑥@ ≥ 𝑥* − 𝑥> + 3𝑥@ + 5𝑥* + 2𝑥> − 𝑥@ ≥ 16
5/34
LP	Duality	(Example)
• Let	𝑓 be	objective,	𝑓* and	𝑓> be	L.H.S.	of	constraints	respectively
• The	goal	is	finding	the	lower	bound of	the	objective	𝑓
• Let	𝑦, be	positive	weight	for	𝑓, such	that	𝑓 ≥ ∑ 𝑦, 𝑓,
• For	each	coefficient	of	∑ 𝑦, 𝑓,,	it	should	be	upper	bounded	by	𝑓
• It	leads	the	dual	program of	𝑦,,	which	also	forms	LP
• For	previous	example,	the	dual	program	is
maximize 10𝑦* + 6𝑦>
subject	to 𝑦* + 5𝑦> ≤ 7
−𝑦* + 2𝑦> ≤ 1
3𝑦* − 𝑦> ≤ 5
𝑦*, 𝑦> ≥ 0
6/34
Duality	Theorem
• LP	duality	theorem: Let	𝑥∗, 𝑦∗ are	optimal	solutions	of	primal	and	
dual	programs	respectively.	Then	∑ 𝑐& 𝑥&
∗(
&)* = ∑ 𝑏, 𝑦,
∗:
,)* .
• Weak	duality	theorem: Let	𝑥, 𝑦 are	feasible	solutions	of	primal	and	
dual	programs	respectively.	Then	∑ 𝑐& 𝑥&
(
&)* ≥ ∑ 𝑏, 𝑦,
:
,)* .
• Proof)		∑ 𝑐& 𝑥&& ≥ ∑ ∑ 𝑎,& 𝑦,, 𝑥&& = ∑ ∑ 𝑎,& 𝑥&& 𝑦,, ≥ ∑ 𝑏, 𝑦,,
• Complementary	slackness: From	equality	condition,	we	obtain
• Primal	C.S.: For	each	𝑗,	either	𝑥& = 0 or	∑ 𝑎,& 𝑦,, = 𝑐&
• Dual	C.S.: For	each	𝑖,	either	𝑦, = 0 or	∑ 𝑎,& 𝑥&, = 𝑏,
𝑝∗
= 𝑑∗
7/34
Table	of	Contents
• LP	Duality
• Facility	Location
• Algorithm
• Analysis
8/34
Facility	Location
• (Metric	Uncapacitated)	Facility	Location:
• Let	𝐺 be	a	bipartite	graph	with	bipartition	(𝐹, 𝐶)
• Let	𝑓, be	the	cost	of	opening facility	𝑖
• Let	𝑐,& be	the	cost	of	connecting city	𝑗 to	facility	𝑖
• Find	the	optimal	way	to	connect	cities	to	open	facilities
Source:	http://www.or.uni-bonn.de/~vygen/files/tokyo.pdf 9/34
Facility	Location	(Formal	Ver.)
• (Metric	Uncapacitated)	Facility	Location:
• Let	𝐺 be	a	bipartite	graph	with	bipartition	(𝐹, 𝐶)
• Let	𝑓, be	the	cost	of	opening facility	𝑖
• Let	𝑐,& be	the	cost	of	connecting city	𝑗 to	facility	𝑖
• Then
minimize ∑ 𝑐,& 𝑥,&,∈N,&∈O + ∑ 𝑓, 𝑦,,∈N
subject	to ∑ 𝑥,&,∈N ≥ 1 𝑗 ∈ 𝐶
𝑦, − 𝑥,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶
𝑥,& ∈ {0,1} 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶
𝑦, ∈ {0,1} 𝑖 ∈ 𝐹
• Let	𝑖 ∈ 𝐼 iff	𝑦, = 1,	and	𝜙 𝑗 = 𝑖 iff	𝑥,& = 1
10/34
Facility	Location	(Primal-Dual	schema)
• Primal	 𝓟 (LP	Relaxation):
minimize ∑ 𝑐,& 𝑥,&,∈N,&∈O + ∑ 𝑓, 𝑦,,∈N
subject	to ∑ 𝑥,&,∈N ≥ 1 𝑗 ∈ 𝐶
𝑦, − 𝑥,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶
𝑥,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶
𝑦, ≥ 0 𝑖 ∈ 𝐹
• Dual	(𝓓):
minimize ∑ 𝛼&&∈O
subject	to 𝛼& − 𝛽,& ≤ 𝑐,& 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶
∑ 𝛽,&&∈O ≤ 𝑓, 𝑖 ∈ 𝐹
𝛼& ≥ 0 𝑗 ∈ 𝐶
𝛽,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶
11/34
Facility	Location	(C.S.	conditions)
• Complementary	Slackness	conditions:
① ∀𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶: 𝑥,& > 0 ⇒ 𝛼& − 𝛽,& = 𝑐,&
② ∀𝑖 ∈ 𝐹: 𝑦, > 0 ⇒ ∑ 𝛽,&&∈O = 𝑓,
③ ∀𝑗 ∈ 𝐶: 𝛼& > 0 ⇒ ∑ 𝑥,&,∈N = 1
④ ∀𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶: 𝛽,& > 0 ⇒ 𝑦, = 𝑥,&
• Suppose	optimal	solution	is	LP	is	integral,	then
• By	condition	④,	if	𝑖 ∈ 𝐼 but	𝜙 𝑗 ≠ 𝑖 then	𝑦, ≠ 𝑥,&,	thus	𝛽,& = 0
• By	condition	②,	∀𝑖 ∈ 𝐼, ∑ 𝛽,&&:[ & ), = 𝑓,
• By	condition	①,	if	𝜙 𝑗 = 𝑖 then	𝛼& − 𝛽,& = 𝑐,&
• It	implies	that	total	price of	city	𝜶𝒋 is	sum	of	𝒄𝒊𝒋:	edge	price	and
𝜷𝒊𝒋:	contribution	of	city	𝑗 opening	facility	𝑖
12/34
Facility	Location	(C.S.	conditions)
• It	implies	that	total	price of	city	𝜶𝒋 is	sum	of	𝒄𝒊𝒋:	edge	price	and
𝜷𝒊𝒋:	contribution	of	city	𝑗 opening	facility	𝑖
Source:	http://www.or.uni-bonn.de/~vygen/files/tokyo.pdf
𝜶 𝟏 = 𝒄 𝟏𝟏 + 𝜷 𝟏𝟏
𝜶 𝟐 = 𝒄 𝟏𝟐 + 𝜷 𝟏𝟐
𝒇 𝟏 = 𝜷 𝟏𝟏 + 𝜷 𝟏𝟐
𝒄 𝟏𝟏
𝒄 𝟏𝟐
13/34
Table	of	Contents
• LP	Duality
• Facility	Location
• Algorithm
• Analysis
14/34
Algorithm
• Phase	1:	Collect	all	candidate	facilities
• Let	(𝑖, 𝑗) be	tight if	𝛼& ≥ 𝑐,&,	and	(𝑖, 𝑗) be	special if	𝛽,& > 0
• Initialize	every	city	not	connected,	𝛼&, 𝛽,& = 0
• While	not	every	city	connected:
• Increase	𝛼& of	every	unconnected	cities	by	1
• If	(𝑖, 𝑗) is	tight,	increase	𝛽,& by	1	to	satisfy	𝛼& = 𝑐,& + 𝛽,&
• If	𝑓, = ∑ 𝛽,&& ,	let	facility	𝑖 be	temporarily	open
• Every	city	𝑗 tight	to	𝑖 is	now	connected	to	𝑖
15/34
Algorithm
• Phase	2:	Prune	unnecessary	facilities
• Let	𝑖 and	𝑖d are	conflicting if	there	is	𝑗 such	that	𝛽,&, 𝛽,e& > 0
• Consider	graph	𝐹f such	that	nodes	are	temporarily	open,	and
edge	implies	two	nodes	are	conflicting
• Choose	maximal	independent	set 𝐼 ⊂ 𝐹f and	let	𝑖 ∈ 𝐼 be	open
• If	𝜙(𝑗) ∈ 𝐼,	keep	connection	and	let	𝑗 be	directly	connected to	𝜙(𝑗)
• Else,	let	𝑖 be	any	neighbor	of	𝜙(𝑗),	connect	𝑗 to	𝑖,	and	let	𝑗 be	
indirectly	connected to	𝑖
• Note	that	𝛽,& = 0 if	𝑗 is	indirectly	connected	to	𝑖
16/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
Source:	http://www.showme.com/sh?h=6W3DJpI&jw_version=6 17/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 1 11 11
18/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 2 22 22
(1) (1) (1)𝜷𝒊𝒋
19/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 33 33
(2) (2) (2)𝜷𝒊𝒋 (1) (1) (1)
20/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 33 33
(2) (2) (2)𝜷𝒊𝒋 (1) (1) (1)
21/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 44 43
(2) (2) (3)𝜷𝒊𝒋 (1) (2) (2)
22/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 44 43
(2) (2) (3)𝜷𝒊𝒋 (1) (2) (2)
23/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 54 53
(2) (2) (3)𝜷𝒊𝒋 (1) (2) (3)
24/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 54 53
(2) (2) (3)𝜷𝒊𝒋 (1) (2) (3)
25/34
Algorithm	(Example)
3 4 6
1 2 1 2 1 2 10
𝜶𝒋 3 104 53
(2) (2) (3)𝜷𝒊𝒋 (1) (2) (3)
26/34
Algorithm	(Example)
3 4 6
𝜶𝒋 3 104 53
1 2 1 2 1 2 10(2) (2) (3)𝜷𝒊𝒋 (1) (2) (3)
27/34
Algorithm	(Example)
3 4 6
𝜶𝒋 3 104 53
1 2 1 2 10(2) (3)𝜷𝒊𝒋 (1) (3)
28/34
Algorithm	(Example)
3 4 6
𝜶𝒋 3 104 53
1 2 2 10(2)𝜷𝒊𝒋 (2) (3)
29/34
1(2)
Table	of	Contents
• LP	Duality
• Facility	Location
• Algorithm
• Analysis
30/34
Theorem
• Theorem The	solution	of	algorithm	satisfy
h 𝑐,& 𝑥,&
,∈N,&∈O
+ 3 h 𝑓, 𝑦,
,∈N
≤ 3 h 𝛼&
&∈O
• Corollary The	dual	solution	is	3-approximation	algorithm
• Proof)		Let	𝛼& = 𝛼&
i
+ 𝛼&
j
,	each	contributes	to	facility/edge
• If	𝑗 is	directly	connected,	let	𝛼&
i
= 𝛽,& and	𝛼&
j
= 𝑐,& where	𝑖 = 𝜙(𝑗)
• If	𝑗 is	indirectly	connected,	let	𝛼&
i
= 0 and	𝛼&
j
= 𝛼&
• Goal:	prove	that
① ∑ 𝑓, 𝑦,,∈N = ∑ 𝛼&&∈O
i
② ∑ 𝑐,& 𝑥,&,∈N,&∈O ≤ 3 ∑ 𝛼&&∈O
j
31/34
Theorem
• Lemma	1		∑ 𝑓, 𝑦,,∈N = ∑ 𝛼&&∈O
i
• Proof)
h 𝑓, 𝑦,
,∈N
= h 𝑓,
,∈k
= h h 𝛼&
i
&:[ & ),,∈k
= h 𝛼&
i
&∈O
• Lemma	2 ∑ 𝑐,& 𝑥,&,∈N,&∈O ≤ 3 ∑ 𝛼&
j
&∈O
	
• Proof)		For	directly	connected	city,	𝑐[(&)& = 𝛼&
j
≤ 3𝛼&
j
• Goal:	prove	that	𝑐[(&)& ≤ 3𝛼&
j
for	indirectly	connected	cities	too
• Then
h 𝑐,& 𝑥,&
,∈N,&∈O
= h 𝑐[ & &
&∈O
≤ 3 h 𝛼&
j
&∈O
	
32/34
Theorem
• Lemma	2 ∑ 𝑐,& 𝑥,&,∈N,&∈O ≤ 3 ∑ 𝛼&
j
&∈O
	
• Goal:	prove	that	𝑐[(&)& ≤ 3𝛼&
j
for	indirectly
connected	city	𝑗
• Let	𝑗 is	temporarily	connected	to	𝑖′,	and	indirectly	connected	to	𝑖
• Then	there	is	𝑗′ such	that	specially	connected	to	both	𝑖 and	𝑖′
• Let	𝑡* and	𝑡> be	time	that	𝑖 and	𝑖′ be	opened
• Since	both	(𝑖, 𝑗d) and	(𝑖d, 𝑗d) are	special,	they	must	be	tight	before
either	𝑖 or	𝑖′ be	opened	i.e.	𝛼&d ≤ min(𝑡*, 𝑡>)
• Since	(𝑖d, 𝑗) is	tight,	𝛼& ≥ 𝑡>,	and	it	leads	𝛼& ≥ 𝛼&e
• By	tightness,	𝛼& ≥ 𝑐,e&,	𝛼&e ≥ 𝑐,&e and	𝛼&e ≥ 𝑐,e&e
• Thus,	by	triangle	inequality,	𝑐,& ≤ 𝑐,e& + 𝑐,&e + 𝑐,e&e ≤ 3𝛼&
	
= 3𝛼&
j
33/34
Tight	Example
• Consider	example	below
• After	Phase	1,	both	facility	1	and	2	are	temporality	open
• If	chosen	independent	set	is	{1},	the	total	cost	is	𝜖 + 1 + 3(𝑛 − 1),	
where	the	optimal	cost	is	 𝑛 + 1 𝜖 + 𝑛
𝝐 𝝐(𝒏 + 𝟏)𝝐 (𝒏 + 𝟏)𝝐
(𝟏) 𝟐
𝟐
𝟐
(𝟏)
(𝟏)
(𝟏)
(𝟏)
34/34
FYI:	Better	Approximation	Ratios
Source:	http://www.or.uni-bonn.de/~vygen/files/tokyo.pdf 35/34

More Related Content

What's hot

AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability DistributionAI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability DistributionMohammad Imam Hossain
 
Hyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband AlgorithmHyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband AlgorithmDeep Learning Italia
 
Transportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingTransportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingMirza Tanzida
 
Parametric & Non-Parametric Machine Learning (Supervised ML)
Parametric & Non-Parametric Machine Learning (Supervised ML)Parametric & Non-Parametric Machine Learning (Supervised ML)
Parametric & Non-Parametric Machine Learning (Supervised ML)Rehan Guha
 
Nature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic AlgorithmsNature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic AlgorithmsXin-She Yang
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear ProgrammingSukhpalRamanand
 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gpPUTTU GURU PRASAD
 
Types of Mathematical Model.
Types of Mathematical Model.Types of Mathematical Model.
Types of Mathematical Model.Megha Sharma
 
Introduction to optimization technique
Introduction to optimization techniqueIntroduction to optimization technique
Introduction to optimization techniqueKAMINISINGH963
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood searchAhmed Fouad Ali
 
Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)
Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)
Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)ftgaic
 
Notes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgNotes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgTess Ferrandez
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysisajmalcs
 
AI Heuristic Search - Beam Search - Simulated Annealing
AI Heuristic Search - Beam Search - Simulated AnnealingAI Heuristic Search - Beam Search - Simulated Annealing
AI Heuristic Search - Beam Search - Simulated AnnealingAhmed Gad
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithmsAboul Ella Hassanien
 

What's hot (20)

AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability DistributionAI 8 | Probability Basics, Bayes' Rule, Probability Distribution
AI 8 | Probability Basics, Bayes' Rule, Probability Distribution
 
Hyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband AlgorithmHyperparameter Optimization with Hyperband Algorithm
Hyperparameter Optimization with Hyperband Algorithm
 
Transportation Problem In Linear Programming
Transportation Problem In Linear ProgrammingTransportation Problem In Linear Programming
Transportation Problem In Linear Programming
 
Parametric & Non-Parametric Machine Learning (Supervised ML)
Parametric & Non-Parametric Machine Learning (Supervised ML)Parametric & Non-Parametric Machine Learning (Supervised ML)
Parametric & Non-Parametric Machine Learning (Supervised ML)
 
Nature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic AlgorithmsNature-Inspired Metaheuristic Algorithms
Nature-Inspired Metaheuristic Algorithms
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gp
 
Types of Mathematical Model.
Types of Mathematical Model.Types of Mathematical Model.
Types of Mathematical Model.
 
Metaheuristics
MetaheuristicsMetaheuristics
Metaheuristics
 
Introduction to optimization technique
Introduction to optimization techniqueIntroduction to optimization technique
Introduction to optimization technique
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
AI 6 | Adversarial Search
AI 6 | Adversarial SearchAI 6 | Adversarial Search
AI 6 | Adversarial Search
 
Variable neighborhood search
Variable neighborhood searchVariable neighborhood search
Variable neighborhood search
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)
Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)
Application of Monte Carlo Tree Search in a Fighting Game AI (GCCE 2016)
 
Notes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew NgNotes from Coursera Deep Learning courses by Andrew Ng
Notes from Coursera Deep Learning courses by Andrew Ng
 
Amortized analysis
Amortized analysisAmortized analysis
Amortized analysis
 
Markov exercises
Markov exercisesMarkov exercises
Markov exercises
 
AI Heuristic Search - Beam Search - Simulated Annealing
AI Heuristic Search - Beam Search - Simulated AnnealingAI Heuristic Search - Beam Search - Simulated Annealing
AI Heuristic Search - Beam Search - Simulated Annealing
 
Optimization problems and algorithms
Optimization problems and  algorithmsOptimization problems and  algorithms
Optimization problems and algorithms
 

Similar to Facility Location

week1 cs72 module 01 temp check 190.pptx
week1 cs72 module 01 temp check 190.pptxweek1 cs72 module 01 temp check 190.pptx
week1 cs72 module 01 temp check 190.pptxhardmarcelia
 
Design and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesDesign and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesSreedhar Chowdam
 
A compact zero knowledge proof to restrict message space in homomorphic encry...
A compact zero knowledge proof to restrict message space in homomorphic encry...A compact zero knowledge proof to restrict message space in homomorphic encry...
A compact zero knowledge proof to restrict message space in homomorphic encry...MITSUNARI Shigeo
 
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural NetworksPaper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural NetworksChenYiHuang5
 
Class13_Quicksort_Algorithm.pdf
Class13_Quicksort_Algorithm.pdfClass13_Quicksort_Algorithm.pdf
Class13_Quicksort_Algorithm.pdfAkashSingh625550
 
Paper study: Attention, learn to solve routing problems!
Paper study: Attention, learn to solve routing problems!Paper study: Attention, learn to solve routing problems!
Paper study: Attention, learn to solve routing problems!ChenYiHuang5
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxssuser01e301
 
Paper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelinePaper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelineChenYiHuang5
 
L06 stemmer and edit distance
L06 stemmer and edit distanceL06 stemmer and edit distance
L06 stemmer and edit distanceananth
 
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationOptimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationSantiagoGarridoBulln
 
9.Sorting & Searching
9.Sorting & Searching9.Sorting & Searching
9.Sorting & SearchingMandeep Singh
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematicalbabuk110
 
Max flows via electrical flows (long talk)
Max flows via electrical flows (long talk)Max flows via electrical flows (long talk)
Max flows via electrical flows (long talk)Thatchaphol Saranurak
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfJifarRaya
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdfJifarRaya
 
DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..KarthikeyaLanka1
 
2. Asymptotic Notations and Complexity Analysis.pptx
2. Asymptotic Notations and Complexity Analysis.pptx2. Asymptotic Notations and Complexity Analysis.pptx
2. Asymptotic Notations and Complexity Analysis.pptxRams715121
 
time_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdftime_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdfSrinivasaReddyPolamR
 

Similar to Facility Location (20)

week1 cs72 module 01 temp check 190.pptx
week1 cs72 module 01 temp check 190.pptxweek1 cs72 module 01 temp check 190.pptx
week1 cs72 module 01 temp check 190.pptx
 
Design and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture NotesDesign and Analysis of Algorithms Lecture Notes
Design and Analysis of Algorithms Lecture Notes
 
A compact zero knowledge proof to restrict message space in homomorphic encry...
A compact zero knowledge proof to restrict message space in homomorphic encry...A compact zero knowledge proof to restrict message space in homomorphic encry...
A compact zero knowledge proof to restrict message space in homomorphic encry...
 
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural NetworksPaper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
Paper Study: OptNet: Differentiable Optimization as a Layer in Neural Networks
 
Class13_Quicksort_Algorithm.pdf
Class13_Quicksort_Algorithm.pdfClass13_Quicksort_Algorithm.pdf
Class13_Quicksort_Algorithm.pdf
 
Paper study: Attention, learn to solve routing problems!
Paper study: Attention, learn to solve routing problems!Paper study: Attention, learn to solve routing problems!
Paper study: Attention, learn to solve routing problems!
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
 
Paper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipelinePaper Study: Melding the data decision pipeline
Paper Study: Melding the data decision pipeline
 
L06 stemmer and edit distance
L06 stemmer and edit distanceL06 stemmer and edit distance
L06 stemmer and edit distance
 
Optimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimizationOptimum Engineering Design - Day 4 - Clasical methods of optimization
Optimum Engineering Design - Day 4 - Clasical methods of optimization
 
9.Sorting & Searching
9.Sorting & Searching9.Sorting & Searching
9.Sorting & Searching
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematical
 
Max flows via electrical flows (long talk)
Max flows via electrical flows (long talk)Max flows via electrical flows (long talk)
Max flows via electrical flows (long talk)
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
 
DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..DS Unit-1.pptx very easy to understand..
DS Unit-1.pptx very easy to understand..
 
QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...
QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...
QMC: Operator Splitting Workshop, Projective Splitting with Forward Steps and...
 
2. Asymptotic Notations and Complexity Analysis.pptx
2. Asymptotic Notations and Complexity Analysis.pptx2. Asymptotic Notations and Complexity Analysis.pptx
2. Asymptotic Notations and Complexity Analysis.pptx
 
Searching Algorithms
Searching AlgorithmsSearching Algorithms
Searching Algorithms
 
time_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdftime_complexity_list_02_04_2024_22_pages.pdf
time_complexity_list_02_04_2024_22_pages.pdf
 

More from Sangwoo Mo

Brief History of Visual Representation Learning
Brief History of Visual Representation LearningBrief History of Visual Representation Learning
Brief History of Visual Representation LearningSangwoo Mo
 
Learning Visual Representations from Uncurated Data
Learning Visual Representations from Uncurated DataLearning Visual Representations from Uncurated Data
Learning Visual Representations from Uncurated DataSangwoo Mo
 
Hyperbolic Deep Reinforcement Learning
Hyperbolic Deep Reinforcement LearningHyperbolic Deep Reinforcement Learning
Hyperbolic Deep Reinforcement LearningSangwoo Mo
 
A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...
A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...
A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...Sangwoo Mo
 
Self-supervised Learning Lecture Note
Self-supervised Learning Lecture NoteSelf-supervised Learning Lecture Note
Self-supervised Learning Lecture NoteSangwoo Mo
 
Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)Sangwoo Mo
 
Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)Sangwoo Mo
 
Introduction to Diffusion Models
Introduction to Diffusion ModelsIntroduction to Diffusion Models
Introduction to Diffusion ModelsSangwoo Mo
 
Object-Region Video Transformers
Object-Region Video TransformersObject-Region Video Transformers
Object-Region Video TransformersSangwoo Mo
 
Deep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural NetworksDeep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural NetworksSangwoo Mo
 
Learning Theory 101 ...and Towards Learning the Flat Minima
Learning Theory 101 ...and Towards Learning the Flat MinimaLearning Theory 101 ...and Towards Learning the Flat Minima
Learning Theory 101 ...and Towards Learning the Flat MinimaSangwoo Mo
 
Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)Sangwoo Mo
 
Explicit Density Models
Explicit Density ModelsExplicit Density Models
Explicit Density ModelsSangwoo Mo
 
Score-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential EquationsScore-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential EquationsSangwoo Mo
 
Self-Attention with Linear Complexity
Self-Attention with Linear ComplexitySelf-Attention with Linear Complexity
Self-Attention with Linear ComplexitySangwoo Mo
 
Meta-Learning with Implicit Gradients
Meta-Learning with Implicit GradientsMeta-Learning with Implicit Gradients
Meta-Learning with Implicit GradientsSangwoo Mo
 
Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...
Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...
Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...Sangwoo Mo
 
Generative Models for General Audiences
Generative Models for General AudiencesGenerative Models for General Audiences
Generative Models for General AudiencesSangwoo Mo
 
Bayesian Model-Agnostic Meta-Learning
Bayesian Model-Agnostic Meta-LearningBayesian Model-Agnostic Meta-Learning
Bayesian Model-Agnostic Meta-LearningSangwoo Mo
 
Deep Learning for Natural Language Processing
Deep Learning for Natural Language ProcessingDeep Learning for Natural Language Processing
Deep Learning for Natural Language ProcessingSangwoo Mo
 

More from Sangwoo Mo (20)

Brief History of Visual Representation Learning
Brief History of Visual Representation LearningBrief History of Visual Representation Learning
Brief History of Visual Representation Learning
 
Learning Visual Representations from Uncurated Data
Learning Visual Representations from Uncurated DataLearning Visual Representations from Uncurated Data
Learning Visual Representations from Uncurated Data
 
Hyperbolic Deep Reinforcement Learning
Hyperbolic Deep Reinforcement LearningHyperbolic Deep Reinforcement Learning
Hyperbolic Deep Reinforcement Learning
 
A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...
A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...
A Unified Framework for Computer Vision Tasks: (Conditional) Generative Model...
 
Self-supervised Learning Lecture Note
Self-supervised Learning Lecture NoteSelf-supervised Learning Lecture Note
Self-supervised Learning Lecture Note
 
Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)Deep Learning Theory Seminar (Chap 3, part 2)
Deep Learning Theory Seminar (Chap 3, part 2)
 
Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)Deep Learning Theory Seminar (Chap 1-2, part 1)
Deep Learning Theory Seminar (Chap 1-2, part 1)
 
Introduction to Diffusion Models
Introduction to Diffusion ModelsIntroduction to Diffusion Models
Introduction to Diffusion Models
 
Object-Region Video Transformers
Object-Region Video TransformersObject-Region Video Transformers
Object-Region Video Transformers
 
Deep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural NetworksDeep Implicit Layers: Learning Structured Problems with Neural Networks
Deep Implicit Layers: Learning Structured Problems with Neural Networks
 
Learning Theory 101 ...and Towards Learning the Flat Minima
Learning Theory 101 ...and Towards Learning the Flat MinimaLearning Theory 101 ...and Towards Learning the Flat Minima
Learning Theory 101 ...and Towards Learning the Flat Minima
 
Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)Sharpness-aware minimization (SAM)
Sharpness-aware minimization (SAM)
 
Explicit Density Models
Explicit Density ModelsExplicit Density Models
Explicit Density Models
 
Score-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential EquationsScore-Based Generative Modeling through Stochastic Differential Equations
Score-Based Generative Modeling through Stochastic Differential Equations
 
Self-Attention with Linear Complexity
Self-Attention with Linear ComplexitySelf-Attention with Linear Complexity
Self-Attention with Linear Complexity
 
Meta-Learning with Implicit Gradients
Meta-Learning with Implicit GradientsMeta-Learning with Implicit Gradients
Meta-Learning with Implicit Gradients
 
Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...
Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...
Challenging Common Assumptions in the Unsupervised Learning of Disentangled R...
 
Generative Models for General Audiences
Generative Models for General AudiencesGenerative Models for General Audiences
Generative Models for General Audiences
 
Bayesian Model-Agnostic Meta-Learning
Bayesian Model-Agnostic Meta-LearningBayesian Model-Agnostic Meta-Learning
Bayesian Model-Agnostic Meta-Learning
 
Deep Learning for Natural Language Processing
Deep Learning for Natural Language ProcessingDeep Learning for Natural Language Processing
Deep Learning for Natural Language Processing
 

Recently uploaded

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Facility Location

  • 4. LP Duality • Primal (𝓟): minimize ∑ 𝑐& 𝑥& ( &)* subject to ∑ 𝑎,& 𝑥& ≥ 𝑏, ( &)* 𝑖 = 1, … , 𝑚 𝑥& ≥ 0 𝑗 = 1, … , 𝑛 • Dual (𝓓): maximize ∑ 𝑏, 𝑦, : ,)* subject to ∑ 𝑎,& 𝑦, : ,)* ≤ 𝑐& 𝑗 = 1, … , 𝑛 𝑦, ≥ 0 𝑖 = 1, … , 𝑚 4/34
  • 5. LP Duality (Example) • Let’s consider a simple example minimize 7𝑥* + 𝑥> + 5𝑥@ subject to 𝑥* − 𝑥> + 3𝑥@ ≥ 10 5𝑥* + 2𝑥> − 𝑥@ ≥ 6 𝑥*, 𝑥>, 𝑥@ ≥ 0 • Let 𝑓 be objective, 𝑓* and 𝑓> be L.H.S. of constraints respectively • The goal is finding the lower bound of the objective 𝑓 • Since 𝑓, and 𝑥, are bounded below, if we can represent 𝑓 with positive combination of 𝑓, and 𝑥,, be can bound 𝑓 below • ex) 7𝑥* + 𝑥> + 5𝑥@ ≥ 𝑥* − 𝑥> + 3𝑥@ + 5𝑥* + 2𝑥> − 𝑥@ ≥ 16 5/34
  • 6. LP Duality (Example) • Let 𝑓 be objective, 𝑓* and 𝑓> be L.H.S. of constraints respectively • The goal is finding the lower bound of the objective 𝑓 • Let 𝑦, be positive weight for 𝑓, such that 𝑓 ≥ ∑ 𝑦, 𝑓, • For each coefficient of ∑ 𝑦, 𝑓,, it should be upper bounded by 𝑓 • It leads the dual program of 𝑦,, which also forms LP • For previous example, the dual program is maximize 10𝑦* + 6𝑦> subject to 𝑦* + 5𝑦> ≤ 7 −𝑦* + 2𝑦> ≤ 1 3𝑦* − 𝑦> ≤ 5 𝑦*, 𝑦> ≥ 0 6/34
  • 7. Duality Theorem • LP duality theorem: Let 𝑥∗, 𝑦∗ are optimal solutions of primal and dual programs respectively. Then ∑ 𝑐& 𝑥& ∗( &)* = ∑ 𝑏, 𝑦, ∗: ,)* . • Weak duality theorem: Let 𝑥, 𝑦 are feasible solutions of primal and dual programs respectively. Then ∑ 𝑐& 𝑥& ( &)* ≥ ∑ 𝑏, 𝑦, : ,)* . • Proof) ∑ 𝑐& 𝑥&& ≥ ∑ ∑ 𝑎,& 𝑦,, 𝑥&& = ∑ ∑ 𝑎,& 𝑥&& 𝑦,, ≥ ∑ 𝑏, 𝑦,, • Complementary slackness: From equality condition, we obtain • Primal C.S.: For each 𝑗, either 𝑥& = 0 or ∑ 𝑎,& 𝑦,, = 𝑐& • Dual C.S.: For each 𝑖, either 𝑦, = 0 or ∑ 𝑎,& 𝑥&, = 𝑏, 𝑝∗ = 𝑑∗ 7/34
  • 9. Facility Location • (Metric Uncapacitated) Facility Location: • Let 𝐺 be a bipartite graph with bipartition (𝐹, 𝐶) • Let 𝑓, be the cost of opening facility 𝑖 • Let 𝑐,& be the cost of connecting city 𝑗 to facility 𝑖 • Find the optimal way to connect cities to open facilities Source: http://www.or.uni-bonn.de/~vygen/files/tokyo.pdf 9/34
  • 10. Facility Location (Formal Ver.) • (Metric Uncapacitated) Facility Location: • Let 𝐺 be a bipartite graph with bipartition (𝐹, 𝐶) • Let 𝑓, be the cost of opening facility 𝑖 • Let 𝑐,& be the cost of connecting city 𝑗 to facility 𝑖 • Then minimize ∑ 𝑐,& 𝑥,&,∈N,&∈O + ∑ 𝑓, 𝑦,,∈N subject to ∑ 𝑥,&,∈N ≥ 1 𝑗 ∈ 𝐶 𝑦, − 𝑥,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶 𝑥,& ∈ {0,1} 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶 𝑦, ∈ {0,1} 𝑖 ∈ 𝐹 • Let 𝑖 ∈ 𝐼 iff 𝑦, = 1, and 𝜙 𝑗 = 𝑖 iff 𝑥,& = 1 10/34
  • 11. Facility Location (Primal-Dual schema) • Primal 𝓟 (LP Relaxation): minimize ∑ 𝑐,& 𝑥,&,∈N,&∈O + ∑ 𝑓, 𝑦,,∈N subject to ∑ 𝑥,&,∈N ≥ 1 𝑗 ∈ 𝐶 𝑦, − 𝑥,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶 𝑥,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶 𝑦, ≥ 0 𝑖 ∈ 𝐹 • Dual (𝓓): minimize ∑ 𝛼&&∈O subject to 𝛼& − 𝛽,& ≤ 𝑐,& 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶 ∑ 𝛽,&&∈O ≤ 𝑓, 𝑖 ∈ 𝐹 𝛼& ≥ 0 𝑗 ∈ 𝐶 𝛽,& ≥ 0 𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶 11/34
  • 12. Facility Location (C.S. conditions) • Complementary Slackness conditions: ① ∀𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶: 𝑥,& > 0 ⇒ 𝛼& − 𝛽,& = 𝑐,& ② ∀𝑖 ∈ 𝐹: 𝑦, > 0 ⇒ ∑ 𝛽,&&∈O = 𝑓, ③ ∀𝑗 ∈ 𝐶: 𝛼& > 0 ⇒ ∑ 𝑥,&,∈N = 1 ④ ∀𝑖 ∈ 𝐹, 𝑗 ∈ 𝐶: 𝛽,& > 0 ⇒ 𝑦, = 𝑥,& • Suppose optimal solution is LP is integral, then • By condition ④, if 𝑖 ∈ 𝐼 but 𝜙 𝑗 ≠ 𝑖 then 𝑦, ≠ 𝑥,&, thus 𝛽,& = 0 • By condition ②, ∀𝑖 ∈ 𝐼, ∑ 𝛽,&&:[ & ), = 𝑓, • By condition ①, if 𝜙 𝑗 = 𝑖 then 𝛼& − 𝛽,& = 𝑐,& • It implies that total price of city 𝜶𝒋 is sum of 𝒄𝒊𝒋: edge price and 𝜷𝒊𝒋: contribution of city 𝑗 opening facility 𝑖 12/34
  • 13. Facility Location (C.S. conditions) • It implies that total price of city 𝜶𝒋 is sum of 𝒄𝒊𝒋: edge price and 𝜷𝒊𝒋: contribution of city 𝑗 opening facility 𝑖 Source: http://www.or.uni-bonn.de/~vygen/files/tokyo.pdf 𝜶 𝟏 = 𝒄 𝟏𝟏 + 𝜷 𝟏𝟏 𝜶 𝟐 = 𝒄 𝟏𝟐 + 𝜷 𝟏𝟐 𝒇 𝟏 = 𝜷 𝟏𝟏 + 𝜷 𝟏𝟐 𝒄 𝟏𝟏 𝒄 𝟏𝟐 13/34
  • 15. Algorithm • Phase 1: Collect all candidate facilities • Let (𝑖, 𝑗) be tight if 𝛼& ≥ 𝑐,&, and (𝑖, 𝑗) be special if 𝛽,& > 0 • Initialize every city not connected, 𝛼&, 𝛽,& = 0 • While not every city connected: • Increase 𝛼& of every unconnected cities by 1 • If (𝑖, 𝑗) is tight, increase 𝛽,& by 1 to satisfy 𝛼& = 𝑐,& + 𝛽,& • If 𝑓, = ∑ 𝛽,&& , let facility 𝑖 be temporarily open • Every city 𝑗 tight to 𝑖 is now connected to 𝑖 15/34
  • 16. Algorithm • Phase 2: Prune unnecessary facilities • Let 𝑖 and 𝑖d are conflicting if there is 𝑗 such that 𝛽,&, 𝛽,e& > 0 • Consider graph 𝐹f such that nodes are temporarily open, and edge implies two nodes are conflicting • Choose maximal independent set 𝐼 ⊂ 𝐹f and let 𝑖 ∈ 𝐼 be open • If 𝜙(𝑗) ∈ 𝐼, keep connection and let 𝑗 be directly connected to 𝜙(𝑗) • Else, let 𝑖 be any neighbor of 𝜙(𝑗), connect 𝑗 to 𝑖, and let 𝑗 be indirectly connected to 𝑖 • Note that 𝛽,& = 0 if 𝑗 is indirectly connected to 𝑖 16/34
  • 17. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 Source: http://www.showme.com/sh?h=6W3DJpI&jw_version=6 17/34
  • 18. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 1 11 11 18/34
  • 19. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 2 22 22 (1) (1) (1)𝜷𝒊𝒋 19/34
  • 20. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 33 33 (2) (2) (2)𝜷𝒊𝒋 (1) (1) (1) 20/34
  • 21. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 33 33 (2) (2) (2)𝜷𝒊𝒋 (1) (1) (1) 21/34
  • 22. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 44 43 (2) (2) (3)𝜷𝒊𝒋 (1) (2) (2) 22/34
  • 23. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 44 43 (2) (2) (3)𝜷𝒊𝒋 (1) (2) (2) 23/34
  • 24. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 54 53 (2) (2) (3)𝜷𝒊𝒋 (1) (2) (3) 24/34
  • 25. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 54 53 (2) (2) (3)𝜷𝒊𝒋 (1) (2) (3) 25/34
  • 26. Algorithm (Example) 3 4 6 1 2 1 2 1 2 10 𝜶𝒋 3 104 53 (2) (2) (3)𝜷𝒊𝒋 (1) (2) (3) 26/34
  • 27. Algorithm (Example) 3 4 6 𝜶𝒋 3 104 53 1 2 1 2 1 2 10(2) (2) (3)𝜷𝒊𝒋 (1) (2) (3) 27/34
  • 28. Algorithm (Example) 3 4 6 𝜶𝒋 3 104 53 1 2 1 2 10(2) (3)𝜷𝒊𝒋 (1) (3) 28/34
  • 29. Algorithm (Example) 3 4 6 𝜶𝒋 3 104 53 1 2 2 10(2)𝜷𝒊𝒋 (2) (3) 29/34 1(2)
  • 31. Theorem • Theorem The solution of algorithm satisfy h 𝑐,& 𝑥,& ,∈N,&∈O + 3 h 𝑓, 𝑦, ,∈N ≤ 3 h 𝛼& &∈O • Corollary The dual solution is 3-approximation algorithm • Proof) Let 𝛼& = 𝛼& i + 𝛼& j , each contributes to facility/edge • If 𝑗 is directly connected, let 𝛼& i = 𝛽,& and 𝛼& j = 𝑐,& where 𝑖 = 𝜙(𝑗) • If 𝑗 is indirectly connected, let 𝛼& i = 0 and 𝛼& j = 𝛼& • Goal: prove that ① ∑ 𝑓, 𝑦,,∈N = ∑ 𝛼&&∈O i ② ∑ 𝑐,& 𝑥,&,∈N,&∈O ≤ 3 ∑ 𝛼&&∈O j 31/34
  • 32. Theorem • Lemma 1 ∑ 𝑓, 𝑦,,∈N = ∑ 𝛼&&∈O i • Proof) h 𝑓, 𝑦, ,∈N = h 𝑓, ,∈k = h h 𝛼& i &:[ & ),,∈k = h 𝛼& i &∈O • Lemma 2 ∑ 𝑐,& 𝑥,&,∈N,&∈O ≤ 3 ∑ 𝛼& j &∈O • Proof) For directly connected city, 𝑐[(&)& = 𝛼& j ≤ 3𝛼& j • Goal: prove that 𝑐[(&)& ≤ 3𝛼& j for indirectly connected cities too • Then h 𝑐,& 𝑥,& ,∈N,&∈O = h 𝑐[ & & &∈O ≤ 3 h 𝛼& j &∈O 32/34
  • 33. Theorem • Lemma 2 ∑ 𝑐,& 𝑥,&,∈N,&∈O ≤ 3 ∑ 𝛼& j &∈O • Goal: prove that 𝑐[(&)& ≤ 3𝛼& j for indirectly connected city 𝑗 • Let 𝑗 is temporarily connected to 𝑖′, and indirectly connected to 𝑖 • Then there is 𝑗′ such that specially connected to both 𝑖 and 𝑖′ • Let 𝑡* and 𝑡> be time that 𝑖 and 𝑖′ be opened • Since both (𝑖, 𝑗d) and (𝑖d, 𝑗d) are special, they must be tight before either 𝑖 or 𝑖′ be opened i.e. 𝛼&d ≤ min(𝑡*, 𝑡>) • Since (𝑖d, 𝑗) is tight, 𝛼& ≥ 𝑡>, and it leads 𝛼& ≥ 𝛼&e • By tightness, 𝛼& ≥ 𝑐,e&, 𝛼&e ≥ 𝑐,&e and 𝛼&e ≥ 𝑐,e&e • Thus, by triangle inequality, 𝑐,& ≤ 𝑐,e& + 𝑐,&e + 𝑐,e&e ≤ 3𝛼& = 3𝛼& j 33/34
  • 34. Tight Example • Consider example below • After Phase 1, both facility 1 and 2 are temporality open • If chosen independent set is {1}, the total cost is 𝜖 + 1 + 3(𝑛 − 1), where the optimal cost is 𝑛 + 1 𝜖 + 𝑛 𝝐 𝝐(𝒏 + 𝟏)𝝐 (𝒏 + 𝟏)𝝐 (𝟏) 𝟐 𝟐 𝟐 (𝟏) (𝟏) (𝟏) (𝟏) 34/34