Tổng hợp bài giảng Tối ưu lập kế hoạch_thầy Phạm Quang Dũng | Môn Tối ưu lập kế hoạch| Trường Đại học Bách Khoa Hà Nội

CONTENT

• Optimization problems
• Optimization problem classification
• Applications
• Topics

Thông tin:
289 trang 3 tháng trước

Bình luận

Vui lòng đăng nhập hoặc đăng ký để gửi bình luận.

Tổng hợp bài giảng Tối ưu lập kế hoạch_thầy Phạm Quang Dũng | Môn Tối ưu lập kế hoạch| Trường Đại học Bách Khoa Hà Nội

CONTENT

• Optimization problems
• Optimization problem classification
• Applications
• Topics

39 20 lượt tải Tải xuống
FUNDAMENTALS OF
OPTIMIZATION
Introduction
CONTENT
Optimization problems
Optimization problem classification
Applications
Topics
Optimization problems
Maximize or minimize some function relative to some set (range of
choices)
The function represents the quality of the choice, indicating which is the
“best”
Example
A shipper need to find the shortest route to deliver packages to
customers 1, 2, …, N
0
3
1
6
3
0
2
4
1
2
0
5
6
4
5
0
0
3
4
2
5
6
8
7
3
0
3
6
7
2
1
6
4
3
0
4
7
1
1
9
2
6
4
0
2
8
3
4
5
7
7
2
0
6
5
1
6
8
1
8
6
0
9
3
8
1
1
3
5
9
0
2
7
6
9
4
1
3
2
0
Notations
x R
n
: vector of decision variables x
j,
for j = 1, 2, …, n
f : R
n
R is the objective function
g
i
: R
n
R is the constraint function defining restriction on x, i = 1, 2, …,
m
minimize f(x) over x = (x
1
, x
2
,…, x
n
) X R
n
satisfying a property P:
g
i
(x) b
i
, i = 1, 2, …, s
g
i
(x) = d
i
, i = s + 1, 2, …, m
Examples
min f(x) = 3x
1
5x
2
+ 10x
3
x
1
+ x
2
+ x
3
≤ 10
2x
1
+ 4x
2
5x
3
= 9 (Linear Program)
x
1
, x
2
R
+
, x
3
Z
min f(x) = 4𝑥
1
2
+ 3𝑥
2
2
7𝑥
1
𝑥
3
x
1
+ 𝑥
2
3
+ 4x
3
≤ 10
2 𝑥
1
2
+ 4x
2
5x
3
= 7 (Nonlinear Program)
x
1
, x
2
R
+
, x
3
Z
Solving optimization problems
General optimization problems
Very difficult to solve
Some special cases
Linear programming
Least square problem
Some shortest path problems on networks
Etc.
Example TSP
0
3
1
6
3
0
2
4
1
2
0
5
6
4
5
0
0
3
4
2
5
6
8
7
3
0
3
6
7
2
1
6
4
3
0
4
7
1
1
9
2
6
4
0
2
8
3
4
5
7
7
2
0
6
5
1
6
8
1
8
6
0
9
3
8
1
1
3
5
9
0
2
7
6
9
4
1
3
2
0
Classification
Linear Programming (LP): f and g
i
are linear
Nonlinear Programming (NLP): some function f, g
i
are nonlinear
Continuous optimization: f and g
i
are continuous on an open set
containing X, X is closed and convex
Integer Programming (IP): X {0,1}
n
or X Z
n
Constrained optimization: m > 0, X R
n
Unconstrained optimization: m = 0, X = R
n
Applications
Production Planning
Routing in transportation
Scheduling
Assignment
Packing
Time Tabling
Network designs
Machine learning
. . .
Agriculture Production Planning
SKU
Chart
Demand
10000
25000
32000
42500
Fields
Construction Planning
Planning
Task
Duration
1
30
2
20
3
15
4
25
5
20
6
45
7
40
8
30
6
1
3
5
4
2
7
8
beams
piles
bases
Logistics & Transportation
13
Logistics & Transportation
Logistics & Transportation
How to make a plan for delivering goods to customers
Logistics & Transportation
How to make a plan for delivering goods to customers
Logistics & Transportation
How to pick items in a very large warehouse?
Assignment
How to assign tasks to workers in an optimal way
workers
tasks
4 6 8
2 6 7
5 6
1 4
6 3
Time tabling
How to assign classes into slots of the timetable
Monday
Tuesday
Wednesday
Thursday
Friday
Data
structure &
Algorithms,
TC
-305
Python
Programmin
g, D9
-302
Statistics,
B1
-203
Technical
writing, B1
-
202
Networkings
, B1
-404
Fundamenta
l of
optimization,
B1
-402
Java
advanced,
B1
-204
Machine
learning,
D6
-302
Image
processing,
D6
-303
Software
engineering,
D5
-102
Operating
systems,
D9
-101
Machine learning
Prediction
X
Y
43
45
44
46
45
45
46
48
47
47
48
51
49
49
50
?
| 1/289

Preview text:

FUNDAMENTALS OF OPTIMIZATION Introduction CONTENT • Optimization problems
• Optimization problem classification • Applications • Topics Optimization problems
• Maximize or minimize some function relative to some set (range of choices)
• The function represents the quality of the choice, indicating which is the “best” • Example
• A shipper need to find the shortest route to deliver packages to customers 1, 2, …, N 0 3 4 2 5 6 8 7 3 0 3 6 7 2 1 6 0 3 1 6 4 3 0 4 7 1 1 9 3 0 2 4 2 6 4 0 2 8 3 4 1 2 0 5 5 7 7 2 0 6 5 1 6 4 5 0 6 8 1 8 6 0 9 3 8 1 1 3 5 9 0 2 7 6 9 4 1 3 2 0 Notations
x Rn : vector of decision variables x for j = 1, 2, …, n j,
f : Rn R is the objective function
g : Rn R is the constraint function defining restriction on x, i = 1, 2, …, i m
minimize f(x) over x = (x , x ,…, x ) X Rn satisfying a property P: 1 2 n
g (x) ≤ b , i = 1, 2, …, s i i
g (x) = d , i = s + 1, 2, …, m i i Examples min f(x) = 3x – 5x + 10x 1 2 3 x + x + x ≤ 10 1 2 3
2x + 4x – 5x = 9 (Linear Program) 1 2 3
x , x R+, x  Z 1 2 3 min f(x) = 4𝑥2 2 1 + 3𝑥2 – 7𝑥1 𝑥3 x + 𝑥3 + 4x ≤ 10 1 2 3 2 𝑥2
1 + 4x – 5x = 7 (Nonlinear Program) 2 3
x , x R+, x Z 1 2 3
Solving optimization problems
• General optimization problems • Very difficult to solve • Some special cases • Linear programming • Least square problem
• Some shortest path problems on networks • Etc. 0 3 4 2 5 6 8 7 • Example TSP 3 0 3 6 7 2 1 6 4 3 0 4 7 1 1 9 0 3 1 6 2 6 4 0 2 8 3 4 3 0 2 4 5 7 7 2 0 6 5 1 1 2 0 5 6 8 1 8 6 0 9 3 6 4 5 0 8 1 1 3 5 9 0 2 7 6 9 4 1 3 2 0 Classification
• Linear Programming (LP): f and g are linear i
• Nonlinear Programming (NLP): some function f, g are nonlinear i
• Continuous optimization: f and g are continuous on an open set i
containing X, X is closed and convex
• Integer Programming (IP): X  {0,1}n or X Zn
• Constrained optimization: m > 0, X Rn
• Unconstrained optimization: m = 0, X = Rn Applications • Production Planning • Routing in transportation • Scheduling • Assignment • Packing • Time Tabling • Network designs • Machine learning • . . .
Agriculture Production Planning SKU Chart Demand Fields 10000 25000 32000 42500 Construction Planning Planning beams piles Task Duration Predecessors 1 30 6 bases 2 20 1,4,8 1 3 15 6 4 25 5,6 2 5 5 20 1,6 6 7 6 45 7 40 2,8 4 8 30 3,4 8 3
Logistics & Transportation 13
Logistics & Transportation
Logistics & Transportation
 How to make a plan for delivering goods to customers
Logistics & Transportation
 How to make a plan for delivering goods to customers
Logistics & Transportation
 How to pick items in a very large warehouse? Assignment
 How to assign tasks to workers in an optimal way workers tasks 4 6 8 2 6 7 5 6 1 4 6 3 Time tabling
 How to assign classes into slots of the timetable Monday Tuesday Wednesday Thursday Friday Data Python Statistics, Technical Networkings structure & Programmin B1-203 writing, B1- , B1-404 Algorithms, g, D9-302 202 TC-305 Fundamenta Java l of advanced, optimization, Machine B1-204 Image B1-402 learning, processing, D6-302 Software Operating D6-303 engineering, systems, D5-102 D9-101 Machine learning  Prediction X Y 43 45 44 46 45 45 46 48 47 47 48 51 49 49 50 ?