Semidefinite programs are generally challenging to solve due to its high dimensionality. Burer and Monteiro developed a non-convex approach to solve linear SDP problems by applying its low rank property. Their approach is fast because they used factorization to reduce the problem size. In this paper, we focus on solving the SDP relaxation of a graph equipartition problem, which involves an additional semidefinite upper bound constraint over the traditional linear SDP. By applying the factorization approach, we get a non-convex problem with a non-smooth spectral inequality constraint. We discuss when the non-convex problem is equivalent to the original SDP, and when a local minimum of the non-convex problem is also a global minimum. Our results generalize previous works for linear SDP. Moreover, the constraints of the nonconvex problem involve an algebraic variety with some conducive properties that allow us to use Riemannian optimization and non-convex augmented Lagrangian method to solve the SDP problem very efficiently with certified global optimality.