Comments (5)
Ah yes the square root is the problem, but this is actually exactly the case that I wanted to support in the first place. I will try to take a look soon :)
from homotopycontinuation.jl.
The code path is only hit if the exponent is not an integer, so OP_POW_INT
is most likely wrong. What type of exponents do you have?
When implementing the procedure, I wanted to deal with general exponents initially but I abandoned this approach since it would only be allowed in very specific circumstances. However, I think just supporting rational numbers or floating point values should be easily feasible.
from homotopycontinuation.jl.
Many thanks for responding so quickly. I have managed to make a minimum working example:
using HomotopyContinuation
@var x
@var a b
vars = HomotopyContinuation.Variable[x]
para = HomotopyContinuation.Variable[a, b]
pol = x*sqrt((a^2 - b^2))
eq = Expression[pol]
sys = System(eq, variables = vars, parameters = para)
solve(sys, start_system=:total_degree, target_parameters=Number[0.99, 0.98])
To problem seems to be the sqrt((a^2 - b^2))
in the expression, i.e., we have an exponent of 1/2.
from homotopycontinuation.jl.
I have tested out the new PR and it solves my original problem I experienced in HarmonicBalance.jl. Thank you!
from homotopycontinuation.jl.
Happy to hear that :) Just tagged a new release (2.8.3) that contains the fix
from homotopycontinuation.jl.
Related Issues (20)
- OverflowError: Cannot compute a start system. HOT 3
- Monodromy, how to choose u? HOT 3
- Type inconsistency/failure to evaluate expressions HOT 1
- solve errors for real target subspace HOT 7
- :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
- find_start_pair failing on some linearly-parametrized square systems HOT 2
- 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
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.