diff options
author | Ramki Krishnan <ramkri123@gmail.com> | 2018-02-18 15:47:46 +0000 |
---|---|---|
committer | Ramki Krishnan <ramkri123@gmail.com> | 2018-02-18 15:48:48 +0000 |
commit | 3fa3bb0aa97c138073aa95d974bf4156f41a30af (patch) | |
tree | 22d5c10d82a088a5fa60d570169140108f03b3ce | |
parent | 8a4b33acb5b6e7953c39a1a1fff8d2e0da15b837 (diff) |
Minizinc data model - no edge DC hard constraint
Issue-ID: OPTFRA-127
Change-Id: Ic781135f1697623f245d98a32571a2f1e03d2438
Signed-off-by: Ramki Krishnan <ramkri123@gmail.com>
-rw-r--r-- | minizinc-examples/vDNS-service-no-edge-dc-model-driven-placement.dzn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/minizinc-examples/vDNS-service-no-edge-dc-model-driven-placement.dzn b/minizinc-examples/vDNS-service-no-edge-dc-model-driven-placement.dzn new file mode 100644 index 0000000..3a2a000 --- /dev/null +++ b/minizinc-examples/vDNS-service-no-edge-dc-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.95, 1.0 |]; |