I have a set of damaged lines initially.
damagelines = {1,5,8,10,25} at time t = 1 second
at time t = 2 seconds one of the lines i.e. l = 5 is repaired by the repair crew. I have a variable that indicates the repair status of the damaged line i.e. rep[l][t]. if the value of this binary variable is one for the damaged line 5 at time t is 2 that means the line is repaired and we have to update the element of the damaged line set. Now the new set of damaged lines is {1,8,10,25} at time t = 2 seconds. Can you suggest me code in OPL Cplex that helps in updating the element of a set?