Hi Joshua,

As Mike pointed out, look in sage/interfaces/phc.py for what is
already there.  At Jan Verschelde's request I also recently updated
the optional phcpack spkg to a recent version.

The problem with phcpack is that it is mostly written in Ada, and it
seems unlikely in the medium term to become a standard package because
of that.  I have made some very minor attempts to write a homotopy
solver in cython but its a very low priority project for me at the
moment.

I would recommend talking to Jan Verschelde and seeing if he has any
suggestions for further work on integrating phcpack and sage.  One
flaw right now is that the interface I wrote uses pexpect, instead of
the C interface that Jan and one of his students wrote recently.  I'm
not sure that would really make much of an impact in speed though,
since parsing the output is not usually the bottleneck.

Right now the 1-variable case is broken, there is a trac ticket for
that (#4411).  I have been lazy about fixing it since there are other
good tools in sage for 1-variable problems.  Fixing that would be
pretty easy and give you a better idea of what the current
capabilities are.

There's also this @interact example on the wiki, which shows some of
the graphical possiblities of sage+phcpack:
http://wiki.sagemath.org/interact/algebra#NumericalSolutionsofPolynomialSystemswithPHCpack

-Marshall Hampton

On Feb 25, 12:36 am, Mike Hansen <mhan...@gmail.com> wrote:
> On Wed, Feb 24, 2010 at 9:13 PM, Joshua Herman <zitterbeweg...@gmail.com> 
> wrote:
> > Link tohttp://www.math.uic.edu/~jan/download.html
>
> > On Feb 24, 2010 11:12 PM, "Joshua Herman" <zitterbeweg...@gmail.com> wrote:
>
> > Are you guys interested in adapting phcpack for sage? Its a solver for
> > polynominal homotopy?
>
> phcpack is already an optional package, and there is an interface to
> it in sage/interfaces/phc.py, but maybe Marshall Hampton has a better
> idea of improvements / work that could be done with it.
>
> --MIke

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to