Computational efficiency of non-linear programming methods on a class of structural problems