Download
% number of components
NoComponents = 5;
% number of hardware requirements
HardwareREQ = 3;
% number of virtual machines offers
VMOffers = 40;
% virtual machines offers
VMSpecs = [|64, 976000, 1000,
|64, 488000, 8000,
|64, 976000, 1000,
|64, 1952, 1000,
|64, 976000, 1000,
|32, 244000, 2000,
|32, 244000, 4000,
|32, 244000, 4000,
|32, 976000, 1000,
|17, 117000, 24000,
|16, 122000, 2000,
|16, 30000, 2000,
|17, 117000, 24000,
|16, 122000, 2000,
|17, 117000, 24000,
|16, 122000, 1000,
|16, 122000, 2000,
|8, 61000, 6000,
|8, 68400, 2000,
|8, 61000, 1000,
|8, 7000, 4000,
|8, 68400, 2000,
|4, 15000, 2000,
|4, 30500, 3000,
|4, 15000, 2000,
|4, 7500, 2000,
|4, 7500, 2000,
|4, 30500, 3000,
|4, 30500, 1000,
|2, 7500, 1000,
|2, 15250, 1000,
|2, 17100, 1000,
|2, 15250, 1000,
|2, 1700, 1000,
|2, 1700, 1000,
|2, 17100, 1000,
|2, 3750, 2000,
|1, 1700, 1000,
|1, 3750, 1000,
|1, 3750, 1000|];
% minimum requirements for each component
CompREQ = [| 2, 512, 1000,
| 2, 512, 2000,
| 4, 2048, 500,
| 4, 2048, 500,
| 4, 4000, 500 |];
% the cost of virtual machines
VMPrice = [8403, 9152, 10638, 16000, 13005, 4105, 2752, 4576, 6672, 5570, 1373, 1430, 5400, 1654, 5520, 3079, 1637, 1470, 1301, 665, 632, 1288, 402, 827, 266, 252, 252, 809, 379, 146, 207, 293, 220, 197, 180, 275, 128, 58, 93, 98];