Two applications of linear programming to chemistry: Finding the Clar number and the Fries number of a benzenoid in polynomial time using a LP. The desired.

Slides:



Advertisements
Similar presentations
The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Advertisements

CSC 445/545: Linear Programming Instructor: Wendy Myrvold Home page:
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Branch and Bound See Beale paper. Example: Maximize z=x1+x2 x2 x1.
1 Matching Polytope x1 x2 x3 Lecture 12: Feb 22 x1 x2 x3.
Linear Programming (LP) (Chap.29)
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Totally Unimodular Matrices
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Seminar In Game Theory Algorithms, TAU, Agenda  Introduction  Computational Complexity  Incentive Compatible Mechanism  LP Relaxation & Walrasian.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Approximating Maximum Edge Coloring in Multigraphs
Computational problems, algorithms, runtime, hardness
Applied Discrete Mathematics Week 12: Trees
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
Design and Analysis of Algorithms
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Approximation Algorithms
1 Bipartite Matching Polytope, Stable Matching Polytope x1 x2 x3 Lecture 10: Feb 15.
Matching Polytope, Stable Matching Polytope Lecture 8: Feb 2 x1 x2 x3 x1 x2 x3.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Distributed Combinatorial Optimization
Linear Programming – Max Flow – Min Cut Orgad Keller.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
1 Spanning Tree Polytope x1 x2 x3 Lecture 11: Feb 21.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
C&O 355 Mathematical Programming Fall 2010 Lecture 17 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
Hungarian Algorithm Vida Movahedi Elderlab, York University June 2007.
Design Techniques for Approximation Algorithms and Approximation Classes.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
1 3-COLOURING: Input: Graph G Question: Does there exist a way to 3-colour the vertices of G so that adjacent vertices are different colours? 1.What could.
Hon Wai Leong, NUS (CS6234, Spring 2009) Page 1 Copyright © 2009 by Leong Hon Wai CS6234: Lecture 4  Linear Programming  LP and Simplex Algorithm [PS82]-Ch2.
Maximum Flow Problem (Thanks to Jim Orlin & MIT OCW)
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
15.082J and 6.855J March 4, 2003 Introduction to Maximum Flows.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
1 EE5900 Advanced Embedded System For Smart Infrastructure Static Scheduling.
Exercise 6.1 Find the number of different shortest paths from point A to point B in a city with perfectly horizontal streets and vertical avenues as shown.
C&O 355 Lecture 19 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Simplex Method Review. Canonical Form A is m x n Theorem 7.5: If an LP has an optimal solution, then at least one such solution exists at a basic feasible.
Approximation Algorithms based on linear programming.
Linear Programming (LP) Vector Form Maximize: cx Subject to : Ax  b c = (c 1, c 2, …, c n ) x = b = A = Summation Form Maximize:  c i x i Subject to:
More NP-Complete and NP-hard Problems
Lap Chi Lau we will only use slides 4 to 19
Computers versus human brains a cooperative game for scientific discoveries Alain Hertz Polytechnique Montréal Mons, August 23, 2017.
Topics in Algorithms Lap Chi Lau.
The Taxi Scheduling Problem
More NP-complete Problems
Analysis of Algorithms
Linear Programming Objectives: Set up a Linear Programming Problem
GreedyMaxCut a b w c d e 1.
Linear Programming Duality, Reductions, and Bipartite Matching
1. for (i=0; i < n; i+=2) if (A[i] > A[i+1]) swap(A[i], A[i+1])
Problem Solving 4.
Assignment Problems Guoming Tang CSC Graduate Lecture.
EE5900 Advanced Embedded System For Smart Infrastructure
1 1 Find a maximum Matching ? Women Men.
Lecture 19 Linear Program
Dominating Set By Eric Wengert.
Prepared by Po-Chuan on 2016/05/24
Presentation transcript:

Two applications of linear programming to chemistry: Finding the Clar number and the Fries number of a benzenoid in polynomial time using a LP. The desired solutions are integer but it has been proven that the basic feasible solutions are all integral so integer programming tactics are not required.

Matching: collection of disjoint edges. Benzenoid hexagon: hexagon with 3 matching edges. Fries number: maximum over all perfect matchings of the number of benzenoid hexagons. 2

Proof that the solutions to the LP are author = {Hernan G. Abeledo and Gary W. Atkinson}, title = {Polyhedral Combinatorics of Benzenoid Problems}, journal = {Lect. Notes Comput. Sci}, year = {1998}, volume = {1412}, pages = { } }

One variables x e for each edge e. Two variables per hexagon. All variables are constrained to be between 0 and 1. y 1 = 1 pink hex. is benzenoid because of red edges. y 2 = 1 pink hex. is benzenoid because of blue edges. y 3 = 1 aqua hex. is benzenoid because of red edges. y 4 = 1 aqua hex. is benzenoid because of blue edges. Maximize y 1 + y 2 + y 3 + y 4

To get a perfect matching: For each vertex, the number of edges incident sums to 1: x 1 + x 2 = 1 x 2 + x 3 = 1 x 3 + x 4 + x 11 = 1 …

To ensure benzenoid hexagons: Red edges of pink: x 1 - y 1 ≥ 0 x 3 - y 1 ≥ 0 x 9 - y 1 ≥ 0 Blue edges of pink: x 2 - y 2 ≥ 0 x 10 - y 2 ≥ 0 x 11 - y 2 ≥ 0 Red edges of aqua: x 4 - y 3 ≥ 0 x 6 - y 3 ≥ 0 x 8 - y 3 ≥ 0 Blue edges of aqua: x 5 - y 4 ≥ 0 x 7 - y 4 ≥ 0 x 11 - y 4 ≥ 0

Clar number: maximum over all perfect matchings of the number of independent benzenoid hexagons. 8

LP for the Clar number: The LH edge of each hexagon is its canonical edge.

The corresponding matching is the canonical matching for the hexagon.

If a hexagon is Clar, assume it realizes its canonical matching.

Two variables x e, z e for each edge e. One variable y h for each hexagon h. All variables are constrained to be between 0 and 1. z e = 1 if e is a perfect matching edge. x e = 1 if e is a matching edge not in a benzenoid hexagon. y h = 1 if h is an independent benzenoid hexagon and 0 otherwise.

Maximize y 1 + y 2 To get a perfect matching: For each vertex, the number of edges incident sums to 1: z 1 + z 2 = 1 z 2 + z 3 = 1 z 3 + z 4 + z 11 = 1 …

To get the independent benzenoid hexagons: For the pink hexagon: x 1 + y 1 –z 1 = 0 x 2 –z 2 = 0 x 3 + y 1 – z 3 = 0 x 11 - z 11 = 0 x 9 + y 1 –z 9 = 0 x 10 –z 10 = 0 If y 1 =1, y 2 =0 since x 11 + y 2 – z 11 = 0 If y 1 = 1 then z 1 = z 3 = z 9 = 1 ⟹ z 2 = z 11 = z 10 = 0

17

It’s possible to find the Fries number and the Clar number using linear programming. This is an example of a problem that is an integer programming problem where the integer solution magically appears when solving the linear programming problem.

19 “The CKC algorithm”

20 The CKC algorithm G molecular graph A(G) adjacency matrix a ij = 1 for edges (i,j) of G = 0 otherwise

21 The CKC algorithm: Hadamard Product: B = C  D  b ij =c ij d ij Form the iterated Hadamard * product P k+1 = P k  (P k ) -1 starting from the adjacency matrix P 0 = A

22 Equally weighted combination of two maximum-Fries perfect matchings

23 Converged P  Graph Problem 1: Exponential choice of matchings: 2 h Bad choiceGood choice h = 7

24 Converged P  Graph Problem 1: Exponential choice of matchings: 2 h Bad choiceGood choice h = 7

25 Examples with only 2 good choices from 2 h 2 out of 2 2 out of 4 2 out of 8 2 out of 16 …

26 Smallest counterexamples to CKC : 7 hexagons Problem 2: Underestimation of the Fries number CKC F = 5 Best F = 6

27 In the starred hexagon: CKC chooses 12  16  16 F = 5 Fries chooses 12  15  15 F = 6

28 Two perfect matchings of maximum weight: 14  18  18 CKC is choosing the wrong one