1 Linear Programming Supplements (Optional). 2 Standard Form LP (a.k.a. First Primal Form) Strictly ≤ All x j 's are non-negative.

Slides:



Advertisements
Similar presentations
Solving Linear Programming Problems
Advertisements

Tuesday, March 5 Duality – The art of obtaining bounds – weak and strong duality Handouts: Lecture Notes.
Duality for linear programming. Illustration of the notion Consider an enterprise producing r items: f k = demand for the item k =1,…, r using s components:
C&O 355 Lecture 8 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
IEOR 4004 Midterm review (Part II) March 12, 2014.
Solving LP Models Improving Search Special Form of Improving Search
ECE Longest Path dual 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality – Longest.
Linear programming: lp_solve, max flow, dual CSC 282 Fall 2013.
Linear Programming (LP) (Chap.29)
Use MATLAB to solve linear programs LI Xiao-lei. MATLAB format for linear programs MATLAB uses the following format for linear programs: min z = f T x.
Introduction to Algorithms
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Dragan Jovicic Harvinder Singh
The Simplex Method and Linear Programming Duality Ashish Goel Department of Management Science and Engineering Stanford University Stanford, CA 94305,
Linear Programming: Simplex Method and Sensitivity Analysis
Linear Inequalities and Linear Programming Chapter 5 Dr.Hayk Melikyan/ Department of Mathematics and CS/ Linear Programming in two dimensions:
Chapter 2 Linear Programming Models: Graphical and Computer Methods © 2007 Pearson Education.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Linear programming Thomas S. Ferguson University of California at Los Angeles Compressive Sensing Tutorial PART 3 Svetlana Avramov-Zamurovic January 29,
CS38 Introduction to Algorithms Lecture 15 May 20, CS38 Lecture 15.
1 Linear Programming Jose Rolim University of Geneva.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
CSCI 3160 Design and Analysis of Algorithms Tutorial 6 Fei Chen.
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Duality Dual problem Duality Theorem Complementary Slackness
Approximation Algorithms
Chapter 10: Iterative Improvement
Computational Methods for Management and Economics Carla Gomes
7(2) THE DUAL THEOREMS Primal ProblemDual Problem b is not assumed to be non-negative.
1 Linear Programming Using the software that comes with the book.
Constrained Optimization Rong Jin. Outline  Equality constraints  Inequality constraints  Linear Programming  Quadratic Programming.
1 Chapter 5 Nonlinear Programming Chemical Engineering Department National Tsing-Hua University Prof. Shi-Shang Jang May, 2003.
6  Graphing Systems of Linear Inequalities in Two Variables  Linear Programming Problems  Graphical Solutions of Linear Programming Problems  The Simplex.
Linear-Programming Applications
Linear Programming Chapter 13 Supplement.
C&O 355 Mathematical Programming Fall 2010 Lecture 4 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A.
Duality Theory LI Xiaolei.
1 Chapter 7 Linear Programming. 2 Linear Programming (LP) Problems Both objective function and constraints are linear. Solutions are highly structured.
Linear Programming: Data Fitting Steve Gu Mar 21, 2008.
The Simplex Method. Standard Linear Programming Problem Standard Maximization Problem 1. All variables are nonnegative. 2. All the constraints (the conditions)
Introduction to Operations Research
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Introduction to Linear Programming BSAD 141 Dave Novak.
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 11-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 11.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A A A A A A Image:
Chapter 6 Simplex-Based Sensitivity Analysis and Duality
Advanced Operations Research Models Instructor: Dr. A. Seifi Teaching Assistant: Golbarg Kazemi 1.
 Minimization Problem  First Approach  Introduce the basis variable  To solve minimization problem we simple reverse the rule that is we select the.
EE/Econ 458 Duality J. McCalley.
1 System Planning 2013 Lecture 7: Optimization Appendix A Contents: –General about optimization –Formulating optimization problems –Linear Programming.
C&O 355 Mathematical Programming Fall 2010 Lecture 5 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A.
C&O 355 Lecture 7 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
CPSC 536N Sparse Approximations Winter 2013 Lecture 1 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAAAAAA.
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
OR Relation between (P) & (D). OR optimal solution InfeasibleUnbounded Optimal solution OXX Infeasible X( O )O Unbounded XOX (D) (P)
Integer Programming, Branch & Bound Method
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Approximation Algorithms Duality My T. UF.
Approximation Algorithms based on linear programming.
Part 3 Linear Programming 3.3 Theoretical Analysis.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Chapter 2 Linear Programming Models: Graphical and Computer Methods
Chap 10. Sensitivity Analysis
Chap 9. General LP problems: Duality and Infeasibility
The Simplex Method: Standard Minimization Problems
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Chapter 5. The Duality Theorem
Presentation transcript:

1 Linear Programming Supplements (Optional)

2 Standard Form LP (a.k.a. First Primal Form) Strictly ≤ All x j 's are non-negative

3 Transforming Problems into Standard Form Min c T x  Max - c T x Max ( c T x + constant)  Max c T x Replace a constraint like ∑a ij x j ≥ b i by -∑a ij x j ≤ -b i Replace a constraint like ∑a ij x j = b i by ∑a ij x j ≤ b i and -∑a ij x j ≤ -b i If x j is allowed to take on negative value, replace x i by the difference of two nonnegative variables, says x i = u i – v i, where u i ≥ 0 and v i ≥ 0.

4 Example of transforming a problem into Standard Form Replace x 1 by u 1 – v 1

5 Dual Problem Every primal LP problem in the form Maximize c T x subject to Ax ≤ b, x ≥ 0 has a corresponding dual problem in the form Minimize b T y subject to A T y ≥ c, y ≥ 0 Theorem on Primal and Dual Problems If x satisfies the constraints of the primal problem and y satisfies the constraints of its dual, then c T x ≤ b T y. Consequently, if c T x = b T y, then x and y are solutions of the primal problem and the dual problem respectively.

6 Dual Problem Duality Theorem If the original problem has a solution x *, then the dual problem has a solution y * ; furthermore, c T x * = b T y *. If the original primal problem contains much more constraints than variables (i.e., m >> n ), then solving the dual problem may be more efficient. (Less constraints implies less corner points to check) The dual problem also offers a different interpretation of the problem (Maximize profit == Minimize cost)

7 MATLAB LP solver – linprog() Partial help manual generated by MATLAB: X=LINPROG(f,A,b) attempts to solve the linear programming problem: min f'*x subject to: A*x <= b x X=LINPROG(f,A,b,Aeq,beq) solves the problem above while additionally satisfying the equality constraints Aeq*x = beq. X=LINPROG(f,A,b,Aeq,beq,LB,UB) defines a set of lower and upper bounds on the design variables, X, so that the solution is in the range LB <= X <= UB. Use empty matrices for LB and UB if no bounds exist. Set LB(i) = -Inf if X(i) is unbounded below; set UB(i) = Inf if X(i) is unbounded above. X=LINPROG(f,A,b,Aeq,beq,LB,UB,X0) sets the starting point to X0. This option is only available with the active-set algorithm. The default interior point algorithm will ignore any non-empty starting point. …

8 MATLAB example % Turn into minimization problem c = [ ]'; A = [ 7 11; 10 8; 1 0; 0 1 ]; b = [ ]'; LB = [0 0]'; % There is no equality constraints xmin = linprog(c, A, b, [], [], LB) Optimization terminated. xmin =

9 Integer LP Problem If the variables can only take integer values, we cannot take the integers closest to the solution of the corresponding LP problem as the solution. Integer Programming (IP) or Integer Linear Programming (ILP) problems are NP-hard problems. –Some of the algorithm for solving IP problems include branch-and-bound, branch-and-cut.