Building a Generalised Truss Solver in Python