() Input: , , , , ;
() solve SDP problem by IPM;
() if    then
()  ;
()  break;
() else
()  calculate EVD: ;
()  for   to   do
()    generate candidates ;
()  solve MMPC problem to obtain ;
() end
() choose ;
() end
() Output: .
Algorithm 3: Time-domain algorithm.