Optimization of asynchronous parallel tasks scheduling with multi-resource constraints