tested nlopt lib.
tested nlopt lib.