Airport Planning and Design. Excel Solver



Similar documents
Solving Linear Programs in Excel

Solving Linear Programs using Microsoft EXCEL Solver

Introduction to Linear Programming (LP) Mathematical Programming (MP) Concept

Using EXCEL Solver October, 2000

Linear Programming. Solving LP Models Using MS Excel, 18

3.1 Solving Systems Using Tables and Graphs

Using Excel s Solver

USING EXCEL 2010 TO SOLVE LINEAR PROGRAMMING PROBLEMS MTH 125 Chapter 4

Linear Programming Notes V Problem Transformations

Optimal Scheduling for Dependent Details Processing Using MS Excel Solver

ENGG1811 Computing for Engineers. Data Analysis using Excel (weeks 2 and 3)

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

A simplified implementation of the least squares solution for pairwise comparisons matrices

Linear Programming Supplement E

3.2. Solving quadratic equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

Chapter 6. Linear Programming: The Simplex Method. Introduction to the Big M Method. Section 4 Maximization and Minimization with Problem Constraints

Linear Programming Problems

Linear Programming. Widget Factory Example. Linear Programming: Standard Form. Widget Factory Example: Continued.

EQUATIONS and INEQUALITIES

Outline. Generalize Simple Example

IEOR 4404 Homework #2 Intro OR: Deterministic Models February 14, 2011 Prof. Jay Sethuraman Page 1 of 5. Homework #2

Sensitivity Analysis with Excel

Images of Microsoft Excel dialog boxes Microsoft. All rights reserved. This content is excluded from our Creative Commons license.

Logistic Regression. Jia Li. Department of Statistics The Pennsylvania State University. Logistic Regression

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

USING EXCEL SOLVER IN OPTIMIZATION PROBLEMS

Math 132. Population Growth: the World

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data

Comparison of Pavement Network Management Tools based on Linear and Non-Linear Optimization Methods

EXCEL SOLVER TUTORIAL

2013 MBA Jump Start Program

A Branch and Bound Algorithm for Solving the Binary Bi-level Linear Programming Problem

Linear Programming. March 14, 2014

Curve Fitting in Microsoft Excel By William Lee

Issues in Information Systems Volume 14, Issue 2, pp , 2013

Graphing Parabolas With Microsoft Excel

E x c e l : Data Analysis Tools Student Manual

CS 221. Tuesday 8 November 2011

4.6 Linear Programming duality

A step-by-step guide to non-linear regression analysis of experimental data using a Microsoft Excel spreadsheet

Least-Squares Intersection of Lines

Tutorial: Using Excel for Linear Optimization Problems

1 Introduction. Linear Programming. Questions. A general optimization problem is of the form: choose x to. max f(x) subject to x S. where.

Using the Solver add-in in MS Excel 2007

QUADRATIC EQUATIONS EXPECTED BACKGROUND KNOWLEDGE

Lecture 2: August 29. Linear Programming (part I)

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

LECTURE 5: DUALITY AND SENSITIVITY ANALYSIS. 1. Dual linear program 2. Duality theory 3. Sensitivity analysis 4. Dual simplex method

Univariate Regression

Branch-and-Price Approach to the Vehicle Routing Problem with Time Windows

Zeros of Polynomial Functions

Plot and Solve Equations

Linear Threshold Units

The Method of Least Squares. Lectures INF2320 p. 1/80

Nonlinear Optimization: Algorithms 3: Interior-point methods

Unit 1. Today I am going to discuss about Transportation problem. First question that comes in our mind is what is a transportation problem?

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

Solving Systems of Equations Using Mathcad Charles Nippert Solving A System of Equations By Symbolically Figure 1 After Step 1

Indiana State Core Curriculum Standards updated 2009 Algebra I

Polynomial Neural Network Discovery Client User Guide

Linear Programming II: Minimization 2006 Samuel L. Baker Assignment 11 is on page 16.

Roots of Equations (Chapters 5 and 6)

POLYNOMIAL FUNCTIONS

This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.

LECTURE: INTRO TO LINEAR PROGRAMMING AND THE SIMPLEX METHOD, KEVIN ROSS MARCH 31, 2005

Module1. x y 800.

Optimization Modeling for Mining Engineers

Introduction to Matrix Algebra

1 Solving LPs: The Simplex Algorithm of George Dantzig

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

Using Microsoft Excel to Plot and Analyze Kinetic Data

Math 115 Spring 2011 Written Homework 5 Solutions

Zeros of a Polynomial Function

Numerical methods for American options

Grade Level Year Total Points Core Points % At Standard %

Mathematical finance and linear programming (optimization)

Zero: If P is a polynomial and if c is a number such that P (c) = 0 then c is a zero of P.

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Georgia Standards of Excellence Curriculum Map. Mathematics. GSE 8 th Grade

The KaleidaGraph Guide to Curve Fitting

Linear Programming Sensitivity Analysis

Question 2: How will changes in the objective function s coefficients change the optimal solution?

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

GENERALIZED INTEGER PROGRAMMING

Core Maths C1. Revision Notes

Discrete Optimization

Answer Key for California State Standards: Algebra I

MAT 274 HW 2 Solutions c Bin Cheng. Due 11:59pm, W 9/07, Points

Assessment Schedule 2013

5. Linear Regression

Using Analysis Tools: Goal Seek, Solver, and Data Tables

Lecture 3: Linear methods for classification

Nonlinear Programming Methods.S2 Quadratic Programming

Spreadsheets have become the principal software application for teaching decision models in most business

Sensitivity Report in Excel

Inner Product Spaces

Quick Tour of Mathcad and Examples

Transcription:

Airport Planning and Design Excel Solver Dr. Antonio A. Trani Professor of Civil and Environmental Engineering Virginia Polytechnic Institute and State University Blacksburg, Virginia Spring 2012 1 of 47

Demand Function Example Given data representing demand at an airport (D(t)) we would like to derive the best nonlinear model to fit the data to a model of the form: Dt () = k a bt Gompertz Model Dt) ( = k --------------------------- 1 + b e at Logistic Model 2 of 47

Data Given: data pairs for time and Demand (D(t)) Find: the best nonlinear regression equation that correlates with the data pairs (t, D(t)) Data File: airport2.xls 3 of 47

Data Set Plot 8000000 7000000 6000000 5000000 4000000 Series1 3000000 2000000 1000000 0 1970 1975 1980 1985 1990 1995 2000 2005 4 of 47

Setup of Solver Procedure The idea is to minimize the Sum of Square Errors of the data and an assumed regressions equation Create a column with values of the assumed regression equation Leave parameters of the model as cells in the spreadsheet (Excel will iterate among any number of parameters) Minimize the Sum of the Square Errors (SSE) of the data You are done! 5 of 47

Setup of Solver 6 of 47

Setup of Solver Cells to Iterate Cell to Minimize 7 of 47

Solution Set and Original Data 8000000 7000000 6000000 5000000 4000000 Series1 Series2 3000000 2000000 1000000 0 1970 1975 1980 1985 1990 1995 2000 2005 8 of 47

Linear Programming Problems General Formulation Maximize n j = 1 c j x j n subject to: a x ij j b i for i = 12,,, m j = 1 x j 0 for j = 12,,, n 9 of 47

Linear Programming n c x j j j = 1 Objective Function (OF) n a x ij j j = 1 b i Functional Constraints (m of them) x j 0 Nonnegativity Conditions (n of these) x j c j are decision variables to be optimized (min or max) are costs associated with each decision variable 10 of 47

Linear Programming a ij b i are the coefficients of the functional constraints are the amounts of the resources available (RHS) 11 of 47

LP Example (Construction) During the construction of an off-shore airport in Japan the main contractor used two types of cargo barges to transport materials from a fill collection site to the artificial island built to accommodate the airport. The types of cargo vessels have different cargo capacities and crew member requirements as shown in the table: Vessel Type Capacity (mton) Crew required Number available Fuji 300 3 40 Haneda 500 2 60 12 of 47

Osaka Bay Model According to company records there are 180 crew members in the payroll and all crew members are trained to either manage the Haneda or Fuji vessels. Kansai Airport Bridge Osaka 13 of 47

Osaka Bay Model Mathematical Formulation Maximize subject to: Z = 300x 1 + 500x 2 3x 1 + 2x 2 180 x 1 40 x 2 60 and x 1 0 x 2 0 Note: let x 1 and x 2 be the no. Fuji and Haneda vessels 14 of 47

Osaka Bay Problem (Graphical Solution) x 2 (20,60) 60 50 Corner Points 40 30 20 10 Feasible Region (40,30) 3x 1 + 2x 2 = 180 10 20 30 40 50 10 60 x 1 15 of 47

Osaka Bay Problem (Graphical Solution) x 2 (20,60) 60 50 Corner Points 40 30 20 10 (40,30) 10 20 30 40 50 60 z = 36,000 z = 30,000 z = 27,000 x 1 Note: Optimal Solution (x 1, x 2 ) = (20,60) vessels 16 of 47

Solution Using Excel Solver Solver is a Generalized Reduced Gradient (GRG2) nonlinear optimization code Developed by Leon Lasdon (UT Austin) and Allan Waren (Cleveland State University) Optimization in Excel uses the Solver add-in. Solver allows for one function to be minimized, maximized, or set equal to a specific value. Convergence criteria (convergence), integer constraint criteria (tolerance), and are accessible through the OPTIONS button. 17 of 47

Excel Solver Excel can solve simultaneous linear equations using matrix functions Excel can solve one nonlinear equation using Goal Seek or Solver Excel does not have direct capabilities of solving n multiple nonlinear equations in n unknowns, but sometimes the problem can be rearranged as a minimization function 18 of 47

Osaka Bay Problem in Excel Optimization Problem for Osaka Bay Decision Variables x1 20 Number of Ships Type 1 x2 60 Number of Ships Type 2 Objective Function 300 x1 + 500 x2 36000 Objective function Stuff to be solved Constraint Equations Formula 3 x1 + 2 x2 <= 180 180 <= 180 x1 <= 40 20 <= 40 x2 <= 60 60 <= 60 x1 >= 0 20 >= 0 x2 >= 0 60 >= 0 19 of 47

Osaka Bay Problem in Excel Optimization Problem for Osaka Bay Decision Variables x1 20 Number of Ships Type 1 x2 60 Number of Ships Type 2 Objective Function 300 x1 + 500 x2 36000 Decision variables (what your control) Constraint Equations Formula 3 x1 + 2 x2 <= 180 180 <= 180 x1 <= 40 20 <= 40 x2 <= 60 60 <= 60 x1 >= 0 20 >= 0 x2 >= 0 60 >= 0 20 of 47

Osaka Bay Problem in Excel Optimization Problem for Osaka Bay Decision Variables x1 20 Number of Ships Type 1 x2 60 Number of Ships Type 2 Objective Function 300 x1 + 500 x2 36000 Constraint equations (limits to the problem) Constraint Equations Formula 3 x1 + 2 x2 <= 180 180 <= 180 x1 <= 40 20 <= 40 x2 <= 60 60 <= 60 x1 >= 0 20 >= 0 x2 >= 0 60 >= 0 21 of 47

Solver Panel in Excel 22 of 47

Solver Panel in Excel 23 of 47

Solver Panel in Excel Objective function 24 of 47

Solver Panel in Excel Operation to execute 25 of 47

Solver Panel in Excel Decision variables 26 of 47

Solver Panel in Excel Constraint equations 27 of 47

Solver Options Panel Excel 28 of 47

Excel Solver Limits Report Provides information about the limits of decision variables 29 of 47

Excel Solver Sensitivity Report Provides information about shadow prices of decision variables 30 of 47

Unconstrained Optimization Problems Common in engineering applications Can be solved using Excel solver as well The idea is to write an equation (linear or nonlinear) and then use solver to iterate the variable (or variables) to solve the problem 31 of 47

Simple One Dimensional Unconstrained Optimization Given the quadratic equation y = 2x 2 20x + 18 Find the minima of the equation for all values of x Solution: Lets try the Excel Solver 32 of 47

Plot of Equation to be Solved Simple Quadratic Formula 120 100 80 60 Values of y 40 20 0-20 -40 0 2 4 6 8 10 12 14 Values of x 33 of 47

Excel Solver Procedure Guess value of x 34 of 47

Excel Solver Panel Minimization for cell B6 35 of 47

Excel Solver Procedure Minimum of y 36 of 47

Finding the Roots of y Using Excel Solver Easily change the minimimzation problem into a root finder by changing the character of the operation in Excel Solver Root finder of y 37 of 47

Root Finder for y 38 of 47

Example for Class Practice Minimization example (mixing problem) Airline fleet assignment problem 39 of 47

Minimization LP Example A construction site requires a minimum of 10,000 cu. meters of sand and gravel mixture. The mixture must contain no less than 5,000 cu. meters of sand and no more than 6,000 cu. meters of gravel. Materials may be obtained from two sites: 30% of sand and 70% gravel from site 1 at a delivery cost of $5.00 per cu. meter and 60% sand and 40% gravel from site 2 at a delivery cost of $7.00 per cu. meter. a) Formulate the problem as a Linear Programming problem b) Solve using Excel Solver 40 of 47

Application to Water Pollution River B River A Lake City Airport River C 41 of 47

Water Pollution Management The following are pollution loadings due to five sources: Note: Pollution removal schemes vary in cost dramatically. Source Pollution Loading (kg/yr) Unit Cost of Removal ($/kg) River A 18,868 1.2 River B 20,816 1.0 River C 37,072 0.8 Airport 28,200 2.2 City 12,650 123.3 42 of 47

Water Pollution Management It is desired to reduce the total pollution discharge to the lake to 70,000 kg/yr. Therefore the target pollution reduction is 117,606-70,000 = 47,606 kg/yr. Solution: Let x 1,x 2, x 3, x 4, x 5 be the pollution reduction values expected in (kg/yr). The costs of unit reduction of pollution are given in the previous table. The total pollution reduction from all sources should be at least equal to the target reduction of 47,606 kg. 43 of 47

LP Applications - Water Pollution Management The reductions for each source cannot be greater than the present pollution levels. Mathematically, x 1 18868 x 2 20816 x 3 37072 x 4 28200 x 5 12650 constraint for River A constraint for River B constraint for River C airport constraint city constraint 44 of 47

Water Pollution Management The reductions at each source should also be non negative. Using this information we characterize the problem as follows: Min z = 1.2x 1 + 1.0x 2 + 0.8x 3 + 2.2x 4 + 123.3x 5 s.t. x 1 + x 2 + x 3 + x 4 + x 5 47606 x 1 18868 x 2 20816 x 3 37072 45 of 47

and x 4 28200 x 5 12650 46 of 47

Water Resource Management Rewrite the objective function as follows: Max z + 1.2x 1 + 1.0x 2 + 0.8x 3 + 2.2x 4 + 123.3x 5 + Mx 12 st. x 1 + x 2 + x 3 + x 4 + x 5 x 6 + x 12 = 47606 x 1 + x 7 = 18868 x 2 + x 8 = 20816 x 3 + x 9 = 37072 x 4 + x 10 = 28200 x 5 + x 11 = 12650 47 of 47