Algorithms for generating large scale nonlinear programming problems with known degree of difficulty