summaryrefslogtreecommitdiffstats
path: root/minizinc-examples/vDNS-service-no-edge-dc-model-driven-placement.dzn
blob: 3a2a0003a424f466402fbbe623de7114d8adf4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
N_CLOUD_REGIONS = 3;  % e-dc-1, core-dc-1, core-dc-2
N_ATTRIBUTES = 4; 
N_METRICS = 2;

CUST_TYPE = GOLD;

W_METRICS = [0.9, 0.1];  
W_ATTRIBUTES = [0, 0.9, 0.05, 0.05];

capabilities = [| 0, 0, 1, 1
                | 1, 0, 1, 1
                | 1, 1, 0, 1 |]; 

utilization = [| 0.05, 0.9
               | 0.1, 0.5
               | 0.95, 1.0 |];