bugs fixed in least greedy function
@@ -1039,9 +1039,11 @@ Computing projection failed.
self.reset_operational_rows()
nWSR_max = int(self.nWSR_cnst)
# Constraint 1: x = x
+ self.A[i, 0] = [0, 1]
self.lA[i, 0] = x
self.hA[i, 0] = x
# Constraint 2: xmin <= 2 ds u + x <= xmax
+ self.A[i, 1] = [2 * self.Ds[i], 1]
self.lA[i, 1] = xmin
self.hA[i, 1] = xmax
