A Linear Programming-Based Algorithm for Solving Semidefinite Programs