to266 / optimize

Rust crate for numerical optimization
Apache License 2.0
7 stars 3 forks source link

OptimResult return type #9

Open sebasv opened 6 years ago

sebasv commented 6 years ago

How do you feel about a default OptimResult return type for all minimizers? I was thinking about a struct that contains:

(this list is heavily inspired by scipy.optimize) More options can be added as more optimizers are coded.

to266 commented 6 years ago

I'm definitely not against. Currently it's not done just for simplicity reasons, but if users find that other outputs are also useful, it might be a nice thing.