Research Article

Numerical Optimal Control for Problems with Random Forced SPDE Constraints

Algorithm 1

(1) Given and , set
(2) Compute , , , , and
(3) Compute
(4) Solve
(5) Compute .
(6) Compute and for
(7) Solve
(8) Compute for
(9) Solve
(10) Compute
(11) If , stop.
(12) Solve using PCG method with preconditioner :
 (i) Set .
 (ii) Set ;
 (iii) Solve for ;
 (iv) Set , ;
 (v) While
           
           
           
           
          
          
            
    End (while)
 (vi)
(13) Perform Armijo line-search.
 (i) Set and evaluate
 (ii) While do
           (i) Set and evaluate .
(14) Set ,  . Go to (2).