I didn't agree to adding this to DlangScience yet. At the very least it needs the equivalent of https://github.com/DlangScience/nlopt/pull/2 done first.