5.2.1 Optimization, Search and Exploration 1

Slides:



Advertisements
Similar presentations
1 1 Slide Chapter 1 & Lecture Slide Body of Knowledge n Management science Is an approach to decision making based on the scientific method Is.
Advertisements

G5BAIM Artificial Intelligence Methods
Lesson 08 Linear Programming
دانشگاه صنعتي اميركبير دانشكده مهندسي پزشكي Constraints in MPC کنترل پيش بين-دکتر توحيدخواه.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Visual Recognition Tutorial
1 Logic-Based Methods for Global Optimization J. N. Hooker Carnegie Mellon University, USA November 2003.
Operations Management
Constrained Optimization
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 99 Chapter 4 The Simplex Method.
Introduction and Basic Concepts
A New Algorithm for Solving Many-objective Optimization Problem Md. Shihabul Islam ( ) and Bashiul Alam Sabab ( ) Department of Computer Science.
1 Enviromatics Decision support systems Decision support systems Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008 год.
FORMULATION AND GRAPHIC METHOD
Introduction to Optimization (Part 1)
Linear programming. Linear programming… …is a quantitative management tool to obtain optimal solutions to problems that involve restrictions and limitations.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,

Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
Ken YoussefiMechanical Engineering Dept. 1 Design Optimization Optimization is a component of design process The design of systems can be formulated as.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
1 MODELING MATTER AT NANOSCALES 4. Introduction to quantum treatments The variational method.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
(iii) Lagrange Multipliers and Kuhn-tucker Conditions D Nagesh Kumar, IISc Introduction to Optimization Water Resources Systems Planning and Management:
Written by Changhyun, SON Chapter 5. Introduction to Design Optimization - 1 PART II Design Optimization.
Fuzzy Optimization D Nagesh Kumar, IISc Water Resources Planning and Management: M9L1 Advanced Topics.
Introduction to Optimization
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Optimization in Engineering Design 1 Introduction to Non-Linear Optimization.
Instructional Design Document Simplex Method - Optimization STAM Interactive Solutions.
MIT and James Orlin © The Geometry of Linear Programs –the geometry of LPs illustrated on GTC.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Structural Optimization
Solver Feature Excel’s KY San Jose State University Engineering 10.
Chapter 9: Systems of Equations and Inequalities; Matrices
CS 9633 Machine Learning Support Vector Machines
Lesson 8: Basic Monte Carlo integration
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
Decision Support Systems
Solver Feature Excel’s KY San Jose State University Engineering 10.
Chapter 7. Classification and Prediction
An Introduction to Linear Programming Pertemuan 4
Nonlinear Programming Prepared by Lee Revere and John Large
Linear Programming Topics General optimization model
Knowledge Component 1: Theoretical Foundations
3.3. Case-Based Reasoning (CBR)
Mathematical Programming
ME 521 Computer Aided Design 15-Optimization
Chapter 3 Component Reliability Analysis of Structures.
Linear Programming Topics General optimization model
Constrained Optimization
Linear Programming.
Linear Programming Topics General optimization model
Linear Programming Topics General optimization model
Constrained Optimization
3.1.1 Introduction to Machine Learning
Knowledge Component 6: Knowledge Utilization
5.2.3 Optimization, Search and
5.2.2 Optimization, Search and
Optimization and Some Traditional Methods
1.3 Classifying Engineering Tasks
Constrained Optimization – Part 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.
Constrained Optimization
What are optimization methods?
Dr. Arslan Ornek MATHEMATICAL MODELS
Yielding And Fracture Under Combine Stresses
Presentation transcript:

5.2.1 Optimization, Search and Exploration 1 Computer-Aided Engineering Knowledge Component 5: Information Processing 5.2.1 Optimization, Search and Exploration 1 2nd Edition

Module Information Intended audience Key words Author Novice Key words Optimization, Optimality, Boundedness, Feasibility, Constraint activity Author Ian Smith, EPFL, Switzerland Reviewers (1st Edition) Esther Obonyo, U of Florida, USA Ni-Bin Chang, U of Central Florida, USA Frederic Bosche, U of Waterloo, Canada Rafal Kicinger, George Mason U, USA 2

What there is to learn At the end of these slides, see the quiz for questions and answers. This sub-module introduces the following ideas: In engineering, optimization is really an exercise in searching for good solutions within feasible solution spaces. Simple element-dimension design is a basic form of optimisation. In addition to optimization criteria (minimum cost, maximum benefit, etc.) constraints (such as maximum stress, maximum weight and minimum thickness) contain much engineering knowledge 3

Optimization Optimization is most appropriate for well defined tasks (see Knowledge Component 1, Module 1.3) Optimization is used when mathematical models exist for evaluating the goodness of solutions. In engineering, the use of the word optimization can be dangerous. Some consultants have even banned the word. The next slide explains why.

Optimization and Optimality An optimal solution is optimal only with respect to: parameters contained in the mathematical model subjective decisions of the engineer who created the model In open worlds such as most engineering contexts, optimization cannot be guaranteed.

Optimization or Search? In many situations, the word “optimize” should be avoided altogether. This is specifically true for ill- defined tasks (see Knowledge Component 1, Module 1.3). It is usually more appropriate to speak of “search” since the engineer identifies good solutions from many possibilities. Engineers are valued primarily for finding solutions to ill-structured tasks. Therefore, optimization methods are most useful when they are used to support search. Search is the key activity for exploration of good solutions.

Example 1: Bridge Design Outline Example 1: Bridge Design Optimization Example 2: Shaft Design Feasibility Boundedness Constraint Activity

Bridge Design: Formulation 1 Model 1: Includes formulas that lead to values for the volume of concrete and weight of steel Optimization task: Minimize use of concrete and steel Difficulty: This task may provide solutions that have nothing to do with minimizing costs

Bridge Design: Formulation 2 Model 2: Includes Model 1 and additional formulas to calculate costs of materials and construction Optimization task: Minimize initial cost Difficulty: This task may not provide solutions that have the minimum life-cycle cost

Bridge Design: Formulation 3 Model 3: Includes Model 2 and additional formulas for material deterioration, periodic maintenance and dismantling to calculate the life-cycle cost Optimization task: Minimize life-cycle cost Difficulty: This task may not provide solutions that provide a good compromise between factors such as low life-cycle cost, good aesthetics, low environmental impact and wide-spread societal acceptance

Discussion Models 1-3 become progressively difficult to express in mathematical form. The closed world assumption is less and less accurate. Tasks become more and more ill-structured. Therefore, complex tasks cannot be optimized reliably.

Discussion (cont’d.) In spite of the difficulties of real engineering tasks, optimization strategies can help with decision-making if appropriate caution is exercised. For example, engineers should determine to what degree variations in factors that are not modeled influence the values of modeled variables. If such interdependencies are small, then optimization may be useful. This Knowledge Component includes an introduction to optimization (Module 5.2.1), methodologies (Module 5.2.2 and Module 5.2.3) and exploration strategies (Module 5.2.3).

Example 1: Bridge Design Outline Example 1: Bridge Design Optimization Example 2: Shaft Design Feasibility Boundedness Constraint Activity

Optimization Given a set D (domain) and a function f(x) defined over D, Minimize or maximize f(x), x  D with respect to a set of constraints, C The function f(x) is called the objective function. The variable x represents an n-dimensional vector of unknown values.

Types of Optimization Problems Problem characteristic Sub-type Type of variables Continuous Discrete Mixed Size of domain Finite Infinite Shape of objective function and constraints Linear Non-linear Discontinuous Number of objectives Single Multiple

Optimization (cont’d.) Since optimization has its roots in mathematics, the word “problem” is employed. In reality, engineers do not have “problems”, they have challenges that are met by carrying out appropriate tasks. Optimization problems are combinations of one or more sub-types of each problem characteristic.

Example 1: Bridge Design Outline Example 1: Bridge Design Optimization Example 2: Shaft Design Feasibility Boundedness Constraint Activity

C = πdtL * cost/unit weight Example 2: Shaft Design Goal: Design a hollow shaft in tension Optimization task: Minimize cost C C = πdtL * cost/unit weight This function is often called the “objective function” (Its form is rarely this simple!) L d t<<d Q  = density

Example 2 (cont’d.) Constraints: Strength: stress below yield stress σy is either 235 MPa or 355 Mpa Two values are from two possible steel grades Maximum weight 100kg (so two people can carry it) Fabrication: minimum dimensions t ≥ 0.005m and d ≥ 0.10m

Example 2 (cont’d.) Accompanying formulas Stress due to axial load σ = Q/πdt (when d»t, say d>10t) Weight = πdtL This example shows the 3 concepts of feasibility, boundedness and constraint activity. These are described in the following slides. The condition d»t is a scope constraint defining the applicability of the formulas for cost, weight and stress.

Example 2 (cont’d.) Resolution Load, length and density are known Decision variables First step - find the best value for d●t Second step – choose practical values for d and t Feasible solution space : those values of the objective function that satisfy all constraints Optimal solution : those values in the feasible solution space that best satisfy the optimization task.

Example 2 (First step) (L=2m, Q = 2000 kN) σy = 235 (no feasible solution using this steel type!) σy = 355 Cost, C Objective function Optimal solution Feasible solution space 1793 2709 d•t 2024 Weight = 100kg

Example 2 (Second step) d Optimal solutions (on bottom line) 100mm Feasible solution space (between lines) 5mm t

Example 1: Bridge Design Outline Example 1: Bridge Design Optimization Example 2: Shaft Design Feasibility Boundedness Constraint Activity

Feasibility Presence of several criteria may mean that that there is no feasible domain. Although strength requirements in the example call for minimum area = Q/sy, maximum weight requirements (maximum area) may mean that there are no possible solutions for high values of Q and low values of σy. For example, given a weight restriction of 100kg, there is no solution for a shaft made of steel with a yield strength of 235 MPa.

Example 1: Bridge Design Outline Example 1: Bridge Design Optimization Example 2: Shaft Design Feasibility Boundedness Constraint Activity

Boundedness Constraints bound feasible domains Strength and fabrication requirements create lower bounds on shaft dimensions (d and t) while weight requirements place upper bounds on these values. Therefore, constraints lead to bounded feasible domains. For example, the constraint d>0.1m bounds the solution for shaft dimensions. At the other end, model validity (simplified formula for surface area) bounds the solution. This is called a soft constraint since it can be relaxed if a better model is used.

Example 1: Bridge Design Outline Example 1: Bridge Design Optimization Example 2: Shaft Design Feasibility Boundedness Constraint Activity

Constraint Activity If a constraint influences the location of the optimum, it is said to be an active constraint. In the previous example, the strength constraint   y was active. Therefore, the optimum area is determined by transforming into  = y and solving for the intersection of the constraint with the objective function. For example, the constraint σ  355 was transformed into σ = 355 in order to solve for the optimal values of dt for the shaft. Actual values chosen for d and t will depend on factors such as availability. Note: Often, optimization is not this easy.

Constraint activity (cont’d.) Often, there is no easily identifiable active constraint at the optimum. This occurs when the objective function is non-monotonic in the decision variables. In these cases, optimal values cannot be obtained by transforming inequalities into equalities and substituting them into the objective function. Other techniques are necessary in such cases. These are described in Modules 5.2.2 and 5.2.3.

Review Quiz Why is search preferable over traditional mathematical optimization in engineering contexts? Define feasibility and boundedness with respect to optimization. What is an active constraint?

Answers to Review Quiz Why is search preferable over traditional mathematical optimization in engineering contexts? Optimality depends on parameters contained in the mathematical model subjective decisions of the engineer Consequently, in open worlds, it is better to employ optimization to enhance search and exploration of good solutions.

Answers to Review Quiz Define feasibility and boundedness with respect to optimization. Feasibility refers to the possibility of finding a solution given the constraints of the task. Boundedness occurs when possible solutions are bounded by constraints within feasible domains

Answers to Review Quiz What is an active constraint? A constraint that influences the location of the optimum is an active constraint.

Summary Optimization is more suited to well-structured tasks while search and exploration of good solutions is best for engineering needs. It is hard to reliably optimize complex tasks due to difficulties associated with formulation of objective functions. Mathematically, optimization involves maximizing or minimizing a given function with respect to a given set of constraints. Feasibility, boundedness and constraint activity are aspects of optimization.

Further Reading J.S. Arora, O.A. Elwakeil, A.I. Chahande, C.C. Hsieh, “Global Optimization methods for engineering applications: a review,” Structural Optimization, 9, 137-159, 1995. B. Raphael and I.F.C. Smith, “A direct stochastic algorithm for global search,” J of Applied Mathematics and Computation, Vol 146, No 2-3, 2003, pp 729-758 Raphael, B. and Smith, I.F.C. Fundamentals of Computer-Aided Engineering, Wiley, 2003