PTAS(Polynomial Time Approximation Scheme) cont. Prepared by, Umair S. March 25 th, 2009.

Slides:



Advertisements
Similar presentations
Alexander Kononov Sobolev Institute of Mathematics Siberian Branch of Russian Academy of Science Novosibirsk, Russia.
Advertisements

Numerical Integration
Approximation Algorithms
An Introduction to Computational Complexity Edith Elkind IAM, ECS.
Maintaining Variance and k-Medians over Data Stream Windows Brian Babcock, Mayur Datar, Rajeev Motwani, Liadan O’Callaghan Stanford University.
1 Approximation Algorithm Instructor: YE, Deshi
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
Lecture 21 Approximation Algorithms Introduction.
Minimum Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
PTAS for Bin-Packing. Special Cases of Bin Packing 1. All item sizes smaller than Claim 1: Proof: If then So assume Therefore:
Parameterized Approximation Scheme for the Multiple Knapsack Problem by Klaus Jansen (SODA’09) Speaker: Yue Wang 04/14/2009.
1 Approximation Algorithms CSC401 – Analysis of Algorithms Lecture Notes 18 Approximation Algorithms Objectives: Typical NP-complete problems Approximation.
Polynomial time approximation scheme Lecture 17: Mar 13.
Vertex cover problem S  V such that for every {u,v}  E u  S or v  S (or both)
Backtracking Reading Material: Chapter 13, Sections 1, 2, 4, and 5.
1 Section 2.3 Complexity of Algorithms. 2 Computational Complexity Measure of algorithm efficiency in terms of: –Time: how long it takes computer to solve.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 5 Instructor: Paul Beame TA: Gidon Shavit.
Representing Functions by Power Series. A power series is said to represent a function f with a domain equal to the interval I of convergence of the series.
1.7 Arrays academy.zariba.com 1. Lecture Content 1.Basic Operations with Arrays 2.Console Input & Output of Arrays 3.Iterating Over Arrays 4.List 5.Cloning.
CSE 589 Applied Algorithms Spring Colorability Branch and Bound.
Properties of Logarithms. The Product Rule Let b, M, and N be positive real numbers with b  1. log b (MN) = log b M + log b N The logarithm of a product.
1 Numerical Analysis Lecture 12 Numerical Integration Dr. Nader Okasha.
Lecture 2 We have given O(n 3 ), O(n 2 ), O(nlogn) algorithms for the max sub-range problem. This time, a linear time algorithm! The idea is as follows:
Chapter Complexity of Algorithms –Time Complexity –Understanding the complexity of Algorithms 1.
Lecture 16: Convection and Diffusion (Cont’d). Last Time … We l Looked at CDS/UDS schemes to unstructured meshes l Look at accuracy of CDS and UDS schemes.
2.3 Functions A function is an assignment of each element of one set to a specific element of some other set. Synonymous terms: function, assignment, map.
1 Approximation Algorithm Instructor: yedeshi
DISCRETE MATHEMATICS I CHAPTER 11 Dr. Adam Anthony Spring 2011 Some material adapted from lecture notes provided by Dr. Chungsim Han and Dr. Sam Lomonaco.
1 Approximation Through Scaling Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
Approximation Algorithms: The Subset-sum Problem
Approximation Algorithms for Knapsack Problems 1 Tsvi Kopelowitz Modified by Ariel Rosenfeld.
Approximation schemes Scheduling problems. Polynomial Time Approximation Scheme (PTAS) Let Π be a minimization problem. An approximation scheme for problem.
Approximation Algorithms
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
CSE332: Data Abstractions Lecture 24.5: Interlude on Intractability Dan Grossman Spring 2012.
Although this may seem a paradox, all exact science is dominated by the idea of approximation. Bertrand Russell Approximation Algorithm.
3.3 Complexity of Algorithms
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness and course wrap up.
CPSC 322, Lecture 6Slide 1 Uniformed Search (cont.) Computer Science cpsc322, Lecture 6 (Textbook finish 3.5) Sept, 17, 2012.
Scalability for Search Scaling means how a system must grow if resources or work grows –Scalability is the ability of a system, network, or process, to.
1 Approximation algorithms Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij TexPoint fonts used in EMF. Read the TexPoint manual.
CSCE350 Algorithms and Data Structure Lecture 21 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
Steiner Tree Problem Given: A set S of points in the plane = terminals
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Lecture 6COMPSCI.220.FS.T Data Sorting Ordering relation: places each pair ,  of countable items in a fixed order denoted as (  ) or 
1 The instructor will be absent on March 29 th. The class resumes on March 31 st.
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
The Subset-sum Problem
Mathematical Foundations of AI
Special Products of Polynomials
Richard Anderson Lecture 29 NP-Completeness and course wrap-up
Section 5.5B Half Angle Formulas
Circuit Lower Bounds A combinatorial approach to P vs NP
StatSense In-Network Probabilistic Inference over Sensor Networks
Uniformed Search (cont.) Computer Science cpsc322, Lecture 6
Minimum Spanning Trees
Richard Anderson Lecture 29 Complexity Theory
Introduction to Algorithms Second Edition by
Lecture 6 More Divide-Conquer and Paradigm #4 Data Structure.
Section 14.3 Complexity Classes
Richard Anderson Lecture 30 NP-Completeness
Multiple Sequence Alignment
Minimum Spanning Trees
Evaluating Logarithms
Exponential and Logarithmic Forms
Minimum Spanning Trees
Ch09 _2 Approximation algorithm
Algorithms Lecture #43 Dr.Sohail Aslam.
Properties of Logarithms
CS 6310 Advanced Design and Analysis of Algorithms Rajani Pingili
Presentation transcript:

PTAS(Polynomial Time Approximation Scheme) cont. Prepared by, Umair S. March 25 th, 2009

PTAS vs FPTAS  PTAS requires the complexity of an algorithm to be polynomial in terms of input size n for a fixed approximation factor є  FPTAS requires the complexity of an algorithm to be polynomial, both in terms of n as well as 1/ є

Designing Polynomial Time Approximation Scheme for Sub-set Sum Problem  Input  Output

Designing Polynomial Time Approximation Scheme for Sub-set Sum Problem  In case of approximation, we are interested in a S’ such that  We define, L i be the set of numbers that are sum of all elements in each possible subsets of set S i where, S i is a set of first i th elements in set S. Then,

Designing Polynomial Time Approximation Scheme for Sub-set Sum Problem  Pseudo-code for finding the closest sub-sum can be  While i<n  Remove where, l j is any element in set L i  end while  Solution: last element of Ln  Complexity: O(nW)

Designing Polynomial Time Approximation Scheme for Sub-set Sum Problem  Complexity is O(nW), W can be exponential in the worst-case!  Consider small intervals instead of exact values in Li?  Equally spaced vs expanding intervals?  Possible to maintain an approximation factor? To be cont. in next lecture…