Programming, Julia, Linear Optimization, Cbc.
are total 18 students, and hence, x + y = 18. Total expense can not be more than 470, and hence 20x + 30y <= 470 The goal is to maximize profit, which means Maximize profit, denoted by 2x + 3y, as every cup of Tea will generate profit of INR 2, and every mug of coffee will generate profit of INR 3.