464 lecture 09 cpm revision. scheduling techniques r the scheduling techniques are î to plan,...

30
464 Lecture 09 CPM Revision

Upload: troy-whiteaker

Post on 31-Mar-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

464 Lecture 09CPM Revision

Page 2: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Scheduling Techniques The scheduling techniques are

To plan, schedule, budget and control the many activities associated the projects;

Focusing on customer’s desired completion date; Converting project plans into an operating timetable and Providing direction for managing the day-to-day activities of

projects

Critical Path Method (CPM)

Deterministic

Project Evaluation Review Technique (PERT)

Probabilistic

Page 3: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Critical Path Critical Path Method (CPM) is a very widely used technique.

Applications include:

Building/construction;

Production planning;

Maintenance planning;

Computer system development;

Launching a new product;

Auditing;

Mobilisation/military planning;

Planning generally.

Critical path methods are a vital tool in all project based activities

Page 4: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Representing a Project as a Network

A project involves several activities (or tasks) e.g. to build a house design, get planning permission, find a builder, lay foundations, order materials, build, select paint, select carpet and finish.

We can represent the relationship between the tasks as a network In the network, nodes represent events (usually the start or

completion of a task) and arcs represent activities (usually the tasks to be done)

The arrows on the arcs indicate that an event must be completed before the next i.e.

DesignPlanning Permission

Page 5: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Representing a Project as a Network

We can add times to the arcs, showing how long each activity takes:

Design Planning Permission

6 weeks 13 weeks

More than one event can occur at the same time (concurrent activities)

Design

Planning Permission

6

13

Find Builder 4

1 2 3

1 2

3

4

Page 6: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Representing a Project as a Network

In the network, 2 or more activities are not allowed to have the same starting and ending node

To model this, we add an extra “Dummy Activity” of duration 0 when one of the 2 activities are finished:

Design

Planning Permission

6

13

Find Builder

4

1 2

3

4

Dummy 0

Foundations 2

Order Materials 4

5

6

Page 7: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Critical Path Characteristics There is one and only one starting and one completion (terminal)

node Critical Path networks are directional. Hence we talk about arcs

rather than links There is only one arc between each pair of nodes There are no circuits There are no loops There must be at least one path from start node to completion node There may be multiple paths from start to completion There may be more than one critical path There may be activities with zero duration

Page 8: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Critical Path Objectives There may be more than one Critical Path Objective. Objectives may include:

Minimise total project time; Minimise total project cost; Minimise cost for a given time; Minimise time for a given cost; Minimise idle resources; Straightforward project management; Budget control.

CPM methods are used as both planning tools and control tools

Page 9: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Critical Path Methods

There are three stages.

First we go through the network from the start working out the earliest possible completion time of each task.

This is known as the forward pass. This will give you a total time for the project.

Then, starting at the final node, we work backwards calculating the latest completion time necessary to complete the preceding task for each activity.

This is known as the backward pass.

Where the forward earliest completion time equals the backward latest completion at a node, that node lies on the critical path.

Page 10: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

The Critical Path

There are several paths from start to finish of the project The longest path is called the critical path It represents the shortest time that the project can be completed We can find the critical path by asking the following questions:

What is the earliest time that activities can be completed (or, in other words, each node is reached)?

What is the latest time that we could start the activities from a node and still complete the project in the shortest time?

Page 11: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

A Critical Path Problem

1

65

4

3

2

3

What is the critical path through this network?

How would we set about computing it?

0

2

37

2

2

5

6

3

Finish

Start

0

2

Page 12: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass

1

65

4

3

2

3

0

2

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

Page 13: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass

1

65

4

3

2

32

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

3

Page 14: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass

1

65

4

3

32

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

3

5?

Page 15: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass (Cont.)

65

4

3

32

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

2

3

Page 16: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass (Cont.)

65

4

3

32

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

2

3

6 =max(3+3, 4)

Page 17: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass (Cont.)

65

4

32

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

2

3

6

6 =max(3+2, 6+0)

Page 18: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass (Cont.)

6532

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

2

3

6

6

13

=max(6+7, 6+3)

Page 19: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass (Cont.)

632

37

2

2

5

6

3Finish

Start

0

0

2

Calculating the Earliest Finishing/completion time (EF)

2

3

6

6

1319

=max(13+6, 11)

Page 20: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Forward Pass (Cont.)

32

37

2

2

5

6

3Finish

Start

0

0

2

2

3

6

6

1319

EF

LF

Page 21: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass

32

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

Calculating the latest finishing/completion time (LF)

Page 22: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

32

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

14?

Calculating the latest finishing/completion time (LF)

Page 23: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

32

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

Calculating the latest finishing/completion time (LF)

13

Page 24: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

6532

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

13

6

Calculating the latest finishing/completion time (LF)

=min(13-7, 19-5)

Page 25: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

6532

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

13

6

Calculating the latest finishing/completion time (LF)

6 =min(6-0, 13-3, 19-2)

Page 26: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

6532

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

13

6

Calculating the latest finishing/completion time (LF)

6

=min(6-2, 6-3)3

Page 27: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

6532

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

13

6

Calculating the latest finishing/completion time (LF)

6

3

4

Page 28: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Backward Pass (cont.)

6532

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

13

6

Calculating the latest finishing/completion time (LF)

6

3

4

0

=min(3-3, 4-2)

Page 29: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Critical Path

1

65

4

3

2

3

0

2

37

2

2

5

6

3Finish

Start

0

0 3

2 6

2

6

1319

19

13

6

6

3

4

0

Critical Path

Page 30: 464 Lecture 09 CPM Revision. Scheduling Techniques r The scheduling techniques are î To plan, schedule, budget and control the many activities associated

Building the Network from a list of the activities

We’ll look at this by example – see handout

The basic ideas are:

Start with the first activity

Subsequent activities start from the completion node of one of its predecessors

If an activity has more than one predecessor, you put in“dummy” arcs from the other predecessors to the starting node of the activity