Cost optimization in projects with repetitive nonserial activities