Optimization of inventory levels and production effort in Hybrid Inventory-Production (HIP) systems