Agenda Duality (quickly) Piecewise linearity Start chapter 4.

Slides:



Advertisements
Similar presentations
Bellringer.
Advertisements

Chapter 6: Section 4 Point-Slope Form.
BINARY/MIXED-INTEGER PROGRAMMING ( A SPECIAL TYPE OF INTEGER PROGRAMMING)
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 Equations Review. Find the slope and y intercept: y + x = -1.
Lecture 8 – Nonlinear Programming Models Topics General formulations Local vs. global solutions Solution characteristics Convexity and convex programming.
Nonlinear Programming
So far all our functions were linear. In many situations, it might not be the case. Example: Production cost. – c 1 = $11/unit for first 5 items – c 2.
Duality Dual problem Duality Theorem Complementary Slackness
Agenda Duality Geometric Picture Piecewise linear functions.
ECE LP Duality 1 ECE 665 Spring 2005 ECE 665 Spring 2005 Computer Algorithms with Applications to VLSI CAD Linear Programming Duality.
Previously in IEMS 310… Notation of optimization problems Linear Programs Sensitivity Analysis Duality Piecewise linear functions Assignment Problems.
1 OR II GSLM Outline  separable programming  quadratic programming.
2-4: Writing Linear Equations Using Slope Intercept Form.
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
AP/Honors Calculus Chapter 4 Applications of Derivatives Chapter 4 Applications of Derivatives.
Objective Write equations in slope-intercept form. Identify slope and y-intercept from an equation. 3.2 Slope-Intercept Form of a Linear Equation.
Bellwork: Graph each line: 1. 3x – y = 6 2. Y = -1/2 x + 3 Y = -2
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
Chapter 1. Formulations 1. Integer Programming  Mixed Integer Optimization Problem (or (Linear) Mixed Integer Program, MIP) min c’x + d’y Ax +
Distance, Slope, & Linear Equations. Distance Formula.
Linear Programming Optimal Solutions and Models Without Unique Optimal Solutions.
Lesson 4.7 Topic/ Objective: To evaluate and graph piecewise and step functions. EQ: How can you describe a function represented by more than one equation.
Review for E&CE Find the minimal cost spanning tree for the graph below (where Values on edges represent the costs). 3 Ans. 18.
Chapter 16B.5 Graphing Derivatives The derivative is the slope of the original function. The derivative is defined at the end points of a function on.
1 Geometrical solution of Linear Programming Model.
Chapter 5 Notes Writing Linear Equations. 5.1 Writing Linear Equations in Slope – Intercept Form Objective - Use the slope – intercept form to write an.
Unit 2 Review. What does the graph tell you???? What is the Domain What is the range What is the y intercept What are the relative max and mins, absolute.
4-3 Point-Slope Form Goal:
Piecewise Functions At least 2 equations, each of which applies to a different part of the functions domain. It is like having 3 equations for 3 different.
Chapter 7 Functions and Graphs.
College Algebra Chapter 2 Functions and Graphs
2.4 Library of Functions, Piecewise-Defined Functions
2.4 Library of Functions, Piecewise-Defined Functions
Chapter 2 Section 2 Part II
Chapter 5. Sensitivity Analysis
Concavity and Second Derivative Test
Geometry Agenda 1. ENTRANCE 2. Go over Practice
The Slope-Intercept Form of a Linear Equation
Piecewise Functions At least 2 equations, each of which applies to a different part of the functions domain. It is like having 3 equations for 3 different.
Writing Linear Equations Using Two Points
Section 1.1 Functions and Change
Second Derivatives, Inflection Points and Concavity
Warm Up.
For each table, decide if y’is positive or negative and if y’’ is positive or negative
4.3 1st & 2nd Derivative Tests
Graphing and Evaluating The Piecewise Function A Series of Examples
Basic Concepts of Optimization
Topic/ Objective: To evaluate and graph piecewise and step functions.
2.1 Relations and Functions
Chapter Three Aggregate Planning. Chapter Three Aggregate Planning.
Homework Analyzing Graphs
2-4: Writing Linear Equations Using Slope Intercept Form
For each table, decide if y’is positive or negative and if y’’ is positive or negative
Graphing Linear Equations
Chapter 3 Graphs and Functions.
Piecewise-Defined Function
(3, 2) 2 -3 (-4, -3) -2 (5, -2) 1. a) Find: f(3) = ______
Gradient/Concavity 2.5 Geometrical Application of Calculus
2.4 Library of Functions, Piecewise-Defined Functions
Characteristics.
Section 4 – Writing Linear Equations
5 Minute Check 1-4 Graph the equation : 2x + y – 4 = 0
Characteristics.
Chapter 3 Graphs and Functions.
Sec 4.3: HOW DERIVATIVES AFFECT THE SHAPE OF A GRAPH
Writing Linear Equations
Introduction to Functions & Function Notation
Chapter 4 Review.
Let’s Review Functions
Presentation transcript:

Agenda Duality (quickly) Piecewise linearity Start chapter 4

Duality y1:y1: y2:y2: min y y 1 ≥ 0 y 2 ≤ 0 7 y y 2 x 1 : 6 y y 2 ≥2 x 2 : -1 y 2 = 4 x 3 : 2 y 1 ≤ -1.5

Piecewise Linear Functions min x c 1 (x 1 ) + c 2 x 2 s.t.x 1 +x 2 >= d x >= 0 Idea: z = c 1 (x 1 ) min x,z z + c 2 x 2 s.t.x 1 +x 2 >= d x >= 0 z >= s 1 x 1 z >= s 2 x 1 + t c 1 (x 1 ) slope s 1 slope s 2 intercept t

Among the Constraints min x c T x s.t.Ax <= b f(x 1 )+3x 2 <= 7 x >= 0 f(x 1 ) piecewise linear introduce z replace f(x 1 )+3x 2 <= 7 by z+3x 2 <= 7 z >= s 1 x 1 z >= s 2 x 1 + t

Alternative Formulation Idea: x 1 =z 1 +z 2, c 1 (x 1 )=s 1 z 1 + s 2 z 2 min x,z s 1 z 1 + s 2 z 2 + c 2 x 2 s.t.x 1 +x 2 >= d x >= 0 x 1 =z 1 +z 2 z >= 0 z 1 <= 5 c 1 (x 1 ) 5 slope s 1 slope s 2

Nonconvex Case These approaches work if –min problem or ≤ constraint and –function convex: slopes increasing –opposite for max problem or ≥ constraint want function concave: slopes decreasing Otherwise: need binary variables…

f 1, f 2, f 3 binary 0/1 variables Idea: f i =1 if y in piece i f 1 +f 2 +f 3 =1 y=z 1 +z 2 +z 3 the contribution from the different pieces 0≤z 1 ≤4f 1, 0≤z 2 ≤3f 2, 0≤z 3 ≤3f 3 c(y) = z 1 *(slope1) +z 2 *(slope2)+2f 2 +z 3 *(slope3)+8f 3 Nonconvex Case (p204) c 1 (y)

Chapter 4: Assignment Problem