LINEAR PROGRAMMING PROBLEM Definition and Examples.

Slides:



Advertisements
Similar presentations
A Randomized Polynomial- Time Simplex Algorithm for Linear Programming CS3150 Course Presentation.
Advertisements

Lecture #3; Based on slides by Yinyu Ye
Linear Programming and Simplex Algorithm Reference: Numerical Recipe Sec
Optimization Spring Practical information Lecturers: Kristoffer Arnsfelt Hansen and Peter Bro Miltersen. Homepage: → bb.au.dk Exam: Written, 3 hours.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Lecture 8 Tuesday, 11/19/02 Linear Programming.
Dragan Jovicic Harvinder Singh
Ch 2. 6 – Solving Systems of Linear Inequalities & Ch 2
Chapter 8: Linear Programming
Introduction to Linear and Integer Programming
A Randomized Polynomial-Time Simplex Algorithm for Linear Programming Daniel A. Spielman, Yale Joint work with Jonathan Kelner, M.I.T.
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.
Dealing with NP-Complete Problems
Fall 2006, Sep. 5 and 7 ELEC / Lecture 4 1 ELEC / (Fall 2006) Low-Power Design of Electronic Circuits (Formerly ELEC / )
Chapter 10: Iterative Improvement
1 2TN – Linear Programming  Linear Programming. 2 Linear Programming Discussion  Requirements of a Linear Programming Problem  Formulate:  Determine:Graphical.
 Linear Programming and Smoothed Complexity Richard Kelley.
Lecture outline Support vector machines. Support Vector Machines Find a linear hyperplane (decision boundary) that will separate the data.
Lecture 4: Linear Programming Computational Geometry Prof. Dr. Th. Ottmann 1 Linear Programming Overview Formulation of the problem and example Incremental,
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Optimization of Linear Problems: Linear Programming (LP) © 2011 Daniel Kirschen and University of Washington 1.
An Introduction By Mandy Bakas Linear Programming.
Solving Linear Programming Problems Using Excel Ken S. Li Southeastern Louisiana University.
“For the most part even to this day, a great gulf exists between man’s aspirations and his actions.” -- George B. Dantzig.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Introduction to Linear Programming
1 Initial feasible origin: 1. Set values of original variables to zero. 2. Set values of slack variables according to the dictionary. The problems we have.
Solver & Optimization Problems n An optimization problem is a problem in which we wish to determine the best values for decision variables that will maximize.
Linear Programming David Kauchak cs161 Summer 2009.
Decision Procedures An Algorithmic Point of View
Team Linear By Marks Speight, Taylor Bishop. Linear Programming Problem : Optimize a linear function subject to linear constraints. Constraints Linear.
C&O 355 Mathematical Programming Fall 2010 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
C&O 355 Mathematical Programming Fall 2010 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
LINEAR PROGRAMMING IN CONCEPT SEMANTIC NETWORKS By Naser Madi.
Linear Programming Models Tran Van Hoai Faculty of Computer Science & Engineering HCMC University of Technology Tran Van Hoai.
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.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
ECE 556 Linear Programming Ting-Yuan Wang Electrical and Computer Engineering University of Wisconsin-Madison March
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
OR Chapter 1. Introduction  Ex : Diet Problem Daily requirements : energy(2000kcal), protein(55g), calcium(800mg) Food Serving size Energy (kcal)
1 A polynomial relaxation-type algorithm for linear programming Sergei Chubanov University of Siegen, Germany
Optimization - Lecture 4, Part 1 M. Pawan Kumar Slides available online
Linear Programming Maximize Subject to Worst case polynomial time algorithms for linear programming 1.The ellipsoid algorithm (Khachian, 1979) 2.Interior.
C&O 355 Lecture 7 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
NONSTANDARD SIMPLEX ALGORITHM FOR LINEAR PROGRAMMING Southeast University Ping-Qi Pan.
Linear Programming: Formulations, Geometry and Simplex Method Yi Zhang January 21 th, 2010.
OR Integer Programming ( 정수계획법 ). OR
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.
1 Simplex algorithm. 2 The Aim of Linear Programming A Linear Programming model seeks to maximize or minimize a linear function, subject to a set of linear.
Water resources planning and management by use of generalized Benders decomposition method to solve large-scale MINLP problems By Prof. André A. Keller.
Submodularity Reading Group Matroid Polytopes, Polymatroid M. Pawan Kumar
Operations Research Chapter one.
Linear Programming for Solving the DSS Problems
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Solver & Optimization Problems
Classification Analytical methods classical methods
CSE291 Convex Optimization (CSE203B Pending)
Mathematical Programming
Associate Professor of Computers & Informatics - Benha University
Linear Programming Piyush Kumar Welcome to COT 5405.
Linear Programming Example: Maximize x + y x and y are called
CSE203B Convex Optimization
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Chapter 10: Iterative Improvement
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Presentation transcript:

LINEAR PROGRAMMING PROBLEM Definition and Examples

Linear Program Decision Variables Objective Function Constraints

Linear Program (General Form) Objective Function Constraints

The Linear Programming Model Standard form

Linear Programming Problem (6,11) (6,3) (3,11) (3,0) (0,0) (0,2) Not drawn to scale x 1 +2 x 2 = 0 x 1 +2 x 2 = 35 x 1 +2 x 2 = 28 Solution: x 1 = 6, x 2 = 11 Optimal Objective Value: 28

Overview Solving a Linear Program. Visualizing Linear Programs. What does solving a Linear Program mean? Algorithms for Linear Programming. Simplex. Ellipsoidal Methods. Interior Point Methods.

VISUALIZING LINEAR PROGRAMS

Linear Program (General Form) Objective Function Constraints

Feasible Region Feasible Region: Polyhedron (n dimensional)

Optimization

Will the optimal solution always be at a vertex? Prove it.

Solving Linear Programs Outcome #1: Optimal Solution(s) exists. Outcome #2: Objective Function is unbounded. Outcome #3: Feasible Region is empty.

Unbounded Problem (Example) y x Feasible Region Feasible Region

Infeasible Problem Issue: Constraints contradict each other.

Solving Linear Programs 1. Find which of the three cases are applicable. Infeasible? Unbounded? Feasible + Bounded = Optimal? 1. If Optimal, find optimal solution. Note multiple optimal solutions possible.

LINEAR PROGRAMMING ALGORITHMS

Linear Programming Solving systems of Linear Inequalities. Early work by Fourier (Fourier-Motzkin Elimination Algorithm). In symbolic logic, this is called “Linear Arithmetic”. World War II: Optimal allocation of resources. Advent of electronic/mechanical calculating machines. L.V. Kantorovich in USSR (1940) and G.B. Dantzig et al. in the USA (1947).

SIMPLEX Simplex: algorithm for solving LPs. First Published by George B. Dantzig Prof. Dantzig contributed numerous seminal ideas to this field. G.B Dantzig: Maximization of a linear function of variables subject to linear inequalities, Photo credit: Stanford University

Visualizing the Simplex Algorithm (6,11) (6,3) (3,11) (3,0) (0,0) (0,2) Not drawn to scale Solution: x 1 = 6, x 2 = 11pt. Objective Value: 28

Linear Programming Theory Duality: John Von Neumann Early work by Lagrange. Connections to game theory. Generalized to Karush-Kuhn-Tucker Conditions. Complexity of Simplex: Exponential time in the worst case (Klee + Minty). Polynomial time in the “average case”. Much remains to be understood.

Polynomial Time Algorithms Leonid Khachiyan’s ellipsoidal algorithm [Kachiyan’1980] First polynomial time algorithm. Interior Point Methods Ideas go back to Isaac Newton (Newton-Raphson). First algorithms for Linear Programs by Narendra Karmarkar [Karmarkar’1984] Interior point methods are useful for non-linear programming (Cf. Nocedal + Wright textbook).

Applications of Linear Programming Theory Too numerous to list exhaustively… Major application areas: Operations Research. Optimal allocation of resources. Decision making. Computer Science Algorithms, Machine Learning, Automated Reasoning, Robotics. Engineering Control Theory

INTEGER LINEAR PROGRAMMING Real vs. Integer Variables

Feasible Region Feasible Region: Polyhedron (n dimensional)

Linear vs. Integer Linear Programs

Integer Linear Programming Feasible Region: Z-Polyhedron (n dimensional)

Linear vs. Integer Linear Programs (Complexity) Polynomial Time Linear Programming (Reals) Linear Programming (Integers) Nondeterministic Polynomial Time (NP) Million Dollar Question: Can Integer Linear Programs be solved in polynomial time? ( P = ? = NP)

Example #1 (6,11) (6,3) (3,11) (3,0) (0,0) (0,2) Not drawn to scale Solution: x 1 = 6, x 2 = 11 Objective Value: 28

Example #2

LINEAR PROGRAMMING Formulating a Linear Program

Example (H&L) Example 1: Design of radiation therapy for cancer treatment Goal: select best combination of beams and their intensities to generate best possible dose distribution Dose is measured in kilorads 31

Example 1: Radiation Therapy Design 32

Example 1: Radiation Therapy Design Linear programming model Using data from Table

Example 1: Radiation Therapy Design A type of cost-benefit tradeoff problem 34