'How I can write an objective function >1 summations in Pyomo
I am trying to model a MILP objective to minimize the total cost. The total cost is a combination of the following variables.[Objective Function Screenshot][1]
c: Int: CPU cores.
l: Int: runtime of virtual machine m in node i with c CPU cores.
H: Binary Var: 1 if node i belongs to zone z,z ∈ Z, and Z is a set of zones.
P: Price of a CPU core per hour in zone z. Price of data when traffic transferred.
dr: The size of data to be processed.
z: Binary Var: 1 if locations of VMs hosting kth and (k + 1)th VNF instances belong to different zones. Pnet: Price of data when transferred between different zones. [1]: https://i.stack.imgur.com/NIZCD.png
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
