Function scaling a la IPOPT (section 3.8 of the implementation paper).
Function scaling a la IPOPT (section 3.8 of the implementation paper).