title: SciPy optimize.minimize with several variables
body: <p>I'm trying to work with SciPy optimize.minimize usign several variables and I found a great explanation in: <a href="https://stackoverflow.com/questions/19843752/structure-of-inputs-to-scipy-minimize-function">Structure of inputs to scipy minimize function</a> in the case when the obective function is of the kind f(x,y) and the parameter to be optimizated is "x". 
  But a question arises:
  What if my objective function is of the kind f(x,y,z,u,v) and I want to optimze with respect to "y" and "u" (provided that f returns a scalar).</p>