Associated with main repository changeset 72728

Checkpoint for revamp of optimization code: a much more efficient local
optimization using a version of Powell's UOBYQA algorithm, and global
optimization using differential evolution.