Minimizing the determinant of the graph Laplacian