In continuous review inventory model, (Q, r) system, order quantity(Q) and reorder point(r) should be determined to calculate inventory-related cost that consists of setup, holding, and penalty costs. The procedure to obtain the exact value of Q and r is