Initialize quadratic term correctly when solving LPs