The most you will be prepared to pay for a limited resource is the current cost plus the shadow price. If you can buy for less than this total then it is worth buying and the profit will be higher.
(The lecture on linear programming will help you here where I explain shadow prices)