Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface with sequential optimization algorithms #25

Closed
romainbrette opened this issue Jan 21, 2020 · 2 comments
Closed

Interface with sequential optimization algorithms #25

romainbrette opened this issue Jan 21, 2020 · 2 comments

Comments

@romainbrette
Copy link
Member

I think it would be useful to interface with sequential optimization algorithms. For example, lmfit has support for parameter bounds. Our choice of using parallelizable algorithms is for performance reasons, but in practice I found that around 100 000 runs are necessary to fit a model to our data. So, it could very well be that using a more standard sequential algorithm requires fewer runs and ends up being more efficient.

I guess it should be possible to make an ask and tell interface for such algorithms. For example, the algorithm (eg lmfit) runs in a separate thread and calls a function f, which informs an ask method, blocks, and unblocks when tell is called.

@romainbrette
Copy link
Member Author

I could imagine that we typically start with a population-based algorithm, then refine with a sequential algorithm.

@mstimberg
Copy link
Member

Closed via #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants