Variational formulations of non-linear and non-smooth structural problems