Questions Wrong Flashcards

1
Q

How would you modify a network to let prims find a solution with some particular arcs?

A
  • make those arcs lower than all the rest around their node
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to layout worst case

A

In worst case, total number of comparisons in the first n-1 passes is = 1 + 2 + 3 + 4 + … (n-1)
Sum = 0.5n(n-1)
= quadratic

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

Explain purpose of ‘minimise’ objective function 2 marks

A

‘(Insert objective function)’ is the total cost of transporting all the required stock, calculated by finding sum

We wish total cost of transporting all required stock to be as small as possible, so ‘minimise’ is used

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

Transportation problem - explain purpose of one of the ‘subject to’ lines

A

The line ‘_’. Constrains the total stock that can be shipped from supplier _ to each of the depots until the _ stock is cleared

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

Interpret output to give solution to transportation problem

E.g. - value, AW = 9.00000

A

AW = 9

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

For transportation problems

A

Check units of pounds - e.g. hundreds of pounds

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

In a simplex q, what significance does the surplus variable have related to the range of constraint

A

Surplus variable imply the level that the constraint is being under used, so the size of the s = added potential range which wouldn’t affect final solution

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

Explain why in the worst case, both packing algorithms have the same order of complexity

A

For both, each number has to be compared with all previous numbers/ bins before bein placed in a new on

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

How to work out minimum number of workers needed

A

Total hours/ minimum completion time

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

For cascade diagram

A

Add a third column on table for the time interval for each Activity

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

To make a 3D LP into 2D

A

Rearrange for z = and substitute values into all constraints as well as objective function

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

Why is first fit an example of an heuristic algorithm

A

Heuristic can find solution efficiently but no guarantee it will be optimal

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

Why can’t simplex algorithm sometimes not be applied to solve the LP problem

A

If objective function = minimise, gotta switch up the vibe

Let -P = Q and maximise

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

Explain why two of shortest path LP formulation = 1

A
  • indicator variables take value of 1 if corresponding arc is in shortest path, 0 otherwise
  • two constraints = 0 to signify that one arc out of A and one arc into G must be in the shortest path
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Explain why many constraints = 0 in shortest path LP formulation

A
  • consider both cases of a vertex being either in or not in the shortest path
  • if in, flow in = 1, flow out = 1, so 1-1 = 0
  • if out, flow in = 0, flow out = 0, so 0-0 = 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What needs to be changed in the formulation of shortest path when a vertex is added

A
  • add flow in and flow out to objective function
  • add an additional constraint equation for its own flow in and flow out
  • add flows in and flows out for the nodes it is connected to’s constraint equation.
17
Q

When given two cuts, what can u deduce about the max possible flow through the system

A

Less than or equal to the lower one

18
Q

Purpose of demand constraint in transportation problem

A

The line constrains the total amount sent to depot x, to _ - the demand at X

19
Q

Effect of an increase in supply on objective function

A

No effect

20
Q

Effect on an increase in supply constraint in a transportation problem to the constraints

A

The four stock constraints require <oe inequalities
- demand constrains require >oe inequalities

21
Q

Explain how the tableau of the 2 stage simplex first stage shows been completed

A

Feasible since Q = 0
Optimal as All values in the top row negative.

22
Q

If djikstras via a node

A

Start FROM that node.

E.g. g to j via D, start at D, and then (D->G) + (D->J)

23
Q

Significance of non zero independent float

A

IF is the max amount of time an activity can be delayed.

Activity can be delayed by size of IF without affecting the project completion time

24
Q

Constants in objective function

A

Ignore those yutes RHS is always 0

25
Q

When using full bin method

A

Try get as many full boxes as possible, and the remaining few are horrid with spare capacity

26
Q

For CPA If x is the weight of an arc, it must be

A

LESS THAN the weight of any other arc out of the corresponding node, otherwise it would be selected.

27
Q

When finding shortest path from djikstras

A

After using algorithm, work backwards to find the route

28
Q

When solving simplex graphically

A

RTQ - is the context integer solutions, i.e how many tents to build? - then use integer coordinates surrounding optimal point

29
Q

Show that the algorithms gives real root to x d.p

A

If 3d.p for example, test for f(2.9985) and f(2.9995)

30
Q

Critical paths have

A

0 float, their duration perfectly matches the timings for start and end of node

31
Q

If reducing 3d to 2d, check the

A

Positivity constraints, sub in for z>0 as this will give another line g

32
Q

Explain why a flow chart is an algorithm

A

The flow chart contains a finite sequence of operations for solving the problem of ….