NLopt is a nonlinear optimization library written in C by Steven G. Johnson and licensed under the LGPL.