add quadratic objective linearization and tweak feasibility test