We represent trusses as a set of rigid bars connected
by pin joints, which may change location during optimization. By
including the location of the joints as well as the strength of individual
beams in our design variables, we can simultaneously optimize
the geometry and the mass of structures