| Variables |
tela cotó | tela llana | guany unitari | Total guany | |
| Vestit A x | x | 3x | 30 € | 30x € | |
| Vestit B y | 2y | 2y | 30 € | 30y € | |
| Restriccions | <=80 | <= 120 |
| ||
| x+2y | 3x+2y | ||||
| Inequacions | x+2y <=80 | 3x+2y <=120 | Funció objectiva: 30x+30y |
| Variables |
tela cotó | tela llana | guany unitari | Total guany | |
| Vestits A x | x | 3x | 30 € | 30x € | |
| Vestits B y | 2y | 2y | 30 € | 20y € | |
| Restriccions | <=80 | <= 120 |
| ||
| x+2y | 3x+2y | ||||
| Inequacions | x+2y <=80 | 3x+2y <=120 | Funció objectiva: 30x+20y |