A generalized single product and single-period inventory problem with non-linear parameters