1 If you still are having problems getting your program to work, send me e-mail for help. You will need to use it later in the term to start Programming.

Slides:



Advertisements
Similar presentations
Tuesday, March 5 Duality – The art of obtaining bounds – weak and strong duality Handouts: Lecture Notes.
Advertisements

The Comparison Test Let 0 a k b k for all k.. Mika Seppälä The Comparison Test Comparison Theorem A Assume that 0 a k b k for all k. If the series converges,
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:
The simplex algorithm The simplex algorithm is the classical method for solving linear programs. Its running time is not polynomial in the worst case.
Summary of complementary slackness: 1. If x i ≠ 0, i= 1, 2, …, n the ith dual equation is tight. 2. If equation i of the primal is not tight, y i =0. 1.
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:
In a previous lecture, this dictionary resulted after the first phase 1 pivot: X0 = X1 - 1 X2 + 1 X3 X4 = X1 + 3 X2 + 1 X
IEOR 4004 Midterm review (Part II) March 12, 2014.
Branch and Bound See Beale paper. Example: Maximize z=x1+x2 x2 x1.
Understanding optimum solution
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Introduction to Algorithms
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Lecture 8 Tuesday, 11/19/02 Linear Programming.
Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, Inc
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
CSCI 3160 Design and Analysis of Algorithms Tutorial 6 Fei Chen.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2006 Lecture 9 Wednesday, 11/15/06 Linear Programming.
Design and Analysis of Algorithms
Linear Programming Special Cases Alternate Optimal Solutions No Feasible Solution Unbounded Solutions.
Duality Lecture 10: Feb 9. Min-Max theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum Cut Both.
Duality Dual problem Duality Theorem Complementary Slackness
Approximation Algorithms
EMGT 501 HW # (b) (c) 6.1-4, Due Day: Sep. 21.
Computational Methods for Management and Economics Carla Gomes
7(2) THE DUAL THEOREMS Primal ProblemDual Problem b is not assumed to be non-negative.
C&O 355 Lecture 2 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Introduction to Operations Research
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Opener. Notes: 3.4 Linear Programming Optimization  Many real-life problems involve a process called optimization.  This means finding a maximum or.
Duality Theory  Every LP problem (called the ‘Primal’) has associated with another problem called the ‘Dual’.  The ‘Dual’ problem is an LP defined directly.
Linear Programming. Many mathematical models designed to solve problems in business, biology, and economics involve finding the optimum value (maximum.
CDAE Class 17 Oct. 23 Last class: Result of Quiz 4 3. Linear programming and applications Today: 3. Linear programming and applications Review for.
TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A A A A A A A Image:
1 Announcements: The deadline for grad lecture notes was extended to Friday Nov. 9 at 3:30pm. Assignment #4 is posted: Due Thurs. Nov. 15. Nov is.
1 Bob and Sue solved this by hand: Maximize x x 2 subject to 1 x x 2 ≤ x x 2 ≤ 4 x 1, x 2 ≥ 0 and their last dictionary was: X1.
EE/Econ 458 Duality J. McCalley.
1 1.Write down the permutations that are the automorphisms of this graph. 2.Write the cycle structure notation for each of the automorphisms. 3.How many.
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.
Get out your Vertices Worksheet!
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.
CSC 445/545 is done at 4:30 so I did NOT fill in the box for 4:30 for our class. Please put your name here. Please put your as well. 1.
Constraints Feasible region Bounded/ unbound Vertices
OR Relation between (P) & (D). OR optimal solution InfeasibleUnbounded Optimal solution OXX Infeasible X( O )O Unbounded XOX (D) (P)
CSCU elections voting is available over the next 3 days during the following times: 10:00am - 3:30pm Monday, Oct. 1 9:30am - 3:30pm Tuesday, Oct. 2 9:30am.
CDAE Class 15 Oct. 16 Last class: Result of group project 1 3. Linear programming and applications Class Exercise 7 Today: 3. Linear programming.
CDAE Class 16 Oct. 18 Last class: 3. Linear programming and applications Quiz 4 Today: Result of Quiz 4 3. Linear programming and applications Group.
1 What you will learn  Lots of vocabulary!  How to find the maximum and minimum value of a function given a set of “rules”
3.4: Linear Programming  Intro: Oftentimes we want to optimize a situation - this means to:  find a maximum value (such as maximizing profits)  find.
Approximation Algorithms based on linear programming.
Part 3 Linear Programming 3.3 Theoretical Analysis.
The Duality Theorem Primal P: Maximize
The minimum cost flow problem
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Chap 9. General LP problems: Duality and Infeasibility
The Simplex Method: Standard Minimization Problems
Chapter 5. Sensitivity Analysis
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
Chapter 5. The Duality Theorem
Linear Programming Example: Maximize x + y x and y are called
Graphical Solution of Linear Programming Problems
Lecture 20 Linear Program Duality
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
DUALITY THEORY Reference: Chapter 6 in Bazaraa, Jarvis and Sherali.
Presentation transcript:

1 If you still are having problems getting your program to work, send me for help. You will need to use it later in the term to start Programming Project #2 and to find answers to problems. Assignment #2 is now available: Due Thurs. Oct. 4 at the beginning of class. Mon. Oct. 8 is a holiday (Thanksgiving): late deadline is Tues. Oct. 9 at 3:30pm, you can slip late submissions under my office door.

Alan Turing Celebration Lecture Biological Evolution as a Form of Learning Leslie Valiant, CC and Applied Math., Harvard Wed. Oct 10, 3:30pm, ECS 124 CSC 445/545: This is the same time as our class and it is the class immediately before the midterm. If a vote is unanimous, we can reschedule the midterm.

The primal: Maximize c T x subject to A x ≤ b, x ≥ 0. Writing this out: Maximize c 1 x 1 + c 2 x c n x n subject to a 11 x 1 + a 12 x a 1n x n ≤ b 1 a 21 x 1 + a 22 x a 2n x n ≤ b 2... a m1 x 1 + a m2 x a mn x n ≤ b m x 1, x 2,..., x n ≥ 0

Theorem: For every primal feasible solution x= (x 1, x 2,..., x n ) and for every dual feasible solution y= (y 1, y 2,..., y m ), c 1 x 1 + c 2 x c n x n ≤ b 1 y 1 + b 2 y b m y m That is, the objective function values for dual feasible solutions always give upper bounds on the objective function values for primal feasible solutions.

Proof: Because the constraints of the dual are (and x ≥ 0): a 11 y 1 + a 21 y a m1 y m ≥ c 1 a 12 y 1 + a 22 y a m2 y m ≥ c 2... a 1n y 1 + a 2n y a mn y m ≥ c n we have that S= (a 11 y 1 + a 21 y a m1 y m )x 1 + (a 12 y 1 + a 22 y a m2 y m )x (a 1n y 1 + a 2n y a mn y m ) x n ≥ c 1 x 1 + c 2 x c n x n

We have that S= (a 11 y 1 + a 21 y a m1 y m )x 1 + (a 12 y 1 + a 22 y a m2 y m )x (a 1n y 1 + a 2n y a mn y m ) x n ≥ c 1 x 1 + c 2 x c n x n Regroup the terms on the LHS so they are in terms of x i ’s instead of y j ’s: S= (a 11 x 1 + a 12 x a 1n x n )y 1 + (a 21 x 1 + a 22 x a 2n x n )y (a m1 x 1 + a m2 x a mn x n ) y m

S= (a 11 x 1 + a 12 x a 1n x n )y 1 + (a 21 x 1 + a 22 x a 2n x n )y (a m1 x 1 + a m2 x a mn x n ) y m From the primal problem: a 11 x 1 + a 12 x a 1n x n ≤ b 1 a 21 x 1 + a 22 x a 2n x n ≤ b 2... a m1 x 1 + a m2 x a mn x n ≤ b m Therefore since y ≥0, S ≤ b 1 y 1 + b 2 y b m y m

Summing it up, we have shown that c 1 x 1 + c 2 x c n x n ≤ S ≤ b 1 y 1 + b 2 y b m y m so by transitivity, this proves what we were trying to show: c 1 x 1 + c 2 x c n x n ≤ b 1 y 1 + b 2 y b m y m Important observation: it is critical for preserving the direction of the inequalities that the solutions x and y are feasible and hence non-negative.

A linear programming problem can have an optimal solution, or it can be infeasible or unbounded. Thought question: which combinations are possible?