Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.59 KB | None | 0 0
  1. % non copio/incollo tutto ciò che non ci interessa
  2. \usepackage{amsmath}
  3. \usepackage{numprint}
  4.  
  5. \newcommand{\np}[1]{\numprint{#1} \, }
  6.  
  7. \begin{document}
  8. % non copio/incollo tutto ciò che non ci interessa
  9. \begin{align*}
  10. & \max \quad f = \np{0,05} x_1 + \np{0,15} x_2 + \np{0,1} x_3 + \np{0,2} x_4 + \np{0,18} x_5 \\
  11. & \np{1,2} x_1 + \np{0,7} x_2 + \np{1,3} x_3 + \np{3,2} x_4 + \np{2,5} x_5 \leq 5 \\
  12. & \np{12000} x_1 + \np{8000} x_2 + \np{10000} x_3 + \np{15000} x_4 + \np{13000} x_5 \geq \np{30000} \\
  13. & x_3 + x_4 \geq 1 \\
  14. & x_i \in \{0,1\}, \quad i=1,\dots,5
  15. \end{align*}
  16. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement