LP reader and primal to dual converter