I have my function fx= -0.818×1 + 0.241×2 + 4.737×3 + 0.2×4 + 0.483×5 – 0.02×6 + 0.06×7. And I have some constrains: 1. fx cant be larger than 100
2. 22=<x1=<40
3. 52=<x2=<80
4. 3.5=<x3=<5.9
5. 12=<x4=<22
6. 105=<x5=<150
7. 300=<x6=<700
8. 800=<x7=<1200
9. x4+x3=21
10. x5-x2=50
Please, show me the code of this optimization.
Best Answer