title: How to give additional input to objective function of scipy.optimize.minimize other than independent variables
body: <p>I am using scipy library for an optimization task. 
  I have a function which has to be minimized. My code and function looks like</p>
  
  <pre><code>import numpy as np
  from scipy.optimize import minimize
  from scipy.optimize import Bounds
  
  
  bounds = Bounds([2,10],[5,20])
  
  x0 = np.array([2.5,15])
  
  def objective(x):
      x0 = x[0]
      x1 = x[1]
      return a*x0 + b*x0*x1 - c*x1*x1
  
  res = minimize(objective, x0, method='trust-constr',options={'verbose': 1}, bounds=bounds)
  
  </code></pre>
  
  <p>My a,b and c values change over time and are not constant. The function should not be optimized for a,b,c values but should be optimized for a given a,b,c values which can change over time. How do I give these values as an input to the objective function?</p>