JuliaHomotopyContinuation / HomotopyContinuation.jl

A Julia package for solving systems of polynomials via homotopy continuation.

Home Page:https://www.JuliaHomotopyContinuation.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start System Complaints: Incorrect Rank Calculation

aaronjhf opened this issue · comments

Hi,

I get complaints that the start system is no good. One issue is that the rank of the Jacobian is computed incorrectly. Its entries are large numbers and rank() from LinearAlgebra computes the rank incorrectly. When I use GenericLinearAlgebra and convert the Jacobian to a BigFloat Array, then the rank is computed correctly. I have also had precision issues when rescaling things to have smaller numbers which are fractions that truncate too soon.
Here is a link to an example: https://github.com/aaronjhf/DR-Varieties/blob/main/hom.jl .
It is a script where I use monodromy_solve and also calculate the jacobian.
Please let me know the best way to proceed dealing with these start system issues.

Thanks very much,
aaronjhf

Hi,

the best way to deal with such issues is to find a formulation of your system that is numerically more feasible. In particular, I would try to find a rescaling of your polynomials which deals with coefficients in the range 10^k for k between 0 and 3. The implementation is not optimized for using BigFloat and so I do not recommend using it.

Closed