Powell's and Dynamic methods for mathematical optimization