Unit 4 Exam- Networks Flashcards

1
Q

What is the statement when proving the Hungarian algorithm reasonableness?

A

It is mathematically proven that the Hungarian algorithm will allocate tasks in the minimum time if performed correctly. Therefore, this solution is reasonable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What must you always do before using a method?

A

Always state the method you are using.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you state the degree of a node?

A

Deg (B)=4
Deg (D)=2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are connected and disconnected graphs?

A

In connected, each vertex is directly or indirectly connected to all other vertices.

In disconnected graphs, there are random disconnected segments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are bridges?

A

If an edge is removed, the graph becomes disconnected. This can include if there are multiple nodes connected, but it is still disconnected from the whole thing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a complete graph?

A

A simple graph (no loops or multiple edges) where every vertex is directly connected to every other vertex.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In an adjacency matrix, what does each number represent?

A

0 means no connection, 1 means connection, 1 can also be a loop on one vertex, and 2 is a multiple edge.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a tree diagram?

A

A connected graph with no loops, multiple edges, or cycles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a walk, trail, path, and cycle?

A

-Walk: any sequence of connected edges. They can be open or closed (open is when they start and end at same vertex)
-Trail: a walk where there are no repeated edges but can have repeated vertices. (can be open or closed)
-Path: no repeated edges and no repeated vertices (these are open).
-Cycle: A cycle is the closed version of a path.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What methods are used for spanning trees?

A
  • you know its a spanning tree when they want all vertices connected or they state they don’t want any loops or cycles.
  • Prim’s algorithm is used for this
  • You can also do spanning trees given a table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What methods are used for flow networks?

A

*For this, they will usually ask for the maximum flow.
- Many paths method.
- Cuts method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What methods are used for shortest path questions/ weighted networks?

A

*Usually involves finding shortest route/ travelling situations.
- Network diagram approach.
- Guess and check method.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What methods are used for allocation problems?

A

*Questions are usually based on who can perform tasks and who cannot and these times.

*Times given:
- Hungarian method
- Or using tree diagrams and adding the minutes.

*No times given
- Bipartite graphs are used.
- Evaluation matrix are creates from these graphs (1= can do action).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What methods are used for project networks?

A

*Involve steps that must be taken in a project, and usually the times these take.

-Activity networks: activities and immediate predecessors are in a table- usually required to graph this.
-Forward and backward scan (from graph to table)

Involves: finding dummy activities, critical path, est, lft, lst, and float time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Note about these methods:

A

Always state the method you’re using and include a key if needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

For the cuts method, how do you know if an arrow pointing directly up or down is considered to be flowing from source to sink?

A

Focus on the nodes instead on the edges. When the edge is cut, is the top node on the source side of the cut or the sink? if the top is on source and bottom is sink, then it is included.

17
Q

When do I do a column reduction in the Hungarian method?

A
  • only do a column reduction on the columns that have no zeros in them and aren’t previously covered by the row reduction.
18
Q

What is something to remember for the last step of the Hungarian method?

A

You circle the smallest number, but you also subtract from the one that is circled (so it should become zero).
Add onto the numbers with two cross sections and subtract from the uncovered numbers.

19
Q

What are the steps of the critical path for project networks?

A
  1. Plot the project network from the nodes and immediate predecessors.
  2. Add the boxes with a key (left is EST and right is LST)
  3. Do a forward scan *remember the first box should be 0 (you look for bigger no. when two goes into one)
  4. Now do a backward scan (look for smaller no. when two goes into one)
  5. Write the minimum time
  6. Make up the table with: activity, duration, EST, LST, and float time.
  7. draw and write the critical path.
20
Q

For project networks, how do you know when you have to chose from multiple paths for one box?

A

If there are multiple going into the same one and you must fill out that one because there isn’t another box along the way. Sometimes it looks like multiple going into the same one but its not, just because they are connecting from weird angles.

21
Q

How do you know EST?

A

This is the left hand side of the box. You will use the box coming before the edge. e.g., the first activity with no IP’s will be 0.

22
Q

How do you know LST?

A

LST is the right hand side of the box, but you pick the box coming AFTER the action instead of before.
THEN you subtract the duration of the action from that number.

23
Q

How do you know float time?

A

Float time is LST-EST.

24
Q

How do you know something is on the critical path?

A

If the float time is 0 or if the left hand side of the box is the same as the right hand side, this is the critical path.

25
Q

How do you know the critical path on a multiple choice question?

A

The critical path is always the longest path. Use the guess and check method to find the longest path.

26
Q

How do you do the many paths method?

A
  • Fill out your first path of choice in one colour.
  • Find the smallest number out of this path. Then, cross that number and mark it zero. Then, put lines through this and it cannot be crossed again.
  • subtract the smallest value from every number on this path.
  • list this number on the side in that colour saying “maximum flow”
  • repeat and continue adding up the maximum flow numbers.
27
Q

How do you do a minimum spanning tree?

A
  • Start out on any line and draw dashes across the edge.
  • Connect to the next smallest no. until you have connected EVERY NODE
  • remember you cannot make any loops or cycles and if it crosses over itself you have to go the other way.
  • add all these numbers up to find minimum time.
28
Q

In a project network, what do you do if an activity doesn’t connect to an end node or there are more than one activities without immediate predecessors?

A

You are able to create your own “start” or “finish” node and connect everything to that. You cant just have activities floating without ending.

29
Q

If it asks for a planar graph, what do you do?

A

Make a graph where there are no overlaps, and also use directions likely from an adjacency matrix.

30
Q

What is the inspection method for allocation?

A
  • When given a matrix with the weight of tasks, create a bipartite graph if it helps.
  • Then, create a tree diagram of all the
    possibilities of choosing an allocation, then add these sequences up to find the lowest one.
31
Q

When do you use a dummy?

A

So, say there is a node called “node 1” with two immediate predecessors going into it. Lets say C and D are going into it. However, you look and see that C is somewhere behind another activity and cannot be connected that way. That means it must be a dummy, and you would connect the dummy from C, into the activity that directly connects to the “node 1”

32
Q

How do you make a minimum spanning tree given a table?

A
  • First, scan the full table for the lowest number there.
  • Look at the table to see what connection these represents, for example, A-B, and plot this with the weight.
  • Scan the table and look for the next smallest number connecting to either A or B and plot the next connection.
  • keep doing this until all nodes are connected.
    -REMEMBER you cant make any loops or circuits.