minscore_PEM function

Function to calculate minimal score value of possible project scenarios.