D Nagesh Kumar, IIScOptimization Methods: M8L1 1 Advanced Topics in Optimization Piecewise Linear Approximation of a Nonlinear Function.

Slides:



Advertisements
Similar presentations
Chapter 6 Linear Programming: The Simplex Method
Advertisements

D Nagesh Kumar, IIScOptimization Methods: M4L1 1 Linear Programming Applications Software for Linear Programming.
D Nagesh Kumar, IIScOptimization Methods: M2L2 1 Optimization using Calculus Convexity and Concavity of Functions of One and Two Variables.
Thursday, April 25 Nonlinear Programming Theory Separable programming Handouts: Lecture Notes.
Chapter 6 Linear Programming: The Simplex Method
Linear Inequalities and Linear Programming Chapter 5
The Simplex Method: Standard Maximization Problems
5.4 Simplex method: maximization with problem constraints of the form
The Simplex Algorithm An Algorithm for solving Linear Programming Problems.
Copyright © Cengage Learning. All rights reserved. 10 Introduction to the Derivative.
1 Chapter 8: Linearization Methods for Constrained Problems Book Review Presented by Kartik Pandit July 23, 2010 ENGINEERING OPTIMIZATION Methods and Applications.
INTRODUCTORY MATHEMATICAL ANALYSIS For Business, Economics, and the Life and Social Sciences  2007 Pearson Education Asia Chapter 7 Linear Programming.
Problem Set # 4 Maximize f(x) = 3x1 + 2 x2 subject to x1 ≤ 4 x1 + 3 x2 ≤ 15 2x1 + x2 ≤ 10 Problem 1 Solve these problems using the simplex tableau. Maximize.
Advanced Topics in Optimization
D Nagesh Kumar, IIScOptimization Methods: M1L4 1 Introduction and Basic Concepts Classical and Advanced Techniques for Optimization.
Linear Programming Applications
Optimization using Calculus
D Nagesh Kumar, IIScOptimization Methods: M2L5 1 Optimization using Calculus Kuhn-Tucker Conditions.
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
D Nagesh Kumar, IIScOptimization Methods: M3L1 1 Linear Programming Preliminaries.
Introduction and Basic Concepts
D Nagesh Kumar, IIScOptimization Methods: M3L4 1 Linear Programming Simplex method - II.
Linear Programming Applications
D Nagesh Kumar, IIScOptimization Methods: M5L4 1 Dynamic Programming Other Topics.
D Nagesh Kumar, IIScOptimization Methods: M3L6 1 Linear Programming Other Algorithms.
D Nagesh Kumar, IIScOptimization Methods: M2L3 1 Optimization using Calculus Optimization of Functions of Multiple Variables: Unconstrained Optimization.
1 OR II GSLM Outline  separable programming  quadratic programming.
Learning Objectives for Section 6.2
Math 3120 Differential Equations with Boundary Value Problems Chapter 2: First-Order Differential Equations Section 2-6: A Numerical Method.
D Nagesh Kumar, IIScOptimization Methods: M1L3 1 Introduction and Basic Concepts (iii) Classification of Optimization Problems.
8. Linear Programming (Simplex Method) Objectives: 1.Simplex Method- Standard Maximum problem 2. (i) Greedy Rule (ii) Ratio Test (iii) Pivot Operation.
Part 4 Nonlinear Programming 4.3 Successive Linear Programming.
Pareto Linear Programming The Problem: P-opt Cx s.t Ax ≤ b x ≥ 0 where C is a kxn matrix so that Cx = (c (1) x, c (2) x,..., c (k) x) where c.
4 - 1 Kinematics of Particles Kinematics is the study of motion without reference to the force which produced the motion. First, we will study the kinematics.
D Nagesh Kumar, IIScOptimization Methods: M5L2 1 Dynamic Programming Recursive Equations.
Section 2.8 The Derivative as a Function Goals Goals View the derivative f ´(x) as a function of x View the derivative f ´(x) as a function of x Study.
D Nagesh Kumar, IIScOptimization Methods: M3L2 1 Linear Programming Graphical method.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
Mechanical Engineering Department 1 سورة النحل (78)
1 Simplex Method for Bounded Variables Linear programming problems with lower and upper bounds Generalizing simplex algorithm for bounded variables Reference:
D Nagesh Kumar, IIScOptimization Methods: M2L4 1 Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints.
D Nagesh Kumar, IIScOptimization Methods: M4L4 1 Linear Programming Applications Structural & Water Resources Problems.
D Nagesh Kumar, IIScOptimization Methods: M7L2 1 Integer Programming Mixed Integer Linear Programming.
University of Colorado at Boulder Yicheng Wang, Phone: , Optimization Techniques for Civil and Environmental Engineering.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
(iii) Lagrange Multipliers and Kuhn-tucker Conditions D Nagesh Kumar, IISc Introduction to Optimization Water Resources Systems Planning and Management:
Linear Programming and Applications
Water Resources System Modeling
Stochastic Optimization
In Chapters 6 and 8, we will see how to use the integral to solve problems concerning:  Volumes  Lengths of curves  Population predictions  Cardiac.
D Nagesh Kumar, IIScOptimization Methods: M5L1 1 Dynamic Programming Introduction.
Introduction to Optimization
D Nagesh Kumar, IIScOptimization Methods: M8L5 1 Advanced Topics in Optimization Evolutionary Algorithms for Optimization and Search.
(i) Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M3L1 Linear Programming and Applications.
Stochastic Processes and Transition Probabilities D Nagesh Kumar, IISc Water Resources Planning and Management: M6L5 Stochastic Optimization.
D Nagesh Kumar, IIScOptimization Methods: M6L1 1 Dynamic Programming Applications Design of Continuous Beam.
Introduction and Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M4L1 Dynamic Programming and Applications.
(iii) Simplex method - I D Nagesh Kumar, IISc Water Resources Planning and Management: M3L3 Linear Programming and Applications.
Part 4 Nonlinear Programming 4.3 Successive Linear Programming.
Introduction Functions have many characteristics, such as domain, range, asymptotes, zeros, and intercepts. These functions can be compared even when given.
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Stat 261 Two phase method.
Linear Programming Revised Simplex Method, Duality of LP problems and Sensitivity analysis D Nagesh Kumar, IISc Optimization Methods: M3L5.
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Well, just how many basic
Warm-up: Solve the inequality and graph the solution set. x3 + 2x2 – 9x  18 HW: pg (4, 5, 7, 9, 11, 30, 34, 46, 52, 68, 80, 81, 82, 84, 86, 88)
The Simplex Method The geometric method of solving linear programming problems presented before. The graphical method is useful only for problems involving.
Dynamic Programming and Applications
Second Fundamental Theorem of Calculus Day 2
Part 4 Nonlinear Programming
Presentation transcript:

D Nagesh Kumar, IIScOptimization Methods: M8L1 1 Advanced Topics in Optimization Piecewise Linear Approximation of a Nonlinear Function

D Nagesh Kumar, IIScOptimization Methods: M8L1 2 Introduction and Objectives Introduction  There exists no general algorithm for nonlinear programming due to its irregular behavior  Nonlinear problems can be solved by first representing the nonlinear function (both objective function and constraints) by a set of linear functions and then apply simplex method to solve this using some restrictions Objectives  To discuss the various methods to approximate a nonlinear function using linear functions  To demonstrate this using a numerical example

D Nagesh Kumar, IIScOptimization Methods: M8L1 3 Piecewise Linearization  A nonlinear single variable function f(x) can be approximated by a piecewise linear function  Geometrically, f(x) can be shown as a curve being represented as a set of connected line segments

D Nagesh Kumar, IIScOptimization Methods: M8L1 4 Piecewise Linearization: Method 1  Consider an optimization function having only one nonlinear term f(x)  Let the x-axis of the nonlinear function f(x) be divided by ‘p’ breaking points t 1, t 2, t 2, …, t p  Corresponding function values be f(t 1 ), f(t 2 ),…, f(t p )  If ‘x’ can take values in the interval, then the breaking points can be shown as

D Nagesh Kumar, IIScOptimization Methods: M8L1 5 Piecewise Linearization: Method 1 …contd.  Express ‘x’ as a weighted average of these breaking points  Function f(x) can be expressed as where

D Nagesh Kumar, IIScOptimization Methods: M8L1 6 Piecewise Linearization: Method 1 …contd.  Finally the model can be expressed as subject to the additional constraints

D Nagesh Kumar, IIScOptimization Methods: M8L1 7 Piecewise Linearization: Method 1 …contd.  This linearly approximated model can be solved using simplex method with some restrictions  Restricted condition:  There should not be more than two ‘w i ’ in the basis and  Two ‘w i ’ can take positive values only if they are adjacent. i.e., if ‘x’ takes the value between t i and t i+1, then only w i and w i+1 (contributing weights to the value of ‘x’) will be positive, rest all weights be zero  In general, for an objective function consisting of ‘n’ variables (‘n’ terms) represented as

D Nagesh Kumar, IIScOptimization Methods: M8L1 8 Piecewise Linearization: Method 1 …contd.  subjected to ‘m’ constraints  The linear approximation of this problem is

D Nagesh Kumar, IIScOptimization Methods: M8L1 9 Piecewise Linearization: Method 2  ‘x’ is expressed as a sum, instead of expressing as the weighted sum of the breaking points as in the previous method where u i is the increment of the variable ‘x’ in the interval i.e., the bound of u i is  The function f(x) can be expressed as  where represents the slope of the linear approximation between the points and

D Nagesh Kumar, IIScOptimization Methods: M8L1 10 Piecewise Linearization: Method 2 …contd.  Finally the model can be expressed as subjected to additional constraints

D Nagesh Kumar, IIScOptimization Methods: M8L1 11 Piecewise Linearization: Numerical Example  The example below illustrates the application of method 1  Consider the objective function  subject to  The problem is already in separable form (i.e., each term consists of only one variable).

D Nagesh Kumar, IIScOptimization Methods: M8L1 12 Piecewise Linearization: Numerical Example …contd.  Split up the objective function and constraint into two parts where  and are treated as linear variables as they are in linear form

D Nagesh Kumar, IIScOptimization Methods: M8L1 13 Piecewise Linearization: Numerical Example …contd.  Consider five breaking points for x 1  can be written as,

D Nagesh Kumar, IIScOptimization Methods: M8L1 14 Piecewise Linearization: Numerical Example …contd.  can be written as,  Thus, the linear approximation of the above problem becomes subject to

D Nagesh Kumar, IIScOptimization Methods: M8L1 15 Piecewise Linearization: Numerical Example …contd.  This can be solved using simplex method in a restricted basis condition  The simplex tableau is shown below

D Nagesh Kumar, IIScOptimization Methods: M8L1 16 Piecewise Linearization: Numerical Example …contd.  From the table, it is clear that should be the entering variable  should be the exiting variable  But according to restricted basis condition and cannot occur together in basis as they are not adjacent  Therefore, consider the next best entering variable  This also is not possible, since should be exited and and cannot occur together  The next best variable, it is clear that should be the exiting variable

D Nagesh Kumar, IIScOptimization Methods: M8L1 17 Piecewise Linearization: Numerical Example …contd.  The entering variable is. Then the variable to be exited is and this is not acceptable since is not an adjacent point to  Next variable can be admitted by dropping.  The simplex tableau is shown below

D Nagesh Kumar, IIScOptimization Methods: M8L1 18 Piecewise Linearization: Numerical Example …contd.  Now, cannot be admitted since cannot be dropped  Similarly and cannot be entered as cannot be dropped  The simplex tableau is shown below

D Nagesh Kumar, IIScOptimization Methods: M8L1 19 Piecewise Linearization: Numerical Example …contd.  Since there is no more variable to be entered, the process ends  Therefore, the best solution is  Now,  The optimum value is  This may be an approximate solution to the original nonlinear problem  However, the solution can be improved by taking finer breaking points

D Nagesh Kumar, IIScOptimization Methods: M8L1 20 Thank You