Profit maximisation in investment decision making and production planning problems for certain inventory models