Beruflich Dokumente
Kultur Dokumente
Example 1
Since there are only two design variables, the problem can be
solved graphically as shown below.
First, the constraint surfaces are to be plotted in a twodimensional design space where the two axes represent the two
design variables x1 and x2.
x1
10
12
14
x2
0.796
5
0.398
3
0.265
5
0.199
0
0.159
3
0.132
8
0.114
0
10
12
14
x2
2.41
0.716
0.219
0.0926
0.0473
0.0274
0.0172
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
x1
16.77
12.62
10.10
8.44
7.24
6.33
5.64
5.07
For
x2
x1
For
0.2
0.3
0.4
0.5
0.6
0.7
0.8
10.10
8.08
6.75
5.79
5.06
4.51
4.05
x2
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
x1
10.57
7.96
6.38
5.33
4.57
4.00
3.56
3.20
For
x2
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
x1
8.88
6.69
5.36
4.48
3.84
3.36
2.99
2.69
For
x2
x1
0.2
5.05
0.3
0.4
0.5
0.6
0.7
0.8
4.04
3.38
2.90
2.53
2.26
2.02
Graphical Optimization
Choice of an Appropriate Range for Optimization Variables
The first task is to select a suitable range of values for the two
optimization variables.
range is determined.
The range must obviously include the optimum point.
A large range may result in very small contour graphs making it
difficult to differentiate between different constraints.
Graphical Optimization
For problems for which one has no prior
Example
As an illustration, consider a graphical solution of
the following problem:
Minimize: f(x, y) = 4x2 5xy + y2
Subject to: g(x, y) = x2 y + 2 0
h(x, y) = x + y 6 = 0
Assuming we have no idea of the optimum point,
we arbitrarily pick lower and upper limits for x
such as 0 and 10, respectively.
Next, we solve for the corresponding y- values
from each of the constraint equations, treating all
constraints as equalities.
Example
g
g
h
h
:
:
:
:
with
with
with
with
x
x
x
x
=
=
=
=
0, x2 y + 2 = 0 gives y = 2
10, x2 y + 2 = 0 gives y = 102
0, x + y 6= 0 gives y = 6
10, x + y 6= 0 gives y = 4
Example
Continuing with the example from the previous
Example
x
y from
x2 y + 2
=0
y from
x+y2=
0
2.
6.
8.25
3.5
60
2.
5
40
5.
27.
1.
7.
5
58.25
-1.5
10
102.
-4.
100
80
constraint 1: y = x*x + 2
Feasible region
20
constraint 2: y = 6 - x
0
0
10
Example
After all constraint contours are drawn, the intersection of
2( ymax ymin)/3)
y from
f = 700
y from
f = 2810
26.46
53.01
2.5
32.97
59.39
5.
40.
66.04
7.5
47.5
72.94
10
55.41
80.09
example problem.
We see that the feasible
region (area where all
constraints are satisfied) is
the small line near the
origin.
It is clear that we should
adjust ranges for both x and
y to get an enlarged view of
the feasible domain.
Also, the contour lines for
nonlinear functions are not
very smooth.
Thus, we should use more
points in plotting these
contours.