Searching extremum of multivariable function with heuristic algorithms