Optimization of maintenance actions in train operating companies