Professional Documents
Culture Documents
Linear Programming Exam
Linear Programming Exam
2. Submit hard copies of all your Work to the Examinations Office at Kampala Campus after
clearance from the accounts department; attach a photocopy of your registration card on your
work.
N.B. Handing in of hard copies will be as follows
a) MONDAY 13th September 2021 (ONLY 1ST YEARS) from 9:00 am to 4:00 pm
b) TUESDAY 14th September 2021 (ONLY 2ND YEARS) from 9:00 am to 4:00 pm
c) WEDNESDAY 15th September 2021(ONLY 3RD YEARS) from 9:00 am to 4:00 pm
Kindly follow the above schedule and submit on the right date & time, and observe SOPs to
keep safe.
Page 1 of 4
INSTRUCTIONS:
1. TIME: 6 HOURS
2. Attempt ALL questions
3. You must have good handwriting
4. Do not write on the question paper
5. All questions carry equal marks
Page 2 of 4
3.) a) Define the following terms as used in linear programming.
) Slack variable [2 mks]
i) Surplus variable [2 mks]
i) Artificial variable [3 mks]
) Explain the significance of the slack variables in the graphical representation of the
linear programming problem below.
Maximise P = 3x + 2y
S.t 5x + 7y + r = 70
10x + 3y + s = 60
x, y, r, s ≥ 0 [6 mks]
) Use the two-stage simplex method to solve the following problem.
Minimise C = x – 3y + z
S.t x + 2y ≤ 12
2x – y – z ≥ 10
x+y+z≥6
x, y, z ≥ 0 [12
mrks]
4.) The Big-M method is to be used to solve the following linear programming problem.
Maximise P = 3x + 5y – z
S.t x + y + z ≤ 20
3x + y + 2z ≥ 24
x, y, z ≥0
a) Rewrite the constraints as equations making use of slack, surplus and artificial
variables. [4 mks]
b) Modify the objective in preparation for using the Big-M method using non-basic
variables. [3 mks]
c) Represent the problem in an initial tableau in standard form, hence explain why the
solution given at this step is not feasible. [6 mks]
d) Carry out iterations to solve the problem. State the value of each variable in your
solution. [12 mks]
Page 3 of 4
5) a) Convert the following primal linear programming problems to;
) Hyperplane [2 mks]
i) Convex set [2 mks]
) Prove the following statements;
) Every hyperplane is a convex set [4 mks]
n
i) If A is an mxn matrix and b is a vector in R , then the set of solutions to the linear system
of equations Ax = b is a convex set. [4 mks]
) Solve the linear programming problem below using the Dual simplex method.
Min w = 2x1 + 3x2 + 3x3
Such that 2x1 – 3x2 + x3 ≥ 4
x1 + x2 + 2x3 ≥ 3
x1, x2, x3 ≥ 0 [8 mks]
) Let P = 5x + 2y + 4z
S.t 2x + y + kz ≤ 10
x + 4y + z ≤ 12
4x – 2y + 3z ≤ 28 where k is a constant,
Given that an optimal solution is obtained after one iteration of the simplex algorithm,
find the range of possible values of k. [5 mks]
END
Page 4 of 4