-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
13 lines (9 loc) · 743 Bytes
/
README
File metadata and controls
13 lines (9 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
Installation:
-------------
The following Python libraries are required: numpy, scipy, networkx, cvxpy. To build the library cfh.so, modify the file Makefile.inc as necessary and then run make. This build requires the Cython compiler.
Usage:
------
Usage information can be obtained by running either of the main scripts, fh_solve_convex.py and fh_solve_coex.py, with the --help flag. Example input files (specifying equimolar target phases) are provided in the examples/ directory. These example design problems can be solved in two steps as follows:
cd examples/
python3 ../fh_solve_convex.py example-targets-N4.txt ridge --output=example-targets-N4-solutions.p.gz
python3 ../fh_solve_coex.py example-targets-N4-solutions.p.gz