Quadratic constraints

Added (preliminary) quadratic constraint functionality for LP/MIP.