A tool designed to perform optimization with a piecewise-linear or piecewise-quadratic approximation to general functions (python)

This tool fits a convex approximation to general functions using function values evaluated at some points in the domain and then uses standard solvers to solve the resulting problem. This was done as a class project in EE364b.