title: fmin python function with multiple arguments
body: <p>I want to find the minimum of a function with 3 args but want to fix two and only vary one of them, e.g., </p>
  
  <pre><code>def f(x, y, z):
      result =  f(x,y,z)
      return result
  </code></pre>
  
  <p><code>y</code> and <code>z</code> are constants. <code>x</code> is the only parameter I want to vary. </p>
  
  <p>optimize.fmin (<a href="http://docs.scipy.org/doc/scipy-0.17.0/reference/generated/scipy.optimize.fmin.html" rel="nofollow">http://docs.scipy.org/doc/scipy-0.17.0/reference/generated/scipy.optimize.fmin.html</a>) seems ideal for that, but the documentation is unclear on how to specify which parameters are constants and which are to be varied. Any hints on how to do it</p>