|
|
@ -66,7 +66,7 @@ end
|
|
|
|
# F = [x*y - 1, x^2 + y^2 - 4]
|
|
|
|
# F = [x*y - 1, x^2 + y^2 - 4]
|
|
|
|
# T = [x*y - 1, x^2 + y^2 - 2]
|
|
|
|
# T = [x*y - 1, x^2 + y^2 - 2]
|
|
|
|
|
|
|
|
|
|
|
|
R = random_system(5, 3)
|
|
|
|
R = random_system(5, 5)
|
|
|
|
println("System: ", R)
|
|
|
|
println("System: ", R)
|
|
|
|
(G, roots)=start_system(R)
|
|
|
|
(G, roots)=start_system(R)
|
|
|
|
println("Number of roots: ", length(roots))
|
|
|
|
println("Number of roots: ", length(roots))
|
|
|
@ -87,9 +87,7 @@ println("Norms (lower = better): ", [norm([f(vars => s) for f in R]) for s in so
|
|
|
|
|
|
|
|
|
|
|
|
# Single execution
|
|
|
|
# Single execution
|
|
|
|
println("SINGLE")
|
|
|
|
println("SINGLE")
|
|
|
|
for i in workers()
|
|
|
|
wait(rmprocs(workers()))
|
|
|
|
rmprocs(i)
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
@time begin
|
|
|
|
@time begin
|
|
|
|
(sol, steps) = solve(R, G, roots)
|
|
|
|
(sol, steps) = solve(R, G, roots)
|
|
|
|
end
|
|
|
|
end
|
|
|
|