Minimization and maximization versions of the quadratic travelling salesman problem. (3rd April 2017)