title: Passing list of arguments of varying length to scipy.optimize.minimize (understanding the arguments)
body: <p>I want to understand the arguments provided to scipy.optimize.minimize. I'm calling my optimization as</p>
  
  <pre><code>res = minimize(func, para_init, method= 'SLSQP', constraints=cons) 
  </code></pre>
  
  <p>The <code>para_init</code> looks like, <code>[x,y,np.array([a,b,c]),np.array([e,f])]</code> , and cons is a dictionary of constraints. <code>func()</code> takes in all the parameters listed in <code>para_init</code> and gives out a scalar object. However i'm facing the following problems:</p>
  
  <p>1) Error: <code>ValueError: setting an array element with a sequence</code></p>
  
  <p>2) I want to specify <code>xtol = 0.001, ftol = 0.001,  bounds = None, jac = None</code>, if i simply add these line to <code>minimize()</code> it complains as <code>TypeError: minimize() got an unexpected keyword argument 'xtol'</code>. Also I want to have the following specifications <code>options = {'maxiter': 100,'disp': True}</code> but then also i gut similar unexpected keyword error. </p>
  
  <p>Thanks for the help.</p>