-
Notifications
You must be signed in to change notification settings - Fork 31
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
e not defined for sqrt() #518
Comments
|
Hi, Thanks for the reply @saschatimme . Regarding 1) - I thought in this issue: #498 it was stated that there was support for
and re 2) - Yes true, although I was just providing a minimal example to show the error. My actual system is more complex.. |
Mhm maybe there is a bug then. I will look more into this over the weekend. As for whether you can use sqrt or not: Our math only works when |
Suppose I can rearrange my system so that the square roots are on one side of the equation, is it valid in general to square both sides and solve the new system using homotopy continuation methods? I really need to solve a system where the variables sit inside the square root and this is the only way I can think of, but I'm not sure if its valid... |
I think this should be a valid way to rewrite the system. Starting from
add one additional variable
Your approach as well as mine both increases the number of solution but this is unavoidable. I wrote some time ago a paper where the true problem also had a sqrt in it's formulation. Maybe the general techniques used there can be useful for you https://arxiv.org/pdf/2009.13408.pdf Otherwise, if you can share more about your problem (here or via email) with me or @PBrdng, then we can maybe give more concrete advice. We are both always happy to learn about applications of HC :) |
Sure, would be great to discuss with you. I will send you an email to [email protected] ? |
Hi
@var x y a b
F = System([sqrt(x^2 - a), x * y - a + b]; variables=[x,y], parameters =[a,b])
solve(F, target_parameters=[2, 5])
produces the error
UndefVarError: e not defined
I believe it is the sqrt() which is causing the issue.
The text was updated successfully, but these errors were encountered: