ToolPythonBeginner Minimization with scipy.optimize.minimize: the shape of a seven-atom cluster for i, j in zip(*np.nonzero(np.triu(dist < 1.3))):