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

multirow: which_function #36

Open mkoeppe opened 5 years ago

mkoeppe commented 5 years ago

example from the docstring to test which function and kept everything else the same. hsquare.which_function(Polyhedron(vertices=[(5,1),(5,3/2),(11/2,3/2)])) I took out the vertex argument x here and it threw an error on mod_Zk(x). This function works when Polyhedron=None, but x cant be None.