A Practical Quantum Algorithm For Solving Structural Optimization Problems