Skip to content

Solving system of polynomial equations #1

@blegat

Description

@blegat

It would be nice to have an implementation independent interface for solving systems of polynomial equations. There will soon be an implementation here using the classical Groebner basis method and relying on MultivariatePolynomials to do all the work.
We have already a nice interface to build an algebraic set

@set x == 1 && y == 2

Now, we need an interface to query the solutions of the equations. Here these are the points of the sets so we could just iterate through the set and in case the set was not zero dimensional then throw an error

collect(@set x^2 == 1 && y == 2) # -> [(-1, 2), (1, 2)]
collect(@set x == y) # -> error not zero dimensional

The problem with the current interface is that we currently do not specify anywhere what will be the algorithm used to find the points.
The user should be able to say that he wants another library do deal with it, e.g.:

cc @saschatimme

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