Showing posts with label Operations Management. Show all posts
Showing posts with label Operations Management. Show all posts

Monday, April 06, 2026

Operations Management - Linear Programming Problem - Formulation

 

Operations Management

Linear Programming – Formulation

 

Let Q and T are two products to be produced. Product Q requires M1 kg of raw materials per unit, whereas Product T requires M2 kg of raw materials per unit. Similarly, Product Q requires L1 labour hours per unit, whereas Product T requires L2 labours hours per unit. Profit per unit that can be earned from Product Q is P1 and profit per unit that can be earned from Product T is P2.

 

We have to find out how many units of Product Q and how many units of Product T should be produced in order to maximise the total profit. Given that, maximum quantity of raw materials available is K kg and maximum labour hours available is H hours.

 

Formulation (For Maximisation of Profit):

Let X1 units of Product Q and X2 units of Product T should be produced in order to maximise the total profit. (Here, X1 and X2 are known as decision variables.)


Now we can write the Objective Function as follows:

Maximise Z = P1X1 + P2X2

 

Subject to Constraints –

M1X1 + M2X2 ≤ K   and

L1X1 + L2X2 ≤ H

 

Where, Non-negative Restrictions are –

X1 ≥ 0, X2 ≥ 0


Operations Management

Linear Programming – Formulation

Selected Problems

 

Problem: 1

Consider the production planning of The Super Fast Manufacturing Company which makes items P and V. The steel requirement for P is 400 gm per piece and that for V is 350 gm per piece. Both, P and V, are machined on lathe which takes 85 and 50 minutes respectively, and are processed on grinder which requires 55 and 30 minutes respectively. Each unit of P consumes 20 minutes of polishing time. The resource availability is:

 

Total Machine Time

1,450 hours

Total Steel

250 kg

 

30% of total machine time is that of lathe, 50% of grinder and the remaining of polishing. Unit contribution to profits for P and V is Rs 40 and Rs 30, respectively.

 

Formulate this as a linear programming model for determining the number of units of P and V to be produced which would maximise the profit. Given also is the constraint that the company cannot sell more units of item P than item V.

 

Problem: 2

A farmer has a 100 acre farm. He can sell all the tomatoes, lettuce, or radishes he can raise. The price he can obtain is Re 1 per kg for tomatoes, Re 0.75 a head for lettuce, and Rs 2 per kg for radishes. The average yield per acre is 2000 kg of tomatoes, 3000 heads of lettuce and 1000 kg of radishes. Fertilizer is available at Re 0.50 per kg and the amount required per acre is 100 kg each for tomatoes and lettuce and 50 kg for radishes. Labour required for sowing, cultivating and harvesting per acre is 5 men days for tomatoes and radishes and 6 men days for lettuce. A total of 400 men days of labour are available at Rs 20 per man day.

 

Formulate the problem as a linear programming model.








Monday, December 30, 2024

Operations Management - Duality in Linear Programming


 

Operations Management

Linear Programming

Duality in Linear Programming

 


Part A:

Part A contains

1. Basic discussion about what is duality in linear programming; and

2. Method (Steps and Rules) of deriving the dual to a given primal problem.


Part B:

Part B contains 10 selected problems with solutions.



Part A


Duality describes that linear programming problems (LPP) exist in ‘pairs’ i.e., for every linear programming problem, there is another linear programming problem which is related to it and, therefore, may be derived from it.

 

Before writing the dual to an LPP, it is necessary to express it in standard form if it is not so. By standard form it is meant that

1) All the variables in the problem should be non-negative; and

2) All the constraints should be of ‘≤’ type if the problem is of the maximisation type and that of ‘≥’ type if it is of the minimisation type.

 

The method of deriving the dual to a given primal problem, i.e. the steps and rules for deriving the dual to a given primal problem are now discussed in details below.

 

Steps and Rules for deriving the dual to a given primal problem:

To get the dual of a primal linear program problem (LPP) we can follow the following steps and rules:

1)            Write the primal LPP in its standard form.

2)            Transpose the rows and columns of the constraint coefficients.

3)            Transpose the coefficients of the objective function and the right side constants.

4)            Change the inequalities from "≤" to "≥" sign, or from "≥" to "≤" as the case may be.

5)            If the primal is a maximization problem, the dual will be a minimization problem, and vice versa.

6)            The dual of a given LPP is another LPP that's derived from the original LPP. In the dual LPP, each variable in the primal LPP becomes a constraint, and each constraint in the primal LPP becomes a variable.

7)            Each primal constraint corresponds to a dual variable.

8)            The number of dual variables equals the number of primal constraints.

9)            The number of dual constraints equals the number of primal variables.

10)       One dual variable for each primal constraint. We usually call them y1, y2, y3..............

11)       The coefficients of the dual variables in the objective function are the right-hand side constants of the primal constraints.

12)       The right-hand side constants of the dual constraints are the coefficients of the primal variables in the objective function.

13)       For each ‘≥’ type constraint in the primal, there's a ‘≤’ type constraint in the dual.

14)       For each ‘=’ type constraint in the primal, there's an unrestricted variable in the dual.

15)       For each ‘≤’ type constraint in the primal, there's a ‘≥’ type constraint in the dual.

16)       For each unrestricted variable in the primal, there’s a ‘=’ type constraint in the dual.

17)       If primal problem has ‘n’ constraints, there will be ‘n’ dual variables.

18)       Transpose of the coefficient matrix of the primal constraints is the coefficient matrix of the dual constraints as follows:

 

If the coefficient matrix of the primal constraints is:

[2 3 5]

[3 1 7]

[1 4 6]

 

Transposing it, we get coefficient matrix of the dual constraints as follows:

[2 3 1]

[3 1 4]

[5 7 6]

 



Part B


Linear Programming

Duality in Linear Programming

Selected Problems and Solutions

 

Problem: 1

Find the Dual to the following Primal Problem:

Minimize (Z) = 2x1 + x2

Subject to:

3x1 + x2   = 3

4x1 + 3x2 ≥ 6

x1 + 2x2   ≤ 3

x1, x2 ≥ 0

 

Solution: 1

Dual Problem:

Maximise (G) = 3y1 + 6y2 – 3y3

Subject to:

3y1 + 4y2 –   y3 ≤ 2

  y1 + 3y2 – 2y3 ≤ 1

y2, y3 ≥ 0; y1 is unrestricted in sign.

 

 

Problem: 2

Find the Dual to the following Primal Problem:

Minimize Z = x1 − 3x2 − 2x3

Subject to:

3x1 − x2 + 2x3      ≤ 7

2x1 − 4x2             ≥ 12

− 4x1 + 3x2 + 8x3 = 10

x1, x2 ≥ 0 and x3 is unrestricted in sign.

 

Solution: 2

Dual Problem:

Maximise (G) = − 7y1 + 12y2 + 10y3

Subject to:

− 3y1 + 2y2 − 4y3 ≤ 1

     y1 − 4y2 + 3y3 ≤ − 3

− 2y1          + 8y3 ≤ − 2

y1, y2 ≥ 0; y3 is unrestricted in sign.

 

Problem: 3

Find the Dual to the following Primal Problem:

Minimise Z = 3x1 + 2.5x2

Subject to:

2x1 + 4x2 ≥ 40

3x1 + 2x2 ≥ 50

x1, x2  ≥ 0

 

Solution: 3

Dual Problem:

Maximise (G) = 40y1 + 50y2

Subject to:

2y1 + 3y2 ≤ 3

4y1 + 2y2 ≤ 2.5

y1, y2 ≥ 0

 

Problem: 4

The vitamins V and W are found in two different foods, F1 and F2. The amount of vitamin in each of the two foods, respective prices per unit of each food and the daily vitamin requirements are given in the following table.

Vitamin

Foods

Daily Requirement

F1

F2

V

2

4

40

W

3

2

50

Cost per unit of Food (in Rs)

3

2.5

 

 

Formulate the primal problem to determine optimal of Food F1 and F2 to be purchased so that the daily requirements are met and simultaneously, the cost of purchasing the foods is minimized. Also formulate the dual problem for the primal problem.

 

Solution: 4

Primal Problem:

Minimise, Z = 3x1 + 2.5x2

Subject to:

2x1 + 4x2 ≥ 40

3x1 + 2x2 ≥ 50

x1, x2 ≥ 0

 

Dual Problem:

Maximise (G) =40y1 + 50y2

Subject to:

2y1 + 3y2 ≤ 3

4y1 + 2y2 ≤ 2.5

y1, y2 ≥ 0

 

Problem: 5

A firm makes three products A, B and C. Each product requires production time in each of three departments as shown below:

Product

Time taken in hours per unit

Dept. I

Dept. II

Dept. III

A

3

2

1

B

4

1

3

C

2

2

3

 

Total time available is 60 hours, 40 hours and 30 hours in department I, II and III respectively. If product A, B and C contribute Rs 2, Rs 4 and Rs 2.5 per unit respectively formulate the primal problem to determine the optimum product mix. Also write the dual of this primal problem.

 

Solution: 5

Primal Problem:

Maximise, Z = 2x1 + 4x2 + 2.5x3

Subject to:

3x1 + 4x2 + 2x3 ≤ 60

2x1 +   x2 + 2x3 ≤ 40

  x1 + 3x2 + 3x3 ≤ 30

x1, x2, x3 ≥ 0

 

Dual Problem:

Minimise (G) = 60y1 + 40y2 + 30y3

Subject to:

3y1 + 2y2 +   y3 ≥ 2

4y1 +   y2 + 3y3 ≥ 4

2y1 + 2y2 + 3y3 ≥ 2.5

y1, y2, y3 ≥ 0

 

Problem: 6

Obtain the dual problem of the following LPP.

Maximize Z = 2x1 + 5x2 +6x3

Subject to:

5x1 + 6x2 − x3       ≤ 3

− 2x1 + x2 + 4x3    ≤ 4

x1 − 5x2 + 3x3        ≤ 1

− 3x1 − 3x2 + 7x3   ≤ 6

x1, x2, x3  ≥ 0

 

Solution: 6

Dual Problem:

Minimise (G) = 3y1 + 4y2 + y3 + 6y4

Subject to:

5y1 − 2y2 + y3 − 3y4    ≥ 2

6y1 + y2 − 5y3 − 3y4    ≥ 5

− y1 + 4y2 + 3y3 + 7y4 ≥ 6

y1, y2, y3, y4 ≥ 0

 

Problem: 7

Write the dual of the following LPP.

Maximize Z =3x1 + x2 + 2x3 − x4

Subject to:

2x1 − x2 + 3x3 + x4 = 1

x1 + x2 − x3 + x4     = 3

x1, x2 ≥ 0 and x3 and x4 are unrestricted in sign.

 

Solution: 7

Dual Problem:

Minimise (G) = y1 + 3y2

Subject to:

2y1 + y2   ≥ 3

− y1 + y2 ≥ 1

3y1 − y2   ≥ 2

y1 + y2     ≥ − 1

y3, y4 ≥ 0 and y1 and y2 are unrestricted in sign.

 

Problem: 8

Write the dual of the following LPP.

Maximize Z = 3x1 + x2 + x3 − x4

Subject to:

x1 + 5x2 +3x3 + 4x4 ≤ 5

x1 + x2                    = − 1

                x3 − x4    ≤ − 5

x1, x2, x3, x4 ≥ 0

 

Solution: 8

Dual Problem:

Minimise (G) = 5y1 − y2 − 5y3

Subject to:

y1 + y2          ≥ 3

5y1 + y2        ≥ 1

3y1        + y3 ≥ 1

4y1        − y3 ≥ − 1

y1, y3 ≥ 0; y2 is unrestricted in sign.

 

Problem: 9

Give the dual of the following LPP.

Minimize Z = 2x1 + 3x2 + 4 x3

Subject to:

2x1 + 3x2 + 5x3 ≥ 2

3x1 + x2 + 7x3   = 3

x1 + 4x2 + 6x3   ≤ 5

x1, x2 ≥ 0 and x3 is unrestricted in sign.

 

Solution: 9

Dual Problem:

Maximise (G) = 2y1 + 3y2 – 5y3

Subject to:

2y1 + 3y2 − y3   ≤ 2

3y1 + y2 − 4y3   ≤ 3

5y1 + 7y2 − 6y3 ≤ 4

y1, y3 ≥ 0; y2 is unrestricted in sign.

 

Problem: 10

Give the dual of the following LPP.

Minimize Z = x1 + x2 + x3

Subject to:

x1 − 3x2 + 4x3  = 5

x1 − 2x2           ≤ 3

       2x2 − x3    ≥ 4

x1, x2 ≥ 0 and x3 is unrestricted in sign.

 

Solution: 10

Dual Problem:

Maximise (G) = 5y1 − 3y2 + 4y3

Subject to:

     y1 − y2            ≤ 1

− 3y1 + 2y2 + 2y3 ≤ 1

   4y1          − y3   ≤ 1

y2, y3 ≥ 0; y1 is unrestricted in sign.