Computing optimal repair strategies by means of NdRFT modeling and analysis