Docsity

Class Notes on Numerical Optimization, Manuais, Projetos, Pesquisas de Cultura

Pré-visualização parcial do texto

Baixe Class Notes on Numerical Optimization e outras Manuais, Projetos, Pesquisas em PDF para Cultura, somente na Docsity!

Optimization classes summary

Universidade Federal de Santa Catarina - UFSC

Programa de Pós-Graduação em Engenharia Mecânica - POSMEC

Grupo de Mecânica Aplicada e Computacional - GMAC

David Roza José

Contents

On the book

This is the first edition. It is mainly based on three books:

  • Introduction to Optimum Design, Third Edition, by Jasbir Arora;
  • Numerical Optimization, Second Edition, by Jorge Nocedal and Stephen Wright;
  • Métodos Computacionais de Otimização, by José Mario Martínez and San- dra Augusta Santos.

and has also some personal interpretation in some things. Hope you like it. Any suggestions, comments, complaints (hopefully none), you can find me in c1b3rz AT hotmail DOT com. Cheeryo!

vi

1 Introduction to design

  • Describe the overall process of designing systems
  • Distinguish between engineering design and engineering analysis activity
  • Distinguish between the conventional design process and optimum design process
  • Distinguish between the optimum design and optimal control problems
  • Understand the notations used for operations with vectors, matrices and functions

The design of systems can be formulated as problems of optimization in which a measure of performance is to be optimized while satisfying all constraints. Any problem in which certain parameters need to be determined to satisfy constraints can be formulated as an optimization problem. The evolution model is shown in the 1.1:

Figure 1.1: System evolution model

| f (x) − f (x∗)| < ε (1.4)

whenever ‖x − x∗‖ < δ.

At 1.4; (A) and (B) are continuous functions. Figure (B) is not a differentiable functions at points x 1 , x 2 , x 3. Example (C) is not a function because it has infinite values at x 1. Figure (D) is a discontinuous function.

Figure 1.2: Conventional design

Figure 1.4: Examples

2 Optimum design problem formulation

It is generally accepted that the proper definition and formulation of a problem takes roughly 50 percent of the total effort needed to solve it. The importance of properly formulating a design optimization problem must be stressed because the optimum solution will only be as good as the formulation. For most design opti- mization problems, we shall use the following five-step formulation procedure:

Step 1 Project/problem statement.

Step 2 Data and information collection.

Step 3 Identification/definition of design variables.

Step 4 Identification of a criterion to be optimized.

Step 5 Identification of constraints.

The formulation of an optimum design problem involves translating a descriptive statement of the problem into a well defined mathematical statement. We shall use the term “design variables” to indicate all unknowns of the optimization problem and represent in the vector x.

  • They should be independent of each other as far as possible.
  • A minimum number of design variables required to formulate a design op- timization problem exists.
  • As many independent parameters as possible should be designated as design variables at the problem formulation phase. Later on, some of the variables can be assigned fixed values. 7

h (^) j(x) = h (^) j (x 1 x 2 ... xn) = 0; j = 1 , p (2.2) and the m inequality constraints

gi(x) = gi (x 1 x 2 ... xn) = 0; i = 1 , m (2.3) It must be realized that the overall process of designing different engineering systems is the same. Once the problems from different fields have been tran- scribed into mathematical statements using a standard notation, they have the same mathematical form. Optimization methods described in the text are quite general and can be used to solve problems from diverse fields. The methods can be developed without reference to any design application. Some important observations:

  1. It is obvious that the functions f (x), h (^) j(x), gi(x) must depend explicitly or implicitly on some of the design variables.
  2. The number of independent equality constraints must be less than or at the most equal to the number of design variables p ≤ n. When p > n we have an overdetermined system of equations. In that case, there are some redundant equality constraints or they are inconsistent. When p = n no optimization is necessary, because solutions of the equality constraints are the only can- didates for optimum design.
  3. There is no restriction on the number of inequality constraints. However, the total number of active constraints at the optimum is usually less than or at the most equal to the number of design variables. It is usual to have the

9

“≤ type” constraint.

  1. Some design problems may not have any constraints. These are called un- constrained optimization problems, and others are called constrained opti- mization problems.
  2. If all the functions f (x), h (^) j(x), gi(x) are linear in design variables x, then the problem is called a linear programming problem.

2.1.1 Maximization Problem Treatment

The general design model accounts only for minimization problems. This is no restriction as maximization of a function F (x) is the same minimization of a transformed function f (x) = −F (x).

2.1.2 Discrete and Integer design variables

So far we have assumed in the standard model that variables xi can have any numerical value within the feasible region. Many times, however, some variables are required to have discrete or integer values. Such variables appear quite often in engineering design problems. A design variable is called discrete if its value must be selected from a given finite set of values. An integer variable, as the name implies, must have an integer value. These are called discrete and integer pro- gramming problems. Depending on the type of problem functions, the problems can be classified into five different types. In some sense, discrete and integer variables impose additional constraints on the design problem.

3 Graphical Optimization

Optimization problems having only two design variables can be solved by observing the way they are graphically represented.

3.1 Graphical solution process

3.1.1 Profit maximization problem

Step 1 Project/Problem statement. A company manufactures two machines, A and B. Using available resources, either 28A or 14B machines can be manufactured daily. The sales department can sell up to 14A or 24B. The shipping facility can handle no more than 16 machines per day. The company makes a profit of $400 on each A and $600 on each B. How many A and B machines should the company manufacture every day to maximize its profit?

Step 2 Data and information collection: Defined in the project statement.

Step 3 Identification/Definition of Design Variables. The following design variables are identified: x 1 is the number of A machines and x 2 is the number of B machines

Step 4 Identification of a Criterion to be Optimized: the objective is to max- imize daily profit, which can be expressed in terms of a design vari- ables as: P = 400 x 1 + 600 x 2

Step 5 Identification of Constraints: Design constraints are placed on man- ufacturing capacity, limitations on the sales personnel and restriction 12

on the shipping and handling facility. The constraint on the shopping and handling facility is expressed as:

x 1 + x 2 ≤ 16 (3.1) The resources constraint is:

x 1 28 +^

x 2 14 ≤^1 (3.2) The sales constraint is:

x 1 14 +^

x 2 24 ≤^1 (3.3) And the design variables must be non-negative:

x 1 , x 2 ≥ 0 (3.4)

3.1.2 Step-by-step Graphical Solution Procedure

Constraint boundary for Eq. 3.1 in Fig 3.1.

Now, the feasible region is inside the triangle ( 0 , 0 ), ( 16 , 0 ) and ( 0 , 16 ). The rest of the constraints are plotted on the graph. Through Eq. 3.2 we find out that x 2 ≤ 14 and x 1 ≤ 28, giving us the triangle ( 0 , 0 ), ( 0 , 14 ) and ( 28 , 0 ). Eq 3.3 tells us that x 2 ≤ 24 and x 1 ≤ 14, giving us the triangle ( 0 , 0 ), ( 0 , 24 ) and ( 14 , 0 ). The full constraints are shown in Fig. 3.2.

13