Optimization Problems of Costs in a MultiState System with Imperfect Maintenance. (27th February 2014)