2082 2

ORS255 ยท 2082 ยท 10 marks

A software company is working on two new IT projects โ€“ Project A (Mobile App) and Project B (Web Portal). Each project generates profit contributions of Rs. 20,000 per unit for Project A and Rs. 30,000 per unit for Project B. Both projects require resources from three specialized departments: Design

A software company is working on two new IT projects โ€“ Project A (Mobile App) and Project B (Web Portal). Each project generates profit contributions of Rs. 20,000 per unit for Project A and Rs. 30,000 per unit for Project B. Both projects require resources from three specialized departments: Design (D1), Programming (D2), and Testing (D3). Project A requires 3 hours of design department, 5 hours of programming department and 2 hours of testing department while Project B requires 3 hours of design department, 2 hours of programming department and 6 hours of testing department. The available time in hours per week are 36, 50 and 60 for the department of design, programming and testing respectively. Formulate this problem as a L.P.P. How should the company schedule his production in order to maximize contribution? Use simplex method.[10]

Operations ResearchChapter 2: Linear Programming ProblemsSimplex method for solving LPPNumerical: LPP simplex method

LPP Formulation and Simplex Solution

Given

Profit per unit: Project A = Rs. 20,000; Project B = Rs. 30,000

Resource requirements (hours per unit):

DepartmentProject AProject BAvailable
Design (D1)3336
Programming (D2)5250
Testing (D3)2660

Solution

Formulation

Let $x_1$ = units of Project A, $x_2$ = units of Project B.

$$\text{Max } Z = 20000x_1 + 30000x_2$$

Subject to: $$3x_1 + 3x_2 \le 36$$ $$5x_1 + 2x_2 \le 50$$ $$2x_1 + 6x_2 \le 60$$ $$x_1, x_2 \ge 0$$

Standard form (slacks $s_1,s_2,s_3$)

$$3x_1+3x_2+s_1=36,\quad 5x_1+2x_2+s_2=50,\quad 2x_1+6x_2+s_3=60$$

Initial Tableau

Basis$x_1$$x_2$$s_1$$s_2$$s_3$RHS
$s_1$3310036
$s_2$5201050
$s_3$2600160
$Z$-20000-300000000

Iteration 1

Entering: $x_2$ (-30000). Ratios: 36/3=12, 50/2=25, 60/6=10. Leaving: $s_3$, pivot 6.

New $x_2$ row = $s_3$/6: $(1/3, 1, 0, 0, 1/6 \mid 10)$

  • $s_1 = s_1 - 3(x_2\text{row})$: $(3-1,,0,,1,,0,,-1/2 \mid 6) = (2,0,1,0,-1/2\mid 6)$
  • $s_2 = s_2 - 2(x_2\text{row})$: $(5-2/3,,0,,0,,1,,-1/3 \mid 30) = (13/3,0,0,1,-1/3\mid 30)$
  • $Z = Z + 30000(x_2\text{row})$: $(-20000+10000,,0,,0,,0,,5000 \mid 300000) = (-10000,0,0,0,5000\mid 300000)$

Note: the $s_1$ row $x_1$ coefficient is $3 - 3(1/3) = 2$, not $7/3$.

Basis$x_1$$x_2$$s_1$$s_2$$s_3$RHS
$s_1$2010-1/26
$s_2$13/3001-1/330
$x_2$1/31001/610
$Z$-100000005000300000

Iteration 2

Entering: $x_1$ (-10000). Ratios: 6/2=3, 30/(13/3)=90/13โ‰ˆ6.92, 10/(1/3)=30. Leaving: $s_1$, pivot 2.

New $x_1$ row = $s_1$/2: $(1, 0, 1/2, 0, -1/4 \mid 3)$

  • $s_2 = s_2 - (13/3)(x_1\text{row})$: RHS $= 30 - (13/3)(3) = 30-13 = 17$ coefficients: $s_1: -13/6,; s_2:1,; s_3: -1/3-(13/3)(-1/4)= -1/3+13/12 = 3/4$ โ†’ $(0,0,-13/6,1,3/4\mid 17)$
  • $x_2 = x_2 - (1/3)(x_1\text{row})$: RHS $= 10 - (1/3)(3) = 9$ coefficients: $s_1: -1/6,; s_3: 1/6-(1/3)(-1/4)= 1/6+1/12 = 1/4$ โ†’ $(0,1,-1/6,0,1/4\mid 9)$
  • $Z = Z + 10000(x_1\text{row})$: RHS $= 300000+10000(3)=330000$ $s_1: 0+10000(1/2)=5000,; s_3: 5000+10000(-1/4)=2500$
Basis$x_1$$x_2$$s_1$$s_2$$s_3$RHS
$x_1$101/20-1/43
$s_2$00-13/613/417
$x_2$01-1/601/49
$Z$00500002500330000

All $Z$-row coefficients $\ge 0$ โ†’ Optimal.

Optimal Solution

$$x_1 = 3,\quad x_2 = 9,\quad Z = 330000$$

Verification:

  • Design: $3(3)+3(9)=36 \le 36$ โœ“ (binding)
  • Programming: $5(3)+2(9)=33 \le 50$ โœ“ (slack 17 = $s_2$)
  • Testing: $2(3)+6(9)=60 \le 60$ โœ“ (binding)
  • $Z = 20000(3)+30000(9) = 60000+270000 = 330000$ โœ“

Recommendation

Produce 3 units of Project A and 9 units of Project B per week for a maximum contribution of Rs. 330,000.

Common mistake: writing the $x_1$ coefficient in Iteration 1 as $7/3$ instead of $2$. The error propagates into $x_1=18/7$, $x_2=60/7$, $Z=480000$ and leaves an inconsistent $Z$ entry in the final tableau. The correct optimum is integer-valued, with $Z = 330000$.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.