SlideShare a Scribd company logo
Max Cut Problem Daniel Natapov
Problem Definition ,[object Object]
Max Cut is NP-Hard! We show that it is NP-Hard by a reduction from the NAE-3-SAT Problem. The Not All Equal-3-SAT Problem is very similar to the 3-SAT problem, and can easily be shown to be NP-Hard by a reduction from Circuit SAT.
NAE-3-SAT Problem ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],x or y or z  AND x or w or a  AND … F T T F F F
The Reduction – Step 0   Max Cut   NP ,[object Object],[object Object]
The Reduction – Step 1 What to reduce it to? Reduce to NAE-3-SAT NAE-3-SAT  ≤  Max Cut
The Reduction – Step 2 What is what? = Max Cut = NAE-3-SAT P new P is NP-comp I new I is NP-comp S new S is NP-comp x or y or z  AND x or y or y  AND … F T T F F F
The Reduction – Step 3 Direction of Reduction and Code ,[object Object],[object Object],[object Object],Alg alg =NAE-3-SAT Alg oracle =Max Cut
The Reduction – Step 4 Look for Similarities Max Cut NAE-3-SAT Literals  x y z ¬ x ¬ y X ¬X Y ¬Y Z Clauses  (X v ¬Y v Z) Boolean Assignment F T T F F F
The Reduction – Step 5 Instance Maps ,[object Object],[object Object],[object Object]
The Reduction – Step 5 Instance Maps For example: (X1 v X2 v X2) AND (X1 v  ¬ X3 v  ¬ X3) AND ( ¬ X1 v  ¬ X2 v X3) ,[object Object],X1 X2 X3 ¬ X1 ¬ X2 ¬ X3
The Reduction – Step 5 Instance Maps For example: (X1 v X2 v X2) AND (X1 v  ¬ X3 v  ¬ X3) AND ( ¬ X1 v  ¬ X2 v X3) ,[object Object],X1 X2 X3 ¬ X1 ¬ X2 ¬ X3
The Reduction – Step 5 Instance Maps For example: (X1 v X2 v X2) AND (X1 v  ¬ X3 v  ¬ X3) AND ( ¬ X1 v  ¬ X2 v X3) ,[object Object],[object Object],X1 X2 X3 ¬ X1 ¬ X2 ¬ X3
The Reduction – Step 6 Solution Map For example: (X1 v X2 v X2) AND (X1 v  ¬ X3 v  ¬ X3) AND ( ¬ X1 v  ¬ X2 v X3)‏ ,[object Object],X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 Here: X1=True, X2=False, X3=True
The Reduction – Step 7 Valid to Valid X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 Assume the oracle (Max Cut), finds a cut of size 5(number of clauses). We can safely assume that for this cut, all Xi are separated from  ¬ Xi by the cut. If they are on the same side of the cut, they contribute at most 2n edges. Splitting them up would yield n edges from Xi to  ¬ Xi, plus at least half what they were contributing before, so there is no decrease.
The Reduction – Step 7 Valid to Valid X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 ,[object Object],[object Object],[object Object],[object Object]
The Reduction – Step 7 Valid to Valid X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 ,[object Object],[object Object],[object Object]
The Reduction – Step 7 Valid to Valid X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 For our example: (X1 v X2 v X2) AND (X1 v ¬X3 v ¬X3) AND (¬X1 v ¬X2 v X3) X1  ¬ X2 X3  ¬ X1  ¬ X2  ¬ X3 X1:  T   X2:  F   X3:  T (  T   v  F   v  T  ) AND  ( T   v  F   v  F )  AND (  F   v  T   v  F  )
The Reduction – Steps 8&9 Reverse Solution Map Conversely, it is also possible for a valid solution for Max Cut to be found using a NAE-3-SAT oracle, (but it is not covered in this presentation).
The Reduction – Step 10 Working Algorithm ,[object Object],[object Object],[object Object],[object Object]
The Reduction – Step 11 Running Time? ,[object Object],[object Object],[object Object],[object Object]
Max Cut – Running Time ,[object Object],[object Object]
Max Cut – Randomized Algorithm ,[object Object],[object Object]
Max Cut – Randomized Algorithm ,[object Object],[object Object],[object Object],[object Object]
That’s it! Questions? Comments? Praise?

More Related Content

What's hot

14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron
Andres Mendez-Vazquez
 
Red Black Tree
Red Black TreeRed Black Tree
The Traveling Salesman Problem
The Traveling Salesman ProblemThe Traveling Salesman Problem
The Traveling Salesman ProblemMaryam Alipour
 
Scheduling jobs on identical parallel machines
Scheduling jobs on identical parallel machinesScheduling jobs on identical parallel machines
Scheduling jobs on identical parallel machines
sadasidha08
 
Unit 2 in daa
Unit 2 in daaUnit 2 in daa
Unit 2 in daa
Nv Thejaswini
 
Tsp branch and-bound
Tsp branch and-boundTsp branch and-bound
Tsp branch and-bound
Saravanan Natarajan
 
Matrix chain multiplication
Matrix chain multiplicationMatrix chain multiplication
Matrix chain multiplication
Kiran K
 
9. chapter 8 np hard and np complete problems
9. chapter 8   np hard and np complete problems9. chapter 8   np hard and np complete problems
9. chapter 8 np hard and np complete problems
Jyotsna Suryadevara
 
Fractional Knapsack Problem
Fractional Knapsack ProblemFractional Knapsack Problem
Fractional Knapsack Problem
harsh kothari
 
Spectral Clustering
Spectral ClusteringSpectral Clustering
Spectral Clustering
ssusered887b
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
Tafhim Islam
 
Travelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationTravelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm Optimization
Ilgın Kavaklıoğulları
 
An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms
Hakky St
 
Classification in data mining
Classification in data mining Classification in data mining
Classification in data mining
Sulman Ahmed
 
Maximum flow
Maximum flowMaximum flow
Maximum flow
Md. Shafiuzzaman Hira
 
Knapsack problem
Knapsack problemKnapsack problem
Knapsack problem
Vikas Sharma
 

What's hot (20)

14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron14 Machine Learning Single Layer Perceptron
14 Machine Learning Single Layer Perceptron
 
Red Black Tree
Red Black TreeRed Black Tree
Red Black Tree
 
The Traveling Salesman Problem
The Traveling Salesman ProblemThe Traveling Salesman Problem
The Traveling Salesman Problem
 
Scheduling jobs on identical parallel machines
Scheduling jobs on identical parallel machinesScheduling jobs on identical parallel machines
Scheduling jobs on identical parallel machines
 
Numerical Method 2
Numerical Method 2Numerical Method 2
Numerical Method 2
 
Unit 2 in daa
Unit 2 in daaUnit 2 in daa
Unit 2 in daa
 
Tsp branch and-bound
Tsp branch and-boundTsp branch and-bound
Tsp branch and-bound
 
Matrix chain multiplication
Matrix chain multiplicationMatrix chain multiplication
Matrix chain multiplication
 
9. chapter 8 np hard and np complete problems
9. chapter 8   np hard and np complete problems9. chapter 8   np hard and np complete problems
9. chapter 8 np hard and np complete problems
 
Fractional Knapsack Problem
Fractional Knapsack ProblemFractional Knapsack Problem
Fractional Knapsack Problem
 
Spectral Clustering
Spectral ClusteringSpectral Clustering
Spectral Clustering
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
 
Travelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm OptimizationTravelling Salesman Problem using Partical Swarm Optimization
Travelling Salesman Problem using Partical Swarm Optimization
 
An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms An overview of gradient descent optimization algorithms
An overview of gradient descent optimization algorithms
 
Classification in data mining
Classification in data mining Classification in data mining
Classification in data mining
 
Maximum flow
Maximum flowMaximum flow
Maximum flow
 
R Debugging
R DebuggingR Debugging
R Debugging
 
Hashing
HashingHashing
Hashing
 
Knapsack problem
Knapsack problemKnapsack problem
Knapsack problem
 
Knapsack Problem
Knapsack ProblemKnapsack Problem
Knapsack Problem
 

Similar to The Max Cut Problem

A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
cseiitgn
 
Stochastic Process Assignment Help
Stochastic Process Assignment HelpStochastic Process Assignment Help
Stochastic Process Assignment Help
Statistics Assignment Help
 
Stochastic Process Exam Help
Stochastic Process Exam HelpStochastic Process Exam Help
Stochastic Process Exam Help
Statistics Exam Help
 
Daa chapter11
Daa chapter11Daa chapter11
Daa chapter11
B.Kirron Reddi
 
smtlecture.3
smtlecture.3smtlecture.3
smtlecture.3
Roberto Bruttomesso
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
Fabian Pedregosa
 
Input analysis
Input analysisInput analysis
Input analysis
Bhavik A Shah
 
Geometric probablity
Geometric probablityGeometric probablity
Geometric probablity
Harsha Hegde
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanations
Gopi Saiteja
 
Lecture 3 - Linear Regression
Lecture 3 - Linear RegressionLecture 3 - Linear Regression
Lecture 3 - Linear Regression
Harsha Vardhan Tetali
 
test pre
test pretest pre
test pre
farazch
 
Skiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiabilitySkiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiabilityzukun
 
Chapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/SlidesChapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/Slides
Chaimae Baroudi
 
Chapter 04 answers
Chapter 04 answersChapter 04 answers
Chapter 04 answers
Rajwinder Marock
 
Maths Revision - GCSE And Additional Notes
Maths Revision - GCSE And Additional NotesMaths Revision - GCSE And Additional Notes
Maths Revision - GCSE And Additional NotesKatie B
 
Algorithms presentation on Path Matrix, Bell Number and Sorting
Algorithms presentation on Path Matrix, Bell Number and SortingAlgorithms presentation on Path Matrix, Bell Number and Sorting
Algorithms presentation on Path Matrix, Bell Number and Sorting
Rishabh Mehan
 
January 13, 2015
January 13, 2015January 13, 2015
January 13, 2015khyps13
 

Similar to The Max Cut Problem (20)

A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
 
Stochastic Process Assignment Help
Stochastic Process Assignment HelpStochastic Process Assignment Help
Stochastic Process Assignment Help
 
Stochastic Process Exam Help
Stochastic Process Exam HelpStochastic Process Exam Help
Stochastic Process Exam Help
 
Daa chapter11
Daa chapter11Daa chapter11
Daa chapter11
 
Lecture3
Lecture3Lecture3
Lecture3
 
smtlecture.3
smtlecture.3smtlecture.3
smtlecture.3
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
Input analysis
Input analysisInput analysis
Input analysis
 
Geometric probablity
Geometric probablityGeometric probablity
Geometric probablity
 
Answers withexplanations
Answers withexplanationsAnswers withexplanations
Answers withexplanations
 
Lecture 3 - Linear Regression
Lecture 3 - Linear RegressionLecture 3 - Linear Regression
Lecture 3 - Linear Regression
 
test pre
test pretest pre
test pre
 
algo1
algo1algo1
algo1
 
Skiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiabilitySkiena algorithm 2007 lecture20 satisfiability
Skiena algorithm 2007 lecture20 satisfiability
 
Chapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/SlidesChapter 3: Linear Systems and Matrices - Part 3/Slides
Chapter 3: Linear Systems and Matrices - Part 3/Slides
 
Chapter 04 answers
Chapter 04 answersChapter 04 answers
Chapter 04 answers
 
Maths Revision - GCSE And Additional Notes
Maths Revision - GCSE And Additional NotesMaths Revision - GCSE And Additional Notes
Maths Revision - GCSE And Additional Notes
 
Approx
ApproxApprox
Approx
 
Algorithms presentation on Path Matrix, Bell Number and Sorting
Algorithms presentation on Path Matrix, Bell Number and SortingAlgorithms presentation on Path Matrix, Bell Number and Sorting
Algorithms presentation on Path Matrix, Bell Number and Sorting
 
January 13, 2015
January 13, 2015January 13, 2015
January 13, 2015
 

Recently uploaded

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

The Max Cut Problem

  • 1. Max Cut Problem Daniel Natapov
  • 2.
  • 3. Max Cut is NP-Hard! We show that it is NP-Hard by a reduction from the NAE-3-SAT Problem. The Not All Equal-3-SAT Problem is very similar to the 3-SAT problem, and can easily be shown to be NP-Hard by a reduction from Circuit SAT.
  • 4.
  • 5.
  • 6. The Reduction – Step 1 What to reduce it to? Reduce to NAE-3-SAT NAE-3-SAT ≤ Max Cut
  • 7. The Reduction – Step 2 What is what? = Max Cut = NAE-3-SAT P new P is NP-comp I new I is NP-comp S new S is NP-comp x or y or z AND x or y or y AND … F T T F F F
  • 8.
  • 9. The Reduction – Step 4 Look for Similarities Max Cut NAE-3-SAT Literals x y z ¬ x ¬ y X ¬X Y ¬Y Z Clauses (X v ¬Y v Z) Boolean Assignment F T T F F F
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15. The Reduction – Step 7 Valid to Valid X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 Assume the oracle (Max Cut), finds a cut of size 5(number of clauses). We can safely assume that for this cut, all Xi are separated from ¬ Xi by the cut. If they are on the same side of the cut, they contribute at most 2n edges. Splitting them up would yield n edges from Xi to ¬ Xi, plus at least half what they were contributing before, so there is no decrease.
  • 16.
  • 17.
  • 18. The Reduction – Step 7 Valid to Valid X1 X2 X3 ¬ X1 ¬ X2 ¬ X3 For our example: (X1 v X2 v X2) AND (X1 v ¬X3 v ¬X3) AND (¬X1 v ¬X2 v X3) X1 ¬ X2 X3 ¬ X1 ¬ X2 ¬ X3 X1: T X2: F X3: T ( T v F v T ) AND ( T v F v F ) AND ( F v T v F )
  • 19. The Reduction – Steps 8&9 Reverse Solution Map Conversely, it is also possible for a valid solution for Max Cut to be found using a NAE-3-SAT oracle, (but it is not covered in this presentation).
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. That’s it! Questions? Comments? Praise?