How To Do Certain Questions Flashcards

1
Q

How to show flow out of a node can’t be saturated

A

Compare flow in to flow out

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

How to prove a flow shown is maximal

A
  • find a cut for it
  • state max flow min cut theory

Ocr says if a flow is found = to a cut, then that vut is minimum cut and thus max flow

IT WINT BE POSSIBLE TO FIND A CUT ELSEWISE

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

Explain in max flow min cut

A

If a value fo any cut is = to any Feasible Flow , then that cut is minimal and thus flow is maximal

Here, you won’t be able to find any FEASIBLE flow that’s also equal to a cut unless it’s the minimal cut and max flow hence by theory

You can find hella feasible flows that ARENT = TO A CUT , so don’t lack

  • hence must read the final part of the question. If it says find a feasible flow here, and it’s not the maximum, then you won’t be able to use cut method, and will just have to trial and error, but hopefully all questions are like this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How to show the complexity and determine it

A

1) first must state the worse case
2) Don’t have to show each pass and each comparisons, maybe first few and establish it
3) need whole seauence, go to last term in terms of n (n-1)
4) show the sum is this and thus complexity is that

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

How to show the range for a CONSTSNT when comparing

A

Don’t lack, must compare to both things, and then show hence

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

How to figure out puzzle work out the three question marks, how should you go about doing this

A

The evidence they gave, must use it IN ORDER
- move on to next only if done first
- this makes the justification better

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

How to shoe how each constrain is reflorumated

A

Show before and arrow and after
DOMT have to define variables

Also for artifice say let Q = A1, and then arrow

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

How to find the min completion time when reduce the workers

A

1) first identify the problem section, and write this down
2) now create as much space as possible in front moving the non critical activities away ,
3) now try move these forward to reduce workers
(Remember can only move forward if we started with earliest times)
4) finally once everything move forward as much as possible, now move critical activity
Anything you move critical activity by increases the time by that much !

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

How to find number of workers

A

Trial and error
1)all thr critical, there will be hints as you try
2) then try fit the gaps in.

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

How to explain maximsie minimise

A

Say this represents the TOTAL COST, as it’s calaucktdd by number of units x cost

And we want to make this AS LOW AS POSISBLE SO HENCE MINIMISE

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

How to group all thr constraints instsad of saying first 4

A

Say all of the STOCK constraints must now be

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

How to find smallest dostance via d

A

Start dijkstra from d , and add the distance from g to d and then d to j

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

How to answer why indepenent float 2 marks

A

Diesn’t affect overall priect

Or before or after

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

How to show the minimise

A

Show adding of bith artificwl

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

How to find the ranges , always use what

A

Use who,e part of question so use thr GRAPH TOO

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

HOW TO DO 3 VARIABLE TO 2 VARIABLE LP

A

1) remember that youoknly plot your inequality constraints not agumenred

Basically you can only do this if you have an equality . NEVER PLOT THE EQUAL ONE ,use it TO REARRANEG FOR THE OTHER

  • now reformulate the whole thing , and plot those only
17
Q

How to do the minise instead

A

Rememebr when you reformualte the P , keep it in P form ( without 0

Reformualte, get rid of the numbers, and if all minus say same thing as minimising this and then do it

18
Q

How to reformualte properly , including combination

A

When doing the combination , skip out the INDIVIDUAL ones, they won’t make a difference but just long, not needed

19
Q

Why does every graph have even sum order?

A

Because every arc has two ends , hence for Esch arc the overall order will be 2 so overall it’s even

20
Q

How to say CONSTSNT for flow in flow out

A
  • say flow in = flow out
  • and only flow ins are xyz arcs and out are etc

EXPLAIN FULLY

21
Q

How to do ILP

A

Find optimal point

Then try find as many points next to and abive as possible until smallest.

Now double check it lies ahead if line

But yeah rememebr the FR identified , it can be anywhere where NOT ON THE LINE

22
Q

How to work out longest path

A

Write down the paths they gave, and try make a route out of it, using the fact can only go through one fsct

23
Q

To explain constraints for going in and out

A

= 1 say both don’t come or one goes in and one out that’s it

Etc

24
Q

How to prove root

A

Do 3 dp and SHOW CHANGE IF SIGN !:

25
Q

When reformualting with an equation, what to remember to do

A

Must remember to refolumate for NON NEGATIVITY constraints

  • so x and y will stay 0, but must Reformkurse for z giving you ONE MORE EQUATION!
26
Q

Hiw to explain why maximum flow going out is equivalent to smaller

A

Say maixmise involves this

But because all the flow firm this arc goes thriughj this , then it is equivalent to say that

27
Q

Min cut is less than equal to , so by max flow min cut theroemer the max flow is ewuakt it the min cut and therefore the max flow is 106

A
28
Q

How to modify prims so certain arcs shown

A

Make them to smallest

29
Q

Prove complexities

A

Need the number of passes, normally n-1 you can check

Then just do 1 + 2 +3 … n-1
And show

30
Q

If I reduce a critical activity, is guaranteed it will lower by same amount

A

No it will only lower as long as it’s critical!

If no longer critical because other activity bigger that becomes critical and thus it depends on that

Therefore there is a max to hoe much it can be lowered and affect activity time

31
Q

Remember what does a critical activity mean in terms of the overall path

A

This means in overall path it must go from source to sink

32
Q

2 ways of proving activity can’t be completed in a minimum workers?

A

Divide the total durstion by length of one worker

Or show they overlapping

33
Q

OH FLIP, if they gave a maximise flow, and used extra pipes, then how could you find the maximum flow

A

Use these pipes, make a cut on these nodes and it should work

34
Q

Rememebr the result that the sum of order of the vertices = 2 x arcs

So if I have 15 +x as the sum of the orders, and 7 arcs, why can’t I form a true

A

Csn’t form a graoh let alone a tree, need atleast 8 arcs

35
Q

Which arc shall I increase capacitor of?

A

Only the arc which IS ALREADY STAUTURED, and increase it to the max capatoy ahead of