4M020 Design tools - Optimization problem formulation and...

21
Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3 4M020 Design tools Optimization problem formulation and visualization L.F.P. Etman Department of Mechanical Engineering Eindhoven University of Technology Wednesday August 27, 2008 1 / 21

Transcript of 4M020 Design tools - Optimization problem formulation and...

Page 1: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

4M020 Design toolsOptimization problem formulation and visualization

L.F.P. Etman

Department of Mechanical EngineeringEindhoven University of Technology

Wednesday August 27, 2008

1 / 21

Page 2: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Outline

1 Problem formulation

2 Two-bar truss example: one variable minimization

3 Problem properties

4 Two-bar truss example: two-variable minimization

5 Problem properties

6 Two-bar truss example: finite element analysis

2 / 21

Page 3: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Design optimization

Design optimization is the selection of the best designwithin the available means

[Papalambros & Wilde 2000: Principles of optimal design]

3 / 21

Page 4: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Design optimization

1 Select design variables

2 Select objective criterion in terms of design variables (tominimize or maximize)

3 Determine constraints in terms of design variables, whichmust be satisfied

4 Determine design variable values which minimize (maximize)the objective while satisfying all constraints

[Papalambros & Wilde 2000: Principles of optimal design]

4 / 21

Page 5: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Mathematical problem formulation

Minimizex

f (x) x = (column) vector of design variables

subject to hj (x) = 0 j = 1, . . . ,mh

gk (x) ≤ 0 k = 1, . . . ,mg

x ∈ X ⊆ Rn

[Papalambros & Wilde 2000: Principles of optimal design]

5 / 21

Page 6: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Negative null form

Minimizex

f (x) x = (column) vector of design variables

subject to h(x) = 0 h = [h1,h2, . . . ,hmh ]T

g(x) ≤ 0 g = [g1, g2, . . . , gmg ]T

x ∈ X ⊆ Rn

Other formulations:

• positive null form (g(x) ≥ 0)

• negative unity form (g(x) ≤ 1)

• positive unity form (g(x) ≥ 1)

6 / 21

Page 7: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Two-bar truss example

F

SS

h

d

Minimizex

f (x)

subject to h(x) = 0g(x) ≤ 0x ∈ X ⊆ Rn

• Analysis equations

• Constant parameters

• Design variables

• Objective function

• Constraint functions

7 / 21

Page 8: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Two-bar truss example

F

SS

h

d

Minimizex

f (x)

subject to h(x) = 0g(x) ≤ 0x ∈ X ⊆ Rn

Exercise 1

8 / 21

Page 9: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a one-variable optimization problem

ii

“plot1Db˙temp” — 2006/6/26 — 16:21 — page 1 — #1 ii

ii

ii

x

f

f(x)

x

g

g3(x)

0

g6(x)

9 / 21

Page 10: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a one-variable optimization problem

ii

“plot1De˙temp” — 2006/6/26 — 16:21 — page 1 — #1 ii

ii

ii

x

f

f(x)

x

g

g3(x)

0

g6(x)

g3 = 0

g6 = 0

10 / 21

Page 11: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a one-variable optimization problemii

“plot1Df˙temp” — 2006/6/26 — 16:21 — page 1 — #1 ii

ii

ii

x

f

f(x)

g3 = 0

g6 = 0

11 / 21

Page 12: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Constrained versus unconstrained optimumi

i“opt˙bnd˙temp” — 2006/6/15 — 21:36 — page 1 — #1 i

i

ii

ii

x

f f(x)

g = 0

• constrained optimum

• bounded optimum

ii

“opt˙unc˙temp” — 2006/6/15 — 21:35 — page 1 — #1 ii

ii

ii

x

ff(x)

g2 = 0g1 = 0

• unconstrained optimum

• interior optimum

12 / 21

Page 13: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Multimodality (multiple local minima)ii

“multi˙temp” — 2006/6/15 — 17:12 — page 1 — #1 ii

ii

ii

x

f

f(x)

global

local

x

ff(x)

globallocal

13 / 21

Page 14: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Two-bar truss example

F

SS

h

d

Minimizex

f (x)

subject to h(x) = 0g(x) ≤ 0x ∈ X ⊆ Rn

Exercise 2

14 / 21

Page 15: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a two-variable optimization problemi

i“plot2Da˙temp” — 2006/6/15 — 21:15 — page 1 — #1 i

i

ii

ii

x1

x2

objective function

6 78

9 10

f

x1

x2

constraint g1

g1= 0

g1< 0

feasible

15 / 21

Page 16: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a two-variable optimization problem

ii

“plot2Db˙temp” — 2006/6/15 — 21:29 — page 1 — #1 ii

ii

ii

x1

x2

g1

16 / 21

Page 17: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a two-variable optimization problem

ii

“plot2Dc˙temp” — 2006/6/15 — 21:16 — page 1 — #1 ii

ii

ii

x1

x2

g1

g4

g5

g2 g4 g6

17 / 21

Page 18: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a two-variable optimization problem

ii

“plot2Dd˙temp” — 2006/6/15 — 21:29 — page 1 — #1 ii

ii

ii

x1

x2

g1

g4

g5

g2 g4 g6

feasible

domain

F

18 / 21

Page 19: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Visualization of a two-variable optimization problem

ii

“plot2De˙temp” — 2006/6/15 — 21:26 — page 1 — #1 ii

ii

ii

x1

x2

g1

g4

g5

g2 g4 g6

optimum

F

19 / 21

Page 20: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Constraint activity

A constraint gj (x) ≤ 0 is active at the optimum implies that

1 if gj (x) ≤ 0 is left out, the location of the optimum changes

2 the constraint is satisfied with strict equality: gj (x) = 0

20 / 21

Page 21: 4M020 Design tools - Optimization problem formulation and ...piet/edu/dos/pdf/problemformulation.pdf · 1 Problem formulation 2 Two-bar truss example: one variable minimization 3

Problem formulation Truss example 1 Problem properties 1 Truss example 2 Problem properties 2 Truss example 3

Two-bar truss example

F

SS

h

d

Minimizex

f (x)

subject to h(x) = 0g(x) ≤ 0x ∈ X ⊆ Rn

Exercise 3

21 / 21