Invert HPA Score for minimizing objective function 45/65945/1
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Tue, 11 Sep 2018 15:11:11 +0000 (08:11 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Tue, 11 Sep 2018 15:11:11 +0000 (08:11 -0700)
commited0d638fa01566ab5f9d71c1035e29ee5661f8ea
tree3400edb8bf8015c4af41e7fdc486ee92ff075024
parent6ec674c56f4965606a4f865ac327c30d3ce4a53e
Invert HPA Score for minimizing objective function

Score for each hpa constraint is entered in policy as positive value.
Higher the HPA score the better. So inorder to minimize the objective
function inverted HPA Score by inverting the sign of hpa_score value.

Change-Id: Iaedb03ccc5f87d5e7b41509924289bb598a09139
Issue-ID: OPTFRA-313
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
conductor/conductor/solver/request/objective.py