Linear Programming - Formulation
Linear Programming - Formulation
Operations Research
Introduction
A model consisting of linear relationships representing a firms objective which is to be either maximized (in the case of profit, production) or minimized (in the case of men, materials and so on) and has to be expressed as a linear function of the decision variables and resource constraint. Linear programming is a method of mathematical programming that involves optimisation of a certain function, called objective function, subject to certain constraints and restrictions.
Operations Research
Introduction
Linear means that the relationships handled are those represented in straight lines. i.e. the relationships in form of y = a+bx Programming means taking decisions systematically.
Operations Research
Basic Concepts
Linear assumption- straight line or proportional relationships among the relevant variables. Process and its level- combination of particular inputs to produce a particular output. Criterion function- objective function which states the determinants of the quantity either to be maximized or minimized. Constraints or inequalities- restrictions imposed upon decision variables. Feasible solution- possible solutions which can be worked upon given constraints.
Optimum solution- best of the feasible solutions.
Operations Research
Applications
Personal Assignment problem Transportation problem Efficiency on operation of system of Dams Optimum Estimation of Executive compensation
Agricultural applications
Military applications Production management Marketing management Manpower management Physical distributions
Operations Research
Components of LPP
Objective Function
To maximise or minimise
Constraints
Involving , =, or sign Usually, a maximisation problem has type of constraints and a minimisation problem has type. But a given problem can have constraints involving any of the signs.
Non-negativity Condition
Variables to be non-negative
Operations Research
Components of LPP
Maximize Z = 50x1 + 75x2 + 60x3 Subject to 5x1 + 8x2 + 7x3 480 4x1 + 2x2 + 3x3 240 x1 2x2 + x3 20 x1 , x2 , x3 0
Non-negativity condition
Constraints
Objective Function
Operations Research
Operations Research
In most linear programming problems, the decision variables are permitted to take any non-negative values that satisfy the constraints.
There are some problems in which the variables have integral values only. These problems are not LPP, but very often they can be solved by LPP techniques.
Operations Research
xj = decision variables bi = constraint levels cj = objective function coefficients aij = constraint coefficients
Operations Research
By convention, the values of right hand side parameters bi (i = 1, 2, 3, , m) are restricted to non-negative values only.
Any negative can be changed to positive by multiplying 1 on both sides (in this case direction of inequality will change).
Operations Research
Step 4 The objective function should be maximization form The minimization of a function f (x) is equivalent to the maximization of the negative expression of this function f (x), that is, Min f (x) = Max { f (x)}
Operations Research
Operations Research
then non-negative variables si which are introduced to convert the inequalities (2.3.4) to the equalities n n aij xj + si = bi i = 1, 2, , k
j=1
Operations Research
Example of LPP
Example: A manufacturer makes Products A and B and sells at the profit of Rs. 2 and 3. Each product is processed of machines G and H. Type A requires 1 minute processing time on G and 2 min on H. Type B requires 1 min on G and 1 min on H. The machine G is available for not more than 6 hours and 40 min . While H is available for 10 hours during any working day. Formulate problem as linear programming problem.
Operations Research
Solution of LPP
Time of Products Machine Type A (X1) G H Profit per unit 1 2 Rs. 2 Type B (X2) 1 1 Rs. 3 Available time (Min.)
400 600
Operations Research
Solution of LPP
Find X1 and X2 such that profit ; Maximize Z= 2X1 + 3 X2 Subject to Constraints X1 + X2 400 (Available time on G) 2X1 + X2 600 (Available time of H)
X1, X2 0 (Non Negative constraint)
Operations Research
Example 2 of LPP
Example: An animal feed company must produce 200 kgs of a mixture consisting of ingredients X1 and X2 daily. X1 costs Rs 3 / kg and X2 Rs 8 /kg. Not more than 80 kg of X1 can be used and at least 60 kg of X2 must be used. Find how much of each ingredient should be used if the company wants to minimize cost?
Operations Research
Solution of LPP 2
Find X1 and X2 such that profit ; Minimize Z= 3X1 + 8 X2 Subject to Constraints X1 + X2 = 200 (Total mix to be produced) X1 80 (Max use of X1) X2 60 (Min Use of X2)
(2.3.5)
then non-negative variables si which are introduced to convert the inequalities (2.3.) to the equalities n n aij xj - si = bi i = k, k+1, k +2
j=1
Operations Research
Operations Research
aj = aij bi.
j=1
Operations Research
Definition
Solution to a LPP A set X = {x1, x2, , xn + m} of variables is called a solution to a LPP, if satisfies the set of constraints (2.3.2) only. Feasible solution Any set X = {x1, x2, , xn + m} of variables is called a feasible solution of the LPP, if it satisfies the set of constraints (2.3.2) and non-negativity restrictions (2.3.3). Basic solution A basic solution to (2.3.2) is a solution obtained by setting any n variables (among m + n variables) equal to zero and solving for remaining m variables provided the determinant of the coefficients of these m variables is non-zero. Such m variables (any of them may be zero) are called basic variables, and the remaining variables which are set as zero are called non-basic variables.
The number of basic solutions must be atmost m + n Cm. Basic feasible solution A basic solution to a LPP is called as a basic feasible solution if it satisfies the non-negative restriction.
Operations Research
Solution to LPP
There are two types of basic feasible solutions. (i) Non-degenerate All m basic variables are positive, and remaining n variables will be zero. (ii) Degenerate A basic feasible solution is degenerate, if one or more basic variables are zero. Optimum basic feasible solution A basic feasible solution to a LPP is said to be its optimum solution if it optimises (maximises or minimises) the objective function. Unbounded solution If the value of the objective function z can be increased or decreased indefinitely, such solutions are called unbounded solutions.
Operations Research
Operations Research
Operations Research