-
Notifications
You must be signed in to change notification settings - Fork 227
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
Particle swarm getting stuck in local minima on corner of optimisation domain #996
Comments
I think I'm having a related issue for which I opened a Discourse topic. |
Do you know that the solution is not correct? |
@pkofod Yep! I mapped out the cost space to be sure that there's a global min in the bounded search space. Passing along the suggestion that fixed my issue: set |
@xtalax Might be helpful to see rest of the code too ... the optimizer throws parameters to the max if there's a mismatch between the discretized PDE system |
Please reopen if you think this is an Optim problem and not a solve problem |
I have been trying to use Optimization.jl with Optim.jl to perform global optimization with
ParticleSwarm()
, with MethodOfLines.jl generating the data for the loss, and running the forward problem.I have run in to an issue where the solver gets locked in to only evaluating the upper bound of all parameters, after a few iterations.
Is this the right place for this issue?
My code is somewhat difficult to produce an MWE from, so I thought to ask if this is a known issue before gutting it for debugging fodder.
My optimization setup:
The output of the run so far:
Should I post full code?
The text was updated successfully, but these errors were encountered: