OR6205 M5 Practice Exam
OR6205 M5 Practice Exam
3UDFWLFH([DP
Formulate a linear program for this problem. Do not solve. Define your variables before
you use them. Also describe in a few words what your objective function and each of
your constraints represents.
Solution
!Let f and s be the number of fir logs and spruce logs produced and sold
per day, respectively;
!Let prwood be the number of pressed-wood products made and sold per day;
!Let waste (lbs) be the spruce sawdust to be destroyed each day;
Let the surplus of constraint (1) and (2) be x3 and x4, respectively, and the slack of
constraint (3) be x5. Answer the following independent questions:
1 Solve the problem graphically:
Identify the feasible region by its corner points (coordinates x1 and x2 ) and shade
it. Find the optimal point on the graph and write the optimal values of the
variables and z, below.
x1* = -1 x2* =3 x3* =0 x4* =3 x5* =0 z* =-7
2 Determine the optimal solution, if instead of minimization the objective was
maximization. A(1/2,3/2)
3 Write an objective function that has multiple optima on the feasible region of
problem P. min x1 + x2, min -x1 + x2 , max x2; or any positive multiple of them.
4 Determine a right hand side value of constraint (3) that renders the problem
infeasible. Note that there are many values with that property.
Any value less than 3/2; for example 1.2.
5 What is the optimal solution if constraint (3) is removed from the formulation?
The problem has no optimal solution, or it has an unbounded z-value.
6 Construct the initial basic solution by adding artificial variables and making the
necessary variable transformations so that you can apply the Big M method to
Problem P. Set up Big M method iteration (0) tableau. Indicate the entering and
leaving variable and perform a single iteration. Write the resulting basic solution
of iteration (1) and indicate whether it is feasible or infeasible to Problem P.
Indicate on the graph the point this basic solution corresponds to and the
constraints (if any) that are violated.
the optimal
Problem 2 – Question 1 Solution
point x2
C
3
(-1,3) B
1 A
-1 2
x1
Extreme points: A(1/2,3/2), B(2,3) and C(-1,3).
Subtracting M*eq(1) + M*eq(2) from (0)eq we have the new (0) eq:
-Z + X1+ - X1- + (-2M-2)X2 + Mx3 + Mx4 = -3M