title: Minimize function with parameters
body: <p>Currently I have the following code that defines the function <code>f</code>.</p>
  
  <pre><code>a = #something
  b = #something
  c = #something
  def f(x):
      """Evaluates some function that depends on parameters a, b, and c"""
      someNumber = #some calculation
      return someNumber
  </code></pre>
  
  <p>Ideally I would do <code>def f(x, a, b, c)</code>, BUT I am minimizing <code>f</code> with respect to <code>x</code> and SciPy's optimization toolbox doesn't allow for one to minimize functions with parameters in the arguments. That said I would like to run my minimization code for multiple values of <code>a, b</code> and <code>c</code>. Is there a way I can do this?</p>