Soham Uday Mehta. Linear Programming in 3 variables.

Slides:



Advertisements
Similar presentations
3.4 Linear Programming.
Advertisements

3.4 Linear Programming 10/31/2008. Optimization: finding the solution that is either a minimum or maximum.
3-3 Solving Systems of Inequalities by Graphing
A Randomized Polynomial- Time Simplex Algorithm for Linear Programming CS3150 Course Presentation.
Incremental Linear Programming Linear programming involves finding a solution to the constraints, one that maximizes the given linear function of variables.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Linear Programming, 1 Max c 1 *X 1 +…+ c n *X n = z s.t. a 11 *X 1 +…+ a 1n *X n  b 1 … a m1 *X 1 +…+ a mn *X n  b m X 1, X n  0 Standard form.
Branch and Bound See Beale paper. Example: Maximize z=x1+x2 x2 x1.
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.
Introduction to Algorithms
Chapter 5 The Simplex Method The most popular method for solving Linear Programming Problems We shall present it as an Algorithm.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
C&O 355 Mathematical Programming Fall 2010 Lecture 20 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Ch 2. 6 – Solving Systems of Linear Inequalities & Ch 2
Example 1 Define the Variables: Let l = length of package g = girth of package Two variables – two inequalities: Graph each inequality. Don’t forget to.
A Randomized Polynomial-Time Simplex Algorithm for Linear Programming Daniel A. Spielman, Yale Joint work with Jonathan Kelner, M.I.T.
Linear Programming Unit 2, Lesson 4 10/13.
CSCI 3160 Design and Analysis of Algorithms Tutorial 6 Fei Chen.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
Design and Analysis of Algorithms
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Linear Programming – Max Flow – Min Cut Orgad Keller.
Objectives: Set up a Linear Programming Problem Solve a Linear Programming Problem.
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
Course: Advanced Algorithms CSG713, Fall 2008 CCIS Department, Northeastern University Dimitrios Kanoulas.
Chapter 15 Constrained Optimization. The Linear Programming Model Let : x 1, x 2, x 3, ………, x n = decision variables Z = Objective function or linear.
Linear Programming David Kauchak cs161 Summer 2009.
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
This presentation shows how the tableau method is used to solve a simple linear programming problem in two variables: Maximising subject to two  constraints.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Solve problems by using linear programming.
Linear Programming – Simplex Method
Gomory Cuts Updated 25 March Example ILP Example taken from “Operations Research: An Introduction” by Hamdy A. Taha (8 th Edition)“Operations Research:
3.4: Linear Programming Objectives: Students will be able to… Use linear inequalities to optimize the value of some quantity To solve linear programming.
Class Opener: Solve each equation for Y: 1.3x + y = y = 2x 3.x + 2y = 5 4. x – y = x + 3y = x – 5y = -3.
Warm-up Solve each system of equations:
Branch and Bound Algorithms Present by Tina Yang Qianmei Feng.
Constraints Feasible region Bounded/ unbound Vertices
Integer Programming, Branch & Bound Method
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
3-5: Linear Programming. Learning Target I can solve linear programing problem.
3.4 Linear Programming Objective:
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.
Ion I. Mandoiu, Vijay V. Vazirani Georgia Tech Joseph L. Ganley Simplex Solutions A New Heuristic for Rectilinear Steiner Trees.
Bigyan Ankur Mukherjee University of Utah. Given a set of Points P sampled from a surface Σ,  Find a Surface Σ * that “approximates” Σ  Σ * is generally.
Computational Geometry
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
Linear Programming Chapter 3 Lesson 4 Vocabulary Constraints- Conditions given to variables, often expressed as linear inequalities. Feasible Region-
CS4234 Optimiz(s)ation Algorithms L2 – Linear Programming.
2.6 Solving Systems of Linear Inequalities
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Chapter 5 The Simplex Method
Constrained Optimization
Gomory Cuts Updated 25 March 2009.
Max-Cut a b Edges cut: 8 w c d e 1.
3-3 Optimization with Linear Programming
Linear Programming.
CMPS 3130/6130 Computational Geometry Spring 2017
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Section Linear Programming
1.6 Linear Programming Pg. 30.
Linear Programming Mr. Carpenter Alg. 2.
Branch-and-Bound Algorithm for Integer Program
Integer LP: Algorithms
Clipping Polygons Lecture 31 Fri, Nov 9, 2007.
Presentation transcript:

Soham Uday Mehta

Linear Programming in 3 variables

Goals  Visualize the convex feasible region specified by constraints (in 3D)

Goals  Visualize the convex feasible region specified by constraints (in 3D)  Visualize Simplex Algorithm to solve the LP (simple version)

Visualization  Each constraint becomes a polygon bounding the convex feasible region

Visualization

 Find the ‘side’ of plane each vertex of polygon is on  If an edge of poly cuts plane, add new vertex and remove the ‘wrong’ side vertex

Visualization  Each constraint may also create a new polygon

Visualization  Each constraint may also create a new polygon

Visualization  Each constraint may also create a new polygon  Store ‘new’ vertices created by clipping existing polygons

Visualization  Each constraint may also create a new polygon  Store ‘new’ vertices created by clipping existing polygons  Remove duplicates

Visualization  Each constraint may also create a new polygon  Store ‘new’ vertices created by clipping existing polygons  Remove duplicates, re-order vertices, and create new poly

Simplex Algorithm 1. Start with a random vertex

Simplex Algorithm 1. Start with a random vertex 2. Find extreme directions at current vertex 3. Pick maximum improvement direction 4. If no improvement in any direction, stop

Simplex Algorithm 1. Start with a random vertex 2. Find extreme directions at current vertex 3. Pick maximum improvement direction 4. If no improvement in any direction, stop 5. Find max. feasible step and move to next vertex 6. Go back to 2

Choosing the start vertex

Finding directions at any vertex

Finding the next vertex

Conclusion  Will be available for downloaddownload

Conclusion  Will be available for downloaddownload  Thanks for your attention  Comments / Questions?