# Economic Order Quantity with quantity-dependant order price (Operations Research)

In an EOQ inventory model, how can you minimize inventory cost given a Holding Cost (H) and an Ordering Cost (S) that depend solely on the order quantity? For example, if the ordering cost of a product is 30% of the product price, how can I calculate the order quantity that minimizes the total inventory cost?

The total inventory cost is given by this formula: enter image description here

The problem arises because, given that S (Ordering Cost) is dependent on quantity Q, the variables cancels themselves and I cant find a way to choose Q to minimize the total cost.