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