Text this: Optimal maintenance of large engineering system