An Algorithm for the Selection of High Contrast Color Sets

Size: px
Start display at page:

Download "An Algorithm for the Selection of High Contrast Color Sets"

Transcription

1 An Algorithm for the Selection of High Contrast Color Sets Paola Campadelli, Roberto Posenato, Raimondo Schettini Dipartimento di Scienze dell Informazione Università degli Studi di Milano via Comelico 39/40, I-2035 Milano (Italy) Dipartimento Scientifico e Tecnologico Università degli Studi di Verona strada Le Grazie, I-3734 Verona (Italy) posenato@sci.univr.it Istituto di Tecnologie Informatiche Multimediali, CNR Via Ampere 56, I-203 Milano (Italy) centaura@mail.itim.mi.cnr.it Abstract Nominal color coding is the aesthetic and functional use of color to convey qualitative information in graphical environments. The specification of high contrast color sets is a fundamental step in this process. We formulate the color coding problem here as a combinatorial optimization problem on graphs and present an algorithm which performs well and does not require that the function used to code the similarity between colors be a distance function. Keywords: high contrast color sets, visual coding, optimization. Correspondence should be sent to: Paola Campadelli, Dipartimento di Scienze dell Informazione via Comelico 39/40, I-2035 Milano (Italy). Introduction Developments in the technology of color devices have brought a rapid increase in the number of applications in which color is used to convey information. In fact, since color is pre-attentively analyzed by the human visual system, it can be particularly effective in the identification and classification of various information in graphical environments. However the broad range of variables involved in perception, as well as the interaction and trade-offs between them, makes it extremely difficult to select easily distinguishable color sets from the range of those available when more than six or seven colors are required [4], [3], [9] and [8]. We address here the algorithmic aspect of the selection of high contrast color sets, and present an effective algorithm which has an innovative feature that could also be useful when one has to take into account visual features such as the shape, size and texture of the graphical items to be coded [2]. The algorithm does not require that the function adopted to code the similarity between two colors (or graphical codes Supported by the MURST 60% Progetto Disegno e analisi di algoritmi

2 obtained by combining color with other visual features) be a distance function; in other words, it works whatever the measure of perceptual similarity selected. Ergonomical constraints can also be easily taken into account. Several heuristic procedures have been proposed to define high contrast sets of colors. Kelly [] has conceived a list of 22 maximally contrasting surface colors, such that each color of the list is maximally different from the one immediately preceding it. In 982 Carter and Carter [4] formulated the first algorithm to compute easily discriminable sets of colors. Several authors [6], [7], [8], [5], [6] have devised algorithms which can also fulfil a number of ergonomical requirements. In 995 [3] we have presented an abstract formulation of the problem of selecting high contrast color sets, defining it as a combinatorial optimization problem on graphs. We have then transformed the problem into the one of minimizing an appropriate neural network energy function, and solved it approximately by symmetric networks of non-linear graded response neurons. The requirement of tuning some network parameters as a function of the problem instance and the fact that the network converges to a valid solution in about 90% of the trials have led us to explore a different approach which is presented in this paper. In section 2 we formally define the problem of selecting high contrast color sets, while in section 3 the algorithm is described. In section 4 we report and comment some experimental data regarding the selection of high contrast color sets within the 267 colors of the ISCC-NBS color naming system [2], the 502 different colors of the X Windows System palette (rgb.txt) [20] and the 2745 samples of the Munsell atlas. 2 Problem definition According to Carter and Carter [4], selecting a subset of highly contrasting colors from a given range of colors means choosing a subset such that in it the minimal distance among all possible couples of colors is maximal. More formally, we let N = {c,..., c n } be the given set of n colors, and K any subset of N of cardinality k << n. Denoting by C the set of all possible subsets of N with exactly k elements, by d ij the distance between color c i and color c j, and by d min the minimal distance among couples of colors belonging to an arbitrary subset K, the problem can be formulated as follows: max {d min} = max { min {d ij}} () C C {c i,c j} K We have, in a previous study [3], transformed this problem into a combinatorial optimization problem on graphs in order to be free to consider any color space and arbitrary dissimilarity functions among colors (not necessarily a distance in a given color space) and thus take into account some ergonomical or application requirements. With this abstract formulation of the problem, we can also precisely state its computational complexity. We let G = (V, E, W ) a complete, undirected weighted graph; V is the set of nodes, E the set of edges, and W : E R + a function which assigns to each edge a positive weight. We interpret each element of V as representing a color of the given set N and assign a weight to each edge {i, j} E throughout the function W ({i, j}) = d ij where d ij, is the chosen dissimilarity measure between the colors whose corresponding nodes in G are connected by the edge {i, j}. Of course, W ({i, i}) = 0 for all i ( i n). For the sake of simplicity, from now on we shall write W ij instead of W ({i, j}). The task of selecting a subset K of k highly contrasting colors from N, the set of n colors, can be considered equivalent to that of choosing, among all subgraphs 2

3 of G having k nodes, the subgraph Ĝ such that the minimal weight is maximal. More precisely: MDC (Maximal Dissimilarity among colors): Instance: a complete, undirected, weighted graph G = (V, E, W ), a positive integer k < V. Solution: Ĝ = ( V, Ê, Ŵ ), a subgraph of G having exactly k nodes; Ŵ is the restriction of the function W on the set Ê E. Cost function: H(Ĝ) = min {i,j} Ê {Ŵij} Goal: Max The decision version of this combinatorial optimization problem is NP complete; in fact it can easily be proved that it is in NP, and a simple polynomial time reduction can be designed from the well known NP complete problem CLIQUE [0]. Since the decision version is NP complete, the corresponding optimization version can not be solved exactly by polynomial time algorithms unless P = NP. Developing an idea presented by De Corte [7], instead of addressing this problem directly we take a different, but related one for which we have designed an algorithm that gives good approximate solutions. We call this different problem MSID. We are able to show the precise relation between the two problems; in particular, we can estimate a lower bound to the error that can be made by solving MSID instead of MDC. MSID (Minimum of the sum of the inverses of the dissimilarity raised to α): Instance: a complete, undirected, weighted graph G = (V, E, W ), a positive integer k < V. Solution: Ĝ = ( V, Ê, Ŵ ), a subgraph of G having exactly k nodes; Ŵ is the restriction of the function W on the set Ê E. Cost function: F α (Ĝ) = {i,j} Ê Goal: Min (Ŵ ij) α It can be proved, with arguments very similar to those presented above, that the decision version of this problem is also NP complete. Solving MSID exactly means finding the minimum of the sum of the inverses of the dissimilarities raised to α; this may produce pairs of colors which are not dissimilar enough. However, the following theorems show the relation between α and the error ɛ that can be incurred by solving PROBLEM 2 instead of MDC. De Corte [7] has already noted that both formulations coincide when α. Given G = (V, E, W ) we define H α (G) = min {i,j} E { ij ) α }. The relation between F α (G) and H α (G) is given by Theorem 2. H α(g) F α(g) H α(g) V 2 Proof : The left inequality follows directly from definitions of H α (G) and F α (G); the right inequality is derived as follows F α (G) = H α (G) {i,j} E ij ) α H α(g) (2) NP is the class of problems solvable by non deterministic Turing machines in polynomial time; P is the class of problems solvable by deterministic Turing machines in polynomial time. 3

4 = = H α (G) H α (G) {i,j} E {i,j} E ij ) α ( min ij) α ) {i,j} E ( ) α H(G) H α (G) V 2. W ij This last inequality derives from the observation that H(G) W ij for all {i, j} and that the edges in G are at most V 2. Now, given two arbitrary complete, undirected, weighted graphs, G = (V, E, W ) and G 2 = (V 2, E 2, W 2 ), such that V = V 2 = k, we can state that Theorem 2.2 If H(G ) < H(G 2 ) then there is an α such that F α (G ) > F α (G 2 ) Proof : From theorem 2. we can write the following relations: H α (G 2 ) F α(g 2 ) H α (G 2 ) k2 (3) k 2 H α(g ) F α (G ) H α(g ) (4) and multiplying side by side, considering only the right inequality, obtain ( ) α F α (G 2 ) F α (G ) H(G ) k 2 (5) H(G 2 ) and Since by hypothesis H(G ) < H(G 2 ), there is an ɛ > 0 such that H(G ) H(G 2 ) = ɛ (6) F α (G 2 ) F α (G ) ( ɛ)α k 2 (7) We want to find an α such that ( ɛ) α k 2 <. Taking the logarithm and approximating lg( ɛ) by its Taylor first order expansion, we obtain α > 2 lg k ɛ Theorem 2.2 implies that if we knew the ɛ > 0 that satisfies for each G r, G s pair of complete undirected weighted graphs with k nodes the relation (8) H(G r ) H(G s ) ɛ (9) we could set α so as to make MSID equivalent to MDC. Since we usually do not know ɛ, the relation α > 2 lg k ɛ gives us an idea of the error that we must accept in minimizing the sum of the inverses of the dissimilarity raised to a fixed α instead of maximizing the minimal dissimilarity. This result is useful, as it is easier to design efficient algorithms for minimizing the sum. We have already used continuous Hopfield networks to do so [3] since this problem formulation can be very simply translated into a neural network algorithm. The local search algorithm presented in the following section outperforms the Hopfield network. 4

5 3 Algorithm The problem of selecting high contrast color sets can be expressed as one of minimizing a quadratic function subject to integer constrains: we denote by x i ( i n) n binary variables, each corresponding to a graph node. If we select node i for the set of k maximally contrasting colors, then x i assumes value, otherwise it assumes value 0. Finding the desired subgraph Ĝ having k nodes is the equivalent of minimizing the function that with abuse of notation we still denote as F α, F α (x,..., x n ) = n i=,j>i ij) x α i x j under the condition that only k of the n binary variables have value. More formally { n min i=,j>i ij) x α i x j ( n i= x (0) i) = k We recall the bijective correspondence among subsets with k elements of a given set with n elements and the vectors in the hypercube {0, } n with exactly k elements equal to. In particular, denoting with V k an arbitrary subset with k elements of the set V with n elements, the corresponding vector x(v k ) = (x,..., x n ) {0, } n is defined: x i = iff i V k. Given x(v k ) we say that vector x can be reached from x in a step if it can be obtained by selecting two elements, x i = and x j = 0, of x and exchanging their values, that is setting x i = 0 and x j =. A neighborhood of x is given by all the vertices of the hypercube {0, } n obtainable from x vertex by setting one of the n k elements which have value 0 at and setting one of the k elements which have value at 0. Without loss of generality let us consider a vector x = (x,..., x n ) with k elements with value and the vector x obtained from x by interchanging x and x 2. If F α (x) = F α (x, x 2,..., x n ), then F α (x ) = F α ( x, x 2,..., x n ) and F α = F α (x, x 2,..., x n ) F α ( x, x 2,..., x n ) () = n n i=3 j>i ij ) α x ix j + 2 ) α x x 2 + j>2 j ) α x x j + i>2 i2 ) α x ix 2 n n ij ) α x ix j + 2 ) α ( x )( x 2 ) i=3 j>i + j>2 j ) α ( x )x j + i>2 i2 ) α ( x 2)x j = (x + x ) j ) α x j + (x 2 + x 2 ) j>2 j>2 2j ) α x j Denoting (x + x ) with t, it is easily seen that (x 2 + x 2 ) = t and F α = t j>2 j ) α x j t j>2 2j ) α x j (2) = t j>2 j ) α x j j>2 2j ) α x j Since the goal is the minimization of F α, we must find the conditions which make 5

6 F α > 0, that is: t > 0 and j>2 j ) α x j > j>2 2j ) α x j (3) or t < 0 and j>2 j ) α x j < j>2 2j ) α x j (4) Supposing without loss of generality that x =, then F α > 0 only if: j>2 j ) α x j > j>2 2j ) α x j (5) If this condition is satisfied, the interchange between the values of x and x 2 makes F α decrease. After these preliminary observations, we can now sketch the algorithm. Algorithm A Input: A complete undirected weighted graph G = (V, E, W ), an integer k and a real α. Step : Choose randomly a subset V k V with k elements and build the corresponding vector x(v k ) Step 2: For each couple x i, x j x(v k ) such that x i = and x j = 0, Estimate A = il ) α x l (6) and B = l i,l j l j,l i If A > B then x i := 0, x j := and restart the cycle. Output: The chosen subset V k V. jl ) α x l (7) It can easily be seen that this algorithm works in a time polynomial with respect to the dimension of the input. In particular (k )(n k) iterations are required at most, and each iteration costs O(n). In the worst case (k n/2) the time complexity is therefore O(n 3 ). 4 Experimental results The performance of the algorithm 2 has been evaluated on three different color sets: the 267 colors of the ISCC-NBS color naming system [2], the 502 different colors of the X Windows System palette (rgb.txt) [20] and the 2745 samples of the Munsell atlas as indicated in [9]. The first two sets have been chosen since each color is described not only by its coordinates but also by a name and color names can be useful in most applications. The Munsell atlas offers a wider gamut of colors and allows, by the ISCC-NBS system, to associate a name to the selected colors []. The ISCC-NBS color naming system was proposed in 955 by the Inter-Society Color Council and the National Bureau of Standards to provide a standard color naming system that could be used in non-specialized applications. It partitions 2 the code is written in C++ and is available free of charge by request. 6

7 the Munsell color system into 267 blocks, each named in terms of its hue (red, orange, yellow, green, etc.), saturation (grayish, moderate, strong and vivid) and lightness (very dark, dark, medium, light, and very light). Each block contains approximately 40, 000 discriminable color stimuli, and is represented, by name and by the Munsell coordinates of the centroid of the color block. These centroids are usually determined by graphical interpolation and in general do not correspond to the center of mass of the blocks, which have an irregular shape and vary greatly in size. The rgb.txt palette, which is of common use in the UNIX c environment, is composed of a 502 colors labelled by linguistic tags. As dissimilarity function we have chosen the Euclidean distance Eu,v in the CIELUV space, since this choice allows us to compare our results with those found in the literature [] [5] [5]. We realize that the CIELUV color space is designed to measure small color differences between uniform color samples on a neutral background, and that, although it has been used to compute medium and high color differences in nominal coding, there is some doubt as to its accuracy in this task (see, for example, [7].) However we are not defining an actual application-independent function here, but evaluating the performance of the algorithm, which is independent of the dissimilarity function chosen. We have implemented an interpolation technique to obtain from the Munsell triple the corresponding CIE(x,y,Y) coordinates, which we have then transformed into CIELUV coordinates. The mapping between the RGB values and the corresponding CIELUV ones has been done for a Barco Calibrator display using its own colorimetric profile. The experiments have been conducted in this manner: for each set of colors (ISCC-NBS system, rgb.txt palette and Munsell atlas) we have selected subsets with cardinality k varying from 4 to 50. For having the problem MSID equivalent to the problem MDC, the higher the parameter α the better is (see Section 2). We set α = 90 in order to avoid approximation errors using standard data types to represent real numbers (double of ANSI/IEEE Std ). Since the algorithm has a random initialization, we present the best results obtained on 0 different random initial conditions. Results obtained on the ISCC-NBS set are presented in Table ; the cardinality of the selected subset is denoted by k, d min, d av, d max denote the minimal, the average, and the maximal distance among all pairs of colors selected by the algorithm, while time gives the number of seconds required for running the algorithm on a Sun Ultra Creator 3D (UltraSPARC 67MHz processor with 52MB of RAM). K d min d av d max time (s) Table : The results of A on the ISCC-NBS palette Table 2 and Table 3 show the results obtained for the same values of k with initial sets the rgb.txt palette and the Munsell atlas respecitvely. To give an idea of the selected colors, the outputs of the algorithm with k = 8 and the three initial palettes is reported in Table 4, 5, and 6. Table 7 shows the 7

8 K d min d av d max time (s) Table 2: The results of A on the rgb.txt palette K d min d av d max time (s) Table 3: The results of A on the Munsell atlas selection of 22 colors from the Munsell atlas. Comparing Table 4 and 6 it can be seen that five out of the eight colors have the same name but different coordinates, while Tables 7 shows that two couples of colors labeled with the same names have been selected. To avoid this fact one can simply build the initial graph in such a way that all the couples of colors in the same ISCC-NBS block, within the Munsell atlas, are assigned distances very close to zero. L* u* v* Hue Value Chroma Color name Light Pink Vivid Orange Vivid Yellow Green Vivid Green Very Dark Green Vivid Greenish Blue Vivid Purple Vivid Purplish Red Table 4: The 8 colors chosen by A from the ISCC-NBS palette Another simple observation is that the couple of black and white is missing from all the tables. Black and white would probably have been selected by most people working in an interactive mode, but since the algorithm simply minimizes the objective function, sets selected on the basis of the CIELUV distance may not look optimal from a perceptual point of view. The algorithm, however, allows one or more colors to be fixed and completing the set with other maximally contrasting colors. As an example we made the algorithm to choose 22 colors from the Munsell atlas having fixed black and white. The result is shown in Table 8 and it can be 8

9 L* u* v* Red Green Blue Color name black blue green yellow sienna red magenta PaleTurquoise Table 5: The 8 colors chosen by A from the rgb.txt palette L* u* v* Hue Value Chroma Color name Vivid Orange Vivid Greenish Yellow Vivid Yellowish Green Vivid Green Vivid Greenish Blue Vivid Purple Light Purlish Pink Vivid Purplish Red Table 6: The 8 colors chosen by A from the Munsell atlas L* u* v* Hue Value Chroma Color name Vivid Reddish Orange Strong Reddish Orange Vivid Orange Yellow Dark Brown Light Olive Brown Vivid Greenish Yellow Vivid Yellow Green Very Light Yellowish Green Deep Yellowish Green Vivid Yellowish Green Vivid Bluish Green Vivid Bluish Green Vivid Greenish Blue Very Light Blue Vivid Blue Vivid Purlish Blue Vivid Violet Vivid Purple Vivid Reddish Purple Vivid Purplish Red Light Purlish Pink Vivid Purplish Red Table 7: The 22 colors chosen by A from the Munsell atlas 9

10 seen that the minimal distance among couple of colors is reduced. K d min d av d max time (s) Table 8: The results of A on Munsell atlas with White and Black fixed Our results have been sistematically compared with those obtainable by the well known Carter and Carter s algorithm [5] applied to the Munsell atlas (Table 9). Of course the best of 0 different trials has been considered for comparison. It can be noted that the minimal, average, and maximal distances obtained by our algorithm are significantly higher than those obtained by the Carter and Carter s, however the running time of the latter is significantly lower. K d min d av d max time (s) Table 9: The results of Carter and Carter s algorithm on the Munsell atlas Table 0 presents the 22 colors selected by Carter and Carter s algorithm. Also in this case two couples of colors labeled with the same names have been selected and black and white are missing. As regards as the comparison with the 22 colors selected by Kelly [] from the ISCC-NBS set we must say that the minimal distances found by our algorithm is at least double, but we observe that Kelly selection has been done heuristically by the author and it has already been pointed out [] that the selected list does not provide maximum discriminability for any given number of colors. The results we have obtained are very satisfactory and we can say that our approach is particularly well suited to work with finite set of colors and makes it very simple to provide for constraints while constructing the graph: the algorithm does not need to take them into account. In some nominal coding tasks, such as maps of land cover, the assignment of colors to the various classes may apply certain conventions: for example certain types of vegetation may be coded by colors chosen from the gamut of greens, while different types of bare soil may be coded by yellows and browns. The algortithm permits this type of color selection. The user can run the algorithm to select a given number of colors in the first range of hues (the greens, for example). Once selected the greens a new initial palette is built adding the yellow-brown range; the algorithm is then run again keeping the greens fixed. The output will be therefore the already selected greens and the required number of yellow-brown colors that will be higly contrasting both with respect to the greens and one with respect to each other. To conclude we observe that on sets with cardinality much greater than that of the Munsell atlas the algorithm may be too time consuming to be used in an interactive environments. We have therefore designed a modified version of A to deal with this aspect: 0

11 L* u* v* Hue Value Chroma Color name Vivid Red Vivid Reddish Orange Strong Yellowish Pink Vivid Orange Strong Orange Yellow Vivid Yellow Green Light Yellowish Green Vivid Yellowish Green Vivid Yellowish Green Vivid Green Vivid Bluish Green Brilliant Bluish Green Strong Greenish Blue Vivid Purlish Blue Vivid Purlish Blue Pale Violet Vivid Purple Strong Reddish Purple Vivid Reddish Purple Strong Purlish Pink Brilliant Purlish Pink Vivid Purplish Red Table 0: The 22 colors chosen by Carter and Carter s algorithm from the Munsell atlas

12 Algorithm A M Input: A complete undirected weighted graph G = (V, E, W ), an integer k, a subgraph G s = (V s, E s, W s ) of G with V s = n >> k, a control parameter r. Step : Apply algorithm A to the graph G s Step 2: For each node i ( i n) selected by algorithm A, search all nodes j G s such that W ij r Step 3: G s := G s {j j G s and W ij r} Step 4: If no node has been added then STOP, else GO TO Step. Output: The chosen subset V k V. Acknowledgments We thank Profesor Alberto Bertoni for many fruitful discussions and helpful suggestions. References [] Agoston, A. (987) Color theory and its applications in art and design, Springer-Verlag. [2] Bertin, J. (983) Semiology of graphics, University of Wisconsin Press, Madison. [3] Campadelli, P., Mora, P., and Schettini, R. (995) Color set selection for nominal coding by Hopfield networks. The Visual Computer, : [4] Carter, R. C., Carter, E. C. (98) Color and conspicuousness. Journal of Optical Society of America, 7: [5] Carter, R. C., Carter, E. C. (982) High-contrast sets of colors. Applied Optics [6] Carter, R. C., Carter, E. C. (988) Color coding for rapid location of small symbols. Color research and applications 3: [7] De Corte, W. (988) Ergonomically optimal CRT colours for non fixed ambient illumination conditions. Color Research and Application 3(5): [8] De Corte, W. (990) Recent developments in the computation of ergonomically optimal contrast sets of CRT colours. Displays, : [9] Della Ventura, A., and Schettini, R. (993) Computer aided color coding. Communication with Virtual Word (N.M. Thalmann, D. Thalmann eds), Springer- Verlag, Tokyo, [0] Garey, M. R., Johnson, D.S. (979) Computers and intractability. Freeman and Company. [] Kelly, K. L. (976) Twenty-two colors of maximum contrast. Color Engineering, 3: [2] Kelly, K. L, Judd, D.B. (976) Universal language and dictionary of names. NBS Special Publication 440. Washington D.C., U.S. Government Printing Office. 2

13 [3] Mac Donald, L.W. (990) Using colour effectively in displays for computerhuman interface. Displays, :29-4. [4] Olson, J.M. (987) Color and Computer in Cartography. In Color and the Computer, Academic Press [5] Silverstein, L.D., Lepkowski, J.S., Carter, R.C., Carter, E. C. (986) Modeling of display color parameters and algorithm color selection. Procedings of SPIE, Advances in Display Technology 6 624: [6] Van Laar, D., Flavell, A. (994) A name based algorithm for generating maximally discriminable color sets. J. of Photo. Science 42: [7] Stalmeier, P.F.M., de Weert, C.M.M. (99) Large Color differences and selective attention Journal of Optical Society of America (A) 8: [8] Travis, D. (99) Effective Color Displays, Theory and Practice. Academic Press. [9] Wyszecki, G., Stiles, W.S. (982) Color Science. John Wiley and Sons. [20] O Really and Associates, ( ) Definitive Guides to the X Windows System, Vol. : Xlib Programming Manual. O Really and Associates. 3

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

An Optimal Lower Bound for Nonregular Languages

An Optimal Lower Bound for Nonregular Languages An Optimal Lower Bound for Nonregular Languages Alberto Bertoni Carlo Mereghetti Giovanni Pighizzini Dipartimento di Scienze dell Informazione Università degli Studi di Milano via Comelico, 39 2035 Milano

More information

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization

The Complexity of Maximum. Matroid-Greedoid Intersection and. Weighted Greedoid Maximization Department of Computer Science Series of Publications C Report C-2004-2 The Complexity of Maximum Matroid-Greedoid Intersection and Weighted Greedoid Maximization Taneli Mielikäinen Esko Ukkonen University

More information

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35.

NP-Completeness. f(n) \ n n sec sec sec. n sec 24.3 sec 5.2 mins. 2 n sec 17.9 mins 35. NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

NP-Completeness. NP-Completeness 1

NP-Completeness. NP-Completeness 1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and

More information

THE COMMUNICATIONS COMPLEXITY HIERARCHY IN DISTRIBUTED COMPUTING. J. B. Sidney + and J. Urrutia*

THE COMMUNICATIONS COMPLEXITY HIERARCHY IN DISTRIBUTED COMPUTING. J. B. Sidney + and J. Urrutia* THE COMMUNICATIONS COMPLEXITY HIERARCHY IN DISTRIBUTED COMPUTING J. B. Sidney + and J. Urrutia* 1. INTRODUCTION Since the pioneering research of Cook [1] and Karp [3] in computational complexity, an enormous

More information

Computational complexity theory

Computational complexity theory Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,

More information

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness

Computers and Intractability. The Bandersnatch problem. The Bandersnatch problem. The Bandersnatch problem. A Guide to the Theory of NP-Completeness Computers and Intractability A Guide to the Theory of NP-Completeness The Bible of complexity theory Background: Find a good method for determining whether or not any given set of specifications for a

More information

Computers and Intractability

Computers and Intractability Computers and Intractability A Guide to the Theory of NP-Completeness The Bible of complexity theory M. R. Garey and D. S. Johnson W. H. Freeman and Company, 1979 The Bandersnatch problem Background: Find

More information

Computational complexity theory

Computational complexity theory Computational complexity theory Introduction to computational complexity theory Complexity (computability) theory deals with two aspects: Algorithm s complexity. Problem s complexity. References S. Cook,

More information

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem.

an efficient procedure for the decision problem. We illustrate this phenomenon for the Satisfiability problem. 1 More on NP In this set of lecture notes, we examine the class NP in more detail. We give a characterization of NP which justifies the guess and verify paradigm, and study the complexity of solving search

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

COMPUTATIONAL COMPLEXITY

COMPUTATIONAL COMPLEXITY ATHEATICS: CONCEPTS, AND FOUNDATIONS Vol. III - Computational Complexity - Osamu Watanabe COPUTATIONAL COPLEXITY Osamu Watanabe Tokyo Institute of Technology, Tokyo, Japan Keywords: {deterministic, randomized,

More information

More on NP and Reductions

More on NP and Reductions Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai 600 127, India An Autonomous Institute under MHRD, Govt of India http://www.iiitdm.ac.in COM 501 Advanced Data

More information

Lecture 5: Efficient PAC Learning. 1 Consistent Learning: a Bound on Sample Complexity

Lecture 5: Efficient PAC Learning. 1 Consistent Learning: a Bound on Sample Complexity Universität zu Lübeck Institut für Theoretische Informatik Lecture notes on Knowledge-Based and Learning Systems by Maciej Liśkiewicz Lecture 5: Efficient PAC Learning 1 Consistent Learning: a Bound on

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

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

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65

Undecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65 Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving

More information

CS311 Computational Structures. NP-completeness. Lecture 18. Andrew P. Black Andrew Tolmach. Thursday, 2 December 2010

CS311 Computational Structures. NP-completeness. Lecture 18. Andrew P. Black Andrew Tolmach. Thursday, 2 December 2010 CS311 Computational Structures NP-completeness Lecture 18 Andrew P. Black Andrew Tolmach 1 Some complexity classes P = Decidable in polynomial time on deterministic TM ( tractable ) NP = Decidable in polynomial

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

A An Overview of Complexity Theory for the Algorithm Designer

A An Overview of Complexity Theory for the Algorithm Designer A An Overview of Complexity Theory for the Algorithm Designer A.1 Certificates and the class NP A decision problem is one whose answer is either yes or no. Two examples are: SAT: Given a Boolean formula

More information

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1 NP CS 320, Fall 2017 Dr. Geri Georg, Instructor georg@colostate.edu 320 NP 1 NP Complete A class of problems where: No polynomial time algorithm has been discovered No proof that one doesn t exist 320

More information

arxiv: v1 [math.co] 4 Jan 2018

arxiv: v1 [math.co] 4 Jan 2018 A family of multigraphs with large palette index arxiv:80.0336v [math.co] 4 Jan 208 M.Avesani, A.Bonisoli, G.Mazzuoccolo July 22, 208 Abstract Given a proper edge-coloring of a loopless multigraph, the

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

About the relationship between formal logic and complexity classes

About the relationship between formal logic and complexity classes About the relationship between formal logic and complexity classes Working paper Comments welcome; my email: armandobcm@yahoo.com Armando B. Matos October 20, 2013 1 Introduction We analyze a particular

More information

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5

Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5 Semidefinite and Second Order Cone Programming Seminar Fall 2001 Lecture 5 Instructor: Farid Alizadeh Scribe: Anton Riabov 10/08/2001 1 Overview We continue studying the maximum eigenvalue SDP, and generalize

More information

Limitations of Algorithm Power

Limitations of Algorithm Power Limitations of Algorithm Power Objectives We now move into the third and final major theme for this course. 1. Tools for analyzing algorithms. 2. Design strategies for designing algorithms. 3. Identifying

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

Visual Cryptography Schemes with Optimal Pixel Expansion

Visual Cryptography Schemes with Optimal Pixel Expansion Visual Cryptography Schemes with Optimal Pixel Expansion Carlo Blundo, Stelvio Cimato and Alfredo De Santis Dipartimento di Informatica ed Applicazioni Università degli Studi di Salerno, 808, Baronissi

More information

Combinatorial Optimization

Combinatorial Optimization Combinatorial Optimization Problem set 8: solutions 1. Fix constants a R and b > 1. For n N, let f(n) = n a and g(n) = b n. Prove that f(n) = o ( g(n) ). Solution. First we observe that g(n) 0 for all

More information

FEATURE SELECTION COMBINED WITH RANDOM SUBSPACE ENSEMBLE FOR GENE EXPRESSION BASED DIAGNOSIS OF MALIGNANCIES

FEATURE SELECTION COMBINED WITH RANDOM SUBSPACE ENSEMBLE FOR GENE EXPRESSION BASED DIAGNOSIS OF MALIGNANCIES FEATURE SELECTION COMBINED WITH RANDOM SUBSPACE ENSEMBLE FOR GENE EXPRESSION BASED DIAGNOSIS OF MALIGNANCIES Alberto Bertoni, 1 Raffaella Folgieri, 1 Giorgio Valentini, 1 1 DSI, Dipartimento di Scienze

More information

Gearing optimization

Gearing optimization Gearing optimization V.V. Lozin Abstract We consider an optimization problem that arises in machine-tool design. It deals with optimization of the structure of gearbox, which is normally represented by

More information

Optimal Fractal Coding is NP-Hard 1

Optimal Fractal Coding is NP-Hard 1 Optimal Fractal Coding is NP-Hard 1 (Extended Abstract) Matthias Ruhl, Hannes Hartenstein Institut für Informatik, Universität Freiburg Am Flughafen 17, 79110 Freiburg, Germany ruhl,hartenst@informatik.uni-freiburg.de

More information

Variable Objective Search

Variable Objective Search Variable Objective Search Sergiy Butenko, Oleksandra Yezerska, and Balabhaskar Balasundaram Abstract This paper introduces the variable objective search framework for combinatorial optimization. The method

More information

Lecture 1 : Probabilistic Method

Lecture 1 : Probabilistic Method IITM-CS6845: Theory Jan 04, 01 Lecturer: N.S.Narayanaswamy Lecture 1 : Probabilistic Method Scribe: R.Krithika The probabilistic method is a technique to deal with combinatorial problems by introducing

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

On Dominator Colorings in Graphs

On Dominator Colorings in Graphs On Dominator Colorings in Graphs Ralucca Michelle Gera Department of Applied Mathematics Naval Postgraduate School Monterey, CA 994, USA ABSTRACT Given a graph G, the dominator coloring problem seeks a

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms Design and Analysis of Algorithms CSE 5311 Lecture 25 NP Completeness Junzhou Huang, Ph.D. Department of Computer Science and Engineering CSE5311 Design and Analysis of Algorithms 1 NP-Completeness Some

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

Preliminaries and Complexity Theory

Preliminaries and Complexity Theory Preliminaries and Complexity Theory Oleksandr Romanko CAS 746 - Advanced Topics in Combinatorial Optimization McMaster University, January 16, 2006 Introduction Book structure: 2 Part I Linear Algebra

More information

CMPT307: Complexity Classes: P and N P Week 13-1

CMPT307: Complexity Classes: P and N P Week 13-1 CMPT307: Complexity Classes: P and N P Week 13-1 Xian Qiu Simon Fraser University xianq@sfu.ca Strings and Languages an alphabet Σ is a finite set of symbols {0, 1}, {T, F}, {a, b,..., z}, N a string x

More information

CSC 8301 Design & Analysis of Algorithms: Lower Bounds

CSC 8301 Design & Analysis of Algorithms: Lower Bounds CSC 8301 Design & Analysis of Algorithms: Lower Bounds Professor Henry Carter Fall 2016 Recap Iterative improvement algorithms take a feasible solution and iteratively improve it until optimized Simplex

More information

ACO Comprehensive Exam March 17 and 18, Computability, Complexity and Algorithms

ACO Comprehensive Exam March 17 and 18, Computability, Complexity and Algorithms 1. Computability, Complexity and Algorithms (a) Let G(V, E) be an undirected unweighted graph. Let C V be a vertex cover of G. Argue that V \ C is an independent set of G. (b) Minimum cardinality vertex

More information

The maximum flow problem

The maximum flow problem The maximum flow problem A. Agnetis 1 Basic properties Given a network G = (N, A) (having N = n nodes and A = m arcs), and two nodes s (source) and t (sink), the maximum flow problem consists in finding

More information

NP Completeness and Approximation Algorithms

NP Completeness and Approximation Algorithms Chapter 10 NP Completeness and Approximation Algorithms Let C() be a class of problems defined by some property. We are interested in characterizing the hardest problems in the class, so that if we can

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

Computational Complexity

Computational Complexity Computational Complexity Algorithm performance and difficulty of problems So far we have seen problems admitting fast algorithms flow problems, shortest path, spanning tree... and other problems for which

More information

On a Polynomial Fractional Formulation for Independence Number of a Graph

On a Polynomial Fractional Formulation for Independence Number of a Graph On a Polynomial Fractional Formulation for Independence Number of a Graph Balabhaskar Balasundaram and Sergiy Butenko Department of Industrial Engineering, Texas A&M University, College Station, Texas

More information

Chapter 3: Discrete Optimization Integer Programming

Chapter 3: Discrete Optimization Integer Programming Chapter 3: Discrete Optimization Integer Programming Edoardo Amaldi DEIB Politecnico di Milano edoardo.amaldi@polimi.it Website: http://home.deib.polimi.it/amaldi/opt-16-17.shtml Academic year 2016-17

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

A Note on the Complexity of Network Reliability Problems. Hans L. Bodlaender Thomas Wolle

A Note on the Complexity of Network Reliability Problems. Hans L. Bodlaender Thomas Wolle A Note on the Complexity of Network Reliability Problems Hans L. Bodlaender Thomas Wolle institute of information and computing sciences, utrecht university technical report UU-CS-2004-001 www.cs.uu.nl

More information

Single machine scheduling with forbidden start times

Single machine scheduling with forbidden start times 4OR manuscript No. (will be inserted by the editor) Single machine scheduling with forbidden start times Jean-Charles Billaut 1 and Francis Sourd 2 1 Laboratoire d Informatique Université François-Rabelais

More information

1 Computational Problems

1 Computational Problems Stanford University CS254: Computational Complexity Handout 2 Luca Trevisan March 31, 2010 Last revised 4/29/2010 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation

More information

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170

UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, Notes 22 for CS 170 UC Berkeley CS 170: Efficient Algorithms and Intractable Problems Handout 22 Lecturer: David Wagner April 24, 2003 Notes 22 for CS 170 1 NP-completeness of Circuit-SAT We will prove that the circuit satisfiability

More information

Q = Set of states, IE661: Scheduling Theory (Fall 2003) Primer to Complexity Theory Satyaki Ghosh Dastidar

Q = Set of states, IE661: Scheduling Theory (Fall 2003) Primer to Complexity Theory Satyaki Ghosh Dastidar IE661: Scheduling Theory (Fall 2003) Primer to Complexity Theory Satyaki Ghosh Dastidar Turing Machine A Turing machine is an abstract representation of a computing device. It consists of a read/write

More information

1 Introduction and Results

1 Introduction and Results Discussiones Mathematicae Graph Theory 20 (2000 ) 7 79 SOME NEWS ABOUT THE INDEPENDENCE NUMBER OF A GRAPH Jochen Harant Department of Mathematics, Technical University of Ilmenau D-98684 Ilmenau, Germany

More information

Automata Theory, Computability and Complexity

Automata Theory, Computability and Complexity Automata Theory, Computability and Complexity Mridul Aanjaneya Stanford University June 26, 22 Mridul Aanjaneya Automata Theory / 64 Course Staff Instructor: Mridul Aanjaneya Office Hours: 2:PM - 4:PM,

More information

K-center Hardness and Max-Coverage (Greedy)

K-center Hardness and Max-Coverage (Greedy) IOE 691: Approximation Algorithms Date: 01/11/2017 Lecture Notes: -center Hardness and Max-Coverage (Greedy) Instructor: Viswanath Nagarajan Scribe: Sentao Miao 1 Overview In this lecture, we will talk

More information

Maximum k-regular induced subgraphs

Maximum k-regular induced subgraphs R u t c o r Research R e p o r t Maximum k-regular induced subgraphs Domingos M. Cardoso a Marcin Kamiński b Vadim Lozin c RRR 3 2006, March 2006 RUTCOR Rutgers Center for Operations Research Rutgers University

More information

Learning Methods for Linear Detectors

Learning Methods for Linear Detectors Intelligent Systems: Reasoning and Recognition James L. Crowley ENSIMAG 2 / MoSIG M1 Second Semester 2011/2012 Lesson 20 27 April 2012 Contents Learning Methods for Linear Detectors Learning Linear Detectors...2

More information

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events

Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Pairing Transitive Closure and Reduction to Efficiently Reason about Partially Ordered Events Massimo Franceschet Angelo Montanari Dipartimento di Matematica e Informatica, Università di Udine Via delle

More information

On a Cardinality-Constrained Transportation Problem With Market Choice

On a Cardinality-Constrained Transportation Problem With Market Choice On a Cardinality-Constrained Transportation Problem With Market Choice Pelin Damcı-Kurt Santanu S. Dey Simge Küçükyavuz Abstract It is well-known that the intersection of the matching polytope with a cardinality

More information

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P Easy Problems vs. Hard Problems CSE 421 Introduction to Algorithms Winter 2000 NP-Completeness (Chapter 11) Easy - problems whose worst case running time is bounded by some polynomial in the size of the

More information

Decomposition of random graphs into complete bipartite graphs

Decomposition of random graphs into complete bipartite graphs Decomposition of random graphs into complete bipartite graphs Fan Chung Xing Peng Abstract We consider the problem of partitioning the edge set of a graph G into the minimum number τg) of edge-disjoint

More information

Optimization of Quadratic Forms: NP Hard Problems : Neural Networks

Optimization of Quadratic Forms: NP Hard Problems : Neural Networks 1 Optimization of Quadratic Forms: NP Hard Problems : Neural Networks Garimella Rama Murthy, Associate Professor, International Institute of Information Technology, Gachibowli, HYDERABAD, AP, INDIA ABSTRACT

More information

In complexity theory, algorithms and problems are classified by the growth order of computation time as a function of instance size.

In complexity theory, algorithms and problems are classified by the growth order of computation time as a function of instance size. 10 2.2. CLASSES OF COMPUTATIONAL COMPLEXITY An optimization problem is defined as a class of similar problems with different input parameters. Each individual case with fixed parameter values is called

More information

Dominator Colorings and Safe Clique Partitions

Dominator Colorings and Safe Clique Partitions Dominator Colorings and Safe Clique Partitions Ralucca Gera, Craig Rasmussen Naval Postgraduate School Monterey, CA 994, USA {rgera,ras}@npsedu and Steve Horton United States Military Academy West Point,

More information

6.046 Recitation 11 Handout

6.046 Recitation 11 Handout 6.046 Recitation 11 Handout May 2, 2008 1 Max Flow as a Linear Program As a reminder, a linear program is a problem that can be written as that of fulfilling an objective function and a set of constraints

More information

Notes for Lecture Notes 2

Notes for Lecture Notes 2 Stanford University CS254: Computational Complexity Notes 2 Luca Trevisan January 11, 2012 Notes for Lecture Notes 2 In this lecture we define NP, we state the P versus NP problem, we prove that its formulation

More information

Narrowing confidence interval width of PAC learning risk function by algorithmic inference

Narrowing confidence interval width of PAC learning risk function by algorithmic inference Narrowing confidence interval width of PAC learning risk function by algorithmic inference Bruno Apolloni, Dario Malchiodi Dip. di Scienze dell Informazione, Università degli Studi di Milano Via Comelico

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions Summary of the previous lecture Recall that we mentioned the following topics: P: is the set of decision problems (or languages) that are solvable in polynomial time. NP: is the set of decision problems

More information

34.1 Polynomial time. Abstract problems

34.1 Polynomial time. Abstract problems < Day Day Up > 34.1 Polynomial time We begin our study of NP-completeness by formalizing our notion of polynomial-time solvable problems. These problems are generally regarded as tractable, but for philosophical,

More information

CS 781 Lecture 9 March 10, 2011 Topics: Local Search and Optimization Metropolis Algorithm Greedy Optimization Hopfield Networks Max Cut Problem Nash

CS 781 Lecture 9 March 10, 2011 Topics: Local Search and Optimization Metropolis Algorithm Greedy Optimization Hopfield Networks Max Cut Problem Nash CS 781 Lecture 9 March 10, 2011 Topics: Local Search and Optimization Metropolis Algorithm Greedy Optimization Hopfield Networks Max Cut Problem Nash Equilibrium Price of Stability Coping With NP-Hardness

More information

Optimization Exercise Set n.5 :

Optimization Exercise Set n.5 : Optimization Exercise Set n.5 : Prepared by S. Coniglio translated by O. Jabali 2016/2017 1 5.1 Airport location In air transportation, usually there is not a direct connection between every pair of airports.

More information

Cartesian product of hypergraphs: properties and algorithms

Cartesian product of hypergraphs: properties and algorithms Cartesian product of hypergraphs: properties and algorithms Alain Bretto alain.bretto@info.unicaen.fr Yannick Silvestre yannick.silvestre@info.unicaen.fr Thierry Vallée vallee@pps.jussieu.fr Université

More information

A comparison of optimal map classification methods incorporating uncertainty information

A comparison of optimal map classification methods incorporating uncertainty information A comparison of optimal map classification methods incorporating uncertainty information Yongwan Chun *1, Hyeongmo Koo 1, Daniel A. Griffith 1 1 University of Texas at Dallas, USA *Corresponding author:

More information

Visual cryptography schemes with optimal pixel expansion

Visual cryptography schemes with optimal pixel expansion Theoretical Computer Science 369 (2006) 69 82 wwwelseviercom/locate/tcs Visual cryptography schemes with optimal pixel expansion Carlo Blundo a,, Stelvio Cimato b, Alfredo De Santis a a Dipartimento di

More information

An Approach to Computational Complexity in Membrane Computing

An Approach to Computational Complexity in Membrane Computing An Approach to Computational Complexity in Membrane Computing Mario J. Pérez-Jiménez Research Group on Natural Computing, Department of Computer Science and Artificial Intelligence, University of Sevilla

More information

Methods and Models for Combinatorial Optimization

Methods and Models for Combinatorial Optimization Methods and Models for Combinatorial Optimization Modeling by Linear Programming Luigi De Giovanni, Marco Di Summa Dipartimento di Matematica, Università di Padova De Giovanni, Di Summa MeMoCO 1 / 35 Mathematical

More information

GRAPH ALGORITHMS Week 7 (13 Nov - 18 Nov 2017)

GRAPH ALGORITHMS Week 7 (13 Nov - 18 Nov 2017) GRAPH ALGORITHMS Week 7 (13 Nov - 18 Nov 2017) C. Croitoru croitoru@info.uaic.ro FII November 12, 2017 1 / 33 OUTLINE Matchings Analytical Formulation of the Maximum Matching Problem Perfect Matchings

More information

Reductions. Reduction. Linear Time Reduction: Examples. Linear Time Reductions

Reductions. Reduction. Linear Time Reduction: Examples. Linear Time Reductions Reduction Reductions Problem X reduces to problem Y if given a subroutine for Y, can solve X. Cost of solving X = cost of solving Y + cost of reduction. May call subroutine for Y more than once. Ex: X

More information

Decomposing oriented graphs into transitive tournaments

Decomposing oriented graphs into transitive tournaments Decomposing oriented graphs into transitive tournaments Raphael Yuster Department of Mathematics University of Haifa Haifa 39105, Israel Abstract For an oriented graph G with n vertices, let f(g) denote

More information

The complexity of acyclic subhypergraph problems

The complexity of acyclic subhypergraph problems The complexity of acyclic subhypergraph problems David Duris and Yann Strozecki Équipe de Logique Mathématique (FRE 3233) - Université Paris Diderot-Paris 7 {duris,strozecki}@logique.jussieu.fr Abstract.

More information

The shortest path tour problem: problem definition, modeling, and optimization

The shortest path tour problem: problem definition, modeling, and optimization The shortest path tour problem: problem definition, modeling, and optimization Paola Festa Department of Mathematics and Applications, University of apoli FEDERICO II Compl. MSA, Via Cintia, 86 apoli,

More information

COMPUTATIONAL INEFFICIENCY OF NONPARAMETRIC TESTS FOR CONSISTENCY OF DATA WITH HOUSEHOLD CONSUMPTION. 1. Introduction

COMPUTATIONAL INEFFICIENCY OF NONPARAMETRIC TESTS FOR CONSISTENCY OF DATA WITH HOUSEHOLD CONSUMPTION. 1. Introduction COMPUTATIONAL INEFFICIENCY OF NONPARAMETRIC TESTS FOR CONSISTENCY OF DATA WITH HOUSEHOLD CONSUMPTION RAHUL DEB DEPARTMENT OF ECONOMICS, YALE UNIVERSITY Abstract. Recently Cherchye et al. (2007a) provided

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

Equitable and semi-equitable coloring of cubic graphs and its application in batch scheduling

Equitable and semi-equitable coloring of cubic graphs and its application in batch scheduling Equitable and semi-equitable coloring of cubic graphs and its application in batch scheduling Hanna Furmańczyk, Marek Kubale Abstract In the paper we consider the problems of equitable and semi-equitable

More information

NP-Complete Problems. More reductions

NP-Complete Problems. More reductions NP-Complete Problems More reductions Definitions P: problems that can be solved in polynomial time (typically in n, size of input) on a deterministic Turing machine Any normal computer simulates a DTM

More information

Scheduling of unit-length jobs with cubic incompatibility graphs on three uniform machines

Scheduling of unit-length jobs with cubic incompatibility graphs on three uniform machines arxiv:1502.04240v2 [cs.dm] 15 Jun 2015 Scheduling of unit-length jobs with cubic incompatibility graphs on three uniform machines Hanna Furmańczyk, Marek Kubale Abstract In the paper we consider the problem

More information

COMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages

COMP/MATH 300 Topics for Spring 2017 June 5, Review and Regular Languages COMP/MATH 300 Topics for Spring 2017 June 5, 2017 Review and Regular Languages Exam I I. Introductory and review information from Chapter 0 II. Problems and Languages A. Computable problems can be expressed

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

The Maximum Flow Problem with Disjunctive Constraints

The Maximum Flow Problem with Disjunctive Constraints The Maximum Flow Problem with Disjunctive Constraints Ulrich Pferschy Joachim Schauer Abstract We study the maximum flow problem subject to binary disjunctive constraints in a directed graph: A negative

More information

Approximating Minimum-Power Degree and Connectivity Problems

Approximating Minimum-Power Degree and Connectivity Problems Approximating Minimum-Power Degree and Connectivity Problems Guy Kortsarz Vahab S. Mirrokni Zeev Nutov Elena Tsanko Abstract Power optimization is a central issue in wireless network design. Given a graph

More information

1. Introduction Recap

1. Introduction Recap 1. Introduction Recap 1. Tractable and intractable problems polynomial-boundness: O(n k ) 2. NP-complete problems informal definition 3. Examples of P vs. NP difference may appear only slightly 4. Optimization

More information

CpSc 421 Final Exam December 6, 2008

CpSc 421 Final Exam December 6, 2008 CpSc 421 Final Exam December 6, 2008 Do any five of problems 1-10. If you attempt more than five of problems 1-10, please indicate which ones you want graded otherwise, I ll make an arbitrary choice. Graded

More information

Theory of Computation Chapter 9

Theory of Computation Chapter 9 0-0 Theory of Computation Chapter 9 Guan-Shieng Huang May 12, 2003 NP-completeness Problems NP: the class of languages decided by nondeterministic Turing machine in polynomial time NP-completeness: Cook

More information

The minimum G c cut problem

The minimum G c cut problem The minimum G c cut problem Abstract In this paper we define and study the G c -cut problem. Given a complete undirected graph G = (V ; E) with V = n, edge weighted by w(v i, v j ) 0 and an undirected

More information

Geometric Steiner Trees

Geometric Steiner Trees Geometric Steiner Trees From the book: Optimal Interconnection Trees in the Plane By Marcus Brazil and Martin Zachariasen Part 3: Computational Complexity and the Steiner Tree Problem Marcus Brazil 2015

More information