code: private void tpDelete(int[] IDtimePoint) {
  		logger.finest("Deleting " + IDtimePoint.length + " TP");
  		for (int i = 0; i < IDtimePoint.length; i++) {
  			tPoints[IDtimePoint[i]].setUsed(false);
  
  			if (IDtimePoint[i] == MAX_USED) MAX_USED--;
  
  			SimpleDistanceConstraint conO = new SimpleDistanceConstraint();
  			SimpleDistanceConstraint conH = new SimpleDistanceConstraint();
  			conO.setFrom(this.getVariable(0));
  			conO.setTo(this.getVariable(IDtimePoint[i]));
  			conH.setFrom(this.getVariable(IDtimePoint[i]));
  			conH.setTo(this.getVariable(1));
  
  			conO.setMinimum(0);
  			conO.setMaximum(H-O);
  			conH.setMinimum(0);
  			conH.setMaximum(H-O);
  
  			conO.addInterval(new Bounds(0,H-O));
  			conH.addInterval(new Bounds(0,H-O));
  
  			//[lb,ub] = [-di0,d0i]
  			tPoints[IDtimePoint[i]].setLowerBound(O);
  			tPoints[IDtimePoint[i]].setUpperBound(H);
  			tPoints[0].setOut(IDtimePoint[i],conO);
  			tPoints[IDtimePoint[i]].setOut(1,conH);
  		}
  
  		fromScratchDistanceMatrixComputation();
  	}
docs: Batch Time point erase