A multi-UAV trajectory optimization methodology for complex enclosed environments