Coordinated Task Assignment and Path Planning with Trajectory Optimization for Multi-agent Systems | Synapse