diff --git a/ets_fiber_assigner/netflow.py b/ets_fiber_assigner/netflow.py index 445cbd8..d4d75d1 100644 --- a/ets_fiber_assigner/netflow.py +++ b/ets_fiber_assigner/netflow.py @@ -580,7 +580,6 @@ def buildProblem(bench, targets, tpos, classdict, tvisit, vis_cost=None, if cobraMoveCost is not None: dist = np.abs(bench.cobras.centers[cidx]-tpos[ivis][tidx]) tcost += cobraMoveCost(dist) - prob.cost += f*tcost if blackDotPenalty is not None: dist = np.min(np.abs(closestDotsList[cidx]-tpos[ivis][tidx])) tcost += blackDotPenalty(dist)