How to offload inventory while minimizing losses