Quadratic programming-based autonomous cruise control of an intelligent tugboat | Synapse