I have to write a function which calculates local minimum of a function which takes a set of variables (from 2 to 4). E.g.
def test(x): return (x[0] + x[1