SlideShare a Scribd company logo
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

Game theory
Game theoryGame theory
Game theory
gtush24
 
Game Theory Presentation
Game Theory PresentationGame Theory Presentation
Game Theory Presentation
Mehdi Ghotbi
 
Solving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation ProblemSolving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation Problem
mkmanik
 
Application of Mathematics in Business : F 107 - Group K
Application of Mathematics in Business : F 107 - Group KApplication of Mathematics in Business : F 107 - Group K
Application of Mathematics in Business : F 107 - Group K
jafar_sadik
 
Basic Mathematics 3 5 Presentation
Basic Mathematics   3 5 PresentationBasic Mathematics   3 5 Presentation
Basic Mathematics 3 5 Presentation
David Radcliffe
 
Shortest path problem
Shortest path problemShortest path problem
Shortest path problem
Ifra Ilyas
 
Operations Research - Game Theory
Operations Research - Game TheoryOperations Research - Game Theory
Operations Research - Game Theory
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
game THEORY ppt
game THEORY pptgame THEORY ppt
game THEORY ppt
Dronak Sahu
 
Game theory ppt
Game theory pptGame theory ppt
Game theory ppt
Anushka Kapoor
 
linear programming
linear programminglinear programming
linear programming
Karishma Chaudhary
 
Game theory
Game theoryGame theory
Game theory
Abu Bashar
 
Game theory
Game theoryGame theory
Game theory
KULDEEP MATHUR
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Introduction to Operations Research
Introduction to Operations ResearchIntroduction to Operations Research
Introduction to Operations Research
Victor Seelan
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
Lakshmi R
 
Game theory
Game theoryGame theory
Game theory
Narender .
 
Transportation problem
Transportation problemTransportation problem
Transportation problem
A B
 
Some Properties of Determinant of Trapezoidal Fuzzy Number Matrices
Some Properties of Determinant of Trapezoidal Fuzzy Number MatricesSome Properties of Determinant of Trapezoidal Fuzzy Number Matrices
Some Properties of Determinant of Trapezoidal Fuzzy Number Matrices
IJMERJOURNAL
 
10.4 applications of linear equations
10.4 applications of linear equations10.4 applications of linear equations
10.4 applications of linear equations
GlenSchlee
 
Quantification
QuantificationQuantification
Quantification
Abdur Rehman
 

What's hot (20)

Game theory
Game theoryGame theory
Game theory
 
Game Theory Presentation
Game Theory PresentationGame Theory Presentation
Game Theory Presentation
 
Solving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation ProblemSolving Degenaracy in Transportation Problem
Solving Degenaracy in Transportation Problem
 
Application of Mathematics in Business : F 107 - Group K
Application of Mathematics in Business : F 107 - Group KApplication of Mathematics in Business : F 107 - Group K
Application of Mathematics in Business : F 107 - Group K
 
Basic Mathematics 3 5 Presentation
Basic Mathematics   3 5 PresentationBasic Mathematics   3 5 Presentation
Basic Mathematics 3 5 Presentation
 
Shortest path problem
Shortest path problemShortest path problem
Shortest path problem
 
Operations Research - Game Theory
Operations Research - Game TheoryOperations Research - Game Theory
Operations Research - Game Theory
 
game THEORY ppt
game THEORY pptgame THEORY ppt
game THEORY ppt
 
Game theory ppt
Game theory pptGame theory ppt
Game theory ppt
 
linear programming
linear programminglinear programming
linear programming
 
Game theory
Game theoryGame theory
Game theory
 
Game theory
Game theoryGame theory
Game theory
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Introduction to Operations Research
Introduction to Operations ResearchIntroduction to Operations Research
Introduction to Operations Research
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
Game theory
Game theoryGame theory
Game theory
 
Transportation problem
Transportation problemTransportation problem
Transportation problem
 
Some Properties of Determinant of Trapezoidal Fuzzy Number Matrices
Some Properties of Determinant of Trapezoidal Fuzzy Number MatricesSome Properties of Determinant of Trapezoidal Fuzzy Number Matrices
Some Properties of Determinant of Trapezoidal Fuzzy Number Matrices
 
10.4 applications of linear equations
10.4 applications of linear equations10.4 applications of linear equations
10.4 applications of linear equations
 
Quantification
QuantificationQuantification
Quantification
 

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.pptx
hardmarcelia
 
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
Sreedhar 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 Networks
ChenYiHuang5
 
Class13_Quicksort_Algorithm.pdf
Class13_Quicksort_Algorithm.pdfClass13_Quicksort_Algorithm.pdf
Class13_Quicksort_Algorithm.pdf
AkashSingh625550
 
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.pptx
ssuser01e301
 
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
ChenYiHuang5
 
L06 stemmer and edit distance
L06 stemmer and edit distanceL06 stemmer and edit distance
L06 stemmer and edit distance
ananth
 
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
SantiagoGarridoBulln
 
9.Sorting & Searching
9.Sorting & Searching9.Sorting & Searching
9.Sorting & Searching
Mandeep Singh
 
Linear Programming- Leacture-16-lp1.pptx
Linear Programming- Leacture-16-lp1.pptxLinear Programming- Leacture-16-lp1.pptx
Linear Programming- Leacture-16-lp1.pptx
SarahKoech1
 
Data Structure & Algorithms - Mathematical
Data Structure & Algorithms - MathematicalData Structure & Algorithms - Mathematical
Data Structure & Algorithms - Mathematical
babuk110
 
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
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
JifarRaya
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
JifarRaya
 
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
 
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...
The Statistical and Applied Mathematical Sciences Institute
 
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
Rams715121
 
Searching Algorithms
Searching AlgorithmsSearching Algorithms
Searching Algorithms
Afaq Mansoor Khan
 

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
 
Linear Programming- Leacture-16-lp1.pptx
Linear Programming- Leacture-16-lp1.pptxLinear Programming- Leacture-16-lp1.pptx
Linear Programming- Leacture-16-lp1.pptx
 
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)
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.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
 

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 Learning
Sangwoo Mo
 
Learning Visual Representations from Uncurated Data
Learning Visual Representations from Uncurated DataLearning Visual Representations from Uncurated Data
Learning Visual Representations from Uncurated Data
Sangwoo Mo
 
Hyperbolic Deep Reinforcement Learning
Hyperbolic Deep Reinforcement LearningHyperbolic Deep Reinforcement Learning
Hyperbolic Deep Reinforcement Learning
Sangwoo 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 Note
Sangwoo 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 Models
Sangwoo Mo
 
Object-Region Video Transformers
Object-Region Video TransformersObject-Region Video Transformers
Object-Region Video Transformers
Sangwoo 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 Networks
Sangwoo 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 Minima
Sangwoo 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 Models
Sangwoo 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 Equations
Sangwoo Mo
 
Self-Attention with Linear Complexity
Self-Attention with Linear ComplexitySelf-Attention with Linear Complexity
Self-Attention with Linear Complexity
Sangwoo Mo
 
Meta-Learning with Implicit Gradients
Meta-Learning with Implicit GradientsMeta-Learning with Implicit Gradients
Meta-Learning with Implicit Gradients
Sangwoo 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 Audiences
Sangwoo Mo
 
Bayesian Model-Agnostic Meta-Learning
Bayesian Model-Agnostic Meta-LearningBayesian Model-Agnostic Meta-Learning
Bayesian Model-Agnostic Meta-Learning
Sangwoo Mo
 
Deep Learning for Natural Language Processing
Deep Learning for Natural Language ProcessingDeep Learning for Natural Language Processing
Deep Learning for Natural Language Processing
Sangwoo 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

Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Tatiana Kojar
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
Dinusha Kumarasiri
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
marufrahmanstratejm
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 

Recently uploaded (20)

Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
Skybuffer AI: Advanced Conversational and Generative AI Solution on SAP Busin...
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Azure API Management to expose backend services securely
Azure API Management to expose backend services securelyAzure API Management to expose backend services securely
Azure API Management to expose backend services securely
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 

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