Advertisement
mmoussouni

Untitled

Mar 30th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. MINOKAWA with program lpsolve :
  2. /* Objective function /
  3. min: Varkonor + Vbistot + Vcrokite + Vgneiss + Vspod + Vochre;
  4.  
  5. / Variable bounds */
  6. Varkonor = 16Qarkonor;
  7. Vbistot = 16Qbistot;
  8. Vcrokite = 16Qcrokite;
  9. Vgneiss = 5Qgneiss;
  10. Vspod = 16Qspod;
  11. Vochre = 8Qochre;
  12.  
  13. Tfromarkonor = 22000Qarkonor;
  14. Mfromarkonor = 2500Qarkonor;
  15. Cfromarkonor = 320Qarkonor;
  16.  
  17. Pfrombistot = 12000Qbistot;
  18. Cfrombistot = 100Qbistot;
  19. Zfrombistot = 450Qbistot;
  20.  
  21. Tfromcrokite = 21000Qcrokite;
  22. Nfromcrokite = 760Qcrokite;
  23. Zfromcrokite = 135Qcrokite;
  24.  
  25. Pfromgneiss = 2200Qgneiss;
  26. Mfromgneiss = 2400Qgneiss;
  27. Ifromgneiss = 300Qgneiss;
  28.  
  29. Tfromspod = 56000Qspod;
  30. Pfromspod = 12050Qspod;
  31. Mfromspod = 2100Qspod;
  32. Ifromspod = 450Qspod;
  33.  
  34. Tfromochre = 10000Qochre;
  35. Ifromochre = 1600Qochre;
  36. Nfromochre = 120Qochre;
  37.  
  38. T: 0.85Tfromarkonor+0.85Tfromcrokite+0.85Tfromspod+0.85Tfromochre >= 71267300;
  39. P: 0.85Pfrombistot+0.85Pfromgneiss+0.85Pfromspod >= 17526635;
  40. M: 0.85Mfromarkonor+0.85Mfromgneiss+0.85Mfromspod >= 6486403;
  41. I: 0.85Ifromgneiss+0.85Ifromspod+0.85Ifromochre >= 1057880;
  42. N: 0.85Nfromcrokite+0.85Nfromochre >= 303763;
  43. Z: 0.85Zfrombistot+0.85Zfromcrokite >= 107829;
  44. C: 0.85Cfromarkonor+0.85Cfrombistot >= 49239;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement