Professional Documents
Culture Documents
AND
TECHNOLOGY
Kattankulathur,Chennai-603203.
Academic Year(2020–2021)
SEMESTER–II
NAME: ANUSHKA S
CLASS: B.TECH(CSE)
YEAR: II YEAR
SECTION : CSBS-A R1
SRM INSTITUTE OF SCIENCE AND
TECHNOLOGY
Kattankulathur,Chennai-603203 .
FACULTY OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF MATHEMATICS
R A 1 9 1 1 0 4 2 0 1 0 0 1 9
BONAFIDE CERTIFICATE
Certified that this is the bonafide record of work done by ANUSHKA S of IV semester
B.Tech COMPUTER SCIENCE AND ENGINEERING during the academic year
2020-2021 in the 18MAB261J -OPERATIONS RESEARCH Laboratory.
------------------------------ -----------------------------------
Dr. Lavanya G HOD/Mathematics
Staff -Incharge
---------------------------------- -------------------------------
Examiner-1 Examiner-2
INDEX
S.NO Date NAME OF EXPERIMENT Page Signature
No.
1
18/03/21 SIMPLEX LP
3
18/03/21 SIMPLEX LP
4
25/03/21 BIG-M
5
12/04/21 TRANSPORTATION
6
12/04/21 TRANSPORTATION
7
15/04/21 ASSIGNMENT
8
15/04/21 ASSIGNMENT
9
20/04/21 CPM
10
20/04/21 CPM
11
20/04/21 PERT
12
PROCEDURE: -
1. Enter the variables X and Y, then the objective function Z coefficient
2. Enter the coefficients of the constraints C1 C2 and C3 by side introduce
inequalities and then enter the RHS
3. Find the points of intersection of the constraints with the coordinate axis to
draw constraint lines.
4. Type C1 X Y values When X=0 Y=? And when Y=0 X=? for constraint C1 say this
is (0,y1) and (x1,0) repeat this for all the constraints.
5. If the RHS of the constraint is zero choose some value other than 0 for x and
then find y, the other [opnt may be (0,0)
6. Highlight C1 points click on insert-scatter-scatter with straight lines.
7. 7.Clock on series one and clock edit series name C1 Series X value (0,3) and
(12.0) refer to the next sheet for these values. Click ok, add continue for all
constraints.
8. Go to insert -shapes-textbox, click and drag. To shade the feasible region click
insert shapes- freeform click on corner points on the feasible region to cover
the area.
9. Name the corner points.To find the corner points consider the point A it is
intersection of C1 and C2 Copy and paste constraints C1 and C2 type X y and Z
one below the other as shown in the sheet graphical
10.Select X and Y=MMULT(MINVERSE((SELECT COEFFICIENTS), SELECT RHS))
11.Do not press enter Hold downCtrl+shift +enter this gives the coordinates of A.
12.Similarly repeat for the other coordinates of the corner points.
RESULT: -
The feasible region with graph is given below-
18MAB261J-OPERATIONS RESEARCH
Practical lab-2
SIMPLEX LP
AFTER-
RESULT: -
Both answer report and sensitivity report are generated
ANSWER REPORT
SENSITIVITY REPORT
18MAB261J-OPERATIONS RESEARCH
Practical lab-3
SIMPLEX LP
BEFORE-
AFTER-
RESULT: -
Both answer report and sensitivity report are generated
ANSWER REPORT
SENSITIVITY REPORT
18MAB261J-OPERATIONS RESEARCH
Practical lab-4
BIG-M
Before-
AFTER-
RESULT: -
Both answer report and sensitivity report are generated
ANSWER REPORT
SENSITIVITY REPORT
18MAB261J-OPERATIONS RESEARCH
Practical lab-5
TRANSPORTATION PROBLEM(BALANCED)
PROCEDURE
1 A TRANSPORTATION PROBLEM WILL HAVE SOME SOURCES AND SOME SINKS
2 Source is denoted by factory in the example and sink as godowns
3 Each sink will have maximum demand and each source a maximum capacity.
4 There will be a fixed cost of transporting one unit of material from the ith source
to the jth sink, express this in a tabular form.
5 The supplies are given by the side of this table and the demand at the bottom.
6 Decision variables are the quantity of material transported from the ith source to
the jth destination
7 Total number of decision variables= no of rows ×number of columns say ij
8 CONSTRAINTS: Total supply from the source is limited and total demand from the
sinks is also limited. The number of constraints = i+j
9 To solve, copy paste the tabular structure. Delete the entries in(I,j) positions of the
table.
10 Cut the cell under capacity and paste one column apart
11 Cut the cell under demand and paste row column apart
12 The supply from source one would be the sum of the supplies to each of the j
sources i.e., select all the cells in the first row corresponding to the first source and
use the SUM function. Repeat for all rows.
13 Supply at the j sources will be the sum of the supplies from the I source use SUM
function to calculate this for all columns.
14 For the Objective function use SUMPRODUCT(unit cost, quantity of material
shift) in excel.
15 Click on the solver, target cell is the total cost.
16 Choose, minimize, add all the constraints. Material shift<=capacity and total
material reaching the destination is equal to demand.
17 Go to options select LPP and non-negativity.
18 Click on the solver, target cell is the total cost, which gives the minimum cost of
transportation.
19 The cells (I,j) show the number of units transported from each source to
destination.Generate report.
BEFORE-
AFTER-
RESULT: -
The report of following problem is given below-
18MAB261J-OPERATIONS RESEARCH
Practical lab-6
TRANSPORTATION PROBLEM(UNBALANCED)
PROCEDURE: -
1 A TRANSPORTATION PROBLEM WILL HAVE SOME SOURCES AND SOME SINKS
2 Source is denoted by factory in the example and sink as godowns
3 Each sink will have maximum demand and each source a maximum capacity.
4 There will be a fixed cost of transporting one unit of material from the ith source
to the jth sink, express this in a tabular form.
5 The supplies are given by the side of this table and the demand at the bottom.
6 Decision variables are the quantity of material transported from the ith source to
the jth destination
7 Total number of decision variables= no of rows ×number of columns say ij
8 CONSTRAINTS: Total supply from the source is limited and total demand from the
sinks is also limited. The number of constraints = i+j
9 To solve, copy paste the tabular structure. Delete the entries in(I,j) positions of the
table.
10 Cut the cell under capacity and paste one column apart
11 Cut the cell under demand and paste row column apart
12 The supply from source one would be the sum of the supplies to each of the j
sources i.e., select all the cell in the first row corresponding to first source and use
the SUM function. Repeat for all rows.
13 Supply at the j sources will be the sum of the supplies from the I source use SUM
function to calculate this for all columns.
14 For the Objective function use SUMPRODUCT(unit cost, quantity of material
shift) in excel.
15 Click on the solver, target cell is the total cost.
16 Choose, minimize, add all the constraints. Material shift<=capacity and total
material reaching the destination is equal to demand.
17 Go to options select LPP and non-negativity.
18 Click on the solver, target cell is the total cost, which gives the minimum cost of
transportation.
19 The cells (I,j) show the number of units transported from each source to
destination. Generate report.
BEFORE-
AFTER-
RESULT: -
The report of the problem is given below-
18MAB261J-OPERATIONS RESEARCH
Practical lab-7
ASSIGNMENT PROBLEM
PROCEDURE: -
1. Enter the values in the excel and make table t1.
2. Copy the values to another table t2 and take the sum of each row and
column and delete all the values from it.
3. Now find the sum product of t1 and t2.
4. Take the solver , set objective as the sumproduct, set to min
5. Select first constraint as table t2 and equal to binary
6. Second and third constraints will be sum both row wise and column wise
equal to 1.
7. Select the solving method as simplex lp and click solve
BEFORE-
AFTER-
RESULT: -
The report of the problem is given below-
ANSWER REPORT
18MAB261J-OPERATIONS RESEARCH
Practical lab-8
ASSIGNMENT PROBLEM
AIM:-A department head has four tasks and three subordinates who
differ in efficiency. The estimate of time each subordinate
would take to perform is given below in the matrix. How should
he dedicate the tasks one to each man so as to minimize the total
man hours?
PROCEDURE:-
1. Enter the values in the excel and make table t1.
2. Copy the values to another table t2 and take the sum of each row and column
and delete all the values from it. 10.Now find the sumproduct of t1 and t2.
3. Take the solver , set objective as the sumproduct, set to min
4. Select first constraint as table t2 and equal to binary
5. Second and third constraints will be sum both row wise and column wise equal to
1.
6. Select the solving method as simplex lp and click solve
BEFORE-
AFTER-
RESULT: -
The report of the problem is given below-
ANSWER REPORT
18MAB261J-OPERATIONS RESEARCH
Practical lab-9
CRITICAL PATH METHOD
Task A B C D E F G H I
Time 23 8 20 16 24 18 19 4 10
PROCEDURE: -
enter.
Both CPM Calculations report and CPM Bar Chart report are generated
To calculate the total float and free float for the project whose activities
are given below.
1-2 A 8
1-3 B 7
1-5 C 12
2-3 D 4
2-4 E 10
3-4 F 3
3-5 G 5
3-6 H 10
4-6 I 7
5-6 J 4
PROCEDURE: -
6. Fill relevant data in the input grid that pops up and click on solve
menu.
8. Go to output screen select CPM calculation from out put options and
click on all steps.
11. The out is saved as pdf with the critical events indicated by the
letter C by the side.
RESULT: -
18MAB261J-OPERATIONS RESEARCH
Practical lab-11
PROJECT EVALUATION AND REVIEW
TECHNIQUE
AIM: -
To solve the PERT problem, find the critical path and determine the
expected standard deviation of the completion time.
The table given below indicates the details of the project. The duration
is in days. ‘a’ refers to optimistic time, ’m’ refers to most likely time and
‘b’ refers to pessimistic time duration.
ACTIVITY SYMBOL a m b
1-2 A 2 4 5
1-3 B 3 4 6
1-4 C 4 5 6
2-4 D 8 9 11
2-5 E 6 8 12
3-4 F 2 3 4
4-5 G 2 5 7
PROCEDURE: -
6. Fill relevant data in the input grid that pops up and click on solve
menu.
8. Go to output screen select CPM calculation from out put options and
click on all steps.
11. The out is saved as pdf with the critical events indicated by the
letter C by the side.
RESULT: -
18MAB261J-OPERATIONS RESEARCH
Practical lab-12
QUEUING ANALYSIS
AIM: -
1 6 8 1 INFINITY INFINITY
2 20 60 1 30 INFINITY
3 15 6 3 INFINITY INFINITY
4 4 5 2 7 INFINITY
6. If the scenario is given as ‘1’ then the input table is displayed for
a single problem. If the scenario is given as’4’ then we get the table for
entering the data for all the 4 problems. They may be different models
as shown in the output.
7. Fill relevant data in the input grid that pops up and click on solve
menu.
10. If you choose comparative analysis the result for all the four
problems is displayed in a single table.
Scenario 1
Scenario-2
Scenario-3
Scenario-4
Comparative Analysis-