Solves basic LPs