Comments (9)
Hi,
first of all: Thanks, for trying out our package :)
This code was written by Oliver Gäfvert, so I don't know exactly what it does. I will send him an email asking if he could at your error.
from homotopycontinuation.jl.
@danielplatt I have not heard back from Oliver, unfortunately.
This morning I had some time to look at the code and fixed the problem. Can you check if it works for you now?
from homotopycontinuation.jl.
@PBrdng Thanks! For which version is this code now? When running it, the line result = solve(system)
gives me the error:
ERROR: ArgumentError: `variable_ordering = ...` needs to be passed as a keyword argument to indicate the order of the variables.
Stacktrace:
[1] input_startsolutions(::Vector{HomotopyContinuation.ModelKit.Operation}; variable_ordering::Nothing, parameters::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/mJDHb/src/input.jl:150
[2] problem_startsolutions(args::Any; seed::Any, variable_ordering::Any, kwargs::Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where {V, N, names, T<:Tuple{Vararg{Any, N}}})
@ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/mJDHb/src/problems.jl:367
[3] problem_startsolutions
@ ~/.julia/packages/HomotopyContinuation/mJDHb/src/problems.jl:365 [inlined]
[4] solver_startsolutions(args::Vector{HomotopyContinuation.ModelKit.Operation}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/mJDHb/src/solver.jl:124
[5] solver_startsolutions
@ ~/.julia/packages/HomotopyContinuation/mJDHb/src/solver.jl:123 [inlined]
[6] solve(args::Vector{HomotopyContinuation.ModelKit.Operation}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/mJDHb/src/solver.jl:540
[7] solve(args::Vector{HomotopyContinuation.ModelKit.Operation})
@ HomotopyContinuation ~/.julia/packages/HomotopyContinuation/mJDHb/src/solver.jl:539
[8] top-level scope
@ REPL[17]:1
My packages and their versions are:
(@v1.7) pkg> status
Status `~/.julia/environments/v1.7/Project.toml`
[7c1d4256] DynamicPolynomials v0.3.21
[9c0f25c4] Eirene v1.3.5
[f213a82b] HomotopyContinuation v1.4.4
[7073ff75] IJulia v1.23.3
[c8e1da08] IterTools v1.4.0
[f0f68f2c] PlotlyJS v0.14.1
[91a5bcdd] Plots v1.6.8
I use the old version HomotopyContinuation v1.4.4
because it was recommended for another piece of code, but not specifically for this example.
from homotopycontinuation.jl.
I use Julia 1.7.2 and HomotopyContinuation.jl 2.6.4.
from homotopycontinuation.jl.
Thanks! Can you add using Plots
before
scatter(sample_matrix[1,:], sample_matrix[2,:],
legend = false)
Then that code works perfectly for me. Other users may benefit from the information that this was tested with Julia 1.7.2 and HomotopyContinuation.jl 2.6.4.
from homotopycontinuation.jl.
Good point. I added the using Plots
. Thanks! :)
Where exactly is the information that one should a version different than the most recent one?
from homotopycontinuation.jl.
"Where exactly is the information that one should a version different than the most recent one?" Oliver advised me to do this via email. But that was pertaining to a different piece of code that used an old function (pathfinder
? I'm not sure anymore). So, he never said anything wrong, and I believe there is no published info saying to use an old version to run the code on the website.
Writing down the version number was just an idea to make that website future proof, in case any of the packages discontinue one of the functions used.
from homotopycontinuation.jl.
I see. This is a good point. I'll think about how to implement it. Thanks!
Can I close this issue then?
from homotopycontinuation.jl.
Yes, the issue can be closed. Thank you very much for all your help!
from homotopycontinuation.jl.
Related Issues (20)
- :invalid_startvalue on simple system HOT 2
- e not defined for sqrt() HOT 6
- Converting from Nemo.fmpq_mpoly to HomotopyContinuation.Expression HOT 3
- cache_min_length failing with empty iterator HOT 1
- Seed for mondromy not working as intended
- Symbolic linear system solving not supported by ModelKit HOT 2
- Issues dealing with BigFloat coefficients HOT 6
- find_start_pair failing on some linearly-parametrized square systems HOT 2
- `OP_POW` not defined HOT 5
- Add checkpoints for monodromy_solve
- HC fails to solve sanity check HOT 7
- Strange behaviour of numerical irreducible decomposition HOT 4
- Can't build a system with Unicode symbols in variable names HOT 2
- `Threads.resize_nthreads!` is deprecated HOT 1
- Non-real solution incorrectly certified as real
- Start System Complaints: Incorrect Rank Calculation HOT 2
- What is the best way to approximate trigonometric functions in HC HOT 2
- LaTeX pretty printing breaks for (negative) exponents HOT 2
- sing_accuracy not recognised as endgame parameter HOT 9
- Missing Solutions HOT 8
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 homotopycontinuation.jl.