which variables? ALG2 algorithm Some examples ALG2 for UOMT Step 1. For some finite dimensional approximation spaces Eh (e.g. P2 Lagrangian finite elements) ui+1 ∈ arg min u∈Eh − u, fh + σi , ∇u + λi , u + r 2 |∇u − qi |2 + r 2 |u − zi |2 or, equivalently r ∇ui+1, ∇v + r ui+1, v = f , v − σi , ∇v − λi , v + r qi , ∇v + r zi , v , ∀v ∈ Eh . Step 2. 1. For zi+1, zi+1 ∈ arg min z∈Eh I[z≥0] (z) − λi , z + r 2 |ui+1 − z|2 = max ui+1 + λi r , 0 . 2. For qi+1, choosing P1 finite elements for the flux qi+1, qi+1(xl ) = PB(0,k(xl )) ∇ui+1(xl ) + σi (xl ) r . Step 3. (σi+1, λi+1 ) = (σi , λi ) + r(∇ui+1 − qi+1, ui+1 − zi+1 ). 14 / 22