Skip to content
The primary source code repository for PHCpack, a software package to solve polynomial systems with homotopy continuation methods.
Ada C++ C Python Cuda Makefile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src avoided asking name of file twice if equation-by-equation solver is c… Sep 15, 2019
LICENSE Initial commit Sep 26, 2013
README added new award number Jul 29, 2019 added new award number Jul 29, 2019


PHCpack is a software package to solve polynomial systems by homotopy continuation methods.

A polynomial system is given as a sequence of polynomials in several variables. Homotopy continuation methods operate in two stages. In the first stage, a family of polynomial systems (the so-called homotopy) is constructed. This homotopy contains a polynomial system with known solutions. In the second stage, numerical continuation methods are applied to track the solution paths defined by the homotopy, starting at the known solutions and leading to the solutions of the given polynomial system.

Version 1.0 of PHCpack has been archived by ACM Transactions of Mathematical Software (ACM TOMS) as Algorithm 795. PHCpack incorporates MixedVol (Algorithm 846 of ACM TOMS by T. Gao, T.Y. Li, and M. Wu) to compute mixed volumes fast. DEMiCs (Dynamic Enumeration of all Mixed Cells, by T. Mizutani, A. Takeda, and M. Kojima), computes mixed volumes at a faster pace than MixedVol for larger systems with many different supports. DEMiCs is also integrated into PHCpack. For its double double and quad double arithmetic, PHCpack contains QDlib of Y. Hida, X.S. Li, and D.H. Bailey.

This material is based upon work supported by the National Science Foundation under Grants No. 9804846, 0105739, 0134611, 0410036, 0713018, 1115777, 1440534, and 1854513. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Executable versions of the code for Linux, MacOS X, and Windows are available at Other links:

The restructured text source for the documentation for PHCpack starts at and for phcpy at

To try phcpy in a python or SageMath kernel of a jupyter notebook, visit

You can’t perform that action at this time.