Computational Project about Homotopy Continuation
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Francesco Minnocci 2492fe3a33
since we're here...
1 year ago
plots Update multithreaded solutions 1 year ago
report fix: use a normal distribution 1 year ago
LICENSE Initial commit 1 year ago
README.md feat: improve computation of random system and parallel processing; 1 year ago
adapt-step.jl fix: use spawn+fetch and refactor module loading 1 year ago
euler-newton.jl feat: improve adapt_step function 1 year ago
homogenize.jl Split up main script into local modules 1 year ago
homotopy.jl Split up main script into local modules 1 year ago
plot.jl plot: Fix relative path 1 year ago
random-poly.jl oh well 1 year ago
solve.jl since we're here... 1 year ago
start-system.jl Split up main script into local modules 1 year ago

README.md

Homotopy Continuation in Julia

This is a project for the "Laboratorio Computazionale" exam at the University of Pisa

Implemented

  • Total-degree Homotopy with "Roots of unity" start system
  • Euler-Newton predictor-corrector method with adaptive step size
  • Homotopy Continuation for all roots of the target system

TODO

  • Parallelization
  • Homogenization

Example systems

Here's some tests on 2x2 systems, with the plotted real approximate solutions


\begin{align*}
x^3 + 5x^2 - y - 10 &= 0 \\
2x^2 - y - 10 &= 0 \\
\end{align*}
Single-threaded Multi-threaded (nproc=6)
Solution 1 Multi-threaded Solution 1


\begin{align*}
x^2 + 2y  &= 0 \\
y - 3x^3 &= 0 \\
\end{align*}
Single-threaded Multi-threaded (nproc=6)
Solution 2 Multi-threaded Solution 2

\begin{align*}
x^2 + y^2 - 4 &= 0 \\
xy - 1 &= 0 \\
\end{align*}
Single-threaded Multi-threaded (nproc=6)
Solution 3 Multi-threaded Solution 3


\begin{align*}
x^2 + y^2 - 2 &= 0 \\
xy - 1 &= 0 \\
\end{align*}
Single-threaded Multi-threaded (nproc=6)
Solution 4 Multi-threaded Solution 4