A C numerical optimization library