S v (t) = min i S u (i) + δ i,t + min j S w (j) + δ j,t