Documente Academic
Documente Profesional
Documente Cultură
Alexandra M. Newman
Division of Economics and Business
Seminar Outline
• Linear Programming
• Nonlinear Programming
1
Linear Programming
(P ) min cx
subject to Ax = b
Slide 3 x≥0
2
Example 1: Linear Programming
3
Solution 1a: Linear Programming
If Ax = b is:
4
Linear Programming in Two Dimensions
infeasible
maximum
Slide 10
5
Linear Program with Multiple Optimal Solutions
Slide 11
Slide 12
6
Infeasible Linear Program
Slide 13
7
Simplex Method
Slide 15
Slide 16
8
Solution 1b: Linear Programming
(P ) min cy
subject to Ay = b
Slide 18 y ≥ 0 and integer (and binary)
9
Integer Linear Programming in Mining
10
Example 2: Integer Programming
The company can estimate from drill samples the quantity aij
of product j available in each stratum i, the fraction bij of
BPL (a measure of phosphate content) in the part of i
suitable for j, and the corresponding fraction pij of pollutant
Slide 21 chemicals. The company wishes to choose a mining plan
that maximizes the product output while keeping the average
fraction BPL of material processed for each product j at least
bj and the average pollution fraction at most pj . Formulate an
integer linear program model of this mining problem.
Stratum ai1 ai2 ai3 bi1 bi2 bi3 pi1 pi2 pi3
1 4 2 3 .2 .1 .3 .4 .7 .5
Slide 22
2 1 0 2 .1 0 .2 .2 0 .4
3 0 1 4 0 .2 .4 0 .3 .6
4 2 5 0 .3 .7 0 .4 .8 0
5 3 2 5 .2 .3 .2 .4 .5 .4
Limits .25 .3 .27 .7 .9 .7
11
Solution 2a: Integer Programming
Slide 24
12
Integer Programming Optimization Algorithm
13
Mixed Integer Linear Programming
(P ) min cx + dy
subject to Ax + Ey = b
Slide 27 x ≥ 0, y ≥ 0 and integer (and binary)
14
Example 3: Mixed Integer Linear Programming
15
Example 3: Mixed Integer Linear Programming
16
Solution 3a: Mixed Integer Linear Programming
Slide 34
17
Solution 3b: Mixed Integer Linear Programming
Network Models
where A is the set of arcs, xij is the flow on arc (i, j), cij is
the per unit cost of sending flow on arc (i, j), sj is the supply
at node j, dj is the demand at node j, lij is the lower bound
on arc (i, j), and uij is the upper bound on arc (i, j).
18
Network Models in Mining
19
A Network
costs 1
2
1 9 4
(1,3) 7
Slide 39 supplies 3 demands
8 5
(0,4) 4
3
2 5
lower and upper bounds
Network Formulation
20
Example 4: Network Models
Slide 42
Table 6: Capacity (tons) of and cost of transporting coal from
mine to mill
Mine Mill lower bound on capacity upper bound on capacity transportation cost per ton
1 1 2 4 $1
1 2 0 5 $2
2 2 2 8 $4
21
Example 4: Network Models
Slide 43
Mine Mill
1
1 1
(2, 4)
2 4
Slide 44 (0, 5)
(1, 6)
S 2 (0, 5) T
(1, 7)
(1, 9)
2
5
(2, 8)
2 2
4
22
Solution 4a: Network Models
23
Solution 4b: Network Models
• Minimum cost: $4
– Mine 1: Extract 6 tons of coal and send 2 tons to mill
1 and 4 tons to mill 2
– Mine 2: Extract 2 tons of coal and send both to mill 2
Slide 47
– Mill 1: Process and sell 2 tons of coal
– Mill 2: Process and sell 6 tons of coal
Nonlinear Programming
24
Nonlinear Programming in Mining
25
Example 5: Nonlinear Programming
Indices:
• i = type of metal in first category, i = 1, 2, 3
• j = type of metal in second category, j = 1, 2, 3
Slide 52 Parameters:
• Ri = average return of metal type i ($/oz) (see table)
• Vij = covariance between metal i and metal j (see table)
• h = minimum return required ($) ($90)
• l = lower bound on capacity (10%)
• u = upper bound on capacity (60%)
26
Solution 5a: Nonlinear Programming
Variables:
X
3 X
3
min Vij Pi Pj
i=1 j=1
Formulation:
s.t. li ≤ Pi ≤ ui ∀ i
X 3
Pi = 1
Slide 54 i=1
X
3
Ri P̂i ≥ h
i=1
27
Constrained Nonlinear Optimization Problem
min f (x)
subject to hi (x) = bi ∀i = 1...j
gi (x) ≤ ci ∀i = j + 1, ..., m
Slide 55
28
Illustration of an Ill-behaved Nonlinear Function
Slide 57
29
Illustration of Convex and Concave Functions
Slide 59
30