quadratic_assignment(method=’2opt’)# scipy.optimize.quadratic_assignment(A, B, method='faq', options=None)