Or CH 2
Or CH 2
- enables users to find optional solution to certain problems in which the solution must
satisfy a given set of requirements or constraints.
- Optimization in linear programming implies either maximization (max) Profit, revenue,
We can’t
max/min two
quantities in one
sales, market share or minimization (min) Cost, time, distance, or a certain objective
model.
function.
- Involves linearly related multi-variety functions i.e. functions with more than one
independent variables.
- The goal in linear programming is to find the best solution given the constraints imposed
by the problem, hence the term constrained optimization.
LP models are mathematical representation of LP problems. Some models have a specialized format
where as others have a more generalized format. Despite this, LPMs have certain characteristics in
common knowledge of these characteristics enables us to recognize problems that are amenable to a
solution using LP models and to correctly formulate an LP model. The characteristics can be grouped into
two categories: Components and assumptions. The components relate to the structure of a model, where
as the assumptions describe the conditions under which the model is valid.
Components Assumptions
c) The constraints: are restrictions which define or limit the attainability (achievability)
feasibility of a proposed course of action. They limit the degree to which the objective
can be pursued.
A typical restriction embodies scarce resources (such as labor supply, RMs, production capacity,
machine time, storage space), legal or contractual requirements (leg. Product standards, work
standards), or they may reflect other limits based on forecasts, customer orders, company
policies etc.
d) Parameters- are fixed values that specify the impact that one unit of each decision
variable will have on the objective and on any constraint it pertains to as well as to the
numerical value of each constraint.
The components are the building blocks of an LP model. We can better understand their meaning
by examining a simple LP model as follows.
Example:
Maximize:
Maximize: 4X1 + 7X2 + 5X3 (profit)… objective function subject to
2X1 + 3X2 + 6X3 ¿ 300 labor hrs
System
5X1 + 4X3 ¿ 200 raw mat.
3X1 + 5X2 + 2X3 ¿ 360 Constraints
X1 = 30 Individual
X1 – qty of product 1 X2 ¿ 40
Decision
Variable
Constraints
X2 qty of product 2 X1, X2, X3 ¿ 0 Non negativity constructs
s
X3 qty of product 3
Once a problem has been defined, the attention of the analyst shifts to formulating a model. Just
as it is important to carefully formulate the model that will be used to solve the problem. If the
LP model is ill formulated, ill-structured, it can easily lend to poor decisions.
Additional information
In order to develop a suitable model of the problem, the manager has met with the design and
manufacturing personnel. As a result of these meetings, the manager has obtained the following
information:
Type 1 Type 2
Profit per unit $ 60 $ 50
Assembly time per unit 4hrs 10hrs
Inspection time per unit 2hrs 1hr
Storage space per unit 3 cubic ft 3 cubic ft
The manager also has acquired information on the available company resources. These (weekly)
amounts are:
Resource Resource available
Assembly time 100hrs
Inspection time 22hrs
Storage space 39cubic feet
The manager has also met with the firms marketing manager and learned that demand for the
micro computers was such that what ever combination of these two types of micro computers is
produced, all of the out put can be sold.
To identity the maximum (minimum) value we use the corner point approach or the extreme
point approach. The corner point/ extreme point approach has one theorem. It states that:
For problems that have optional solutions, a solution will occur at an extreme, or corner point.
Thus if a problem has a single optional solution, it will occur at a corner point. If it has multiple
optional solutions, at least one will occur at a corner point consequently, in searching for an
optional solution to a problem, we need any consider the extreme points because one of those
must be optional. Further, determining the value of the objective function at each corner point,
we could identify the optional solution by selecting the corner point that has the best value (i.e.
maximum or minimum, depending on the optimization case) of the objective function. Extreme
points represent interactions of constraints.
Determine the values of the decision variables at each corner point. Some times, this can be done
by impaction (observation) and sometimes by simultaneous equation.
Substitute the value of the decision variables at each corner point into the objective function to
obtain its value at each corner point.
After all corner points have been so evaluated, select the one with the highest or lowest value
depending on the optimization case.
Value of the obi
Corner Coordinates How function Z = 60X1 + 50X2
Points X1 X2 determined?
A 0 0 observation 0 br
B 11 0 observation 660 br
C 9 4 Simultaneous 740 br
equation
D 5 8 Simultaneous 700 br
equation
E 0 10 Observation 500 br
BASIC SOLUTION
X1 = 9 X2 = 4 Z = 740 Br.
After we have got the optimal solution, we have to substitute the value of the decision variables into the
constraints and check whether all the resources available are used or not. If there is any unused resources
we can use it for any other purpose. The amount of unused resource is known as slack- the amount of a
scarce resource that is unused by a given solution. The slack can range from zero, for a case in which all
of a particular resource is used, to the original amount of the resource that was available (i.e. none of it is
used.)
Constraint X1 = 9X2 = 4
Knowledge of unused capacity can be useful for planning. A manager may be able to use the remaining
assembly time for other products, or, perhaps to schedule equipment maintenance, safety seminars,
training sermons or other activities
Interpretation: The company is advised to produce 9 units of type 1 micro computer and 4 units of type
2 micro computers per week to maximize its early profit to Br. 740, and in doing so the company would
be left with unused resource of 24 assembly hrs which can be used for other purposes.
X 1 , X2 ¿ 0 X2 14/3 0
X2 9.67 0
X2
12
4
A
B
0 X1
4 8 12 16
C
Value of obj
Points X1 X2
C 14 0 Observation 70 br.
Interpretation to make the diet the minimum cost of br 49 we have to purchase 5 pounds of
type 1 food and 3 pounds type 2 food.
If there is a difference between the minimum required amount and the optimal solution, we call the
difference surplus; that is: surplus is the amount by which the optimal solution causes a ¿ constraint to
exceed the required minimum amount. It can be determined in the same way that slack can: substitute
the optimum values of the decision variables into the left side of the constraint and solve. The difference
between the resulting value and the original right-hand side amount is the amount of surplus.