update cost function calcuation for conflict resolution - additive weight sign need to be changed for swap out of ref team