Travelling salesman with a directional constraint Travelling salesman with a directional constraint numpy numpy