Escolar Documentos
Profissional Documentos
Cultura Documentos
QUESTION 2:
a. Explain the graphical method of solving Linear Programming Problem.
1 | Page
b. A paper mill produces two grades of paper viz., X and Y. Because of raw material restrictions,
it cannot produce more than 400 tons of grade X paper and 300 tons of grade Y paper in a week.
There are 160 production hours in a week. It requires 0.20 and 0.40 hours to produce a ton of
grade X and Y papers. The mill earns a profit of Rs. 200 and Rs. 500 per ton of grade X and Y
paper respectively. Formulate this as a Linear Programming Problem.
ANS:
5) Identify the objective function and express it as a linear function of the decision variables.
b) Formulation of LPP (Objective function & Constraints)
Let x1 and x2 be the numbers of units of two grades of X and Y
Since the profit for the two grades of paper X and Y are given, the objective function is to maximize the
profit
MAX (Z)=200X1+500X2
There are 2 constrains one w.r.t. to raw materials and the other w.r.t to production hours.
The complete LPP is
Max(Z)=200X1=500x2
Sunject to
X1<=400
X2<=300
0.20x1+0.40x2<=160
x1 >=0 , x2 >=0
QUESTION 3:
a. Explain how to solve the degeneracy in transportation problems.
3 | Page
b. Explain the procedure of MODI method of finding solution through optimality test.
ANS:
a) Degeneracy in transportation problem
A basic solution to an m-origin, n destination transportation problem can have at the most m+n-1
positive basic variables (non-zero), otherwise the basic solution degenerates. It follows that
whenever the number of basic cells is less than m + n 1, the transportation problem is a
degenerate one.
To resolve degeneracy, you must augment the positive variables by as many zero-valued
variables as is necessary to complete the required m + n 1 basic variable. These zero-valued
variables are selected in such a manner that the resulting m + n 1 variable constitutes a basic
solution. The selected zero valued variables are designated by allocating an extremely small
positive value to each one of them. The cells containing these extremely small allocations are
then treated like any other basic cells. The s are kept in the transportation table until temporary
degeneracy is removed or until the optimum solution is attained, whichever occurs first. At that
point, we set each = 0.
b) Method of finding solution through optimality test
The MODI (modified distribution) method allows us to compute improvement indices quickly for
each unused square without drawing all of the closed paths. Because of this, it can often provide
considerable time savings over other methods for solving transportation problems. MODI
provides a new means of finding the unused route with the largest negative improvement index.
Once the largest index is identified, we are required to trace only one closed path. This path
helps determine the maximum number of units that can be shipped via the best unused route.
STEPS
Step 1 Determine the net evaluations for the non-basic variables (empty cells)
Step 2- Determine the entering variable
Step 3- Determine the leaving variable
Step 4- Repeat step 1 to 3 to till allocations are over.
Step 5- for allocating all forms of equations ui + vj = cj, set one of the dual
variable ui/vj to zero and solve for others.
Step 6 use this value to find ij = cij vj. If all ij>= 0, then it is the optimal
solution.
Step 7 if any ij<= 0 select the most negative cell and form loop. Starting point of
the loop is positive and alternative corners of the loop are negative and positive.
Examine the quantities allocated at negative places. Select the minimum, add it to
the positive places and subtract from the negative places.
Step 8 Form a new table and repeat steps 5 to 7 till ij>= 0.
QUESTION 4:
a. Explain the steps involved in Hungarian method of solving Assignment problems.
ANS:
4 | Page
Hungarian method algorithm is based on the concept of opportunity cost and is more efficient in
solving assignment problems. The following steps are adopted to solve an AP using the
Hungarian method algorithm.
Step 1: Prepare row ruled matrix by selecting the minimum values for each row and subtract it
from the other elements of the row.
Step 2: Prepare column-reduced matrix by subtracting minimum value of the column from the
other values of that column.
Step 3: Assign zero row-wise if there is only one zero in the row and cross (X) or cancel other
zeros in that column.
Step 4: Assign column wise if there is only one zero in that column and cross other zeros in
that row.
Step 5: Repeat steps 3 and 4 till all zeros are either assigned or crossed. If the number of
assignments is equal to number of rows present, you have arrived at an optimal solution, if not,
proceed to step 6.
Step 6: Mark () the unassigned rows. Look for crossed zero in that row. Mark the column
containing the crossed zero. Look for assigned zero in that column. Mark the row containing
assigned zero. Repeat this process till all the makings are done.
Step 7: Draw a straight line through unmarked rows and marked column. The number of
straight line drawn will be equal to the number of assignments made.
Step 8: Examine the uncovered elements. Select the minimum.
Subtract it from the uncovered elements.
Add it at the point of intersection of lines.
Leave the rest as is.
Prepare a new table.
Step 9: Repeat steps 3 to 7 till optimum assignment is obtained.
Step 10: Repeat steps 5 to 7 till number of allocations = number of rows.
J2
J3
J4
10
5 | Page
ANS:
First, the minimum element in each row is subtracted from all the elements in that row.
This gives the following reduced-cost matrix.
J1
M
1
M
2
M
3
M
4
J2
J3
J4
Since both the machines M2 and M4 have a zero cost corresponding to job J1 only, a feasible
assignment using only cells with zero costs is not possible. To get additional zeros subtract the minimum
element in the fourth column from all the elements in that column. The result is shown in the table below.
J1
M
1
M
2
M
3
M
4
J2
J3
J4
Only three jobs can be assigned using the zero cells, so a feasible assignment is still not possible. In
such cases, the procedure draws a minimum number of lines through some selected rows and columns
in such a way that all the cells with zero costs are covered by these lines. The minimum number of lines
needed is equal to the maximum number of jobs that can be assigned using the zero cells.
J1
M
1
M
2
M
3
M
4
J2
J3
J4
6 | Page
QUESTION 5:
a. Explain Monte Carlo Simulation.
MONTE CARLO SIMULATION
Monte Carlo simulation is useful when same elements of a system, such as arrival of parts to a
machine, etc., exhibit a chance factor in their behavior. Experimentation on probability
distribution for these elements is done through random sampling. Following five steps are
followed in the Monte Carlo simulation:
Procedure of Monte Carlo Simulation:
1. Decide the probability distribution of important variables for the stochastic process.
2. Calculate the cumulative probability distributing for each variable in Step 1
3. Decide an interval of random numbers for each variable.
4. Generate random numbers.
5. Simulate a series of trials and determine simulated value of the actual random variables.
b. A Company produces 150 cars. But the production rate varies with the
distribution.
Production Rate 147 148
149
150
151
152
153
Probability
0.05 0.10
0.15
0.20
0.30
0.15
0.05
At present the track will hold 150 cars. Using the following random numbers determine the
average number of cars waiting for shipment in the company and average number of empty
space in the truck. Random Numbers 82, 54, 50, 96, 85, 34, 30, 02, 64, 47.
ANS:
Production Rate
Probability
Cumulative probability
RN Range
147
0.05
0.05
00 04
148
0.10
0.15
05 14
149
0.15
0.30
15-29
150
0.20
0.50
30 49
151
0.30
0.80
50 79
152
0.15
0.95
80 94
153
0.05
1.00
95 99
Simulation for 10 days using the given random numbers
Days
1
RN
82
Production Rate
152
Car Waiting
2
7 | Page
2
3
4
5
6
7
8
9
10
54
50
96
85
34
30
02
64
47
150
150
153
152
150
150
147
151
150
Total
3
2
1
2
8
QUESTION 6:
Q6 a. State the assumptions of game theory.
b. What are the characteristics of Markov chain?
c. What are the rules for prioritising jobs?
6a
8 | Page
The last two assumptions, in particular, restrict the application of game theory in real-world
conflict situations. Nonetheless, game theory has provided a means for analyzing many
problems of interest in economics, management science, and other fields.
6b
6c
Irreducible Chain: Irreducible is the property that regardless of the current state, we
can reach any other state in finite time. A Markov chain is said to be irreducible if
its state space is a single communicating class; in other words, if it is possible to get
to any state from any state.
Aperiodic Chain: An irreducible Markov chain only needs one aperiodic state to
imply all states are aperiodic.
Stationary Distribution
o Markov Chain can gradually forget its initial state
o eventually converge to a unique stationary distribution
A state i is said to be ergodic if it is aperiodic and positive recurrent. In other words,
a state i is ergodic if it is recurrent, has a period of 1 and it has finite mean
recurrence time. If all states in an irreducible Markov chain are ergodic, then the
chain is said to be ergodic. Ergodic average is given as:
CR is scheduled next.
Shortest Processing Time(SPT): The job requiring the shortest processing time at
the workstation is processed next. This rule tends to reduce both work-in-process
inventory, the average job completion (flow) time, and average job lateness.
Longest time first(LPT): Under this priority, the job which is going to take the
longest time is processed first. The smaller jobs are taken later so that more time is
consumed on solving the longest and most difficult job.
Slack Time Remaining(STR): Slack is the difference between the time remaining
until a jobs due date and the total shop time remaining, including that of the
operation being scheduled. STR = Time until job is due - (Sum of processing time
remaining). Take the job with the smallest amount of slack time.
Slack Time Remaining per Remaining Operations: A jobs priority is determined by
dividing the slack by the number of operations that remain, including the one being
scheduled, to arrive at the slack per remaining operations (S/RO). The job with the
lowest S/RO is scheduled next. Ties are broken in a variety of ways if two or more
jobs have the same priority. One way is to arbitrarily choose one of the tied jobs for
processing next.
R (Random) Pick any Job in Queue with equal probability. This rule is often used
as benchmark for other rules
11 | P a g e