A Quadratic Programming approach for coordinating multi-AGV systems