Comments (7)
it seems optcont.pMin = -1.0
, you should decrease it.
from bifurcationkit.jl.
Doesn't seem to fix it?
using PseudoArcLengthContinuation, LinearAlgebra, Plots, PyPlot, Optim
const PALC = PseudoArcLengthContinuation
function f(x, alpha)
[alpha + x[1]^2]
end
optnewton = NewtonPar(verbose = true)
alpha_min = -2.
alpha_max = -1.
out = [1.]
optcont = ContinuationPar(dsmin = 0.01, dsmax = 0.15, ds= 0.01, pMax = alpha_max, pMin=alpha_min, newtonOptions = NewtonPar(tol = 1e-9))
br, _ = continuation(f, out, alpha_min, optcont, plot = true, plotSolution = (x, p;kwargs...) -> (plot!(x; ylabel="solution",label="",kwargs...)), verbosity=3)
from bifurcationkit.jl.
Thank you!
This line should be
# condition for halting the continuation procedure
@inline done(it::PALCIterable, state::PALCStateVariables) =
(state.step <= it.contParams.maxSteps) &&
(it.contParams.pMin <= state.z_old.p <= it.contParams.pMax) &&
(state.stopcontinuation == false)
I will try to correct this asap. Is it blocking you in the mean time?
from bifurcationkit.jl.
I see, the problem was that alpha_min was equal to the starting alpha. I can work around it, thanks for fixing it!
from bifurcationkit.jl.
I pushed a fix yesterday so you can take alpha_min to be equal the starting alpha.
from bifurcationkit.jl.
should I close it?
from bifurcationkit.jl.
Yes, thanks!
from bifurcationkit.jl.
Related Issues (20)
- typos HOT 3
- acceptSolution in DefCont() not used HOT 1
- continuation of periodic orbit from Hopf curve HOT 1
- Issue when implementing the KdV equation HOT 9
- Continuation of LPC from Bautin/GH point HOT 2
- Out of memory for 1D periodic non-linear system HOT 8
- Generalized eigenvalue problem during continuation HOT 1
- Event function not called while doing codim2 fold point continuation HOT 2
- How to switch continuation parameters in codim2 fold point continuation? HOT 2
- br.specialpoint[n].x different from getSolx(br, br.specialpoint[n].idx) HOT 1
- finaliseSolution not being called for codim2 fold point continuation HOT 3
- Move to `JuliaDynamics` org HOT 4
- Dependencies update HOT 15
- Is it possible to provide derivatives with respect to the parameter "p" ? + Minimal example with fold bifurcations that doesn't work HOT 8
- Convenient way to obtain the plotted elements HOT 22
- Reexport Setfield HOT 2
- Document what short names of bifurcations stand for HOT 11
- Use Julian style of code? HOT 8
- Continuation doesn't start when using Natural() and pMin = p0 HOT 1
- No way to set BifFunction's delta parameter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bifurcationkit.jl.