ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS

Slides:



Advertisements
Similar presentations
© 2003 Anita Lee-Post Linear Programming Part 2 By Anita Lee-Post.
Advertisements

Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Lecture 8 Tuesday, 11/19/02 Linear Programming.
Linear Programming Fundamentals Convexity Definition: Line segment joining any 2 pts lies inside shape convex NOT convex.
Easy Optimization Problems, Relaxation, Local Processing for a small subset of variables.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Linear Programming.
1 Linear Programming Jose Rolim University of Geneva.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2006 Lecture 9 Wednesday, 11/15/06 Linear Programming.
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Introduction to Linear and Integer Programming Lecture 7: Feb 1.
Lecture 4: Linear Programming Computational Geometry Prof. Dr. Th. Ottmann 1 Linear Programming Overview Formulation of the problem and example Incremental,
Approximation Algorithms
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
Matching Polytope, Stable Matching Polytope Lecture 8: Feb 2 x1 x2 x3 x1 x2 x3.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
MAE 552 – Heuristic Optimization Lecture 1 January 23, 2002.
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
D Nagesh Kumar, IIScOptimization Methods: M3L6 1 Linear Programming Other Algorithms.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2008 Lecture 9 Tuesday, 11/18/08 Linear Programming.
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
LINEAR PROGRAMMING PROBLEM Definition and Examples.
LP formulation of Economic Dispatch
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Chapter 5 Linear Inequalities and Linear Programming Section R Review.
Linear Programming David Kauchak cs161 Summer 2009.
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities Algebra 2 Chapter 3 Notes Systems of Linear Equalities and Inequalities.
Team Linear By Marks Speight, Taylor Bishop. Linear Programming Problem : Optimize a linear function subject to linear constraints. Constraints Linear.
Computational Geometry Piyush Kumar (Lecture 5: Linear Programming) Welcome to CIS5930.
Linear Programming Piyush Kumar. Graphing 2-Dimensional LPs Example 1: x y Feasible Region x  0y  0 x + 2 y  2 y  4 x  3 Subject.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Theory of Computing Lecture 13 MAS 714 Hartmut Klauck.
Systems of Inequalities in Two Variables Sec. 7.5a.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 3 Basics of the Simplex Algorithm.
15-853Page :Algorithms in the Real World Linear and Integer Programming I – Introduction – Geometric Interpretation – Simplex Method.
§1.4 Algorithms and complexity For a given (optimization) problem, Questions: 1)how hard is the problem. 2)does there exist an efficient solution algorithm?
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Linear Programming Maximize Subject to Worst case polynomial time algorithms for linear programming 1.The ellipsoid algorithm (Khachian, 1979) 2.Interior.
CSE 6311 – Spring 2009 ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS Lecture Notes – March 12, 2009 ILP – Integer Linear Programming Approximate algorithm.
Integer Programming, Branch & Bound Method
IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
3.3 Linear Programming. Vocabulary Constraints: linear inequalities; boundary lines Objective Function: Equation in standard form used to determine the.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Approximation Algorithms for the Traveling Salesman Problem Shayan Oveis Gharan.
OR Chapter 4. How fast is the simplex method  Efficiency of an algorithm : measured by running time (number of unit operations) with respect to.
Linear Programming Piyush Kumar Welcome to CIS5930.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Topics in Algorithms Lap Chi Lau.
Solving Equations by Factoring and Problem Solving
Linear Programming.
Linear Programming CISC4080, Computer Algorithms CIS, Fordham Univ.
Chapter 5 Linear Inequalities and Linear Programming
Solving Linear Programming Problems: Asst. Prof. Dr. Nergiz Kasımbeyli
3.3 Graph Systems of Linear Inequalities
Linear Programming Piyush Kumar Welcome to COT 5405.
CISC5835, Algorithms for Big Data
CMPS 3130/6130 Computational Geometry Spring 2017
Linear Programming Example: Maximize x + y x and y are called
Unit 1 Representing Real Numbers
Topics in Algorithms 2005 Max Cuts
3.3 Graphing and Solving Systems of Linear Inequalities
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Presentation transcript:

ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS Instructor: Dr. Gautam Das Lecture 10 March 03, 2009 Class notes by Rachit Shah

Overview Linear Programming Integer Programming Approximation Algorithm based on LP relaxation of IP formulation

Linear Programming Problem Instance Set of variables (real variables) x1, x2…xn Restriction – a bunch of linear equations x1 + x2 <= 5 x1 + 2x2 <= 6 x1 >=0 x2 >=0.1

Optimization Goal Optimizing function Maximizing 4x1 + x2 Find a pair (x1, x2) Convexity: Any two points inside the region, connected by a line does not intersect with region boundaries Half planes, when intersect, it maintains convexity

X2 Optimization Function (4x1+x2) x1+x2 <= 5 x1+2x2 <= 6 Convex Region Maximized (4x1+x2) x2 >= .1 X1 x1 >= 0

Algorithm We have to find out the region and maximize 4x1 + x2 in this region Algorithm Input: m equations, Goal function We have m(m-1)/2 corners (intersecting points) Find intersecting points Pij (takes m2) Check Pij is feasible (is it in the common area) If yes, apply function (4x1 + x2)

Analysis In case of 0.0001 x1 + x2 as the optimization function, the optimization point would be different. Why? What if we have x1, x2 and x3 (3 Dimensions) Finding intersecting points take m3 3D – m3 (In case of 3 variables) 4D – m4 (In case of 4 variables) … nD – mn (In case of n variables) Its exponential

Dangzeg Algorithm Greedy Algorithm (Based on Hill Climbing) Because of the Convexity of area, there is only one optimal point/solution Worst case: Exponential Average case: Linear In worst Case, All direction are equally optimistic, except the direction we came in, so we have to visit each and every vertex Example: Transportation problem

Greedy Algorithm (Hill Climbing) Optimization function Optimum location Global Hilltop Climb Climb Start Greedy Algorithm (Hill Climbing) Dangzeg Algorithm

Later Developments Leond Khadyand: Gave proof of polynomial time algorithm using Ellipsoidal method Karmarkar: (ATT) interior point method (which stays in feasible region while doing optimization) There has been no big improvements after

Integer Linear Programming n variables m inequalities Goal function fn The problem is same as Linear Programming except that it is subjected to integer grid IP is NP complete, why? Decision problem: Is there a point where goal funtion >= C

X2 Optimization Function Integer Grid x1+x2 <= 5 x1+2x2 <= 6 Convex Region x2 >= .1 X1 x1 >= 0