Professional Documents
Culture Documents
Optimization Models and Linear Programming: Problem Description
Optimization Models and Linear Programming: Problem Description
Linear Programming (L.P.) is a mathematical modeling technique that typically deals with the problem of allocating limited resources
among competing activities in the best possible (i.e. optimal) way.
The variety of situations to which this description applies is diverse: it ranges,
- from allocation of production facilities to products to allocation of national resources to domestic needs;
- from allocation of aero plane fuel to bomber runs to allocation of farmland to different crops;
- from investment portfolio selection to selection of shipping patterns.
However, one common ingredient in each of these situations is the necessity for allocating resources to activities.
In the term “Linear Programming”, the adjective linear means that all mathematical functions involved in linear programming models
are required to be linear functions.
The word “programming” does not refer to computer programming; rather, it is essentially a synonym for planning. In other words,
linear programming involves the planning of activities to determine a decision policy that will produce the best results (in terms of
the specified goal, as defined in the mathematical model) among all possible decision policy alternatives.
Because of its basic simplicity in modeling and fast, efficient solution procedures, linear programming is one of the most powerful
and widely used operations research techniques.
Problem Description
The farmer wishes to know how many acres of wheat and/or potatoes he should plant to maximize his revenue (i.e. what is the
production (crop-raising) policy that will maximize revenue, while satisflying the stated requirements?
Model Formulation
Decision Variables:
x1 : Number of acres of potatoes planted
x2 : Number of acres of wheat planted.
Resource constraints (as a function of the decision variables):
1) 1.0 x1 + 1.0 x2 ≤ 100 (Acreage Constraint)
2) 1.0 x1 + 4.0 x2 ≤ 160 (Labor Constraint)
3) 100x1 + 200 x2 ≤ 11000 (Capital Constraint)
1st constraint: The total acreage planted should not exceed 100 acres.
2nd constraint: The total labor required to raise x1 acres of potatoes and x2 acres of wheat should not exceed 160 man-days.
3rd constraint: The total expenditure required to raise x1 acres of potatoes & x2 acres of wheat should not exceed 11,000 TL.
Expected revenue as a function of potatoe and wheat planted and sale prices:
Z = 400 x1 + 1200 x2
The most labor intensive department in the facility is the QC and Testing Department. As a precaution against layoffs, union
agreements require that the montly workload in this department should not be below 1350 hours.
The Marketing Department has recommended the production of at least one B9 model tire for every 3 T9 models produced, to shore
up the market position.
The Costing Department, suggests the production of at least 600 units, so that idle time will be kept under control and fixed costs will
be evenly distributed.
Optimization Tools 2.4 Intro to L.P.
What is the monthly production policy that will maximize monthly profits, while satisfying all the conditions stated above?
Model Formulation
Decision Variables:
x1 : Number of T9 type tires to be produced
x2 : Number of B9 type tires to be produced.
1st constraint: Total mixing dept. processing time to produce x1 units of T9 & x2 units of B9 should not exceed 150 hours
2nd constraint: Total pressing dept. processing time to produce x1 units of T9 & x2 units of B9 should not exeed 160 hours.
A general L.P. model, having "n" decision variables, "m" constraints, and a maximization objective:
Any point in the feasible region (i.e. any point (x1,..., xn) satisfying the stated conditions) is called a feasible solution of the L.P.
problem. Any feasible solution, x* = (x*1,..., x*n), which has,
z (x*1,..., x*n) ≥ z (x1,..., xn) for all feasible solutions (x1,..., xn)
is called an optimal solution of the L.P. problem.
The value, z (x*1,..., x*n), is called the optimal value of the L.P. problem. Note that an L.P. problem may have many (infinitely
many) optimal solutions but has a unique optimal value.
The following type of questions may help in determining how closely the undertaken assumptions fit the real being invistigated. In
the example problems,
a) How realistic it is to assume constant unit costs and sale prices?
b) Is it at all possibe to know such costs and sale prices at planning time?
c) Is it realistic to have resource usage proportional to production levels?
d) Is a one month planning horizon sufficient and/or realistic? How are daily schedules compatable with the monthly plans to be
determined?
e) Is the dynamic nature and randomness of the demand an important issue? Is it possible to stock the goods produced for usage in
later periods?
It is possible to provide satisfactory answers to some of these by expanding the L.P. model. But, some cannot be satisfied at all
through the L.P. approach.
100
X 1+X 2 = 100
80
60
100 x 1 + 200 x2 = 11000
40
20
x1 + 4 x2 = 160
100
X 1+X 2 = 100
80
400 x1 + 1200 x2 = k
60 x1 = 60
100 x1 + 200 x2 = 11000 x2 = 25
z = 54000
40
20
x1 + 4 x2 = 160
1400
1200
100 X 1 + 80 X 2 = Pr ofit
1000
800
3X 1+X 2 =1350
600
400 X1 = 3 X2
X 1+ X 2 = 600
200 0.1 X 1 + 0.15 X 2 = 150
X1
1400
1200
1000 100 X 1+ 80 X 2
800
600
400
X1 = 3 X2
X 1 + X 2 = 600
200
X1
1400
1200 7 X1 = X2
1000
800
600
400
X1+X2 = 600
200
X1
100
80
60
40
20
80
600 x1 + 1200 x2 = k3
x1 = 90
450 x1 + 1220 x2 = k2 x2 = 10
60 x1 = 60
x2 = 25 z1 = 48000
z2 = 52700
z1 = 54000
z3 = 66000
40 z2 = 57500
z3 = 66000
400 x1 + 1200 x2 = k1
20
The feasible and the optimal solution sets of the following problems are identical
n n
min z = ∑ c j x j max z = ∑ -c j x j
j= 1 j=1
P1 s.t. P2 s.t.
n n
∑ a ij x j ≤ b i i = 1,..., m ∑ a ij x j ≤ b i i = 1,..., m
j=1 j=1
xj ≥ 0 j = 1,…, n xj ≥ 0 j = 1 ,…, n
The optimal values differ only by a multiplication by -1. That is, if z1* and z2* are optimal values of P1 and P2
respectively, then necessarily z1* = - z2*.
To convert a minimization problem into an equivalent maximization problem (or vica versa), all objective function
coefficients should be multiplied by (-1).
The optimal solutions will be the same, the optimal values will be differing by a multiplication by -1.
So, the first can be replaced by the following without losing any generality.
⎪⎧ n ⎪⎫
⎨∑ a ij x j ≤ bi ⎬ where a ij = -a ij ; b i = -b i
⎪⎩ j=1 ⎪⎭
⎧⎪ n ⎫⎪ ⎧⎪ n n ⎫⎪
⎨∑ a ij x j = b i ⎬ ⎨∑ a ij x j ≤ b i ; ∑ a ij x j ≥ b i ⎬⎪
⎪⎩ j=1 ⎪⎭ ⎪⎩ j=1 j=1 ⎭
⎧n ⎫
⎪∑ a ij x j ≤ b i ⎪
⎪ j=1 ⎪
⎨n ⎬
⎪ ⎪
⎪∑ -a ij x j ≤ −b i ⎪
⎩ j=1 ⎭
Max Z= c1 x1 + c2 x2 + c3 x3 + c4 x4 + c5x5
s.t.
a11x1 + a12x2 + a13x3 + a14x4 + a15x5 ≤ b1
a21x1 + a22x2 + a23x3 + a24x4 + a25x5 ≤ b2
a31x1 + a32x2 + a33x3 + a34x4 + a35x5 ≤ b3
x1, x2, x3, x4 ≥ 0; x5 free
Objective:
n
max z = ∑ c j x j
j=1
Constraints:
n
∑ a ij x j = b i i = 1,..., m
j=1
xj ≥ 0 j = 1,…, n
Any L.P. problem must first be brought into this standard form for the implementation of the Simplex solution
procedure.
Fortunately, through the discussed form changes, convertion into standard form is quite simple.
x1 ≥ 0 [29]
x2 ≥ 0 [30]
x3 ≥ 0 [31]
x4 ≥ 0 [32]
x5 ≥ 0 [33]
s1 ≥ 0 [34]
s2 ≥ 0 [35]
s3 ≥ 0 [36]
“Initial” simplex tableau contains the parameters of the L.P. problem. During the solution procedure, the Simplex
ERO are applied to rows of the simplex tableau.
The typical initial simplex tableau of an “n” variable, “m” constraint L.P. problem in standard form is displayed
below.