Portfolio optimization of safety measures for reducing risks in nuclear systems. (November 2017)