SlideShare une entreprise Scribd logo
1  sur  13
Carlo Lombardi,  June  2008 Theoretical  Computer  Science Primal-Dual Algorithms A brief survey of  Primal-Dual Algorithms  as an approximation technique  for optimization problems Scribe: Carlo Lombardi [email_address]
Carlo Lombardi,  June  2008 Theoretical  Computer  Science Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Carlo Lombardi,  June  2008 Theoretical  Computer  Science Introduction ,[object Object],[object Object],[object Object]
Carlo Lombardi,  June  2008 Theoretical  Computer  Science Minimum Weighted Vertex Cover Vertex Cover Problem “ Each edge is covered by at least one node” + Weighted Verteces “ Each vertex has a weight” + Minimization of total weight “ Minimize the total weight” = Minimum Weighted Vertex Cover (WVC)
Carlo Lombardi,  June  2008 Theoretical  Computer  Science WVC: ILP and LP formulation We formulate the WVC as an Integer Linear Program (ILP) defining a variable  x i  for each vertex ( x i =1 if vertex i belongs to the cover, 0 otherwise).  ILP FORMULATION LP FORMULATION by relaxing integrality constraints
Carlo Lombardi,  June  2008 Theoretical  Computer  Science WVC: Rounding the LP solution Primal-Dual Method We need to  solve LP formulation …it can be expensive for  problems having many constraints!!! Can we do something clever?
Carlo Lombardi,  June  2008 Theoretical  Computer  Science A different approach to LP relaxations: Primal-Dual strategy Main idea: !!! Don’t solve LP totally !!! Obtain a feasible integral solution to the LP ( Primal)  from scratch using a related LP ( Dual ) to  guide your decision . LP Primal LP Dual Good approximated solution “ Solve me” “ I’ll be your guide”
Carlo Lombardi,  June  2008 Theoretical  Computer  Science P-D strategy: Background theoretic properties (1/2) PRIMAL DUAL (Weak Duality)  For any feasible Primal-Dual solution pair (x,y) : = if (x,y) is optimal (Strong Duality)  If either the Primal or Dual have bounded optimal solution, the both of them do. Moreover, their objective functions values are qual.  That is: (Complementary Slackness)  Let  (x,y)  be a solutions to a primal-dual pair of LPs with bounded optima. Then  x  and  y  are both optimal iff all of the following hold
Carlo Lombardi,  June  2008 Theoretical  Computer  Science P-D strategy: Background theoretic properties (2/2) (Weak Duality)  For any feasible Primal-Dual solution pair (x,y) : The dual solution is  a lover bound  for primal solution = if (x,y) is optimal (Strong Duality)  If either the Primal or Dual have bounded optimal solution, the both of them do. Moreover, their objective functions values are qual.  That is: At the optimum the evaluation of solutions coincides (Complementary Slackness)  Let  (x,y)  be a solutions to a primal-dual pair of LPs with bounded optima. Then  x  and  y  are both optimal iff all of the following hold Only If a dual constraints is tight the corresponding primal variables can be greater than 0 (it can participate to the primal solution)
Carlo Lombardi,  June  2008 Theoretical  Computer  Science Primal-Dual strategy
Carlo Lombardi,  June  2008 Theoretical  Computer  Science WVC : The D-P Algorithm ,[object Object],[object Object],[object Object],[object Object],[object Object],Primal Dual
Carlo Lombardi,  June  2008 Theoretical  Computer  Science Analysis of Program 2.7 (Weak Duality) Note that for every  it holds: (1) The o.f. is infact From the  (1) Because we are considering all vertices in V Each edge in E is taken two times
Carlo Lombardi,  June  2008 Theoretical  Computer  Science References ,[object Object],[object Object]

Contenu connexe

Tendances

Lecture 4 duality and sensitivity in lp
Lecture 4 duality and sensitivity in lpLecture 4 duality and sensitivity in lp
Lecture 4 duality and sensitivity in lpkongara
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisDagnaygebawGoshme
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programmingjyothimonc
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming ProblemRAVI PRASAD K.J.
 
Canonical form and Standard form of LPP
Canonical form and Standard form of LPPCanonical form and Standard form of LPP
Canonical form and Standard form of LPPSundar B N
 
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...IJERA Editor
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game TheoryPurnima Pandit
 
Numerical analysis simplex method 2
Numerical analysis  simplex method 2Numerical analysis  simplex method 2
Numerical analysis simplex method 2SHAMJITH KM
 
Paper id 252014152
Paper id 252014152Paper id 252014152
Paper id 252014152IJRAT
 
Integrated methods for optimization
Integrated methods for optimizationIntegrated methods for optimization
Integrated methods for optimizationSpringer
 

Tendances (20)

aaoczc2252
aaoczc2252aaoczc2252
aaoczc2252
 
Lecture 4 duality and sensitivity in lp
Lecture 4 duality and sensitivity in lpLecture 4 duality and sensitivity in lp
Lecture 4 duality and sensitivity in lp
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 
Lesson 28
Lesson 28Lesson 28
Lesson 28
 
Lesson 29
Lesson 29Lesson 29
Lesson 29
 
Canonical form and Standard form of LPP
Canonical form and Standard form of LPPCanonical form and Standard form of LPP
Canonical form and Standard form of LPP
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
 
Lesson 32
Lesson 32Lesson 32
Lesson 32
 
Lesson 31
Lesson 31Lesson 31
Lesson 31
 
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
Unsteady MHD Flow Past A Semi-Infinite Vertical Plate With Heat Source/ Sink:...
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Numerical analysis simplex method 2
Numerical analysis  simplex method 2Numerical analysis  simplex method 2
Numerical analysis simplex method 2
 
Fuzzy Membership Function
Fuzzy Membership Function Fuzzy Membership Function
Fuzzy Membership Function
 
Paper id 252014152
Paper id 252014152Paper id 252014152
Paper id 252014152
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Integrated methods for optimization
Integrated methods for optimizationIntegrated methods for optimization
Integrated methods for optimization
 
Fuzzy report
Fuzzy reportFuzzy report
Fuzzy report
 

Similaire à Primal Dual

Primal Dual
Primal DualPrimal Dual
Primal Dualcarlol
 
Hardness of approximation
Hardness of approximationHardness of approximation
Hardness of approximationcarlol
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardAnimesh Chaturvedi
 
Balaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.pptBalaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.pptJamesGreen666883
 
Balaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptBalaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptgokulkumaraguru8
 
Algorithm chapter 10
Algorithm chapter 10Algorithm chapter 10
Algorithm chapter 10chidabdu
 
C&s sparse june_2010
C&s sparse june_2010C&s sparse june_2010
C&s sparse june_2010mpbchina
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programmingJay Nagar
 
A Decomposition Technique For Solving Integer Programming Problems
A Decomposition Technique For Solving Integer Programming ProblemsA Decomposition Technique For Solving Integer Programming Problems
A Decomposition Technique For Solving Integer Programming ProblemsCarrie Romero
 
A New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment ProblemA New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment ProblemKim Daniels
 
7f44bdd880a385b7c1338293ea4183f930ea
7f44bdd880a385b7c1338293ea4183f930ea7f44bdd880a385b7c1338293ea4183f930ea
7f44bdd880a385b7c1338293ea4183f930eaAlvaro
 
Probabilistic Abductive Logic Programming using Possible Worlds
Probabilistic Abductive Logic Programming using Possible WorldsProbabilistic Abductive Logic Programming using Possible Worlds
Probabilistic Abductive Logic Programming using Possible WorldsFulvio Rotella
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING karishma gupta
 
Deep VI with_beta_likelihood
Deep VI with_beta_likelihoodDeep VI with_beta_likelihood
Deep VI with_beta_likelihoodNatan Katz
 
Introduction to Max-SAT and Max-SAT Evaluation
Introduction to Max-SAT and Max-SAT EvaluationIntroduction to Max-SAT and Max-SAT Evaluation
Introduction to Max-SAT and Max-SAT EvaluationMasahiro Sakai
 
Analysis and Design of Algorithms notes
Analysis and Design of Algorithms  notesAnalysis and Design of Algorithms  notes
Analysis and Design of Algorithms notesProf. Dr. K. Adisesha
 

Similaire à Primal Dual (20)

Primal Dual
Primal DualPrimal Dual
Primal Dual
 
Hardness of approximation
Hardness of approximationHardness of approximation
Hardness of approximation
 
P, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-HardP, NP, NP-Complete, and NP-Hard
P, NP, NP-Complete, and NP-Hard
 
Balaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.pptBalaji-opt-lecture6-act.ppt
Balaji-opt-lecture6-act.ppt
 
Balaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.pptBalaji-opt-lecture5-linear program sp13.ppt
Balaji-opt-lecture5-linear program sp13.ppt
 
Slides
SlidesSlides
Slides
 
Algorithm chapter 10
Algorithm chapter 10Algorithm chapter 10
Algorithm chapter 10
 
UNIT -IV DAA.pdf
UNIT  -IV DAA.pdfUNIT  -IV DAA.pdf
UNIT -IV DAA.pdf
 
Compositional Program Analysis using Max-SMT
Compositional Program Analysis using Max-SMTCompositional Program Analysis using Max-SMT
Compositional Program Analysis using Max-SMT
 
C&s sparse june_2010
C&s sparse june_2010C&s sparse june_2010
C&s sparse june_2010
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
A Decomposition Technique For Solving Integer Programming Problems
A Decomposition Technique For Solving Integer Programming ProblemsA Decomposition Technique For Solving Integer Programming Problems
A Decomposition Technique For Solving Integer Programming Problems
 
A New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment ProblemA New Lagrangian Relaxation Approach To The Generalized Assignment Problem
A New Lagrangian Relaxation Approach To The Generalized Assignment Problem
 
Np
NpNp
Np
 
7f44bdd880a385b7c1338293ea4183f930ea
7f44bdd880a385b7c1338293ea4183f930ea7f44bdd880a385b7c1338293ea4183f930ea
7f44bdd880a385b7c1338293ea4183f930ea
 
Probabilistic Abductive Logic Programming using Possible Worlds
Probabilistic Abductive Logic Programming using Possible WorldsProbabilistic Abductive Logic Programming using Possible Worlds
Probabilistic Abductive Logic Programming using Possible Worlds
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Deep VI with_beta_likelihood
Deep VI with_beta_likelihoodDeep VI with_beta_likelihood
Deep VI with_beta_likelihood
 
Introduction to Max-SAT and Max-SAT Evaluation
Introduction to Max-SAT and Max-SAT EvaluationIntroduction to Max-SAT and Max-SAT Evaluation
Introduction to Max-SAT and Max-SAT Evaluation
 
Analysis and Design of Algorithms notes
Analysis and Design of Algorithms  notesAnalysis and Design of Algorithms  notes
Analysis and Design of Algorithms notes
 

Dernier

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
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
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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
 
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
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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)
 
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...
 
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...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 

Primal Dual

  • 1. Carlo Lombardi, June 2008 Theoretical Computer Science Primal-Dual Algorithms A brief survey of Primal-Dual Algorithms as an approximation technique for optimization problems Scribe: Carlo Lombardi [email_address]
  • 2.
  • 3.
  • 4. Carlo Lombardi, June 2008 Theoretical Computer Science Minimum Weighted Vertex Cover Vertex Cover Problem “ Each edge is covered by at least one node” + Weighted Verteces “ Each vertex has a weight” + Minimization of total weight “ Minimize the total weight” = Minimum Weighted Vertex Cover (WVC)
  • 5. Carlo Lombardi, June 2008 Theoretical Computer Science WVC: ILP and LP formulation We formulate the WVC as an Integer Linear Program (ILP) defining a variable x i for each vertex ( x i =1 if vertex i belongs to the cover, 0 otherwise). ILP FORMULATION LP FORMULATION by relaxing integrality constraints
  • 6. Carlo Lombardi, June 2008 Theoretical Computer Science WVC: Rounding the LP solution Primal-Dual Method We need to solve LP formulation …it can be expensive for problems having many constraints!!! Can we do something clever?
  • 7. Carlo Lombardi, June 2008 Theoretical Computer Science A different approach to LP relaxations: Primal-Dual strategy Main idea: !!! Don’t solve LP totally !!! Obtain a feasible integral solution to the LP ( Primal) from scratch using a related LP ( Dual ) to guide your decision . LP Primal LP Dual Good approximated solution “ Solve me” “ I’ll be your guide”
  • 8. Carlo Lombardi, June 2008 Theoretical Computer Science P-D strategy: Background theoretic properties (1/2) PRIMAL DUAL (Weak Duality) For any feasible Primal-Dual solution pair (x,y) : = if (x,y) is optimal (Strong Duality) If either the Primal or Dual have bounded optimal solution, the both of them do. Moreover, their objective functions values are qual. That is: (Complementary Slackness) Let (x,y) be a solutions to a primal-dual pair of LPs with bounded optima. Then x and y are both optimal iff all of the following hold
  • 9. Carlo Lombardi, June 2008 Theoretical Computer Science P-D strategy: Background theoretic properties (2/2) (Weak Duality) For any feasible Primal-Dual solution pair (x,y) : The dual solution is a lover bound for primal solution = if (x,y) is optimal (Strong Duality) If either the Primal or Dual have bounded optimal solution, the both of them do. Moreover, their objective functions values are qual. That is: At the optimum the evaluation of solutions coincides (Complementary Slackness) Let (x,y) be a solutions to a primal-dual pair of LPs with bounded optima. Then x and y are both optimal iff all of the following hold Only If a dual constraints is tight the corresponding primal variables can be greater than 0 (it can participate to the primal solution)
  • 10. Carlo Lombardi, June 2008 Theoretical Computer Science Primal-Dual strategy
  • 11.
  • 12. Carlo Lombardi, June 2008 Theoretical Computer Science Analysis of Program 2.7 (Weak Duality) Note that for every it holds: (1) The o.f. is infact From the (1) Because we are considering all vertices in V Each edge in E is taken two times
  • 13.