summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamki Krishnan <ramkri123@gmail.com>2018-02-18 00:35:42 +0000
committerRamki Krishnan <ramkri123@gmail.com>2018-02-18 00:36:15 +0000
commit8a4b33acb5b6e7953c39a1a1fff8d2e0da15b837 (patch)
tree9b467972f0961fb2ace3d44b019fecb0ac4e0315
parenta21bce03b9b475fba5da7ff6a870a62ac4e8fe04 (diff)
Minizinc data file for gold customer
Issue-ID: OPTFRA-126 Change-Id: I70ce27e11747d780ad4e851d685bdf0bdcf77bf8 Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
-rw-r--r--minizinc-examples/vDNS-service-gold-customer-model-driven-placement.dzn16
1 files changed, 16 insertions, 0 deletions
diff --git a/minizinc-examples/vDNS-service-gold-customer-model-driven-placement.dzn b/minizinc-examples/vDNS-service-gold-customer-model-driven-placement.dzn
new file mode 100644
index 0000000..6a3222f
--- /dev/null
+++ b/minizinc-examples/vDNS-service-gold-customer-model-driven-placement.dzn
@@ -0,0 +1,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.8, 0.98 |];