LINEAR QUADRATIC OPTIMIZATION FOR MODELS WITH