Sie sind auf Seite 1von 20

Linear programming is a mathematical technique useful for

allocation of scarce or limited resources, to several


competing activities on the basis of a given criterion of
optimality.

The word linear refers to linear relationship among


variables in a model. That is, a change in one variable
causes a resulting proportional change in other variable.

The word programming refers to the solution of a problem


that involves the economic allocation of limited resources,
by choosing a particular course of action or strategy
among various alternative strategies in order to achieve a
desired objective.

Structure of LP Model

Decision variables (activities) are usually denoted by x1,


x2, , xn. The value of these activities represents the
extent to which each of these is performed.

For example, in a product-mix problem, linear programming


(LP) approach may be used to decide how many units of
each of the product can be manufactured by using limited
resources (personnel, machinery, money, material, etc.).
Contd...

Structure of LP Model

The objective goal function is expressed in terms of


decision variables to optimize the criterion of optimality (a
measure of performance) such as profit, cost, revenue,
distance, etc. The general objective function of LP model is
expressed as:
Optimize (maximize or minimize) Z = c1x1 + c2x2 +
+ cnxn
where, Z is the measure-of-performance variable, which is a
function of x1, x2, , xn. Quantities c1, c2, , cn are
parameters that represent the contribution per
respective variable to the measure-of-performance Z.

unit

The constraints or limitations on the use of resources


(e.g. labour, machine, raw material, space, money, etc.)
restrict the degree to which an objective can be achieved.

Assumptions of a LP Model

Certainty: The LP model parameters, i.e. availability of


resources bi; profit (or cost) contribution of a unit of decision
variable cj; and consumption of resources by a unit of
decision variable aij, must be known as constant.

Additivity: The value of the objective function and the


total amount of each resource used (or supplied), must be
equal to the sum of the respective individual contribution
(profit or cost) by decision variables.
Contd

Assumptions of a LP Model

Linearity (or Proportionality): The amount of each


resource used (or supplied) and its contribution to the profit
(or cost) in objective function must be proportional to the
value of each decision variable. For example, if production
of 1 unit of a product uses 5 hours of a particular resource,
then making 3 units of that product must use 3 5 = 15
hours of that resource.

Divisibility (or Continuity): The value of decision


variables is allowed to assume continuous value. If any of
the variables can assume only integer value or is limited to
discrete number of values, LP model is no longer
applicable, but an integer programming model may be
applied to get the desired values.

Advantages of Linear
Programming

Linear programming helps in attaining the optimum use of


productive resources.

Linear programming technique improves the quality of


decisions. In other words, decision-making approach
becomes more objective and less subjective.

Linear programming technique provides possible and


practical solutions by taking into account the constraints
operating outside the problem.

Linear programming also helps in re-evaluation of the


outcome due to a course of action under changing
conditions.

Limitations of Linear
Programming

Linear programming treats all relationships among decision


variables as linear.
While solving an LP model, there is no guarantee to get an
integer valued solution.
Linear programming model does not take into consideration
the effect of time and uncertainty.
Parameters of LP model are assumed to be constant but in
real-life situations, they are neither known nor constant.
A LP model has single objective function, whereas in real-life
situations we may come across conflicting multi-objective
problems. In such cases, a goal programming model is used
to get satisfactory value of such objectives.

Guidelines on LP Model
Formulation

Step 1: Identify the Decision Variables


What decisions must be made in order to optimize the
objective function?

Step 2: Identify the Problem Data


To identify the problem data so as to determine the value
for the decision variables.
Contd...

Guidelines on LP Model
Formulation
Step 3: Formulate the Constraints
Convert the the constraints imposed by the resource
availability as linear equality (or inequality) in terms of the
decision variables defined in Step 1.
Step 4: Formulate the Objective Function
Identify whether the objective function is to be maximized or
minimized. Then convert it into a linear mathematical
expression in terms of decision variables multiplied by their
profit or cost contributions.

Contd...

General Mathematical Model of


LP Problem

The general linear programming problem (or model) with n


decision variables and m constraints can be stated as:
Optimize (maximum or minimum) Z = c1x1 + c2x2 + +
cnxn
subject to the linear constraints,
a11x1 + a12x2 + ... + a1nxn(, =, )b1
a21x1 + a22x2 + ... + a2nxn(, =, )b2
am1x1 + am2x2 + ... + amnxn(, =, )bm

and

x1 0, x2 0, , xn 0.

Contd...

General Mathematical Model of


LP Problem

where, the cjs are coefficients representing the per unit


contribution of decision variable xj, to the value of objective
function. The aijs are called the technological coefficients or
input-output coefficients and represents the amount of
resource, say i, consumed per unit of variable (activity) xj. The
bi represents the total availability of the ith resource. If any bi
< 0, then both sides of constraint i can be multiplied by 1 to
make bi > 0 and reverse the inequality of the constraint. In
the general LP problem, the expression (, ) implies that
each constraint may take only one of the three possible
forms: (i) less than or equal to (); (ii) equal to (=); (iii)
greater than or equal to ()

Examples of LP Model Formulation


Examples on Production
Example 1: A manufacturing company is engaged in
producing three types of products: A, B and C. The production
department produces, each day, components sufficient to
make 50 units of A, 25 units of B and 30 units of C. The
management is confronted with the problem of optimizing the
daily production of products in assembly department where
only 100 man hoursType
are
available
daily to Assembly
assemble
the
of
Profit Contribution
Time per
per Unit
of Product
Product (h)
products. The followingProduct
additional
information
is available.
(Rs)

12

0.8

20

1.7

45

2.5

Example 1

Resources/Constraints

Total

Product Type
A

Production capacity (units)

50

25

30

Man hours per unit

0.8

1.7

2.5

Order commitment (units)

20

15

(both for B and C)

Profit contribution
(Rs/unit)

12

20

45

100

Example 1
Decision Variables: Let x1, x2 and x3 = Number of units of
products A, B and C to be produced, respectively.
The LP Model: Maximize (total profit) Z = 12x1 + 20x2 +
45x3
subject to the constraints
Labour and materials constraints
0.8x1 + 1.7x2 + 2.5x3 100
x1 50
x2 25
x3 30

Order commitment constraints


x1 20
x2 + x3 15
and x1, x2, x3 0

Examples of LP Model
Formulation

Example 2: A company has two grades of inspectors 1 and


2, who are to be assigned for a quality control inspection. It is
required that at least 2,000 pieces be inspected per 8-hour
day. Grade 1 inspector can check pieces at the rate of 40 per
hour, with an accuracy of 97 per cent. Grade 2 inspector
checks at the rate of 30 pieces per hour with an accuracy of
95 per cent.
The wage rate of a Grade 1 inspector is Rs 5 per hour while
that of a Grade 2 inspector is Rs 4 per hour. An error made by
an inspector costs Rs 3 to the company. There are only nine
Grade 1 inspectors and 11 Grade 2 inspectors available in the
company. The company wishes to assign work to the available
inspectors so as to minimize the total cost of the inspection.
Formulate this problem as an LP model so as to minimize
daily inspection cost.

Example 2
LP Model Formulation: The data of the problem is
summarized as follows
Inspector
Grade 1
Grade 2
Number of inspectors
Rate of checking
Inaccuracy in checking
Cost of inaccuracy in checking
Wage rate/hour
Duration of inspection = 8 h/day
Total pieces which must be
inspected

9
40 pieces/h
1 0.97 = 0.03
Rs 3/piece
Rs 5

11
30 pieces/h
1 0.95 = 0.05
Rs 3/piece
Rs 4

2,000

Decision Variables: Let x1 and x2 = number of Grade 1 and 2


inspectors to be assigned for inspection, respectively.
Contd...

Example 2

Examples of LP Model
Formulation

Example 3: A pharmaceutical company produces two


pharmaceutical products: A and B. Production of both products
requires the same process I and II. The production of B results
also in a by product C at no extra cost. The product A can be sold
at a profit of Rs 3 per unit and B at a profit of Rs 8 per unit. Some
of this by-product can be sold at a unit profit of Rs 2, the remainder
has to be destroyed and the destruction cost is Re 1 per unit.
Forecasts show that only up to 5 units of C can be sold. The
company gets 3 units of C for each unit of B produced. The
manufacturing times are 3 hours per unit for A on process I and II,
respectively, and 4 hours and 5 hours per unit for B on process I
and II, respectively. Because the product C results from producing
B, no time is used in producing C. The available times are 18 and
21 hours of process I and II, respectively.
Formulate this problem as an LP model to determine the quantity
of A and B which should be produced, keeping C in mind, to make
the highest total profit to the company.

Example 3
LP Model Formulation:
summarized as follows:
Constraints/
Resources

The data of the problem is

Time (h) Required by

Availability

Process I

18 h

Process II

21 h

By-product ratio from B

5 units (max. units that can be sold


that can be sold)

Profit per unit (Rs)

Contd...

Example 3
Decision Variables
Let,
x1, x2 = Units of product A and B to be produced, respectively
x3, x4 = Units of product C to be produced and destroyed,
respectively
The LP Model
Maximize (total profit) Z = 3x1 + 8x2 + 2x3 x4
subject to the constraints
Manufacturing constraints for product A and B
3x1 + 4x2 18
3x1 + 5x2 21
Manufacturing constraints for by-product C
x3 5
3x2 + x3 + x4 = 0
and x1, x2, x3, x4 0

Das könnte Ihnen auch gefallen