Solver Feature Excel’s KY San Jose State University Engineering 10.

Slides:



Advertisements
Similar presentations
Chapter 8: The Solver and Mathematical Programming Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Advertisements

Optimization problems using excel solver
Minimize Problems Produced by E. Gretchen Gascon.
Introduction to Mathematical Programming Matthew J. Liberatore John F. Connelly Chair in Management Professor, Decision and Information Technologies.
E ngineering College of San Jose State University Engr.10 1 JKA & KY.
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
SOLVING LINEAR PROGRAMS USING EXCEL Dr. Ron Lembke.
Operations Management Linear Programming Module B - Part 2
Linear Programming Using the Excel Solver
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
ENGR 351 Numerical Methods Instructor: Dr. L.R. Chevalier
QM B Linear Programming
Maximum and Minimum Values (Section 3.1)
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Non-Linear Simultaneous Equations
COMPREHENSIVE Excel Tutorial 10 Performing What-If Analyses.
Chapter 3 Introduction to Optimization Modeling
456/556 Introduction to Operations Research Optimization with the Excel 2007 Solver.
Chapter 4 - Linear Programming: Computer Solution Excel Solver
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
START EXCEL BUILD OR RETRIEVE YOUR OPTIMIZATION MODEL SAVE YOUR WORKBOOK!! CHOOSE “Solver…” IN THE “Tools” MENU SPECIFY IN SOLVER DIALOG BOX: 1.CELL TO.
Chapter 19 Linear Programming McGraw-Hill/Irwin
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Integer Programming Models
Example 4.5 Production Process Models | 4.2 | 4.3 | 4.4 | 4.6 | Background Information n Repco produces three drugs, A, B and.
Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
Linear Programming: Basic Concepts
Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 8 Formula Auditing, Data Validation, and Complex Problem Solving.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Transportation and Assignment Problems
QMB 4701 MANAGERIAL OPERATIONS ANALYSIS
Goal Seek and Solver. Goal seeking helps you n Find a specific value for a target cell by adjusting the value of one other cell whose value is allowed.
Optimization unconstrained and constrained Calculus part II.
Math Programming Concept of Optimization (L.O. a ) Linear Programming Managerial Value of Information (L.O. d) Theory (L.O. b) Example Applications (L.O.
DAY 9: MICROSOFT EXCEL – CHAPTER 6 Sravanthi Lakkimsetty Sept 16, 2015.
ENGM 631 Optimization Using Solver. Sec. 3.1Alt. Model Max Z = 3X 1 + 5X 2 s.t. X 1 < 8,000 X 2 < 6,000 3X 1 + 4X 2 < 36,000 X 1 > 0 X 2 > 0.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Supplement 6 Linear Programming.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
LINEAR PROGRAMMING.
Calculus-Based Optimization AGEC 317 Economic Analysis for Agribusiness and Management.
LINEAR PROGRAMMING 3.4 Learning goals represent constraints by equations or inequalities, and by systems of equations and/or inequalities, and interpret.
Linear Programming II. George Dantzig 1947 Narendra Karmarkar Pioneers of LP.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Solving Linear Optimization Problems Using the Solver Add-in.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Appendix A with Woodruff Edits Linear Programming Using the Excel Solver Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Excel Solver Tutorial BI&A 674.
Excel’s Solver Use Excel’s Solver as a tool to assist the decision maker in identifying the optimal solution for a business decision. Business decisions.
Formula Auditing, Data Validation, and Complex Problem Solving
Exploring Microsoft Office Exploring Excel Appendix C
A Multiperiod Production Problem
Solver Feature Excel’s KY San Jose State University Engineering 10.
DECISION MODELING WITH Prentice Hall Publishers and
Chapter 5 Linear Inequalities and Linear Programming
Excel Solver IE 469 Spring 2017.
Microsoft Office Illustrated
Excel Solver.
Excel Solver IE 469 Spring 2018.
Wyndor Example; Enter data
Introduction to linear programming (LP): Minimization
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Excel Solver IE 469 Fall 2018.
Linear Programming Excel Solver.
Solving Linear Optimization Problems Using the Solver Add-in
Excel Solver IE 469 Spring 2019.
Calculus-Based Optimization AGEC 317
Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company Product Mix Problem (Section 2.1)2.2 Formulating the Wyndor Problem.
Presentation transcript:

Solver Feature Excel’s KY San Jose State University Engineering 10

Solver The Solver is intended primarily for solving constrained optimization problems. For example, the goal could be to minimize the amount of material used to make the can while keeping the volume constant. Volume of soda can = 12 oz = 355 mL h and r have to be positive numbers h > 0 and r > 0 The Solver would return the values for height, h, and radius, r. San Jose State University Engineering 10

Solver Solver can also solve a single algebraic equation. 2x5 – 3x2 – 5 = 0 Find a positive real root of this equation, the added restriction is that x ≥ 0. Simultaneous algebraic equations arise in many engineering applications. Solver is capable of finding the solution. 3x1 + 2x2 – x3 – 4 = 0 2x1 – x2 + x3 – 3 = 0 x1 + x2 – 2x3 + 3 = 0 Find the values of x1, x2, and x3 that will cause all three equations to equal zero. San Jose State University Engineering 10

Optimization – Problem Formulation Design variables – a set of parameters that describes the system (dimensions, material, load, …) Can example: height, h, and radius, r Objective function – a criterion is needed to judge whether or not a given design is better than another (cost, profit, weight, deflection, stress, ….) Design constraints – all systems are designed to perform within a given set of constraints. The constraints must be influenced by the design variables (max. or min. values of design variables). h and r have to be positive numbers h > 0 and r > 0 San Jose State University Engineering 10

Optimization Problem - Example The US Environmental Protection Agency (EPA) regulates the maximum amounts of some pollutants that can be released in the air annually. The problem A steel mill releases two major types of pollutants: sulfur oxides and hydrocarbons. Their amounts exceed the limits imposed by the EPA. Minimum reduction is required for each of the two pollutant types. Two possible approaches could be used to reduce the amount of pollution: better filters and better fuels. Each of the two methods can be implemented either in full or in any fraction. The solution San Jose State University Engineering 10

Optimization Problem - Example The results of the manufacturer experiments are shown in the tables below. The Data San Jose State University Engineering 10

Optimization Problem – Example Formulation Design (Decision) Variables x1 = fraction of better filter approach x2 = fraction of better fuel approach The objective is to select abatement methods (better filter and fuel), for full or fractional implementation, so that all the pollutant reduction requirements are satisfied at the minimum cost. Objective Function Cost = 300(x1) + 250(x2) San Jose State University Engineering 10

Optimization Problem – Example Formulation Constraints EPA required pollution level reduction 14 12 7 5 10 2 1 ³ + x x1 (better filter) and x2 (better fuel) variables are fractions between 0 and 1. 1 x £ 2 ³ San Jose State University Engineering 10

Optimization Problem – Example Formulation Minimize Cost = 300(x1) + 250(x2) Subject to; 14 12 7 5 10 2 1 ³ + x 1 x £ 2 ³ Six constraints San Jose State University Engineering 10

Activate ToolPak and Solver Select Add Ins, click on Go Check Analysis ToolPak and Solver Select File and choose Options San Jose State University Engineering 10

Excel’s Solver Design variables Objective function Design constraints Select Data, If the Solver icon does not appear, use Add-Ins command to install the program Formulate the optimization problem and enter the data into the spreadsheet Design variables Objective function Design constraints San Jose State University Engineering 10

Excel’s Solver Initial guess for the variables Excel sheet entries Columns A & B, text only Column C, formula in Excel syntax Initial guess for the variables Enter formula (syntax form) for the objective function =300*C6+250*C7 Enter formula for all constraints Engineering 10 San Jose State University

Excel’s Solver Minimize the objective function Engineering 10 San Jose State University Engineering 10

Excel’s Solver Adding Constraints Select Add and input the constraints one at a time San Jose State University Engineering 10

Excel’s Solver The results The minimized cost Engineering 10 San Jose State University Engineering 10

Excel’s Solver – Unconstraint Optimization Maximize the function f(x) = - x2 + 4x – 4 The maximum value of the function is zero for x = 2 No constraint =-B28^2+4*B28-4 San Jose State University Engineering 10

Solving Equations using Solver Solving a one variable equation, 2x5 – 3x2 – 5 = 0 With an added restriction that x has to be positive. For engineering problems a positive value is the only acceptable answer. The answer San Jose State University Engineering 10

Solving a System of Equations Find the values of x1, x2, and x3 that will cause all three equations to equal zero. f = 3x1 + 2x2 - x3 - 4 = 0 g = 2x1 - x2 + x3 - 3 = 0 h = x1 + x2 - 2x3 + 3 = 0 Form the sum, y = f 2 + g 2 + h 2 If f = 0, g = 0, and h = 0, then y will also equal zero. For any other values of f, g, and h (whether positive or negative), however, y will be greater than zero. Hence, we can solve the given system of equations by finding the values of x1, x2, and x3 that cause y to equal zero. Use Solver to determine the values of x1, x2, and x3 that drive the target function, y, to zero. San Jose State University Engineering 10

Solving a System of Equations Target cell Answers f = 3x1 + 2x2 - x3 - 4 = 0 g = 2x1 - x2 + x3 - 3 = 0 h = x1 + x2 - 2x3 + 3 = 0 y = f 2 + g 2 + h 2 San Jose State University Engineering 10