summaryrefslogtreecommitdiffstats
path: root/apps/pci/optimizers
diff options
context:
space:
mode:
authorNiranjana <niranjana.y60@wipro.com>2020-11-16 17:19:01 +0530
committerNiranjana <niranjana.y60@wipro.com>2020-11-16 18:18:46 +0530
commitdbdc2d26632175ab01d345b88ebf02ee8f95454a (patch)
tree516ca1d5cfbad3fdb12d881d13813cc22eaddd9c /apps/pci/optimizers
parent42c59718c3e9320e04e73ce1d84278bf4715413d (diff)
Fix issue in pci-ml model3.0.2
- Remove list conversion from fixed cells Issue-ID: OPTFRA-871 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: If29945fe7513ea0fdb84bcabbdf5d546bfd8ac55
Diffstat (limited to 'apps/pci/optimizers')
-rw-r--r--apps/pci/optimizers/solver/ml_model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pci/optimizers/solver/ml_model.py b/apps/pci/optimizers/solver/ml_model.py
index 952708d..67402d9 100644
--- a/apps/pci/optimizers/solver/ml_model.py
+++ b/apps/pci/optimizers/solver/ml_model.py
@@ -48,7 +48,7 @@ class MlModel(object):
fixed_cells.add(cell_id)
fixed_cells.update(dzn_data.get('PCI_UNCHANGEABLE_CELLS', []))
- dzn_data['PCI_UNCHANGEABLE_CELLS'] = list(fixed_cells)
+ dzn_data['PCI_UNCHANGEABLE_CELLS'] = fixed_cells
def get_ho_details(self, cell_id):
service_id = self.config['DES']['service_id']