Text this: Constrained Optimization of Functional Inspection Based on Delay Time Model and Its Application in Aircraft Maintenance