Paper II — Q4
(a) Use penalty method to solve the following linear programming problem : Maximize Z = x₁ + 2x₂ + 3x₃ - x₄ subject to the…
Use penalty method to solve the following linear programming problem :
Maximize Z = x₁ + 2x₂ + 3x₃ - x₄
subject to the constraints
x₁ + 2x₂ + 3x₃ = 15 2x₁ + x₂ + 5x₃ = 20 x₁ + 2x₂ + x₃ + x₄ = 10 x₁, x₂, x₃, x₄ ≥ 0
20 marks
An airline that operates seven days a week has the time-table shown below. Crew must have a minimum layover of 5 hours between flights. Obtain the pairing of flights that minimizes layover time away from home. For any given pairing, crew will be based at the city that results in the smaller layover :
Delhi-Jaipur Flight No. | Departure | Arrival 1 | 7:00 AM | 8:00 AM 2 | 8:00 AM | 9:00 AM 3 | 1:30 PM | 2:30 PM 4 | 6:30 PM | 7:30 PM
Jaipur-Delhi Flight No. | Departure | Arrival 101 | 8:00 AM | 9:15 AM 102 | 8:30 AM | 9:45 AM 103 | 12 Noon | 1:15 PM 104 | 5:30 PM | 6:45 PM
For each pair, also mention the city where the crew should be based. 15 marks
What are sequential sampling plans? Suggest a sequential sampling plan for which p₁ = 0·01, α = 0·05, p₂ = 0·06 and β = 0·10. 15 marks
हिंदी में प्रश्न पढ़ें
निम्नलिखित रैखिक प्रोग्रामन समस्या का हल दण्ड विधि का प्रयोग करके निकालिए :
अधिकतमीकरण Z = x₁ + 2x₂ + 3x₃ - x₄
निम्न प्रतिबंधों के अंतर्गत
x₁ + 2x₂ + 3x₃ = 15 2x₁ + x₂ + 5x₃ = 20 x₁ + 2x₂ + x₃ + x₄ = 10 x₁, x₂, x₃, x₄ ≥ 0
(20 अंक)
एक एयरलाइन जो सप्ताह में सातों दिन परिचालन करती है, उसकी समय-सारणी नीचे दर्शाई गई है। चालक-दल को उड़ानों के बीच कम-से-कम 5 घंटे का विश्रामकाल लेना चाहिए। उन उड़ानों की जोड़ी प्राप्त कीजिए जिनमें घर से दूर विश्रामकाल का समय न्यूनतम हो। किसी भी दी गई जोड़ी के लिए चालक-दल उस शहर पर आधारित होगा जहाँ विश्रामकाल कम होगा :
दिल्ली-जयपुर उड़ान सं० | प्रस्थान | आगमन 1 | 7:00 AM | 8:00 AM 2 | 8:00 AM | 9:00 AM 3 | 1:30 PM | 2:30 PM 4 | 6:30 PM | 7:30 PM
जयपुर-दिल्ली उड़ान सं० | प्रस्थान | आगमन 101 | 8:00 AM | 9:15 AM 102 | 8:30 AM | 9:45 AM 103 | 12 मध्याह्न | 1:15 PM 104 | 5:30 PM | 6:45 PM
प्रत्येक जोड़ी के लिए उस शहर का भी उल्लेख कीजिए जहाँ चालक-दल को आधारित होना चाहिए। (15 अंक)
अनुक्रमिक प्रतिचयन आयोजनाएं क्या हैं? एक अनुक्रमिक प्रतिचयन आयोजना सुझाइए, जिसके लिए p₁ = 0·01, α = 0·05, p₂ = 0·06 और β = 0·10 हो। (15 अंक)
The figure this question refers to, in words
The question paper is a scan and the diagram did not survive as text. This is the figure as read from the original page — every component, value and label — so the question can be worked from the text below.
(b) Table titled 'Delhi-Jaipur' and 'Jaipur-Delhi'.
Columns for Delhi-Jaipur: Flight No., Departure, Arrival. Rows: 1, 7:00 AM, 8:00 AM 2, 8:00 AM, 9:00 AM 3, 1:30 PM, 2:30 PM 4, 6:30 PM, 7:30 PM
Columns for Jaipur-Delhi: Flight No., Departure, Arrival. Rows: 101, 8:00 AM, 9:15 AM 102, 8:30 AM, 9:45 AM 103, 12 Noon, 1:15 PM 104, 5:30 PM, 6:45 PM
Model answer
Drafted with AI by UPSC Answer Check against this question's marking rubric, to the expected length. UPSC does not publish answers for Mains — this is one way to score well, not an official key. How we build rubrics and answers.
(a) Penalty (Big-M) method
Constraint 3 already has x₄ as a unit column; constraints 1 and 2 need artificial variables A₁ and A₂ with penalty −M (M very large): Maximise Z = x₁ + 2x₂ + 3x₃ − x₄ − MA₁ − MA₂ subject to x₁ + 2x₂ + 3x₃ + A₁ = 15 2x₁ + x₂ + 5x₃ + A₂ = 20 x₁ + 2x₂ + x₃ + x₄ = 10 The initial basis (A₁, A₂, x₄) = (15, 20, 10) gives Z = −35M − 10, and the z_j − c_j row for (x₁, x₂, x₃) is (−3M − 2, −3M − 4, −8M − 4).
- x₃ enters (most negative, −8M − 4). The ratios 15/3, 20/5, 10/1 are 5, 4, 10, so A₂ leaves and is dropped. New basis (A₁, x₃, x₄) = (3, 4, 6), Z = 6 − 3M.
- z_j − c_j for (x₁, x₂) is (M/5 − 2/5, −7M/5 − 16/5), so x₂ enters. The ratios 3/(7/5), 4/(1/5), 6/(9/5) are 15/7, 20, 10/3, so A₁ leaves. New basis (x₂, x₃, x₄) = (15/7, 25/7, 15/7), Z = 90/7.
- z_j − c_j for x₁ is −6/7, so x₁ enters. The ratios are (25/7)/(3/7) = 25/3 and (15/7)/(6/7) = 5/2 (the x₂ row has −1/7, so no ratio), so x₄ leaves. New basis (x₂, x₃, x₁) = (5/2, 5/2, 5/2).
- Now z_j − c_j for x₄ is 1 ≥ 0 and no artificial variable is in the basis, so the solution is optimal.
Optimal solution: x₁ = x₂ = x₃ = 5/2, x₄ = 0, maximum Z = 5/2 + 5 + 15/2 = 15. (Check: constraint 1 gives Z = 15 − x₄ ≤ 15.)
(b) Crew pairing with minimum layover
Rule: pair Delhi–Jaipur flight i with Jaipur–Delhi flight j. A Delhi-based crew flies i and waits at Jaipur for j: layover = dep(j) − arr(i). A Jaipur-based crew flies j and waits at Delhi for i: layover = dep(i) − arr(j). A value under 5 hours is increased by 24 hours (daily service). The cost of the pair is the smaller layover, and the base is the city that gives it.
Layovers in hours with base (D = Delhi, J = Jaipur), for flights 101, 102, 103, 104:
- Flight 1: 21.75 J, 21.25 J, 17.75 J, 9.5 D
- Flight 2: 22.75 J, 22.25 J, 18.75 J, 8.5 D
- Flight 3: 17.5 D, 18 D, 21.5 D, 18.75 J
- Flight 4: 9.25 J, 8.75 J, 5.25 J, 22 D
Hungarian method: subtracting the row minima (9.5, 8.5, 17.5, 5.25) and then 0.5 from column 102 leaves zeros at (1,104), (2,104), (3,101), (3,102), (4,103). Three lines (column 104, rows 3 and 4) cover them, so subtract the uncovered minimum 8.25 from the uncovered cells and add it at the line intersections; three lines again suffice, and the uncovered minimum 3 is used likewise. The final matrix has four independent zeros.
Optimal pairings (total layover 52.5 hours):
- Flight 1 with 103: Jaipur-based, 17.75 h
- Flight 2 with 104: Delhi-based, 8.5 h
- Flight 3 with 101: Delhi-based, 17.5 h
- Flight 4 with 102: Jaipur-based, 8.75 h An alternative with the same total uses 1–102 (Jaipur, 21.25 h) and 4–103 (Jaipur, 5.25 h).
(c) Sequential sampling plans and the plan for the given risks
In a sequential sampling plan the sample size is not fixed in advance: items are inspected one at a time (or in small groups) and after each inspection the cumulative number of defectives dₙ among n items is compared with an acceptance line and a rejection line; the lot is accepted, rejected, or sampling continues. It is Wald's sequential probability ratio test of p₁ against p₂ with producer's risk α and consumer's risk β, and for the same risks it needs fewer items on average than single or double sampling.
Plan: k = log[p₂(1 − p₁)/(p₁(1 − p₂))] = log 6 + log(0.99/0.94) = 0.7782 + 0.0225 = 0.8007 h₁ = log[(1 − α)/β]/k = log 9.5/0.8007 = 0.9777/0.8007 = 1.221 h₂ = log[(1 − β)/α]/k = log 18/0.8007 = 1.2553/0.8007 = 1.568 s = log[(1 − p₁)/(1 − p₂)]/k = 0.0225/0.8007 = 0.0281 Acceptance line aₙ = −1.221 + 0.0281n; rejection line rₙ = 1.568 + 0.0281n. Rule: after n items accept if dₙ ≤ aₙ, reject if dₙ ≥ rₙ, otherwise inspect one more item. In practice, accept after 44 items with no defective or after 80 with at most one; reject as soon as 2 defectives appear within 15 items, 3 within 50, or 4 within 86.
How this answer will be evaluated
What earns full marks: Complete, error-free working with clear interpretation and correct notation.
Evaluation rubric
Each sub-part is marked on its own, against the marks and word limit printed on the paper.
- (a) Solve the linear programme by the penalty (Big-M) method. 20 marks
calculate— given → formula → substitution → result with units → interpretation
Must cover
- Artificial variables A₁ and A₂ with penalty −M added to constraints 1 and 2, with x₄ as the starting basic variable in constraint 3
- Correct simplex iterations: x₃ enters and A₂ leaves; x₂ enters and A₁ leaves; x₁ enters and x₄ leaves
- Optimal solution x₁ = x₂ = x₃ = 5/2, x₄ = 0 and maximum Z = 15
Loses marks
- Wrong sign of the penalty M for a maximisation problem
- Arithmetic errors in the pivoting
- Stopping with an artificial variable still in the basis
Earns more
- Initial z_j − c_j row (−3M − 2, −3M − 4, −8M − 4) and Z = −35M − 10
- Ratio tests shown at each step
- Optimality test stated: all z_j − c_j ≥ 0 and no artificial variable in the basis
Extra mark
- Check by substitution, or by noting that constraint 1 gives Z = 15 − x₄
- (b) Find the pairing of flights that minimises layover time away from home, with the base city for each pair. 15 marks
calculate— given → formula → substitution → result with units → interpretation
Must cover
- Layover rule with 24 hours added when the gap is under 5 hours, and the smaller of the Delhi-based and Jaipur-based values taken for each pair
- Cost matrix of minimum layovers (row 1: 21.75, 21.25, 17.75, 9.5; row 2: 22.75, 22.25, 18.75, 8.5; row 3: 17.5, 18, 21.5, 18.75; row 4: 9.25, 8.75, 5.25, 22)
- Optimal pairing 1–103, 2–104, 3–101, 4–102 with total 52.5 hours and the base city of each pair
Loses marks
- Omitting the 24-hour addition for gaps under 5 hours
- Using only one base city for every pair
- Wrong total layover
Earns more
- Hungarian method steps shown: row and column reduction, covering lines, adjustment
- Bases stated: Jaipur, Delhi, Delhi, Jaipur respectively
- Alternative optimum 1–102, 2–104, 3–101, 4–103 with the same 52.5 hours
Extra mark
- Check that every layover is at least 5 hours
- (c) Explain what sequential sampling plans are and give the plan for p₁ = 0.01, α = 0.05, p₂ = 0.06 and β = 0.10. 15 marks
explain— definition/context → points in order → small example → short close
Must cover
- Sequential plan explained: items inspected one at a time, cumulative defectives compared with acceptance and rejection lines, random sample size, Wald's SPRT
- Constants h₁ = 1.221, h₂ = 1.568 and s = 0.0281 from k = 0.8007 (common logarithms)
- Plan: accept if dₙ ≤ −1.221 + 0.0281n, reject if dₙ ≥ 1.568 + 0.0281n, otherwise continue sampling
Loses marks
- Interchanging α and β in h₁ and h₂
- Describing a fixed sample size as if it were a single sampling plan
Earns more
- Formulas for h₁, h₂ and s with α and β in the right places
- Numerical operating rule, for example accept at n = 44 with no defective and reject with 2 defectives within 15 items
- Statement that it needs fewer items on average than single or double sampling
Extra mark
- Mention of average sample number or truncation of the plan
What "Solve" is asking you to do
Choose the method, then carry it through to a final answer. Identifying what kind of problem this is and why that method applies is the first thing marked; a correct figure arrived at invisibly earns almost nothing.
Structure that answers it
Given data and what is required → method chosen, with the reason it applies → set-up (equation, circuit, free body, trial balance) → working, step by step → answer with units and any condition of validity
Where marks are lost
Doing the middle steps mentally and writing only the result. In mathematics papers, a further loss comes from giving a decimal where the exact value in surds or fractions was wanted, or from skipping the justification a part explicitly asks for.
Practice this exact question
Write your answer and it is marked point by point against the model answer above — what you covered, what you missed, what you got wrong.
Evaluate my answer →More from Statistics 2022 Paper II
- Q1 (a) Distinguish between process control and product control. Explain the various sources…
- Q2 (a) Samples of size n = 5 units are taken from a process every hour. The x̄ and R̄ values…
- Q3 (a) It is planned to raise a research team to a strength of 50 chemists, which is to be m…
- Q4 (a) Use penalty method to solve the following linear programming problem : Maximize Z = x…
- Q5 (a) Apply the method of link relatives to the following data and calculate the seasonal i…
- Q6 (a) Explain Akaike information criterion for order selection in an ARMA (p, q) process. 1…
- Q7 (a) What are the various indices of mortality measure? Explain the purpose and procedure…