We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi, thank you for this amazing package. I was wondering if there is a way to pause the optimization and save the progress, then restart it? Thank you.
The text was updated successfully, but these errors were encountered:
Sorry, this slipped my attention.
Yes, you can use the internal function CMAEvolutionStrategy.run!(o, f), e.g.
CMAEvolutionStrategy.run!(o, f)
function rosenbrock(x) n = length(x) sum(100 * (x[2i-1]^2 - x[2i])^2 + (x[2i-1] - 1)^2 for i in 1:div(n, 2)) end result = minimize(rosenbrock, zeros(6), 1., maxfevals = 100) result.stop.maxfevals = 200 CMAEvolutionStrategy.run!(result, rosenbrock)
Sorry, something went wrong.
No branches or pull requests
Hi, thank you for this amazing package. I was wondering if there is a way to pause the optimization and save the progress, then restart it? Thank you.
The text was updated successfully, but these errors were encountered: