CIVE5024-5971M Lecture-02 2018
CIVE5024-5971M Lecture-02 2018
FACULTY OF ENGINEERING
By Dr Amirul I. Khan
Copyright © 2019 University of Leeds UK. All rights reserved
Learning outcomes
• Minimise
f(x,y)=(x-4)2+(y-6)2
• Subject to
g1=x+y-12≤0
g2=x-8 ≤ 0
g3=-x ≤ 0
g4=-y ≤ 0
K-car has to satisfy the following Cost item (for Ordinary car, K-car
requirements: two years), yen 1500 kg
Length 3400mm Road tax 34,500 7,200
Width 1480mm
Environment 37,800 8,800
Height 2000 mm
tax
Engine 0.66 litre
Compulsory 22,470 18,890
Main benefit: in Japan one insurance
doesn’t have to have a Total, yen 94,770 = £655 34,980 =
private parking space to buy £242
a K-car
XF85 Goblin (FF 23 August 1948) had to fit into the bomb bay of Convair B-36
bomber as a defensive "parasite fighter“. The design was entirely driven by these
constraints. The B-36 was supposed to carry up to three Goblins. The project was
cancelled a year later primarily due to advances in air refuelling.
• Length: 4.5 m
• Wingspan: 6.4 m (foldable wings)
• Height: 2.5 m
• Loaded weight: 2,050 kg
• Maximum speed: 1,069 km/h
• Service ceiling: 14,600 m
• 4 × 12.7 mm machine guns
Goslar, Germany
Copyright © 2018 University of Leeds UK. All rights reserved
How do you find the summit if
you can’t see the landscape?
• If in the definitions above we replace " ≥ " with ">," then we have a strict local
minimiser and a strict global minimiser, respectively.
• A global minimum point is the one where there are no other feasible points with
better cost function values.
• A local minimum point is the one where there are no other feasible points “in the
vicinity” with better cost function values.
• Minimise
f(x,y)=(x-4)2+(y-6)2
• Subject to
g1=x+y-12≤0
g2=x-8 ≤ 0
g3=-x ≤ 0
g4=-y ≤ 0
• Unconstrained points: To locate minimum points we
use f(x*,y*) ≤ f(x, y) at a candidate feasible point (x*,y*)
in it’s small feasible neighbourhood. Point E(4,6) is the
local minimum.
• Constrained points: We check the local minimum at
some other points such as A where f(0,0)= 52 is not
local minimum since it violates f(0,0) ≤ f(x,y) for any
feasible point around (0,0).
• Similarly for B, C, D and G are not local minimum
• Hence E is local and global minimum.
• Note: Constraints have no role in determining the
minimum. But this not always true.
• Minimise 7
f(x,y)=(x-3)2+(y-3)2 6
5
• Subject to
4
g1=x+y-4≤0; x,y>0
x2
3
minimum 1
0
0 2 4 6 8
-1
x1
• Minimise
f(x,y)=(x-10)2+(y-8)2
• Subject to
g1=x+y-12≤0
g2=x-8 ≤ 0
g3=-x ≤ 0
g4=-y ≤ 0
• It is seen that point G, with coordinates (7, 5)
and f=18, has the smallest distance from
point E.
• At this point, the constraint g1 is active.
• Thus, for the present objective function, the
constraints play a prominent role in
determining the minimum point for the
problem.
• Maximise
2 2
𝑓 𝑥, 𝑦 = 𝑥 − 4 + 𝑦−6
• Subject to
𝑔1 = 𝑥 + 𝑦 − 12 ≤ 0
𝑔2 = 𝑥 − 8 ≤ 0
𝑔3 = −𝑥 ≤ 0
𝑔4 = −𝑦 ≤ 0
• The feasible region for the problem is ABCD, as
shown in Figure
• The objective function is an equation of a circle
with center at point E(4, 6). Two objective
function contours are shown in the figure.
• It is seen that point D(8, 0) is a local maximum
point because any feasible move away from the
point results in reduction of the objective function.
𝑥𝑖𝐿 ≤ 𝑥𝑖 ≤ 𝑥𝑖𝑈 𝑜𝑟 𝑥𝑖 ≥ 0; 𝑖 = 1, 2, … , 𝑛
f X x
*
0
2
x1 x2 xn
f X *
xn
matrix H(X*):
H( X* ) D 2 f X* 0 ( ve definite) or
D2 f X 0( ve definite )
*
f 2 f 2 f 2
2
x12 x1 x2 x1 xn
f f 2 f 2
where D 2 f X* x2 x1
x22
x2 xn
2
f f 2 f 2
x x
n 1 xn x2 xn2
• This is also called 2nd order sufficient condition
Copyright © 2019 University of Leeds UK. All rights reserved