Critical Path Method (CPM) is a widely used project management technique in which the project schedule is determined by identifying…