Using Optimization Models to Determine the Inventory Level in the Production Process