Teaching pricing and revenue optimization