Cha-2 OR-1 (7)
Cha-2 OR-1 (7)
Linear Programming
Amanuel E.
Introduction to Linear Programming
The term linear programming refers to a mathematical
techniques for determining the optimum allocation of
resources and obtaining a particular objective when there
are alternative uses of the limited or constrained
resources.
Linear programming models are mathematical
representations of LP problems.
Linear programming models have certain characteristics
in common.
Components of LP Models
1) Objective Function
The objective in problem solving is the criterion by
which all decisions are evaluated.
In linear programming models, a single, quantifiable
objective must be specified by the decision maker.
Because we are dealing with optimization, the objective
will be either maximization or minimization.
Hence, every LP problem will be either maximization or a
minimization problem.
Cont’d…
2) Decision variables
They represent unknown quantities to be solved for.
The decision maker can control the value of the objective,
which is achieved through choices in the levels of decision
variables.
inputs and outputs is linear. In other words, changes in inputs lead to proportional changes
in outputs. For example, if producing twice as many units of a product requires twice as
much raw material, then the relationship between production and resources is
proportional.
2. Additivity: This assumption states that the total contribution of each decision variable is
the sum of its individual contributions. It means that the overall objective function and
constraints can be expressed as the sum of the contributions of each decision variable. For
instance, if producing two different products generates revenue, the total revenue is the
3. Divisibility: Linear programming assumes that decision variables can take any real
value within a feasible range. It implies that fractional amounts of resources or outputs
are permissible. For example, in production planning, it's assumed that you can
produce 1.5 units of a product if needed.
Required
A. Formulate the LP Problem Model
Solving Linear Programming Problems
Required
A. Formulate the LPM.
B. Solve by Graphic Approach.
C. Solve by Simplex Approach
Maximization Problem: Example
Example 1: Consider two models of color TV sets, models A and B, is produced by a company to
maximize profit. The profit realized is Birr. 300 from set A and Birr.250 from set B. The resource
requirement of model A is 2 hours of labor and (1) one hours of machine time. Where as, the
resource requirements of model B is that one hours of labor hour and 3 hours of machine.
a) Availability of only 40 hours of labor each day in the production department (a labor
constraint).
The problem is to determine how many sets of each model to produce each day so that the total
Example 1:
Minimize Z = 8X1 + 12 X2
Subject to
𝟓𝒙𝟏 + 𝒙𝟐 ≥ 20
𝟒𝒙𝟏 + 𝟑𝒙𝟐 ≥ 𝟐𝟒
𝒙2 ≥ 2
𝒙1,𝒙2 ≥ 0
Minimization…..
Example 2: Suppose a machine shop has two different types of machines, machine 1, and
machine 2, which can be used to make a single product. These machines vary in the
amount of product produced per hour, in the amount of labor used, and in the cost of
operation. Assume that at least a certain amount of product must be produced and that
we would like to utilize at least the regular labor force.
How much should we utilize each machine in order to minimize total costs and still meet
the requirements?
Exercise
3F Furniture manufacturer produces two products: Beds and Chairs. Each
unit of Bed requires 3 hrs in molding unit, 4hrs in painting unit, and 1 hr in
finishing. On the other hand, each unit of Chair requires 3 hrs in molding
unit, 2 hrs in the paint shop and 2 hours in finishing. Each week, there are
210 hrs available in molding, 200hrs in painting, and 120 hrs in finishing
unit. The demand for Chairs cannot exceed 40 units per week. Each unit of
Bed contributes Birr 20 to profit, while each unit of chair contributes Birr
30.
Determine the number of units of each product per week to maximize the
profit? (Use Graphic Method to solve the given LP problem).
Simplex Approach
Introduction
The graphical method is restricted to problems with two
decision variables.
When the number of variables and the number of
constraints increase, it becomes difficult to visualize the
solution space.
As a result, the graphical method cannot be employed
successfully in such cases.
In order to avoid this limitation, the simplex method or
step by step method is efficient method for solving linear
programming problems, which was developed by George
B. Datzing in 1947.
Steps In Simplex Method
Step 1. Standardize the Problem.
The first step is to change all the inequality constraints
into equalities.
To convert the inequality constraint into equality, we
introduce slack or surplus/Artificial variables.
1. Slack variables represent unused capacity
2. Surplus variables represent excess amount and
3. Artificial variables do not represent any quantity relating to the
decision problem.
The contribution (cost or profit) associated with the slack
and surplus variables is zero.
Con’d…