It's called perfect price discrimination[0] because it maximizes the profit for every sale. It's also unethical and illegal in many circumstances but cleverly not for college tuition.
[0]https://www.myaccountingcourse.com/accounting-dictionary/per...