This app has moved to OR Lab: https://inigo.co.in/tools/network/
The Streamlit app at https://sjcbba-ns.streamlit.app/ now shows only a notice with a link to the new address. The new version, now called Network analysis, opens instantly, works on a phone, and adds PERT three-time estimates and the probability of finishing by a date to CPM. OR Lab also has tools for the other units of Operations Research for Managers: https://inigo.co.in/tools/
The CPM code the old app used (network_analysis.py) and its tests stay in this repository for reference.
A free web app for Critical Path Method (CPM) network analysis, written for B.B.A. Operations Research students at St. Joseph's College (Autonomous), Tiruchirappalli.
- You enter activities in activity-on-arrow form: an activity ID, its start and end events (nodes), and its duration. A duration of 0 makes a dummy activity.
- It draws the project network.
- It runs the forward and backward passes to find the earliest (E) and latest (L) time of every event.
- For every activity it shows ES, EF, LS, LF, total float, free float and independent float.
- It lists every critical path and the project duration.
- It warns about loops, repeated activity IDs, two activities between the same pair of events, and networks with more than one start or end event.
- You can download the diagram as a PNG and the table as a CSV.
All durations are fixed values. The app does not yet handle PERT three-time estimates, crashing (time-cost trade-off) or Gantt charts.
The CPM calculations live in network_analysis.py and are checked against hand-worked examples:
python -m pip install pytest
python -m pytest