Optimisation of product family design with consideration of supply risk and discount