npsolver A SAT Based Solver for Optimization Problems
|
|
|
- Brianne Cobb
- 10 years ago
- Views:
Transcription
1 npsolver A SAT Based Solver for Optimization Problems Norbert Manthey and Peter Steinke Knowledge Representation and Reasoning Group Technische Universität Dresden, Dresden, Germany [email protected] Abstract. The pseudo-boolean (PB) solver npsolver encodes PB into SAT and solves the optimization instances by calling a SAT solver iteratively. The system supports MaxSAT, PB and WBO. Optimization instances are tackled by a greedy lower bound mechanism first. The solver can translate PB to SAT based on a portfolio of different encodings, based on the number of clauses. As back end of the system any SAT solver can be used, even incremental solvers for the optimization function. By using glucose as back end and the SAT simplifier Coprocessor, npsolver shows an outstanding performance on decision instances and can compete on optimization instances. 1 Introduction The performance of SAT solvers improved impressively in the last decade. To utilize this power, many different encodings for PB constraints have been developed. In 2006, MiniSat+ [6] combined three of these encodings to a PB solver. Since that time, new encodings have been proposed. In this paper we present npsolver, a pseudo-boolean (PB) solver that translates PB to SAT similar to MiniSat+, but which incorporates novel techniques. The used SAT solver can be exchanged, enabling the usage of most recent and even parallel systems. To keep learned clauses and avoid re-encodings, we also provide incremental solving of optimization instances. The search for the optimum supports simple bounding, binary search and a novel approximation technique. Besides the encodings for general PB constraints we furthermore provide special encodings for cardinality constraints. 2 Preliminaries Let V be a finite set of Boolean variables. The set of literals is V {x x V }. A clause is a disjunction of literals and a formula is a conjunction of clauses. An assignment σ is a set of literals. In the following, an assignment cannot contain both x and x for any variable x. An assignment σ satisfies a clause C if C contains a literal in σ, and satisfies a formula if it satisfies all its clauses. The SAT problem asks the question whether a given formula φ is satisfiable. Details how SAT is solved in state-of-the-art are given in [4].
2 Now we briefly introduce the pseudo-boolean (PB) decision problem and its extension to an optimization problem. For more details we point the reader to [9]. In PB constraints, each literal l i is always assigned a integer weight w i. A linear pseudo-boolean constraint has the form: w i l i k, where w i and k are integer constants, l i are literals and is one of the following classical relational operators: =, >, <, or. The right side of the constraint is called degree. Each PB constraint can be transformed into equivalent PB constraints with the operator [6,9]. A PB constraint is satisfied with respect to a truth assignment, if the left side evaluates to an integer that satisfies the relational operator. The pseudo- Boolean decision problem asks whether for a set of PB constraints there exists a truth assignment such that all PB constraints are satisfied. The pseudo-boolean optimization problem is the task for finding the optimal assignment for a set of PB constraints with respect to an optimization function. Special cases of a linear PB constraint are cardinality constraints. In a cardinality constraint l i k, the weight w i of each literal l i is w i = 1. The at-most-one constraint is a specialization for k = 1. The at-least-one constraints with the form l i 1 represents SAT clauses. In the following we have analyzed the set of PB instances from recent PB competitions and have extracted the frequency of occurrence of special cases to stress that translating PB into SAT, and using special encodings, is useful. Table 1 shows the distribution of PB constraints in the instances of the PB benchmark 2010/ The first column gives the kind of the constraint that has been analyzed. The second column gives the absolute number of occurrences of this kind and is followed by a column that gives the relative frequency. The last three columns give the relation between the degree and the number of literals in the constraint. The last row cumulates all other rows. The table clearly motivates that translating PB to SAT is a good idea: 88.4 % of the constraints can be encoded as a single SAT clause. Another 1.8 % of the constraints encode cardinality constraint for which special SAT encodings are present. When the exactly-k constraint is also considered as cardinality constraint, another 1 % is encoded with these encodings. Finally, only 8.5 % of all constraints encode a general PB constraint. 3 The Solver Design Like MiniSat+ we encode each PB constraint individually, by using the best encoding in terms of a expected fast SAT solver run time. In addition, we detect cardinality constraints and use specially designed encodings. See section 4 for more information about the different encodings. After encoding all PB constraints to SAT, the optimization function (if one exists) is transformed into a PB constraint. The first value of k is received by running the encoded SAT instance without the encoded optimization function
3 Table 1. Distribution of special PB constraints Constraint absolute relative k > n 2 n 2 k > n n k at-least-one 226,678, % 0 % 0 % % at-most-one 3,913, % 0 % 0 % 1.52 % at-most-k 997, % 0 % 0 % 0.38 % exactly-k 2,729, % 0 % 0 % 1.06 % other 22,014, % 0.04 % 0.02 % 8.51 % equality % 0 % 0 % 0.00 % total 256,333, % and applying the assignment of the variables to the optimization function. To find the optimum we incrementally reduce k until we find the optimal value of the function. These steps are repeated until the formula becomes unsatisfiable. The last upper bound is returned as the optimum of the PB instance. In addition to MiniSat+ our solver is also able to perform binary search and use an incremental SAT solver, to avoid the loss of learned clauses. However, the incremental solver has to be restarted whenever an unsatisfiable formula has been encoded such that for binary search using the incremental solver does not improve the system significantly. The components of our solver are visualized in Figure 1 2. Since most of the time the optimization constraint is larger than the other PB constraints in a PB instance, we try to approximate the objective function. Therefore we divide each weight w i and k of the constraint by an heuristically chosen factor c, resulting in a PB constraint that can be encoded with less clauses. To avoid invalid solutions we overestimate the approximation by rounding up new weights: w i wi := c and rounding down the new degree: k := k c. We call this technique quickbound. As long as the encoded formula is satisfiable, we use this approximation of the objective function to search for the optimum. If the SAT formula is unsatisfiable, we leave quickbound and perform the usual algorithm, i.e. without the approximation. Note that we have to encode the last bound twice one time with quickbound and one time without. Still, the benefit is to encode the optimization function with less clauses to reduce the fraction of clauses for that function for example in MaxSAT instances. 4 Encoding PB into SAT The algorithm decides for each PB constraint which encoding to use. Here we try to use only encodings that maintain general arc consistency (GAC) by unit propagation, since this is important for the performance of a SAT solver. We choose among the following known encodings for PB: sorting networks [2] for cardinality constraints, a nested encoding for at-most-one constraints and BDDs, adder networks [6] for general PB constraints. We treat the at-most-one x x n 1 constraints specially by introducing a fresh variable y if n > 4 and encode: n 2 (y + x i 1) i=1 (y + n i= n 2 +1 x i 1). 2 The tool is available at tools.computational-logic.org.
4 BDD, Sorting Network,... F P B F F i Iterative PB Encoder CP2 Solver J i SAT Solver Optimization Constraint Fig. 1. Solver Design: The PB instance P B is encoded to the SAT formula F. The preprocessor Coprocessor2 [8] is used to simplify F to F. Optimization problems are solved iteratively by encoding the objective function with different bounds i until the optimum is found. The resulting formulas F i are solved by a SAT solver, calculating the models J i. There are other encodings for the at-most-one constraint, e.g. [5], but for small n the above method produces less clauses. Finally, we encode BDDs without any auxiliary variables (by adding a clause for each path that leads to a false node), if this results in fewer clauses. Among all these encodings (except for the adder network) we use the best encoding for each individual PB constraint, in terms of less clauses. Only if the number of clauses becomes higher than we switch to adder networks, that need the fewest number of clauses but do not maintain GAC. Equality constraints are translated into two -constraints, resulting in twice the number of clauses and auxiliary variables, except for the sorting networks, where just the number of clauses are duplicated while using the same amount of auxiliary variables. Table 2 shows the encodings our solver used during the benchmark presented in section 5. Since the global watchdog encoding presented in [1] is rarely useful, we decided to not implement this encoding and only approximate the number of clauses for the table (with n 3 log(k) log(w max ), where w max is the biggest weight w i in a constraint). This encoding might be useful for constraints with k n, but our benchmark lacks of such instances. Table 2. Best encodings in terms of less clauses, where AMO is the presented encoding for at-most-one encoding and 2-product is the encoding of [5], resulting in fewer clauses if n > 47. Encoding AMO 2-product sorting networks BDDs WatchDog adder networks absolute relative 2.58 % 0.08 % 0.47 % % 0.00 % 0.00 %
5 Table 3. Solving PB instances from the PB competition Instance bsolo npsolver+bin npsolver+topdown PB s s s PBO s s s 4.1 Encoding MaxSAT into SAT To solve MaxSAT, for each clause C i with the weight w i npsolver introduces a relaxation variable r i that is added to C i (compare to [3]). The optimization that is performed afterwards it to minimize the sum i w ir i. 4.2 Encoding Weighted PBO into SAT Weighted boolean optimization (WBO) could be transformed as MaxSAT: For each constraint C i with a weight w i add a relaxation variable r i to the constraint and minimize the sum i w ir i. For a PB constraint with n variables and degree k, the an encoding would require the clauses for the original constraint, and additional clauses if the relaxation variable is added. To avoid these additional clauses, we decided to add the relaxation variable not to the constraint C i itself, but to all the clauses that are generated to encode this constraint. The optimization function is created as in MaxSAT: i w ir i. 5 Experimental Results We compare the available methods of our solver with the native domain solver bsolo [7], because of its high performance in recent competitions. MiniSat+ has not been chosen as reference, because the internally used SAT solver is too old for a fair comparison, hence we have to use the SAT formula output MiniSat+ with a current state-of-the-art SAT solver, but then the solver can only solve decision problems, and we found an unsatisfiable PB instance where the SAT translation resulted in a satisfiable SAT formula 3. Table 3 shows the number of solved instances and the corresponding mean run time per solver on all 492 instances of the last two PB competitions 1. We divided the instances into two sets: decision instances (PB) and optimization instances (PBO). For decision instances the translation to SAT clearly has a higher performance than bsolo. Almost 40 instances more can be solved, and the mean run time for these instances is not significantly larger although more instances can be solved. For the optimization instances the picture is different. bsolo can solve more instances than any of the other approaches. However, notice that bsolo has a higher performance on a particular instance family, namely on random instances (rand.biglist and random/rand.newlist). npsolver can solve only 12 of these instances where bsolo solves 29. In total, bsolo solves 217 instances and npsolver can solve 245 instances. Surprisingly, for the optimization instances the two search algorithms binary search and top down search do not differ significantly. At the current point we cannot explain this behavior. With the default settings, the current state of the solver already shows a high performance. Adding incremental search, the quick bound method or a 3 Such an example is the instance PB10/normalized-PB10/DEC-SMALLINT-LIN/ oliveras/j60/normalized-j6013_2-unsat.opb
6 SAT preprocessor to the system does not improve the results. Still, we believe that we can tweak the parameters of npsolver and improve the incremental search, resulting in an even more powerful tool. Furthermore, with new SAT solvers available, the performance of the solver will increase automatically. 6 Conclusion We presented the PB solver npsolver that is based on a translation to SAT. Based on a parameterized implementation this tool can use various encodings to achieve a good SAT formula. With this formula, a SAT solver is called to solve the PB instance. For optimization instances, the solver is called multiple times. Besides PB, the tool can also transform MaxSAT and WBO instances into SAT instances and solve these optimization problems. We showed in a brief evaluation that the current early stage of work results already in a powerful tool. By tuning the parameters of the system and choosing an appropriate SAT solver, npsolver can be adapted easily to applications. Future development of npsolver includes optimizing and parallelizing the system. A first step would be to evaluate parallel SAT solving approaches. Next, more encodings can be integrated into the system. Afterwards, the limits for each encoding will be determined by intensive testing. Finally, we might also adopt the translation into SAT to other optimization problems, resulting in a wider range of problems that could be solved by SAT solvers. References 1. O. Bailleux, Y. Boufkhad, and O. Roussel. New encodings of pseudo-boolean constraints into cnf. In Proceedings of the 12th International Conference on Theory and Applications of Satisfiability Testing, SAT 09, pages , Berlin, Heidelberg, Springer-Verlag. 2. K. E. Batcher. Sorting networks and their applications. In Proceedings of the April 30 May 2, 1968, spring joint computer conference, AFIPS 68 (Spring), pages , New York, NY, USA, ACM. 3. D. L. Berre and A. Parrain. The sat4j library, release 2.2. JSAT, 7(2-3):59 6, A. Biere, M. J. H. Heule, H. van Maaren, and T. Walsh, editors. Handbook of Satisfiability, volume 185 of Frontiers in Artificial Intelligence and Applications. IOS Press, February J. Chen. A New SAT Encoding of the At-Most-One Constraint. In Proceedings of ModRef 2011, N. Eén and N. Sörensson. Translating pseudo-boolean constraints into sat. JSAT, 2(1-4):1 26, V. M. Manquinho and J. P. M. Silva. On using cutting planes in pseudo-boolean optimization. JSAT, 2(1-4): , N. Manthey. Coprocessor 2.0 A flexible CNF Simplifier (Tool Presentation), Accepted for SAT O. Roussel and V. Manquinho. Pseudo-Boolean and Cardinality Constraints, chapter 22, pages Volume 185 of Biere et al. [4], February 2009.
MPBO A Distributed Pseudo-Boolean Optimization Solver
MPBO A Distributed Pseudo-Boolean Optimization Solver Nuno Miguel Coelho Santos Thesis to obtain the Master of Science Degree in Information Systems and Computer Engineering Examination Committee Chairperson:
Open-WBO: a Modular MaxSAT Solver
Open-WBO: a Modular MaxSAT Solver Ruben Martins 1, Vasco Manquinho 2, and Inês Lynce 2 1 University of Oxford, Department of Computer Science, United Kingdom [email protected] 2 INESC-ID / Instituto
Sudoku as a SAT Problem
Sudoku as a SAT Problem Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal [email protected] Joël Ouaknine Oxford University Computing Laboratory, UK [email protected] Abstract Sudoku
InvGen: An Efficient Invariant Generator
InvGen: An Efficient Invariant Generator Ashutosh Gupta and Andrey Rybalchenko Max Planck Institute for Software Systems (MPI-SWS) Abstract. In this paper we present InvGen, an automatic linear arithmetic
Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams
Scheduling Home Health Care with Separating Benders Cuts in Decision Diagrams André Ciré University of Toronto John Hooker Carnegie Mellon University INFORMS 2014 Home Health Care Home health care delivery
Between Restarts and Backjumps
Between Restarts and Backjumps Antonio Ramos, Peter van der Tak, and Marijn Heule Department of Software Technology, Delft University of Technology, The Netherlands Abstract. This paper introduces a novel
CS510 Software Engineering
CS510 Software Engineering Propositional Logic Asst. Prof. Mathias Payer Department of Computer Science Purdue University TA: Scott A. Carr Slides inspired by Xiangyu Zhang http://nebelwelt.net/teaching/15-cs510-se
Heuristics for Dynamically Adapting Constraint Propagation in Constraint Programming
Heuristics for Dynamically Adapting Constraint Propagation in Constraint Programming Kostas Stergiou AI Lab University of the Aegean Greece CPAIOR 09 Workshop on Bound reduction techniques for CP and MINLP
Introduction to Logic in Computer Science: Autumn 2006
Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Now that we have a basic understanding
Solving the Employee Timetabling Problem Using Advanced SAT & ILP Techniques
JOURNAL OF COMPUTERS, VOL. 8, NO. 4, APRIL 2013 851 Solving the Employee Timetabling Problem Using Advanced SAT & ILP Techniques Fadi A. Aloul*, Syed Z. H. Zahidi, Anas Al-Farra, Basel Al-Roh American
Satisfiability Checking
Satisfiability Checking SAT-Solving Prof. Dr. Erika Ábrahám Theory of Hybrid Systems Informatik 2 WS 10/11 Prof. Dr. Erika Ábrahám - Satisfiability Checking 1 / 40 A basic SAT algorithm Assume the CNF
Guessing Game: NP-Complete?
Guessing Game: NP-Complete? 1. LONGEST-PATH: Given a graph G = (V, E), does there exists a simple path of length at least k edges? YES 2. SHORTEST-PATH: Given a graph G = (V, E), does there exists a simple
Smart Graphics: Methoden 3 Suche, Constraints
Smart Graphics: Methoden 3 Suche, Constraints Vorlesung Smart Graphics LMU München Medieninformatik Butz/Boring Smart Graphics SS2007 Methoden: Suche 2 Folie 1 Themen heute Suchverfahren Hillclimbing Simulated
Strategic planning in LTL logistics increasing the capacity utilization of trucks
Strategic planning in LTL logistics increasing the capacity utilization of trucks J. Fabian Meier 1,2 Institute of Transport Logistics TU Dortmund, Germany Uwe Clausen 3 Fraunhofer Institute for Material
Branch-and-Price Approach to the Vehicle Routing Problem with Time Windows
TECHNISCHE UNIVERSITEIT EINDHOVEN Branch-and-Price Approach to the Vehicle Routing Problem with Time Windows Lloyd A. Fasting May 2014 Supervisors: dr. M. Firat dr.ir. M.A.A. Boon J. van Twist MSc. Contents
M.S. Project Proposal. SAT Based Attacks on SipHash
M.S. Project Proposal SAT Based Attacks on SipHash Santhosh Kantharaju Siddappa Department of Computer Science Rochester Institute of Technology Chair Prof. Alan Kaminsky Reader Prof. Stanisław P. Radziszowski
Adaptive Memory Search for Boolean Optimization Problems
Adaptive Memory Search for Boolean Optimization Problems Lars M. Hvattum Molde College, 6411 Molde, Norway. [email protected] Arne Løkketangen Molde College, 6411 Molde, Norway. [email protected]
INTEGER PROGRAMMING. Integer Programming. Prototype example. BIP model. BIP models
Integer Programming INTEGER PROGRAMMING In many problems the decision variables must have integer values. Example: assign people, machines, and vehicles to activities in integer quantities. If this is
Why? A central concept in Computer Science. Algorithms are ubiquitous.
Analysis of Algorithms: A Brief Introduction Why? A central concept in Computer Science. Algorithms are ubiquitous. Using the Internet (sending email, transferring files, use of search engines, online
Jedd: A BDD-based Relational Extension of Java
Jedd: A BDD-based Relational Extension of Java Ondřej Lhoták Laurie Hendren Sable Research Group, School of Computer Science McGill University, Montreal, Canada {olhotak,hendren}@sable.mcgill.ca ABSTRACT
Discuss the size of the instance for the minimum spanning tree problem.
3.1 Algorithm complexity The algorithms A, B are given. The former has complexity O(n 2 ), the latter O(2 n ), where n is the size of the instance. Let n A 0 be the size of the largest instance that can
Lecture 7: NP-Complete Problems
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Basic Course on Computational Complexity Lecture 7: NP-Complete Problems David Mix Barrington and Alexis Maciel July 25, 2000 1. Circuit
Ant Colony Optimization and Constraint Programming
Ant Colony Optimization and Constraint Programming Christine Solnon Series Editor Narendra Jussien WILEY Table of Contents Foreword Acknowledgements xi xiii Chapter 1. Introduction 1 1.1. Overview of the
Bounded Treewidth in Knowledge Representation and Reasoning 1
Bounded Treewidth in Knowledge Representation and Reasoning 1 Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien Luminy, October 2010 1 Joint work with G.
University of Potsdam Faculty of Computer Science. Clause Learning in SAT Seminar Automatic Problem Solving WS 2005/06
University of Potsdam Faculty of Computer Science Clause Learning in SAT Seminar Automatic Problem Solving WS 2005/06 Authors: Richard Tichy, Thomas Glase Date: 25th April 2006 Contents 1 Introduction
A Constraint Programming based Column Generation Approach to Nurse Rostering Problems
Abstract A Constraint Programming based Column Generation Approach to Nurse Rostering Problems Fang He and Rong Qu The Automated Scheduling, Optimisation and Planning (ASAP) Group School of Computer Science,
Approximation Algorithms
Approximation Algorithms or: How I Learned to Stop Worrying and Deal with NP-Completeness Ong Jit Sheng, Jonathan (A0073924B) March, 2012 Overview Key Results (I) General techniques: Greedy algorithms
Bounded-width QBF is PSPACE-complete
Bounded-width QBF is PSPACE-complete Albert Atserias 1 and Sergi Oliva 2 1 Universitat Politècnica de Catalunya Barcelona, Spain [email protected] 2 Universitat Politècnica de Catalunya Barcelona, Spain
Research Statement Immanuel Trummer www.itrummer.org
Research Statement Immanuel Trummer www.itrummer.org We are collecting data at unprecedented rates. This data contains valuable insights, but we need complex analytics to extract them. My research focuses
Generating models of a matched formula with a polynomial delay
Generating models of a matched formula with a polynomial delay Petr Savicky Institute of Computer Science, Academy of Sciences of Czech Republic, Pod Vodárenskou Věží 2, 182 07 Praha 8, Czech Republic
Verifying Refutations with Extended Resolution
Verifying Refutations with Extended Resolution Marijn J. H. Heule, Warren A. Hunt Jr., and Nathan Wetzler The University of Texas at Austin Abstract. Modern SAT solvers use preprocessing and inprocessing
A Tool for Generating Partition Schedules of Multiprocessor Systems
A Tool for Generating Partition Schedules of Multiprocessor Systems Hans-Joachim Goltz and Norbert Pieth Fraunhofer FIRST, Berlin, Germany {hans-joachim.goltz,nobert.pieth}@first.fraunhofer.de Abstract.
Analysis of Micro-Macro Transformations of Railway Networks
Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Germany MARCO BLANCO THOMAS SCHLECHTE Analysis of Micro-Macro Transformations of Railway Networks Zuse Institute Berlin
Index Terms Domain name, Firewall, Packet, Phishing, URL.
BDD for Implementation of Packet Filter Firewall and Detecting Phishing Websites Naresh Shende Vidyalankar Institute of Technology Prof. S. K. Shinde Lokmanya Tilak College of Engineering Abstract Packet
! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.
Approximation Algorithms Chapter Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of
PLEDGE: A Product Line Editor and Test Generation Tool
PLEDGE: A Product Line Editor and Test Generation Tool Christopher Henard [email protected] Jacques Klein [email protected] Mike Papadakis [email protected] Yves Le Traon [email protected]
Faster SAT Solving with Better CNF Generation
Faster SAT Solving with Better CNF Generation Benjamin Chambers Panagiotis Manolios Northeastern University {bjchamb, pete}@ccs.neu.edu Daron Vroon General Theological Seminary of the Episcopal Church
An Interactive Train Scheduling Tool for Solving and Plotting Running Maps
An Interactive Train Scheduling Tool for Solving and Plotting Running Maps F. Barber 1, M.A. Salido 2, L. Ingolotti 1, M. Abril 1, A. Lova 3, P. Tormos 3 1 DSIC, 3 DEIOAC, Universidad Politécnica de Valencia,
OHJ-2306 Introduction to Theoretical Computer Science, Fall 2012 8.11.2012
276 The P vs. NP problem is a major unsolved problem in computer science It is one of the seven Millennium Prize Problems selected by the Clay Mathematics Institute to carry a $ 1,000,000 prize for the
Nan Kong, Andrew J. Schaefer. Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA
A Factor 1 2 Approximation Algorithm for Two-Stage Stochastic Matching Problems Nan Kong, Andrew J. Schaefer Department of Industrial Engineering, Univeristy of Pittsburgh, PA 15261, USA Abstract We introduce
Indexing Techniques for Data Warehouses Queries. Abstract
Indexing Techniques for Data Warehouses Queries Sirirut Vanichayobon Le Gruenwald The University of Oklahoma School of Computer Science Norman, OK, 739 [email protected] [email protected] Abstract Recently,
Performance Test of Local Search Algorithms Using New Types of
Performance Test of Local Search Algorithms Using New Types of Random CNF Formulas Byungki Cha and Kazuo Iwama Department of Computer Science and Communication Engineering Kyushu University, Fukuoka 812,
Introduction. The Quine-McCluskey Method Handout 5 January 21, 2016. CSEE E6861y Prof. Steven Nowick
CSEE E6861y Prof. Steven Nowick The Quine-McCluskey Method Handout 5 January 21, 2016 Introduction The Quine-McCluskey method is an exact algorithm which finds a minimum-cost sum-of-products implementation
Multi-layer MPLS Network Design: the Impact of Statistical Multiplexing
Multi-layer MPLS Network Design: the Impact of Statistical Multiplexing Pietro Belotti, Antonio Capone, Giuliana Carello, Federico Malucelli Tepper School of Business, Carnegie Mellon University, Pittsburgh
Scheduling Algorithm with Optimization of Employee Satisfaction
Washington University in St. Louis Scheduling Algorithm with Optimization of Employee Satisfaction by Philip I. Thomas Senior Design Project http : //students.cec.wustl.edu/ pit1/ Advised By Associate
PLAANN as a Classification Tool for Customer Intelligence in Banking
PLAANN as a Classification Tool for Customer Intelligence in Banking EUNITE World Competition in domain of Intelligent Technologies The Research Report Ireneusz Czarnowski and Piotr Jedrzejowicz Department
Binary Image Reconstruction
A network flow algorithm for reconstructing binary images from discrete X-rays Kees Joost Batenburg Leiden University and CWI, The Netherlands [email protected] Abstract We present a new algorithm
CNFSAT: Predictive Models, Dimensional Reduction, and Phase Transition
CNFSAT: Predictive Models, Dimensional Reduction, and Phase Transition Neil P. Slagle College of Computing Georgia Institute of Technology Atlanta, GA [email protected] Abstract CNFSAT embodies the P
5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1
5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition
Optimizing Description Logic Subsumption
Topics in Knowledge Representation and Reasoning Optimizing Description Logic Subsumption Maryam Fazel-Zarandi Company Department of Computer Science University of Toronto Outline Introduction Optimization
WESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math
Textbook Correlation WESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math Following Directions Unit FIRST QUARTER AND SECOND QUARTER Logic Unit
Cloud Computing is NP-Complete
Working Paper, February 2, 20 Joe Weinman Permalink: http://www.joeweinman.com/resources/joe_weinman_cloud_computing_is_np-complete.pdf Abstract Cloud computing is a rapidly emerging paradigm for computing,
Evolutionary SAT Solver (ESS)
Ninth LACCEI Latin American and Caribbean Conference (LACCEI 2011), Engineering for a Smart Planet, Innovation, Information Technology and Computational Tools for Sustainable Development, August 3-5, 2011,
Chapter 11. 11.1 Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling
Approximation Algorithms Chapter Approximation Algorithms Q. Suppose I need to solve an NP-hard problem. What should I do? A. Theory says you're unlikely to find a poly-time algorithm. Must sacrifice one
The van Hoeij Algorithm for Factoring Polynomials
The van Hoeij Algorithm for Factoring Polynomials Jürgen Klüners Abstract In this survey we report about a new algorithm for factoring polynomials due to Mark van Hoeij. The main idea is that the combinatorial
µz An Efficient Engine for Fixed points with Constraints
µz An Efficient Engine for Fixed points with Constraints Kryštof Hoder, Nikolaj Bjørner, and Leonardo de Moura Manchester University and Microsoft Research Abstract. The µz tool is a scalable, efficient
Efficient Data Structures for Decision Diagrams
Artificial Intelligence Laboratory Efficient Data Structures for Decision Diagrams Master Thesis Nacereddine Ouaret Professor: Supervisors: Boi Faltings Thomas Léauté Radoslaw Szymanek Contents Introduction...
Using diversification, communication and parallelism to solve mixed-integer linear programs
Using diversification, communication and parallelism to solve mixed-integer linear programs R. Carvajal a,, S. Ahmed a, G. Nemhauser a, K. Furman b, V. Goel c, Y. Shao c a Industrial and Systems Engineering,
Minimizing costs for transport buyers using integer programming and column generation. Eser Esirgen
MASTER STHESIS Minimizing costs for transport buyers using integer programming and column generation Eser Esirgen DepartmentofMathematicalSciences CHALMERS UNIVERSITY OF TECHNOLOGY UNIVERSITY OF GOTHENBURG
Pushing the Envelope of Optimization Modulo Theories with Linear-Arithmetic Cost Functions
Pushing the Envelope of Optimization Modulo Theories with Linear-Arithmetic Cost Functions Roberto Sebastiani and Patrick Trentin DISI, University of Trento, Italy Abstract. In the last decade we have
Association Rules Mining: Application to Large-Scale Satisfiability
Association Rules Mining: Application to Large-Scale Satisfiability Habiba Drias, Youcef Djenouri LRIA, USTHB Abstract Big data mining is a promising technology for industrial applications such as business
Computational Methods for Database Repair by Signed Formulae
Computational Methods for Database Repair by Signed Formulae Ofer Arieli ([email protected]) Department of Computer Science, The Academic College of Tel-Aviv, 4 Antokolski street, Tel-Aviv 61161, Israel.
D-optimal plans in observational studies
D-optimal plans in observational studies Constanze Pumplün Stefan Rüping Katharina Morik Claus Weihs October 11, 2005 Abstract This paper investigates the use of Design of Experiments in observational
RN-Codings: New Insights and Some Applications
RN-Codings: New Insights and Some Applications Abstract During any composite computation there is a constant need for rounding intermediate results before they can participate in further processing. Recently
Attaining EDF Task Scheduling with O(1) Time Complexity
Attaining EDF Task Scheduling with O(1) Time Complexity Verber Domen University of Maribor, Faculty of Electrical Engineering and Computer Sciences, Maribor, Slovenia (e-mail: [email protected]) Abstract:
Arithmetic Coding: Introduction
Data Compression Arithmetic coding Arithmetic Coding: Introduction Allows using fractional parts of bits!! Used in PPM, JPEG/MPEG (as option), Bzip More time costly than Huffman, but integer implementation
Practical Graph Mining with R. 5. Link Analysis
Practical Graph Mining with R 5. Link Analysis Outline Link Analysis Concepts Metrics for Analyzing Networks PageRank HITS Link Prediction 2 Link Analysis Concepts Link A relationship between two entities
2 Temporal Logic Model Checking
Bounded Model Checking Using Satisfiability Solving Edmund Clarke 1, Armin Biere 2, Richard Raimi 3, and Yunshan Zhu 4 1 Computer Science Department, CMU, 5000 Forbes Avenue Pittsburgh, PA 15213, USA,
! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.
Approximation Algorithms 11 Approximation Algorithms Q Suppose I need to solve an NP-hard problem What should I do? A Theory says you're unlikely to find a poly-time algorithm Must sacrifice one of three
Stabilization by Conceptual Duplication in Adaptive Resonance Theory
Stabilization by Conceptual Duplication in Adaptive Resonance Theory Louis Massey Royal Military College of Canada Department of Mathematics and Computer Science PO Box 17000 Station Forces Kingston, Ontario,
Random vs. Structure-Based Testing of Answer-Set Programs: An Experimental Comparison
Random vs. Structure-Based Testing of Answer-Set Programs: An Experimental Comparison Tomi Janhunen 1, Ilkka Niemelä 1, Johannes Oetsch 2, Jörg Pührer 2, and Hans Tompits 2 1 Aalto University, Department
Graph Mining and Social Network Analysis
Graph Mining and Social Network Analysis Data Mining and Text Mining (UIC 583 @ Politecnico di Milano) References Jiawei Han and Micheline Kamber, "Data Mining: Concepts and Techniques", The Morgan Kaufmann
The Problem of Scheduling Technicians and Interventions in a Telecommunications Company
The Problem of Scheduling Technicians and Interventions in a Telecommunications Company Sérgio Garcia Panzo Dongala November 2008 Abstract In 2007 the challenge organized by the French Society of Operational
A numerically adaptive implementation of the simplex method
A numerically adaptive implementation of the simplex method József Smidla, Péter Tar, István Maros Department of Computer Science and Systems Technology University of Pannonia 17th of December 2014. 1
Solving convex MINLP problems with AIMMS
Solving convex MINLP problems with AIMMS By Marcel Hunting Paragon Decision Technology BV An AIMMS White Paper August, 2012 Abstract This document describes the Quesada and Grossman algorithm that is implemented
Solving WCSP by Extraction of Minimal Unsatisfiable Cores
Solving WCSP by Extraction of Minimal Unsatisfiable Cores Christophe Lecoutre Nicolas Paris Olivier Roussel Sébastien Tabary CRIL - CNRS, UMR 8188 Université Lille-Nord de France, Artois rue de l université,
International Journal of Advanced Research in Computer Science and Software Engineering
Volume 3, Issue 7, July 23 ISSN: 2277 28X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Greedy Algorithm:
ExSched: Solving Constraint Satisfaction Problems with the Spreadsheet Paradigm
ExSched: Solving Constraint Satisfaction Problems with the Spreadsheet Paradigm Siddharth Chitnis, Madhu Yennamani, Gopal Gupta Department of Computer Science The University of Texas at Dallas Richardson,
Chapter 1. NP Completeness I. 1.1. Introduction. By Sariel Har-Peled, December 30, 2014 1 Version: 1.05
Chapter 1 NP Completeness I By Sariel Har-Peled, December 30, 2014 1 Version: 1.05 "Then you must begin a reading program immediately so that you man understand the crises of our age," Ignatius said solemnly.
CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma
CMSC 858T: Randomized Algorithms Spring 2003 Handout 8: The Local Lemma Please Note: The references at the end are given for extra reading if you are interested in exploring these ideas further. You are
Complexity Theory. IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar
Complexity Theory IE 661: Scheduling Theory Fall 2003 Satyaki Ghosh Dastidar Outline Goals Computation of Problems Concepts and Definitions Complexity Classes and Problems Polynomial Time Reductions Examples
Using Ant Colony Optimization for Infrastructure Maintenance Scheduling
Using Ant Colony Optimization for Infrastructure Maintenance Scheduling K. Lukas, A. Borrmann & E. Rank Chair for Computation in Engineering, Technische Universität München ABSTRACT: For the optimal planning
Lecture 19: Introduction to NP-Completeness Steven Skiena. Department of Computer Science State University of New York Stony Brook, NY 11794 4400
Lecture 19: Introduction to NP-Completeness Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Reporting to the Boss Suppose
A New Approach for Finite Capacity Planning in MRP Environment
A New Approach for Finite Capacity Planning in MRP Environment Hong-bum Na 1, Hyoung-Gon Lee 1, and Jinwoo Park 1 1 Dept. of Industrial Engeering / Automation & Systems Research Inst. Seoul National University
ExSched: Solving Constraint Satisfaction Problems with the Spreadsheet Paradigm
ExSched: Solving Constraint Satisfaction Problems with the Spreadsheet Paradigm Siddharth Chitnis, Madhu Yennamani, Gopal Gupta Department of Computer Science The University of Texas at Dallas Richardson,
Chapter 13: Binary and Mixed-Integer Programming
Chapter 3: Binary and Mixed-Integer Programming The general branch and bound approach described in the previous chapter can be customized for special situations. This chapter addresses two special situations:
C H A P T E R. Logic Circuits
C H A P T E R Logic Circuits Many important functions are naturally computed with straight-line programs, programs without loops or branches. Such computations are conveniently described with circuits,
