The optimal production and quality policy for the vendor in a trade · Study