Some problems around travelling salesmen, dart boards, and Euro-coins

Size: px
Start display at page:

Download "Some problems around travelling salesmen, dart boards, and Euro-coins"

Transcription

1 The Algorithmics Column by Gerhard JWoeginger Department of Mathematics and Computer Science Eindhoven University of Technology P.O. Box 53, 5600 MB Eindhoven, The Netherlands Some problems around travelling salesmen, dart boards, and Euro-coins Vladimir G. Deĭneko Gerhard J. Woeginger Abstract In 957 Fred Supnick investigated and solved a special case of the Travelling Salesman Problem. Since then, Supnick s results have been rediscovered many times by other researchers. This article discusses Supnick s results and some of the rediscoveries. The Travelling Salesman Problem The Travelling Salesman Problem (TSP, for short) is probably the most prominent and the most studied problem in combinatorial optimization. An instance of the TSP consists of n cities, 2,...,n whose distances d i, j are summarized in an n n orsvd@wbs.warwick.ac.uk. Warwick Business School, The University of Warwick, Coventry CV4 7AL, United Kingdom. gwoegi@win.tue.nl. Department of Mathematics and Computer Science, TU Eindhoven, P.O. Box 53, 5600 MB Eindhoven, The Netherlands. Bulletin of the EATCS no 90, pp , October 2006 c European Association for Theoretical Computer Science

2 BEATCS no 90 THE EATCS COLUMNS distance matrix D = (d i, j ). The goal is to find a shortest closed tour through these cities. In other words, a travelling salesman starts from his home city φ(), then visits each of the other n cities φ(2),φ(3),...,φ(n) exactly once, in the end returns to his home city φ(), and he does all this with the smallest possible amount of gas. Mathematically speaking, we wish to find a permutation φ of, 2,...,n that minimizes the value of n d φ(i),φ(i+) + d φ(n),φ() () i= The TSP models tons of situations that arise in robotics, production, scheduling, engineering, and many other areas. For more specific information on the TSP and its applications, we refer the reader to the book by Lawler, Lenstra, Rinnooy Kan & Shmoys (985). The TSP in its general formulation is an NP-hard problem (Garey & Johnson, 979), and hence computationally intractable. In this article, we will concentrate on a special case of the TSP where the underlying distance matrix is a so-called Supnick matrix. 2 Supnick matrices The following inequalities (2) go back to the eighteenth century, to the work of the French mathematician and Naval minister Gaspard Monge (78). An n n matrix D = (d i, j ) is called Monge matrix, if it satisfies the so-called Monge inequalities d i, j + d r,s d i,s + d r, j (2) for all i, j, r, s with i < r n and j < s n. In words: In every 2 2 sub-matrix the sum of the two entries on the main diagonal is less or equal to the sum of the two entries on the other diagonal. Burkard, Klinz & Rudolf (996) survey the role of Monge structures in combinatorial optimization. A Supnick matrix D = (d i, j ) is a symmetric Monge matrix. That is, a Supnick matrix satisfies (2), and it satisfies d i, j = d j,i for all i and j. Here is a small catalogue of Supnick matrices: Sum matrices: Let α,...,α n be real numbers. Then the sum matrix D with d i, j = α i + α j is a Supnick matrix. In fact, a sum matrix satisfies all inequalities (2) even with equality. Convex-function matrices: Let f :IR IR be a function that is symmetric (hence: f (x) = f ( x) for all 44

3 The Bulletin of the EATCS x) and convex (hence: f (x + δ) f (x) f (y + δ) f (y) for all x y and all δ 0). Let β β 2 β n be real numbers. Then matrix D with d i, j = f (β i β j ) is a Supnick matrix: Symmetry of f implies symmetry of D. Fori, j, r, s with i < r n and j < s n, we set x := β i β s, y := β r β s, and δ = β s β j. This yields x y and δ 0. Plugging these values into the convexity condition yields (2). LL-UR block matrices: Let x < y n be integers, and consider the Lower-Left Upper-Right block matrix D with d i, j = ifi x and j y or if i y and j x, and with d i, j = 0 in all other cases. It is easily verified that this matrix D is a Supnick matrix. It has a rectangular block of -entries in the lower left corner (below the main diagonal), a symmetric block of -entries in the upper right corner (above the main diagonal), and it has 0-entries everywhere else. See Figure for an illustration. 0 0 Figure : A Lower-Left Upper-Right block matrix. Note that the inequalities stated in (2) are linear inequalities, and that also the symmetry condition is a linear condition. Consequently, if we multiply a Supnick matrix by a non-negative real number, or if we add up two Supnick matrices, then the resulting matrix will again be a Supnick matrix: The Supnick matrices form a cone. Rudolf & Woeginger (995) took a closer look at the structure of this cone and its extremal rays, and they came up with the following simple characterization of Supnick matrices. Theorem. A matrix is a Supnick matrix, if and only if it can be written as the sum of a sum matrix S and a non-negative linear combination of LL-UR block matrices. 45

4 BEATCS no 90 THE EATCS COLUMNS 3 Fred Supnick s theorem Now let us return to the travelling salesman problem. Fred Supnick (957) proved by a (somewhat involved) exchange argument that for the TSP with Supnick distance matrices, the optimal TSP tour is easy to find: The shortest tour is always given by the same permutation σ min. This permutation σ min first visits the odd cities in increasing order and then the even cities in decreasing order, and it constitutes a universally optimal solution for all instances of the Supnick TSP. Theorem 2. Let D = (d i, j ) be an n n Supnick matrix. The shortest TSP tour is given by the permutation σ min =, 3, 5, 7, 9,, 3,...4, 2, 0, 8, 6, 4, 2. (3) The longest TSP tour is given by the permutation σ max = n, 2, n 2, 4, n 4, 6,...,5, n 3, 3, n,. (4) (We write φ = φ(),φ(2),...,φ(n) to specify a permutation φ.) In the following paragraphs we will present a simple and quite straightforward argument for Supnick s result on the shortest tour. The argument is based on the additive characterization of Supnick matrices stated in Theorem. A similar argument can be used to prove Supnick s result on the longest tour. The TSP with a sum distance matrix D with d i, j = α i + α j is absolutely uninteresting: Since every city i contributes the value 2α i to the total tour length, every possible tour has the length 2 n i= α i. Every permutation φ minimizes (and simultaneously maximizes) the value of the expression in (). In particular, the Supnick permutation σ min yields a shortest tour for the TSP on sum matrices. The TSP on LL-UR block matrices is slightly more interesting. For technical reasons, we will now double every TSP tour and traverse it once in forward and once in backward direction. Since the distances are symmetric, this simply doubles the total tour length. Shortest solutions remain shortest, and non-shortest solutions remain non-shortest. Let us take a closer look at such a doubled tour corresponding to the permutation σ min : In the forward direction, the doubled tour runs from city to city 3, from city 3 to city 5, from 5 to 7 and so on. In the backward direction, it runs from city 2 to city 4, from 4 to 6, and so on. Hence, the doubled tour picks the entries d i,i+2 and d i+2,i for i =,...,n 2 together with the four entries d,2, d 2,, d n,n, d n,n out of the distance matrix, and it pays their total value. All the picked entries lie in the two diagonals above and in the two diagonals below the main diagonal of D. See Figure 2.0 for an illustration. Now let us argue that the doubled tour for σ min is the shortest doubled tour for any LL-UR block matrix D. We distinguish three cases that depend on the size and position of the two rectangular blocks of -entries. We recall that the lower left corner of the upper right block is the matrix element d x,y with x < y n. 46

5 The Bulletin of the EATCS 47 (0) () (2) (3) Figure 2: Illustrations for the proof of Supnick s result. Case : If y x 3, then the rectangular blocks in matrix D do not touch the doubled tour σ min ; see Figure 2.. Then the corresponding cost is 0, which clearly is minimum. Case 2: If y x =, then the rectangular blocks in D cover four of the entries picked by the doubled tour σ min, and the corresponding cost equals 4. See Figure 2.2 for an illustration. In this case the cities in G = {,...,x} are pairwise at distance 0, and the cities in G 2 = {x +,...,n} are pairwise at distance 0. The distance between any city in G and any city in G 2 equals. Any TSP tour must go at least once from G into G 2, and at least once back from G 2 into G. Hence, in this case any tour has cost at least 2 and any

6 BEATCS no 90 THE EATCS COLUMNS doubled tour has cost at least 4. Again, σ min yields a shortest solution. Case 3: The last case y x = 2 is illustrated in Figure 2.3. Now the cost of the doubled tour σ min equals 2. Every TSP tour must contain some move from a city with number x to a city with number y, or a move from a city y to a city x. Therefore any tour has cost at least, any doubled tour has cost at least 2, and also in this case σ min yields a shortest solution. Summarizing, we have shown that permutation σ min yields the shortest TSP tour for every distance matrix that is an LL-UR block matrix and for every distance matrix that is a sum matrix. Then σ min also yields the shortest TSP tour for any non-negative linear combination of such matrices, and by Theorem these combinations are exactly the Supnick matrices. The argument is complete. 4 Rediscoveries of Supnick s theorem During the Cold War, scientific results were often discovered on one side of the Iron Curtain and rediscovered independently on the other side. This also happened to Theorem 2. Supnick derived his result in 957, when he worked at the City University of New York. Supnick s result was rediscovered once by Rubinshtein (97) in Russia and once by Michalski (987) in Poland. Both rediscoveries state Supnick s result in its full generality and in the language of the TSP. Other researchers only rediscovered special cases of Theorem 2. For instance, Chao & Liang (992) derived the special case of Theorem 2 where the underlying matrix is a convex-function matrix. Another rediscovery is problem B-3 of the 57th William Lowell Putnam Mathematical Competition, which reads as follows: Given that {x, x 2,...,x n } = {, 2,...,n}, find the largest possible value of x x 2 + x 2 x x n x n + x n x as a function of n 2. This Putnam problem asks for the longest TSP tour in the distance matrix D = (d i, j ) with d i, j = ij. Matrix D itself is not a Supnick matrix, but matrix D is a Supnick matrix. Since the longest tour for D corresponds to the shortest tour for D, the problem is solved by permutation σ min. Theorem 2 then yields the answer 6 (2n3 + 3n 2 n + 8). Dart boards. Now let us turn to a number of rediscoveries of Supnick s result that are centered around the game of darts. The arrangement of the numbers, 2,...,20 on a modern dart board was devised in 896 by Brian Gamlin, a carpenter from Bury in the County of Lancashire. See the left half of Figure 3 for an illustration. Gamlin s arrangement reduces the element of chance and encourages accurate play, since large numbers (good scores) are always placed between 48

7 The Bulletin of the EATCS Figure 3: A classical dart board to the left. The most difficult dart board to the right. small numbers (bad scores). For instance, the large number 20 at the top of the dart board is placed between the small numbers and 5. If you are aiming for the segment 20, then a poor shot is penalized by a low score of or 5. Why did Gamlin select this particular arrangement? Is there some simple quality criterion that uniquely singles out the Gamlin arrangement from all possible arrangements? Unfortunately, no such simple quality criterion is known. Some Mathematicians are worried about this, and over the years they have proposed and analyzed a considerable number of reasonable quality criteria; see for instance Singmaster (980) and Lipscombe & Sangalli (2000). The most popular quality criterion is the so-called L p -criterion: Here the penalty incurred for missing a segment x and hitting the adjacent segment y instead equals x y p. The best (that is, most difficult) dart board with respect to the L p -criterion is a permutation of the numbers, 2,...,20 (or generally of the numbers, 2,...,n) that maximizes the total penalty of all segments. The reader will have little difficulty to recognize that the most difficult dart board for the L p -criterion corresponds to the longest TSP tour in the convex-function matrix with f (x) = x p and β i = i for i =,...,n. Theorem 2 yields that the best number arrangement is σ max. For n = 20 this arrangement is 20, 2, 8, 4, 6, 6, 4, 8, 2, 0,, 9, 3, 7, 5, 5, 7, 3, 9,, (5) and the corresponding most difficult dart board is depicted in the right half of Figure 3. Selkirk (976) was probably the first to discuss the L and the L 2 -criterion for dart boards. He correctly identifies the permutation σ max, and he states that for L 2 49

8 BEATCS no 90 THE EATCS COLUMNS the highest possible total penalty equals 3 (n3 4n+3) if n is odd and 3 (n3 4n+6) if n is even. Selkirk states a number of assertions all of which are correct, but none of which are proved. Eiselt & Laporte (99) formulate L and L 2 as a maximum cost TSP, and then compute an optimal solution by using a branch-and-bound code. They only consider the case n = 20, and their computer program indeed comes up with the arrangement in (5). Everson & Bassom show that permutation σ max maximizes the L -criterion for arbitrary values of n. Cohen & Tonkes (200) prove by an exchange argument that permutation σ max maximizes the total penalty under the L p -criterion for every integer p. Curtis (2004) reproves the results of Cohen & Tonkes (200), but by a different approach that is based on a certain greedy algorithm. Curtis also discusses so-called hoopla boards, and thereby rediscovers Supnick s result for convex-function matrices with f (x) = x p and arbitrary values β β 2 β n. Problem 0725 in the American Mathematical Monthly (Mihai & Woltermann, 200) reads as follows: Fix a positive integer n. Given a permutation φ of {, 2,...,n}, let F(φ) = n i=(φ(i) φ(i+)) 2, where φ(n+) = φ(). Find the extreme values of F(φ)asφ ranges over all permutations. Obviously, this problem asks for the easiest and for the most difficult dart board under the L 2 -criterion. The minimum of F(φ) is4n 6, and the maximum is 3 (n3 4n + 3) if n is odd and 3 (n3 4n + 6) if n is even (as also observed by Selkirk, 976). Euro-coins. The diameter of a -Euro coin is mm, and the diameter of a 2- Euro coin is mm. There are only two essentially different ways of arranging two 2-Euro coins and three -Euro coins in a ring, so that each coin is tangent to two others while all five coins are externally tangent to a disk inside the ring. See Figure 4 for an illustration. For which of the two arrangements is the diameter of the inner disk larger? This puzzle goes back to Joe Konhauser, and it is discussed in problem 43 of the book Which Way Did the Bicycle Go? by Konhauser, Velleman & Wagon (996). It turns out that the arrangement with adjacent 2- Euro coins has a slightly larger central disk. Duncan, Velleman & Wagon (996) discuss a generalization of this puzzle. Suppose we are given n 3 disks of radii r r 2 r n. We wish to place them in some order around a central disk so that each given disk touches the central disk and its two immediate neighbors. If the given disks are of widely different sizes (such as 00, 00, 00, 00, ), we allow a disk to overlap other given disks that are not immediate 50

9 The Bulletin of the EATCS neighbors. In what order should the given disks be arranged so as to maximize the radius of the central disk? Figure 4: There are two ways of arranging three -Euro coins and two 2-Euro coins around a central disk: 2-Euro coins together (left) or 2-Euro coins apart (right). In the right picture the central disk is slightly larger than in the left picture. Let us first consider a central disk with a fixed radius R. Look at a single tangent configuration made up of the central disk, and two disks of radius x and y. The three centers form a triangle with sides R + x, R + y, and x + y. Applying the law of cosines and simplifying gives that in this triangle, the angle at the center of the disk with radius R is θ R (x, y) = arccos ( 5 ) 2xy. (6) R 2 + Rx + Ry + xy It can be checked that the distances d i, j = θ R (r i, r j ) are symmetric and satisfy the inequalities (2). Therefore, the corresponding distance matrix D is a Supnick matrix, and Theorem 2 can be applied. Because of the minus-sign in the definition of the d i, j, the permutation σ min in this case yields the arrangement with largest overall angle θ(r). If the overall angle θ(r) is strictly less than 2π, then the radius R was chosen too large and must be decreased. If the overall angle θ(r) is strictly greater than 2π, then the radius R was chosen too small and must be increased. To summarize, the arrangement σ min maximizes and the arrangement σ max minimizes the radius of the central disk. This has been (re)discovered by Duncan, Velleman & Wagon (996). If we go back to the puzzle of the five Euro-coins with radii r = 23.25, r 2 = 23.25, r 3 = 23.25, r 4 = 25.75, r 5 = 25.75, we see that the maximizing permutation σ min =, 3, 5, 4, 2 indeed puts the two larger coins next to each other.

10 BEATCS no 90 THE EATCS COLUMNS References [] R.E. Burkard, B. Klinz, and R. Rudolf (996). Perspectives of Monge properties in optimization. Discrete Applied Mathematics 70, [2] C.C. Chao and W.Q. Liang (992). Arranging n distinct numbers on a line or a circle to reach extreme total variations European Journal of Combinatorics 3, [3] G.L. Cohen and E. Tonkes (200). Dartboard arrangements. Electronic Journal of Combinatorics 8(2), R4. [4] S.A. Curtis (2004). Darts and hoopla board design. Information Processing Letters 92, [5] J. Duncan, D. Velleman, and St. Wagon (996). Solution to Problem Crux Mathematicorum 22, [6] H.A. Eiselt and G. Laporte (99). A combinatorial optimization problem arising in dartboard design. The Journal of the Operational Research Society 42, 3 8. [7] P.J. Everson and A.P. Bassom (994/5). Optimal arrangements for a dartboard. Mathematical Spectrum 27, [8] M.R. Garey and D.S. Johnson (979). Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, San Francisco. [9] J.D.E. Konhauser, D. Velleman, and St. Wagon (996). Problem 43 in Which Way Did the Bicycle Go? Dolciani Mathematical Expositions. [0] E.L. Lawler, J.K. Lenstra, A.H.G. Rinnooy Kan, and D.B. Shmoys (eds.) (985). The travelling salesman problem. John Wiley, Chichester. [] T. Lipscombe and A. Sangalli (2000). The devil s dartboard. Crux Mathematicorum 26, [2] M. Michalski (987). On a class of polynomially solvable travelling salesman problems. Zastosowania Matematyki 9, [3] V. Mihai and M. Woltermann (200). Problem 0725: The smoothest and roughest permutations. American Mathematical Monthly 08, [4] G. Monge (78). Mémoire sur la théorie des déblais et des remblais. Histoire de l Académie Royale des Science (Année 78, avec les Mémoires de Mathématique et de Physique, pour la même Année), [5] M.I. Rubinshtein (97). On the symmetric travelling salesman problem. Automation and Remote Control 32, [6] R. Rudolf and G.J. Woeginger (995). The cone of Monge matrices: Extremal rays and applications. Mathematical Methods of Operations Research 42, [7] K. Selkirk (976). Re-designing the dartboard. Mathematical Gazette 60, [8] D. Singmaster (980). Arranging a dartboard. Bulletin of the Institute of Mathematics and its Applications 6, [9] F. Supnick (957). Extreme Hamiltonian lines. Annals of Mathematics 66,

The Northwest corner rule revisited. Bettina Klinz and Gerhard Woeginger. Project Area(s): Effizient lösbare kombinatorische Optimierungsprobleme

The Northwest corner rule revisited. Bettina Klinz and Gerhard Woeginger. Project Area(s): Effizient lösbare kombinatorische Optimierungsprobleme FoSP Algorithmen & mathematische Modellierung FoSP Forschungsschwerpunkt Algorithmen und mathematische Modellierung The Northwest corner rule revisited Bettina Klinz and Gerhard Woeginger Project Area(s):

More information

The three-dimensional matching problem in Kalmanson matrices

The three-dimensional matching problem in Kalmanson matrices DOI 10.1007/s10878-011-9426-y The three-dimensional matching problem in Kalmanson matrices Sergey Polyakovskiy Frits C.R. Spieksma Gerhard J. Woeginger The Author(s) 2011. This article is published with

More information

2 Notation and Preliminaries

2 Notation and Preliminaries On Asymmetric TSP: Transformation to Symmetric TSP and Performance Bound Ratnesh Kumar Haomin Li epartment of Electrical Engineering University of Kentucky Lexington, KY 40506-0046 Abstract We show that

More information

The Traveling Salesman Problem with Few Inner Points

The Traveling Salesman Problem with Few Inner Points The Traveling Salesman Problem with Few Inner Points Vladimir G. Deĭneko 1,, Michael Hoffmann 2, Yoshio Okamoto 2,, and Gerhard J. Woeginger 3, 1 Warwick Business School, The University of Warwick, Conventry

More information

University of Twente. Faculty of Mathematical Sciences. Scheduling split-jobs on parallel machines. University for Technical and Social Sciences

University of Twente. Faculty of Mathematical Sciences. Scheduling split-jobs on parallel machines. University for Technical and Social Sciences Faculty of Mathematical Sciences University of Twente University for Technical and Social Sciences P.O. Box 217 7500 AE Enschede The Netherlands Phone: +31-53-4893400 Fax: +31-53-4893114 Email: memo@math.utwente.nl

More information

Throughput Optimization in Single and Dual-Gripper Robotic Cells

Throughput Optimization in Single and Dual-Gripper Robotic Cells Throughput Optimization in Single and Dual-Gripper Robotic Cells U.V. Manoj; manojuv@tamu.edu College of Engineering, Texas A&M University, College Station, TX Chelliah Sriskandarajah Mays Business School,

More information

Eranda Çela, Vladimir G. Deineko & Gerhard J. Woeginger

Eranda Çela, Vladimir G. Deineko & Gerhard J. Woeginger The multi-stripe travelling salesman problem Eranda Çela, Vladimir G. Deineko & Gerhard J. Woeginger Annals of Operations Research ISSN 0254-5330 Ann Oper Res DOI 10.1007/s10479-017-2513-4 1 23 Your article

More information

Solving the Hamiltonian Cycle problem using symbolic determinants

Solving the Hamiltonian Cycle problem using symbolic determinants Solving the Hamiltonian Cycle problem using symbolic determinants V. Ejov, J.A. Filar, S.K. Lucas & J.L. Nelson Abstract In this note we show how the Hamiltonian Cycle problem can be reduced to solving

More information

Single Machine Scheduling with a Non-renewable Financial Resource

Single Machine Scheduling with a Non-renewable Financial Resource Single Machine Scheduling with a Non-renewable Financial Resource Evgeny R. Gafarov a, Alexander A. Lazarev b Institute of Control Sciences of the Russian Academy of Sciences, Profsoyuznaya st. 65, 117997

More information

CS 350 Algorithms and Complexity

CS 350 Algorithms and Complexity 1 CS 350 Algorithms and Complexity Fall 2015 Lecture 15: Limitations of Algorithmic Power Introduction to complexity theory Andrew P. Black Department of Computer Science Portland State University Lower

More information

A Note on Tiling under Tomographic Constraints

A Note on Tiling under Tomographic Constraints A Note on Tiling under Tomographic Constraints arxiv:cs/8v3 [cs.cc] 9 Apr Marek Chrobak Peter Couperus Christoph Dürr Gerhard Woeginger February, 8 Abstract Given a tiling of a D grid with several types

More information

Discrete Applied Mathematics

Discrete Applied Mathematics Discrete Applied Mathematics 194 (015) 37 59 Contents lists available at ScienceDirect Discrete Applied Mathematics journal homepage: wwwelseviercom/locate/dam Loopy, Hankel, and combinatorially skew-hankel

More information

Part III: Traveling salesman problems

Part III: Traveling salesman problems Transportation Logistics Part III: Traveling salesman problems c R.F. Hartl, S.N. Parragh 1/74 Motivation Motivation Why do we study the TSP? it easy to formulate it is a difficult problem many significant

More information

Instructions. Do not open your test until instructed to do so!

Instructions. Do not open your test until instructed to do so! st Annual King s College Math Competition King s College welcomes you to this year s mathematics competition and to our campus. We wish you success in this competition and in your future studies. Instructions

More information

NP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20

NP-complete problems. CSE 101: Design and Analysis of Algorithms Lecture 20 NP-complete problems CSE 101: Design and Analysis of Algorithms Lecture 20 CSE 101: Design and analysis of algorithms NP-complete problems Reading: Chapter 8 Homework 7 is due today, 11:59 PM Tomorrow

More information

When Cauchy and Hölder Met Minkowski: A Tour through Well-Known Inequalities

When Cauchy and Hölder Met Minkowski: A Tour through Well-Known Inequalities 202 MATHEMATICS MAGAZINE When Cauchy and Hölder Met Minkowski: A Tour through Well-Known Inequalities GERHARD J. WOEGINGER Department of Mathematics TU Eindhoven The Netherlands gwoegi@win.tue.nl Many

More information

Complexity analysis of job-shop scheduling with deteriorating jobs

Complexity analysis of job-shop scheduling with deteriorating jobs Discrete Applied Mathematics 117 (2002) 195 209 Complexity analysis of job-shop scheduling with deteriorating jobs Gur Mosheiov School of Business Administration and Department of Statistics, The Hebrew

More information

CS 350 Algorithms and Complexity

CS 350 Algorithms and Complexity CS 350 Algorithms and Complexity Winter 2019 Lecture 15: Limitations of Algorithmic Power Introduction to complexity theory Andrew P. Black Department of Computer Science Portland State University Lower

More information

CS/COE

CS/COE CS/COE 1501 www.cs.pitt.edu/~nlf4/cs1501/ P vs NP But first, something completely different... Some computational problems are unsolvable No algorithm can be written that will always produce the correct

More information

Bichain graphs: geometric model and universal graphs

Bichain graphs: geometric model and universal graphs Bichain graphs: geometric model and universal graphs Robert Brignall a,1, Vadim V. Lozin b,, Juraj Stacho b, a Department of Mathematics and Statistics, The Open University, Milton Keynes MK7 6AA, United

More information

ON COST MATRICES WITH TWO AND THREE DISTINCT VALUES OF HAMILTONIAN PATHS AND CYCLES

ON COST MATRICES WITH TWO AND THREE DISTINCT VALUES OF HAMILTONIAN PATHS AND CYCLES ON COST MATRICES WITH TWO AND THREE DISTINCT VALUES OF HAMILTONIAN PATHS AND CYCLES SANTOSH N. KABADI AND ABRAHAM P. PUNNEN Abstract. Polynomially testable characterization of cost matrices associated

More information

Part III: Traveling salesman problems

Part III: Traveling salesman problems Transportation Logistics Part III: Traveling salesman problems c R.F. Hartl, S.N. Parragh 1/282 Motivation Motivation Why do we study the TSP? c R.F. Hartl, S.N. Parragh 2/282 Motivation Motivation Why

More information

Algorithms Re-Exam TIN093/DIT600

Algorithms Re-Exam TIN093/DIT600 Algorithms Re-Exam TIN093/DIT600 Course: Algorithms Course code: TIN 093 (CTH), DIT 600 (GU) Date, time: 7th January 2016, 8:30 12:30 Building: M Responsible teacher: Peter Damaschke, Tel. 5405. Examiner:

More information

Lecture 4: NP and computational intractability

Lecture 4: NP and computational intractability Chapter 4 Lecture 4: NP and computational intractability Listen to: Find the longest path, Daniel Barret What do we do today: polynomial time reduction NP, co-np and NP complete problems some examples

More information

Sponsored by: UGA Math Department, UGA Math Club, UGA Parents and Families Association Written test, 25 problems / 90 minutes WITH SOLUTIONS

Sponsored by: UGA Math Department, UGA Math Club, UGA Parents and Families Association Written test, 25 problems / 90 minutes WITH SOLUTIONS Sponsored by: UGA Math Department, UGA Math Club, UGA Parents and Families Association Written test, 25 problems / 90 minutes WITH SOLUTIONS 1 Easy Problems Problem 1. On the picture below (not to scale,

More information

Tractable & Intractable Problems

Tractable & Intractable Problems Tractable & Intractable Problems We will be looking at : What is a P and NP problem NP-Completeness The question of whether P=NP The Traveling Salesman problem again Programming and Data Structures 1 Polynomial

More information

CS 583: Algorithms. NP Completeness Ch 34. Intractability

CS 583: Algorithms. NP Completeness Ch 34. Intractability CS 583: Algorithms NP Completeness Ch 34 Intractability Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time? Standard working

More information

Formulas to Estimate the VRP Average Distance Traveled in Elliptic Zones

Formulas to Estimate the VRP Average Distance Traveled in Elliptic Zones F. Robuste, M. Estrada & A. Lopez-Pita 1 Formulas to Estimate the VRP Average Distance Traveled in Elliptic Zones F. Robuste, M. Estrada & A. Lopez Pita CENIT Center for Innovation in Transport Technical

More information

How hard is it to find a good solution?

How hard is it to find a good solution? How hard is it to find a good solution? Simons Institute Open Lecture November 4, 2013 Research Area: Complexity Theory Given a computational problem, find an efficient algorithm that solves it. Goal of

More information

Algebraic Methods in Combinatorics

Algebraic Methods in Combinatorics Algebraic Methods in Combinatorics Po-Shen Loh 27 June 2008 1 Warm-up 1. (A result of Bourbaki on finite geometries, from Răzvan) Let X be a finite set, and let F be a family of distinct proper subsets

More information

Chapter 34: NP-Completeness

Chapter 34: NP-Completeness Graph Algorithms - Spring 2011 Set 17. Lecturer: Huilan Chang Reference: Cormen, Leiserson, Rivest, and Stein, Introduction to Algorithms, 2nd Edition, The MIT Press. Chapter 34: NP-Completeness 2. Polynomial-time

More information

High School Math Contest

High School Math Contest High School Math Contest University of South Carolina February th, 017 Problem 1. If (x y) = 11 and (x + y) = 169, what is xy? (a) 11 (b) 1 (c) 1 (d) (e) 8 Solution: Note that xy = (x + y) (x y) = 169

More information

Georgia Tech High School Math Competition

Georgia Tech High School Math Competition Georgia Tech High School Math Competition Multiple Choice Test February 28, 2015 Each correct answer is worth one point; there is no deduction for incorrect answers. Make sure to enter your ID number on

More information

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]

NP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch] NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the

More information

Lecture 15 - NP Completeness 1

Lecture 15 - NP Completeness 1 CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) February 29, 2018 Lecture 15 - NP Completeness 1 In the last lecture we discussed how to provide

More information

ECS122A Handout on NP-Completeness March 12, 2018

ECS122A Handout on NP-Completeness March 12, 2018 ECS122A Handout on NP-Completeness March 12, 2018 Contents: I. Introduction II. P and NP III. NP-complete IV. How to prove a problem is NP-complete V. How to solve a NP-complete problem: approximate algorithms

More information

Wooden Geometric Puzzles: Design and Hardness Proofs

Wooden Geometric Puzzles: Design and Hardness Proofs Wooden Geometric Puzzles: Design and Hardness Proofs Helmut Alt Hans L. Bodlaender Marc van Kreveld Günter Rote Gerard Tel Department of Information and Computing Sciences, Utrecht University Technical

More information

An O(n log n) Algorithm for the K-Template Traveling Salesman Problem

An O(n log n) Algorithm for the K-Template Traveling Salesman Problem An O(n log n) Algorithm for the K-Template Traveling Salesman Problem Jack A.A. van der Veen Gerhard J. Woeginger Shuzhong Zhang November 1995 Abstract In this paper a one-machine scheduling model is analyzed

More information

Introduction to Complexity Theory

Introduction to Complexity Theory Introduction to Complexity Theory Read K & S Chapter 6. Most computational problems you will face your life are solvable (decidable). We have yet to address whether a problem is easy or hard. Complexity

More information

6. APPLICATION TO THE TRAVELING SALESMAN PROBLEM

6. APPLICATION TO THE TRAVELING SALESMAN PROBLEM 6. Application to the Traveling Salesman Problem 92 6. APPLICATION TO THE TRAVELING SALESMAN PROBLEM The properties that have the most significant influence on the maps constructed by Kohonen s algorithm

More information

Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes

Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes Low-Complexity Algorithms for Sequencing Jobs with a Fixed Number of Job-Classes Jack A.A. van der Veen Nijenrode University - The Netherlands School of Business Straatweg 25, 3621 BG Breukelen The Netherlands

More information

Data Structures in Java

Data Structures in Java Data Structures in Java Lecture 21: Introduction to NP-Completeness 12/9/2015 Daniel Bauer Algorithms and Problem Solving Purpose of algorithms: find solutions to problems. Data Structures provide ways

More information

The P versus NP Problem. Ker-I Ko. Stony Brook, New York

The P versus NP Problem. Ker-I Ko. Stony Brook, New York The P versus NP Problem Ker-I Ko Stony Brook, New York ? P = NP One of the seven Millenium Problems The youngest one A folklore question? Has hundreds of equivalent forms Informal Definitions P : Computational

More information

A Survey on Travelling Salesman Problem

A Survey on Travelling Salesman Problem A Survey on Travelling Salesman Problem Sanchit Goyal Department of Computer Science University of North Dakota Grand Forks, North Dakota 58203 sanchitgoyal01@gmail.com Abstract The Travelling Salesman

More information

Algorithm Design Strategies V

Algorithm Design Strategies V Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin

More information

2015 Joe Holbrook Memorial Math Competition 7th Grade Exam Solutions

2015 Joe Holbrook Memorial Math Competition 7th Grade Exam Solutions 05 Joe Holbrook Memorial Math Competition 7th Grade Exam Solutions The Bergen County Academies Math Team October th, 05. We have two 5 s, two 7 s, two 9 s, two s, one, and one. This simplifies to (5 +

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.

More information

3. A square has 4 sides, so S = 4. A pentagon has 5 vertices, so P = 5. Hence, S + P = 9. = = 5 3.

3. A square has 4 sides, so S = 4. A pentagon has 5 vertices, so P = 5. Hence, S + P = 9. = = 5 3. JHMMC 01 Grade Solutions October 1, 01 1. By counting, there are 7 words in this question.. (, 1, ) = 1 + 1 + = 9 + 1 + =.. A square has sides, so S =. A pentagon has vertices, so P =. Hence, S + P = 9..

More information

Travelling Salesman Problem

Travelling Salesman Problem Travelling Salesman Problem Fabio Furini November 10th, 2014 Travelling Salesman Problem 1 Outline 1 Traveling Salesman Problem Separation Travelling Salesman Problem 2 (Asymmetric) Traveling Salesman

More information

The Constrained Minimum Weighted Sum of Job Completion Times Problem 1

The Constrained Minimum Weighted Sum of Job Completion Times Problem 1 The Constrained Minimum Weighted Sum of Job Completion Times Problem 1 Asaf Levin 2 and Gerhard J. Woeginger 34 Abstract We consider the problem of minimizing the weighted sum of job completion times on

More information

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles

The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles The Multiple Traveling Salesman Problem with Time Windows: Bounds for the Minimum Number of Vehicles Snežana Mitrović-Minić Ramesh Krishnamurti School of Computing Science, Simon Fraser University, Burnaby,

More information

Optimal on-line algorithms for single-machine scheduling

Optimal on-line algorithms for single-machine scheduling Optimal on-line algorithms for single-machine scheduling J.A. Hoogeveen A.P.A. Vestjens Department of Mathematics and Computing Science, Eindhoven University of Technology, P.O.Box 513, 5600 MB, Eindhoven,

More information

Week 4. (1) 0 f ij u ij.

Week 4. (1) 0 f ij u ij. Week 4 1 Network Flow Chapter 7 of the book is about optimisation problems on networks. Section 7.1 gives a quick introduction to the definitions of graph theory. In fact I hope these are already known

More information

Edge Elimination for the Hamiltonian Cycle problem

Edge Elimination for the Hamiltonian Cycle problem Edge Elimination for the Hamiltonian Cycle problem Elliot Catt Pablo Moscato and Luke Mathieson University of Newcastle February 27, 2017 1 Abstract The Hamilton cycle and travelling salesman problem are

More information

Approximation Schemes for Scheduling on Parallel Machines

Approximation Schemes for Scheduling on Parallel Machines Approximation Schemes for Scheduling on Parallel Machines Noga Alon Yossi Azar Gerhard J. Woeginger Tal Yadid Abstract We discuss scheduling problems with m identical machines and n jobs where each job

More information

The traveling salesman problem

The traveling salesman problem Chapter 58 The traveling salesman problem The traveling salesman problem (TSP) asks for a shortest Hamiltonian circuit in a graph. It belongs to the most seductive problems in combinatorial optimization,

More information

State Math Contest (Junior)

State Math Contest (Junior) Name: Student ID: State Math Contest (Junior) Instructions: Do not turn this page until your proctor tells you. Enter your name, grade, and school information following the instructions given by your proctor.

More information

NP-Complete Problems and Approximation Algorithms

NP-Complete Problems and Approximation Algorithms NP-Complete Problems and Approximation Algorithms Efficiency of Algorithms Algorithms that have time efficiency of O(n k ), that is polynomial of the input size, are considered to be tractable or easy

More information

Consecutive ones Block for Symmetric Matrices

Consecutive ones Block for Symmetric Matrices Consecutive ones Block for Symmetric Matrices Rui Wang, FrancisCM Lau Department of Computer Science and Information Systems The University of Hong Kong, Hong Kong, PR China Abstract We show that a cubic

More information

MINIMIZING TOTAL TARDINESS FOR SINGLE MACHINE SEQUENCING

MINIMIZING TOTAL TARDINESS FOR SINGLE MACHINE SEQUENCING Journal of the Operations Research Society of Japan Vol. 39, No. 3, September 1996 1996 The Operations Research Society of Japan MINIMIZING TOTAL TARDINESS FOR SINGLE MACHINE SEQUENCING Tsung-Chyan Lai

More information

Written test, 25 problems / 90 minutes

Written test, 25 problems / 90 minutes Sponsored by: UGA Math Department and UGA Math Club Written test, 5 problems / 90 minutes October, 06 WITH SOLUTIONS Problem. Let a represent a digit from to 9. Which a gives a! aa + a = 06? Here aa indicates

More information

July 18, Approximation Algorithms (Travelling Salesman Problem)

July 18, Approximation Algorithms (Travelling Salesman Problem) Approximation Algorithms (Travelling Salesman Problem) July 18, 2014 The travelling-salesman problem Problem: given complete, undirected graph G = (V, E) with non-negative integer cost c(u, v) for each

More information

MIT Algebraic techniques and semidefinite optimization February 14, Lecture 3

MIT Algebraic techniques and semidefinite optimization February 14, Lecture 3 MI 6.97 Algebraic techniques and semidefinite optimization February 4, 6 Lecture 3 Lecturer: Pablo A. Parrilo Scribe: Pablo A. Parrilo In this lecture, we will discuss one of the most important applications

More information

Monotone Hamiltonian paths in the Boolean lattice of subsets

Monotone Hamiltonian paths in the Boolean lattice of subsets Monotone Hamiltonian paths in the Boolean lattice of subsets Csaba Biró and David Howard December 10, 2007 Abstract Consider the lattice whose elements are the subsets of the set of positive integers not

More information

CONSTRUCTION PROBLEMS

CONSTRUCTION PROBLEMS CONSTRUCTION PROBLEMS VIPUL NAIK Abstract. In this article, I describe the general problem of constructing configurations subject to certain conditions, and the use of techniques like greedy algorithms

More information

UNC Charlotte 2005 Comprehensive March 7, 2005

UNC Charlotte 2005 Comprehensive March 7, 2005 March 7, 2005 1. The numbers x and y satisfy 2 x = 15 and 15 y = 32. What is the value xy? (A) 3 (B) 4 (C) 5 (D) 6 (E) none of A, B, C or D Solution: C. Note that (2 x ) y = 15 y = 32 so 2 xy = 2 5 and

More information

MINIMUM DIAMETER COVERING PROBLEMS. May 20, 1997

MINIMUM DIAMETER COVERING PROBLEMS. May 20, 1997 MINIMUM DIAMETER COVERING PROBLEMS Esther M. Arkin y and Refael Hassin z May 20, 1997 Abstract A set V and a collection of (possibly non-disjoint) subsets are given. Also given is a real matrix describing

More information

Joe Holbrook Memorial Math Competition

Joe Holbrook Memorial Math Competition Joe Holbrook Memorial Math Competition 8th Grade Solutions October 9th, 06. + (0 ( 6( 0 6 ))) = + (0 ( 6( 0 ))) = + (0 ( 6)) = 6 =. 80 (n ). By the formula that says the interior angle of a regular n-sided

More information

5 Group theory. 5.1 Binary operations

5 Group theory. 5.1 Binary operations 5 Group theory This section is an introduction to abstract algebra. This is a very useful and important subject for those of you who will continue to study pure mathematics. 5.1 Binary operations 5.1.1

More information

A simple LP relaxation for the Asymmetric Traveling Salesman Problem

A simple LP relaxation for the Asymmetric Traveling Salesman Problem A simple LP relaxation for the Asymmetric Traveling Salesman Problem Thành Nguyen Cornell University, Center for Applies Mathematics 657 Rhodes Hall, Ithaca, NY, 14853,USA thanh@cs.cornell.edu Abstract.

More information

Theory of Computation Chapter 1: Introduction

Theory of Computation Chapter 1: Introduction Theory of Computation Chapter 1: Introduction Guan-Shieng Huang Sep. 20, 2006 Feb. 9, 2009 0-0 Text Book Computational Complexity, by C. H. Papadimitriou, Addison-Wesley, 1994. 1 References Garey, M.R.

More information

Lesson 9: Examples of Functions from Geometry

Lesson 9: Examples of Functions from Geometry Lesson 9: Examples of Functions from Geometry Classwork Exercises As you complete Exercises 1 4, record the information in the table below. Side length (s) Area (A) Expression that describes area of border

More information

3. Which of these numbers does not belong to the set of solutions of the inequality 4

3. Which of these numbers does not belong to the set of solutions of the inequality 4 Math Field Day Exam 08 Page. The number is equal to b) c) d) e). Consider the equation 0. The slope of this line is / b) / c) / d) / e) None listed.. Which of these numbers does not belong to the set of

More information

Deciding Emptiness of the Gomory-Chvátal Closure is NP-Complete, Even for a Rational Polyhedron Containing No Integer Point

Deciding Emptiness of the Gomory-Chvátal Closure is NP-Complete, Even for a Rational Polyhedron Containing No Integer Point Deciding Emptiness of the Gomory-Chvátal Closure is NP-Complete, Even for a Rational Polyhedron Containing No Integer Point Gérard Cornuéjols 1 and Yanjun Li 2 1 Tepper School of Business, Carnegie Mellon

More information

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 31 OCTOBER 2018

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 31 OCTOBER 2018 SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY OCTOBER 8 Mark Scheme: Each part of Question is worth marks which are awarded solely for the correct answer. Each

More information

Single Machine Scheduling with Generalized Total Tardiness Objective Function

Single Machine Scheduling with Generalized Total Tardiness Objective Function Single Machine Scheduling with Generalized Total Tardiness Objective Function Evgeny R. Gafarov a, Alexander A. Lazarev b Institute of Control Sciences of the Russian Academy of Sciences, Profsoyuznaya

More information

Scheduling Parallel Jobs with Linear Speedup

Scheduling Parallel Jobs with Linear Speedup Scheduling Parallel Jobs with Linear Speedup Alexander Grigoriev and Marc Uetz Maastricht University, Quantitative Economics, P.O.Box 616, 6200 MD Maastricht, The Netherlands. Email: {a.grigoriev, m.uetz}@ke.unimaas.nl

More information

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University

Algorithms. NP -Complete Problems. Dong Kyue Kim Hanyang University Algorithms NP -Complete Problems Dong Kyue Kim Hanyang University dqkim@hanyang.ac.kr The Class P Definition 13.2 Polynomially bounded An algorithm is said to be polynomially bounded if its worst-case

More information

2018 Best Student Exam Solutions Texas A&M High School Students Contest October 20, 2018

2018 Best Student Exam Solutions Texas A&M High School Students Contest October 20, 2018 08 Best Student Exam Solutions Texas A&M High School Students Contest October 0, 08. You purchase a stock and later sell it for $44 per share. When you do, you notice that the percent increase was the

More information

1. The positive zero of y = x 2 + 2x 3/5 is, to the nearest tenth, equal to

1. The positive zero of y = x 2 + 2x 3/5 is, to the nearest tenth, equal to SAT II - Math Level Test #0 Solution SAT II - Math Level Test No. 1. The positive zero of y = x + x 3/5 is, to the nearest tenth, equal to (A) 0.8 (B) 0.7 + 1.1i (C) 0.7 (D) 0.3 (E). 3 b b 4ac Using Quadratic

More information

Lecture Notes 4. Issued 8 March 2018

Lecture Notes 4. Issued 8 March 2018 CM30073 Advanced Algorithms and Complexity 1. Structure of the class NP Lecture Notes 4 Issued 8 March 2018 Recall that it is not known whether or not P = NP, the widely accepted hypothesis being that

More information

The constant objective value property for combinatorial optimization problems

The constant objective value property for combinatorial optimization problems The constant objective value property for combinatorial optimization problems Ante Ćustić Bettina Klinz May 2014 Abstract Given a combinatorial optimization problem, we aim at characterizing the set of

More information

= 126 possible 5-tuples.

= 126 possible 5-tuples. 19th Philippine Mathematical Olympiad 1 January, 017 JUDGES COPY EASY 15 seconds, points 1. If g (x) = x x 5 Answer: 14 Solution: Note that x x and f ( g ( x)) = x, find f (). x 6 = = x = 1. Hence f ()

More information

Sometimes travelling is easy : the master tour problem

Sometimes travelling is easy : the master tour problem Sometimes travelling is easy : the master tour problem Deineko, V.G.; Rudolf, R.; Woeginger, G. Published in: SIAM Journal on Discrete Mathematics DOI: 10.1137/S0895480195281878 Published: 01/01/1998 Document

More information

Solutions to November 2006 Problems

Solutions to November 2006 Problems Solutions to November 2006 Problems Problem 1. A six-sided convex polygon is inscribed in a circle. All its angles are equal. Show that its sides need not be equal. What can be said about seven-sided equal-angled

More information

arxiv: v1 [cs.cg] 29 Jun 2012

arxiv: v1 [cs.cg] 29 Jun 2012 Single-Source Dilation-Bounded Minimum Spanning Trees Otfried Cheong Changryeol Lee May 2, 2014 arxiv:1206.6943v1 [cs.cg] 29 Jun 2012 Abstract Given a set S of points in the plane, a geometric network

More information

M 2 M 3. Robot M (O)

M 2 M 3. Robot M (O) R O M A TRE DIA Universita degli Studi di Roma Tre Dipartimento di Informatica e Automazione Via della Vasca Navale, 79 { 00146 Roma, Italy Part Sequencing in Three Machine No-Wait Robotic Cells Alessandro

More information

Is It As Easy To Discover As To Verify?

Is It As Easy To Discover As To Verify? Is It As Easy To Discover As To Verify? Sam Buss Department of Mathematics U.C. San Diego UCSD Math Circle May 22, 2004 A discovered identity The Bailey-Borwein-Plouffe formula for π (1997): π = n=0 (

More information

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal?

CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? CSCI3390-Lecture 18: Why is the P =?NP Problem Such a Big Deal? The conjecture that P is different from NP made its way on to several lists of the most important unsolved problems in Mathematics (never

More information

Algebraic Methods in Combinatorics

Algebraic Methods in Combinatorics Algebraic Methods in Combinatorics Po-Shen Loh June 2009 1 Linear independence These problems both appeared in a course of Benny Sudakov at Princeton, but the links to Olympiad problems are due to Yufei

More information

Complexity analysis of the discrete sequential search problem with group activities

Complexity analysis of the discrete sequential search problem with group activities Complexity analysis of the discrete sequential search problem with group activities Coolen K, Talla Nobibon F, Leus R. KBI_1313 Complexity analysis of the discrete sequential search problem with group

More information

Sparsity of Matrix Canonical Forms. Xingzhi Zhan East China Normal University

Sparsity of Matrix Canonical Forms. Xingzhi Zhan East China Normal University Sparsity of Matrix Canonical Forms Xingzhi Zhan zhan@math.ecnu.edu.cn East China Normal University I. Extremal sparsity of the companion matrix of a polynomial Joint work with Chao Ma The companion matrix

More information

Using Matrices And Hungarian Method To Solve The Traveling Salesman Problem

Using Matrices And Hungarian Method To Solve The Traveling Salesman Problem Salem State University Digital Commons at Salem State University Honors Theses Student Scholarship 2018-01-01 Using Matrices And Hungarian Method To Solve The Traveling Salesman Problem Briana Couto Salem

More information

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School Basic counting techniques Periklis A. Papakonstantinou Rutgers Business School i LECTURE NOTES IN Elementary counting methods Periklis A. Papakonstantinou MSIS, Rutgers Business School ALL RIGHTS RESERVED

More information

= , AD = 1, BE = 1, and F G = 1. By Pythagoras, BD = AB 2 + AD 2 = 2. By similar triangles on DEF and ABD, we have that AF.

= , AD = 1, BE = 1, and F G = 1. By Pythagoras, BD = AB 2 + AD 2 = 2. By similar triangles on DEF and ABD, we have that AF. RMT 0 Team Test Solutions February 0, 0 How many squares are there in the xy-plane such that both coordinates of each vertex are integers between 0 and 00 inclusive, and the sides are parallel to the axes?

More information

The Pigeonhole Principle

The Pigeonhole Principle The Pigeonhole Principle 2 2.1 The Pigeonhole Principle The pigeonhole principle is one of the most used tools in combinatorics, and one of the simplest ones. It is applied frequently in graph theory,

More information

Graph Theory and Optimization Computational Complexity (in brief)

Graph Theory and Optimization Computational Complexity (in brief) Graph Theory and Optimization Computational Complexity (in brief) Nicolas Nisse Inria, France Univ. Nice Sophia Antipolis, CNRS, I3S, UMR 7271, Sophia Antipolis, France September 2015 N. Nisse Graph Theory

More information

Show that the following problems are NP-complete

Show that the following problems are NP-complete Show that the following problems are NP-complete April 7, 2018 Below is a list of 30 exercises in which you are asked to prove that some problem is NP-complete. The goal is to better understand the theory

More information

Invariants and Symmetry

Invariants and Symmetry November 007 Terminology Page 1 of 8 Invariants and Symmetry An invariant is some property of an object that does not change even when the object is changed or its description is changed. A semi-invariant

More information

Computer Science 385 Analysis of Algorithms Siena College Spring Topic Notes: Limitations of Algorithms

Computer Science 385 Analysis of Algorithms Siena College Spring Topic Notes: Limitations of Algorithms Computer Science 385 Analysis of Algorithms Siena College Spring 2011 Topic Notes: Limitations of Algorithms We conclude with a discussion of the limitations of the power of algorithms. That is, what kinds

More information