This is a hastily modified version of martinus' differential-evolution-rs library.
We needed an optimization library that could be compiled to WebAssembly for
use in a demo we were working on, and
most of them required functionality that wasn't easily available in WASM
(e.g., rusty_machine
depends
on an old version of rand
that doesn't
work in WASM,
OptimizationEngine is
targeted at realtime systems and needs access to system time, etc).
The original version of this library also depended on a version of rand
that doesn't work in WASM, but this library was simple enough that updating it was straightforward.