Skip to content

Missing Solutions  #574

Description

@ElviraLupoian

I have a system which is theoretically known to have 364 solutions, that I'm trying to approximate using Homotopy Continuation. However, in most case this fails, and we usually obtain around 350. This seems to be constant across multiple runs.

using HomotopyContinuation

@var x1, x2, x3, x4, x5, x6, x7, x8, x9, x10

e1 = x2*x6^2 - x7*x10^3
e2 = -x1^2 + 2*x2*x5*x6 - 3*x7*x9*x10^2
e3 = -2*x1 + 2*x2*x4*x6 + x2*x5^2 - 3*x7*x8*x10^2 - 3*x7*x9^2*x10
e4 = 2*x2*x3*x6 + 2*x2*x4*x5 - 6*x7*x8*x9*x10 - x7*x9^3 - 3*x7*x10^2 - 1
e5 = 2*x2*x3*x5 + x2*x4^2 + 2*x2*x6 - 3*x7*x8^2*x10 - 3*x7*x8*x9^2 - 6*x7*x9*x10
e6 = 2*x2*x3*x4 + 2*x2*x5 - 3*x7*x8^2*x9 - 6*x7*x8*x10 - 3*x7*x9^2
e7 = x2*x3^2 + 2*x2*x4 - x7*x8^3 - 6*x7*x8*x9 - 3*x7*x10
e8 = -x1^2 + 2*x2*x3 - 3*x7*x8^2 - 3*x7*x9
e9 = -2*x1 + x2 - 3*x7*x8
e10 = -x7 - 1

es = [e1, e2, e3, e4, e5, e6, e7, e8, e9, e10]

sys = System(es)

sols = solve(sys)
julia> sols = solve(sys)
Tracking 736 paths... 100%|█████████████████████████████| Time: 0:00:04
  # paths tracked:                  736
  # non-singular solutions (real):  348 (22)
  # singular endpoints (real):      324 (30)
  # total solutions (real):         672 (52)
Result with 569 solutions
=========================736 paths tracked
• 348 non-singular solutions (22 real)
• 221 singular solutions (18 real)
• random_seed: 0xbd9f1d30
• start_system: :polyhedral
• multiplicity table of singular solutions:
╭───────┬───────┬────────┬────────────╮
│ mult. │ total │ # real │ # non-real │
├───────┼───────┼────────┼────────────┤
│   116412152     │
│   223221     │
│   322220     │
│   412210     │
╰───────┴───────┴────────┴────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions