Any tips on computing Optimal Monetary Policy in Dynare?

A starting point could be Loop over parameters to find maximized welfare