"George A." <firstname.lastname@example.org> wrote in message <email@example.com>... > > I then give this solution to the 2nd formulation to check that it is recognized as a solution in this formulation as well. Although the function norm at this point (the solution found for the 1st formulation) is still "pretty small" (greater than before but still 10^-7), the first order optimality measure is huge (10^4). Both with the Jacobian turned 'on' or 'off'. > > Could there be any Matlab-related reason why this is happening? ==================
Any differences in bound constraints imposed in the second formulation? The first order optimality measure would have to take those into account, too.