Add and document the opt_algo option of OSR

See #779