Fix a bug when the NonlinearProgram has no constraint, then its lower and upper bounds should be [], rather than zeros(1,0)