Nonlinear Programming

Slides:



Advertisements
Similar presentations
3.4 Linear Programming 10/31/2008. Optimization: finding the solution that is either a minimum or maximum.
Advertisements

Math in Our Environment Created by:. List your location here Discuss the location and what math concepts are going to be in the problem.
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Linear Programming Graphical Solution Procedure. Two Variable Linear Programs When a linear programming model consists of only two variables, a graphical.
Fig. 4-1, p Fig. 4-2, p. 109 Fig. 4-3, p. 110.
1 Chapter 11 Here we see cases where the basic LP model can not be used.
Linear Programming – Simplex Method
Project Maths - Teaching and Learning Relative Frequency % Bar Chart to Relative Frequency Bar Chart What is the median height.
Nonlinear Programming
Mental Math
P.464. Table 13-1, p.465 Fig. 13-1, p.466 Fig. 13-2, p.467.
Fig. 11-1, p p. 360 Fig. 11-2, p. 361 Fig. 11-3, p. 361.
Table 6-1, p Fig. 6-1, p. 162 p. 163 Fig. 6-2, p. 164.
Linear Programming Special Cases Alternate Optimal Solutions No Feasible Solution Unbounded Solutions.
Branch and Bound Algorithm for Solving Integer Linear Programming
Asset Classes 3.00% 4.00% 5.00% 6.00% 7.00% 8.00% 9.00% 10.00% 0.00%5.00%10.00%15.00%20.00%25.00%30.00% Expected Risk (standard deviation) Private Equity.
Math Minutes 1/20/ Write the equation of the line.
Figure 1.1 The observer in the truck sees the ball move in a vertical path when thrown upward. (b) The Earth observer views the path of the ball as a parabola.
2006 Fall MATH 100 Lecture 81 MATH 100 Lecture 25 Final review Class 25 Final review 1.Function of two or more variables.
Mental Math
MENTAL MATH General Review = 60 – 10 = =
Graphical Solutions Plot all constraints including nonnegativity ones
(Not in text).  An LP with additional constraints requiring that all the variables be integers is called an all-integer linear program (IP).  The LP.
Linear Programming Operations Research – Engineering and Math Management Sciences – Business Goals for this section  Modeling situations in a linear environment.
Integer programming Branch & bound algorithm ( B&B )
3.4 Linear Programming p Optimization - Finding the minimum or maximum value of some quantity. Linear programming is a form of optimization where.
Business Mathematics Rétallér Orsi.
Linear Programming – Simplex Method
Linear Programming Chap 2. The Geometry of LP.
Monday WARM-UP: TrueFalseStatementCorrected Statement F 1. Constraints are conditions written as a system of equations Constraints are conditions written.
& 6.855J & ESD.78J Algorithm Visualization The Ford-Fulkerson Augmenting Path Algorithm for the Maximum Flow Problem.
3.4 – Linear Programming. Ex. 1 Graph the system of inequalities. Name the coordinates of the vertices of the feasible region. Find the max & min values.
Integer LP In-class Prob
Review Homework Page Rocket City Math League There are five levels of three rounds of individual testing that range from Pre-Algebra to Calculus,
1 Beginning & Intermediate Algebra – Math 103 Math, Statistics & Physics.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
Integer Programming, Branch & Bound Method
4th Grade Common Core Math Practice and Solutions for 4th Grade Common Core Math Standard 4.NF.7 Multiple Choice Set #1 without Answers Multiple Choice.
Addition Math Facts = 9. Addition Math Facts = 1 5.
Instructional Design Document Simplex Method - Optimization STAM Interactive Solutions.
1. What does a need to be if there were infinitely many solutions to the system of equations. y + 2x = 12 2y + 4x = 2a.
1 1 Slide Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an.
1st Grade Common Core Math
Math TLC (Math 010 and Math 110) Work To Show On Gateway Problems
Math Facts.
Consider corner pt. feasible A, B, C, D, E, F A: (0,0), Z = 0
BACK SOLUTION:
Significant Figure Review
3-3 Optimization with Linear Programming
Linear Programming.
3.4 – Linear Programming.
If we increase b2 from 10 to 20 will the optimal basis change?
optimal basis will not change
ENGM 435/535 Optimization Adapting to Non-standard forms.
Graphical Solution Procedure
Max Z = x1 + x2 2 x1 + 3 x2  6 (1) x2  1.5 (2) x1 - x2  2 (3)
7.5 – Constrained Optimization: The Method of Lagrange Multipliers
Addition Math Facts (Facts to 10, 15, & 20)
optimal basis will not change
Linear Programming Problem
LINEARPROGRAMMING 4/26/2019 9:23 AM 4/26/2019 9:23 AM 1.
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
MATH TALK Power of 0 and 1.
MATH TALK POWER EXTREMES.
MATH TALK POWER NUMBER 64 Set 1.
MATH TALK POWER NUMBER 27.
MATH TALK POWER NUMBER 36.
MATH TALK POWER NUMBER 25.
MATH TALK POWER NUMBER 64 Set 2.
MATH TALK POWER NUMBER 16.
Presentation transcript:

Nonlinear Programming Consider the following math program: Max Z = K*L st 4K + L <= 8 K,L >= 0 place Winston Fig 2 here Where does the optimal solution fall within the feasible region?

Nonlinear Programming Consider the following math program: Max Z = f(x) st 0 <= x <= 1 where f(x) is pictured at right. place Winston Fig 3 here Where does the optimal solution fall within the feasible region?

Nonlinear Programming Consider the following math program: Max Z = f(x) st 0 <= x <= 10 where f(x) is pictured at right. place Winston Fig 4 here Note there are three local optima, but only one optimal solution at point C.

Nonlinear Programming Formulate the following problem as an NLP. Truckco is trying to determine where they should locate a single warehouse. The positions in the x-y plane (in miles) of their four customers and the number of shipments made annually to each customer is given below. Locate the warehouse to minimze the total distance trucks must travel annually from the ware house to the four customers. Customer X Coord. Y Coord. Number of Shipments 1 5 10 200 2 10 5 150 3 0 12 200 4 12 0 300

Nonlinear Programming Truckco formulation: Let X,Y be the coordinates of the warehouse. Min Z = 200 * D1 + 150 * D2 + 200 * D3 + 300 * D4 s.t. D1 = ( ( X- 5)2 + (Y-10 )2 ) .5 D2 = ( ( X- 10)2 + (Y-5 )2 ) .5 D3 = ( ( X- 0)2 + (Y-12 )2 ) .5 D4 = ( ( X- 12)2 + (Y-0 )2 ) .5 D1, D2, D3, D4, X, Y >= 0

Nonlinear Programming One-Variable Unconstrained Example: Max Z = f(x) s.t. nothing Or Max Z = 10 + 3x - (2x2 + x4) First determine if the concave (or convex for Min problem). f(x) is concave if the second derivative is <= 0 for all values of x. f’(x) = 3 – 4x – 4x3 f’’(x) = – 4 – 12x2 Where does optimum occur? 3 – 4x – 4x3 = 0

Nonlinear Programming One-Variable Unconstrained An approximate graph of x and Z is as follows: Z = 10 + 3x - (2x2 + x4) Z x

Nonlinear Programming One-Variable Unconstrained How do you solve for x? 3 – 4x – 4x3 = 0

Nonlinear Programming Multi-Variable Unconstrained Example: Max Z = f(x) s.t. nothing Or Max Z = 2x1x2 + 2x2 – x12 – 2x22 For a concave function (convex when minimizing), use an approach whereby you move in a direction of steepest ascent. In other words, if f(x) is the surface area of a 3 dimensional graph then move in a direction that has the steepest angle. Move as far in the steepest direction until you are no longer ascending. Then re-evaluate the steepest ascent at that point. This procedure is called the gradient search procedure.

Nonlinear Programming Multi-Variable Unconstrained Gradient Search procedure: Initialization: select some initial point x’, and some e. Go to the stopping rule. Set xj = x’j + t(df / dxj)x=x’ for all values of j then substitute these expressions into the expression f(x). This expression of f(x) is in terms of t. Find the value of t* that maximizes f(x) over t >= 0. ReSet x’ = x’ + t* (df / dxj)x=x’ . Go to stopping rule. Stopping rule: evaluate if | (df / dxj)x=x’ | <= e for each j. If so, stop. Else, go to step 1.

Nonlinear Programming Multi-Variable Unconstrained Example Gradient Search procedure: Z = 2x1x2 + 2x2 – x12 – 2x22 df / dx1 = 2x2 – 2x1 df / dx2 = 2x1 + 2 – 4x2 Initialization: set x’1, x’2 = 0. Set x1 = x’1 + t(df / dx1) = 0 + t(2*0 – 2*0) = 0. Set x2 = x’2 + t(df / dx2) = 0 + t(2*0 + 2 – 4*0) = 2t. f(x1 , x2) = 2*0* 2t +2*2t – 0*0 – 2*2t*2t = 4t – 8t2. f’(x1 , x2) = 4 – 16t. Let 4 – 16t = 0 then t* = ¼. ReSet x’1 = x’1 + t*(df / dx1) = 0 + ¼(2*0 – 2*0) = 0. x’2 = x’2 + t*(df / dx2) = 0 + ¼(2*0 + 2 – 4*0) = ½. Stopping rule: df / dx1 = 1, df / dx2 = 0.

Nonlinear Programming Multi-Variable Unconstrained Example Gradient Search procedure: Z = 2x1x2 + 2x2 – x12 – 2x22 df / dx1 = 2x2 – 2x1 df / dx2 = 2x1 + 2 – 4x2 Iteration 2: x’1 = 0 x’2 = ½ . Set x = (0,1/2) + t(1,0) = (t,1/2). f(t,1/2) = 2*t* 1/2 +2*1/2 – t*t – 2*1/2*1/2 = t – t2 + ½. f’(t,1/2) = 1 - 2t. Let 1 – 2t = 0 then t* = ½ . ReSet x’ = (0,1/2) + ½ (1,0) = (½, ½). Stopping rule: df / dx1 = 0, df / dx2 = 1.

Nonlinear Programming Multi-Variable Unconstrained Example Gradient Search procedure: Z = 2x1x2 + 2x2 – x12 – 2x22 This iterative process continues until the values of the gradient are <= some e.

Nonlinear Programming Multi-Variable Constrained Category - Convex Programming Example: Max Z = 5x1 + 8x2 – x12 – 2x22 { Non-linear} s.t. 3x1 + 2x2 <= 6 { Convex feasible region} x1 , x2 >= 0