mkoeppe / cutgeneratingfunctionology

Python code for computation and experimentation with cut-generating functions, in particular the Gomory-Johnson infinite group problem. By M. Köppe, Y. Zhou, C.Y. Hong, J. Wang with contributions by undergrad programmers
GNU General Public License v2.0
12 stars 11 forks source link

SemialgebraicComplex Improvement #79

Open ComboProblem opened 1 year ago

ComboProblem commented 1 year ago

Add method to semialgebric complex given input of a region type returns a list of cells with given region type.

ComboProblem commented 1 year ago

Something like sage: clx = SemialgebraicComplex(family_of_functions, parameters) sage: clx.bfs_compeltion() sage: extreme_cells = clx.get_region_list(region_type_name="is_extreme") sage: extreme_cells [a list of all cells that are extreme here]