Beruflich Dokumente
Kultur Dokumente
4G03
1 / 25
4G03
2 / 25
Allocation Models
The main issue in allocation models is to divide or allocate a valuable resource among competing needs. The resource may be land, capital, time, fuel, or anything else of limited availability Principal decision variables in allocation models specify how much of the critical resource is allocated to each use Example: The Ontario Forest Service must trade-o timber, grazing, recreational, environmental, regional preservation and other demands on forestland. The optimization seeks the best possible allocation of land to particular prescriptions (e.g., in terms of the net present value), subject to forestwide restrictions on land use. xi ,j = number of acres in area i managed by prescription j
4G03
3 / 25
4G03
4 / 25
Blending Models
The main issue in blending models is to decide what mix of ingredients best fullls specied output requirements. The blend can be from chemicals, diets, metals, animal foods, etc. Principal decision variables in blending models specify how much of the available ingredients to include in the mix Composition constraints typically enforce lower and/or upper limits on the properties of the blend Example: Gasoline Blending Process
Maximize: Prot Subject to: Product Flow = Octane No. RVP Rel. Vol. Component Flows
Beno Chachuat (McMaster University) t LP: Model Formulation
Reformate FC LSR Naphta FC AT nButane FC FCC Gas FC Alkylate FC FT Final Blend
Product 2 Product 3
4G03 6 / 25
Number of ball-bearings produced during period t Inventory level at the beginning of period t Number of employees beginning a shift at time t
max s.t.
[10P1 + 11P2 + 12P3 ] [5F1 + 6F2 ] P1 = 0.7F1 + 0.2F2 P2 = 0.2F1 + 0.2F2 P2 = 0.1F1 + 0.6F2 0 P1 100 0 P2 70 0 P3 90 0 F1 , F2 1000
Scheduling models typically link decisions in successive time periods with balance constraints of the form: starting impacts of starting level in + period t = level in period t decisions period t + 1 Covering constraints assure that the requirements over each time periods are met
4G03
7 / 25
4G03
8 / 25
The model must consider the inventories in tanks, factory, warehouses Delays in transportation can be important What type of balances are needed?
Beno Chachuat (McMaster University) t LP: Model Formulation
Material Balance: F1 = F2 + F3 Feed and product composition (mole fractions) cannot change Why?
F1
k=1
m = F2
Can we make the product mole fractions 1 , . . . , n variables? Could we model it dierently?
LP: Model Formulation 4G03 12 / 25
4G03
11 / 25
A+B C B+C D
Product ow rates: FA , FB , FC , FD
coolant
Material Balances: FA = A Ff FB = B Ff FC = C Ff FD = D Ff
Beno Chachuat (McMaster University) t
Remarks: The s are for specic reactions, reactor temperature, level, mixing pattern, etc. If A, B, C, D are the only components, A + B + C + D = 1 The F s are mass units!
LP: Model Formulation 4G03 13 / 25
4G03
14 / 25
Base-Delta LP Models
Goal: Extend straightforward LP models to include nonlinear, secondary decision variables: 0 = f(x, y) f(x, y ) + f y (y y )T
x ,y
The base model, f(x, y ), describes the (linear) eect of the primary decision variables, while the secondary variables are kept constant at their nominal value y = y The delta model provides small corrections for deviations (deltas) in the secondary variables y around (x , y )
1
1.75
The accuracy of the solution depends on how well the approximation applies at (x , y ) = (x , y ) To improve the accuracy, the primary and secondary decision variables should be limited by upper and lower bounds
Beno Chachuat (McMaster University) t LP: Model Formulation 4G03 15 / 25
Develop a straightforward model that predicts the ow rate of methane from the reactor Enhance this model by adding a delta due to changes in severity. Recommend the allowable range for the severity variable Is the material balance closed in the base-delta approach?
LP: Model Formulation 4G03 16 / 25
Separable Programming
Consider the following mathematical program: min
x n
Dene: cj
(k)
z=
j=1 n
fj
(k) (k)
fj
(k1) (k1)
s.t.
j=1
(0)
xj
xj
0 jk xj
c2 =
(1) fj (2) (1) xj xj
(k)
xj
(k1)
xj 0,
j = 1, . . . , n
fj
(3) (1)
fj
(2)
The objective consists of n nonlinear, separable terms fj (xj ), each a function of a single variable only Examples? The m constraints are linear
fj (2) fj
0 j2 xj
(2)
xj
xj
(1)
(0) xj
+
k=1 Nj
jk
(k)
When each fj is convex on the feasible region, the separable program can be approximated with an LP An analogous situation exists when the objective is to maximize a separable concave function Why?
Beno Chachuat (McMaster University) t LP: Model Formulation 4G03 17 / 25
xj
(0)
xj
(1)
xj
(2)
xj
(3)
xj
fj (xj ) fj
(0)
+
k=1
cj jk
4G03
18 / 25
min
j=1 n
fj
(0)
...,
fN (x) = cT x + dN N
min max{cT x + di : i = 1, . . . , N} i i = 1, . . . , m
x
s.t.
j=1 k=1
aij jk bi
j=1 (k)
0 jk xj Important Remarks:
xj
(k1)
j = 1, . . . , n, k = 1, . . . , Nj
f (x)
Minimax Problem
f (x)
Maximin Problem
Convexity guarantees that the pieces in the solutions will be included in the right order This approach does not work if not all functions are convex! The solution can be made as accurate as desired by using enough intervals One pays the price in terms of increased problem size!
Beno Chachuat (McMaster University) t LP: Model Formulation 4G03 19 / 25
cT x + d1 1 max{cT x + dj : i = 1, . . . , 3} j cT x + d3 3
cT x + d2 2
cT x + d3 3 min{cT x + dj : i = 1, . . . , 3} j
xmin
cT x + d2 2
xmax
cT x + d1 1 xmin xmax
x
4G03 20 / 25
The CEO wants to minimize the maximum number of employees working on Sundays in all groups. Formulate a model for this optimization problem. LP Model: min
x,z
LP Model: z cT x 1 + d1 max z
x,z
s.t. z . . .
s.t. z cT x + d1 1 . . . z cT x + dN N
z cT x + dN N
Goal Programming
Consider the case of multiple, competing linear objectives: f1 (x) =
cT x, 1
...,
fN (x) =
cT x, N
and corresponding target levels 1 , . . . , N Find a compromise between the various goals in such a way that most are to some extent satised
Lower One-Sided Goal: Achieve a value of at least k for the kth goal, fk (x) = cT x k k
dk 0 + dk 0 + dk , dk 0
Two-Sided Goal:
+ c T x + dk dk = k , k
Upper One-Sided Goal: Achieve a value of at most k for the kth goal, fk (x) = cT x k k
Fundamental balances (such as material and energy balances) should never be softened! These must always be strictly observed Softening constraints may help debugging models in case infeasibility is reported
Two-Sided Goal: Achieve a value of exactly k for the kth goal, fk (x) = cT x = k k
4G03
23 / 25
4G03
24 / 25
T d k = 1, . . . , N
s.t. cT x dk = k , k
Ax b x 0, d 0 Determining the weights is a subjective step... Dierent weights often yield very dierent solutions! Preemptive LP Model Formulation: The goals are subdivided into sets, and each set is given a priority
The solution proceeds by solving a sequence of subproblems, from highest to lowest priority goals Goals of lower priority are ignored in a given subproblem Goals of higher priority are enforced as hard equality constraints
LP: Model Formulation 4G03 25 / 25