Critical Path Method - Issue with Latest Start Times
I have made my program to calculate the project duration, the earliest start time and the latest start time
Project Duration✅
Earliest Start Time✅
Latest Start Time❌ - Partially works
Link to code - https://github.com/AbdulRaheemNazir/CPM/blob/main/Program.cs
=================================================================================================================================================
V9 is equal to 18 as total project duration then to calculate the activity leading form and too latest finish time for V1..V4 we would have to go backwards through this path:
V9->V8->V6->V4->V1 = 4+4+2+5 =15
If we do the calculation 18-15 it should give 3 as the latest finish time for V1..V4 but my output gives me 1
------------------------------------------------------------------------------------
V1..V3 we would have to go backwards through either these paths:
V9->V8->V5->V3->V1 = 4+7+1+4 =16
V9->V7->V5->V3->V1 = 2+9+1+4 =16
Since we have 2 paths we see which one is the longest duration but since we have the same we can just use 16. If we do the calculation 18-16 it should give 2 as the latest finish time for V1..V3 but my output gives me 1
------------------------------------------------------------------------------------
V1..V2 we would have to go backwards through either these paths:
V9->V8->V5->V2->V1 = 4+7+1+6 =18
V9->V7->V5->V2->V1 = 2+9+1+6 = 18
Since we have 2 paths we see which one is the longest duration but since we have the same we can just use 18. If we do the calculation 18-18 it should give 0 as the latest finish time for V1..V2 but my output gives me 1
=================================================================================================================================================
Only V1..V2, V1..V3 AND V1..V4 have this issue the latest Start time is calculates=d correctly for the rest
2 Replies
Hopefully should be avalaible now
@🐛🐛🐛🐛🐛🐛🐛
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View