where p1 is the quality of the submitted lot at AQL and p2 is the quality of the submitted lot at LQL.
As stated earlier, there are three plan parameters (n, ka, m) needed to be determined for the resubmitted sampling plans.
In this paper, we determine these three plan parameters or decision variables simultaneously by solving an optimization
problem, i.e., minimizing the average sample number (ASN) required for inspection at LQL with two conditions specified
by the producer and the consumer expressed in Eqs. (9) and (10). Thus, the complete optimization problem is given as