LP Problem with Testing the Market