HomotopyContinuation.jl icon indicating copy to clipboard operation
HomotopyContinuation.jl copied to clipboard

sing_accuracy not recognised as endgame parameter

Open AndrewGibbs opened this issue 1 year ago • 9 comments

In the documentation (and corresponding docstring), the endgame parameter singular_min_accuracy = 1e-6 appears incorrectly as sing_accuracy = 1e-12.

AndrewGibbs avatar May 28 '24 11:05 AndrewGibbs

`sing_accuracy' is also an endgame parameter. Every zero with condition number above that value is considered singular.

PBrdng avatar May 30 '24 08:05 PBrdng

OK it appears that I was mistaken about the human cause of the issue - but there is still an issue. If I run

@var x y
F = System([x^2+y^2+1, 2x+3y-1], variables = [x, y])
solve(F, EndgameOptions(; sing_accuracy = 1e2))

Then I get the MethodError: no method matching EndgameOptions(; sing_accuracy=100.0)

AndrewGibbs avatar May 30 '24 08:05 AndrewGibbs

Thanks!

AndrewGibbs avatar May 30 '24 08:05 AndrewGibbs

This is indeed weird. Thanks for noticing. I will look into it...

PBrdng avatar May 30 '24 08:05 PBrdng

What is the version of Hc.jl that you use? Because in earlier version sing_accuracy was not implemented. In the most recent version of the software EndgameOptions(; sing_accuracy = 1e2) goes through on my computer.

PBrdng avatar May 30 '24 09:05 PBrdng

I'm using HomotopyContinuation v2.6.4. This was downloaded from the official Julia registry on Tuesday.

AndrewGibbs avatar May 30 '24 09:05 AndrewGibbs

I think this is the problem. For some reason, the most recent version (2.9.3) is not automatically being installed on your device. I just tried a fresh installation and it gives me 2.9.3. There seems to be some compatibility conflict. Can you manually upgrade to 2.9.3?

PBrdng avatar May 30 '24 09:05 PBrdng

Perhaps it is because I am using an older version of Julia (1.7.2); are there dependencies on newer features? Uninstalling and reinstalling gives this message:

image

AndrewGibbs avatar May 30 '24 09:05 AndrewGibbs

The latest HomotopyContinuation version requires at least Julia 1.8

saschatimme avatar Jun 05 '24 10:06 saschatimme