Generation of polyhedral barrier functions using Gurobi and Z3 in Python.