Solve a truss