I am trying to declare an intertemporal constraint within a Pyomo model.
The right syntax in AMPL is the following:
subject to R3{t in T} : V[t]=(if t=\'t1\'