15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

hobeg – reasonable initial changes to the variables<br />

rhoend – final accuracy in the optimization (not precisely guaranteed)<br />

iprint – controls the frequency of output: 0 (no output),1,2,3<br />

maxfun – maximum number of function evaluations.<br />

Returns:<br />

x – the minimum<br />

See also:<br />

fmin, fmin_powell, fmin_cg,<br />

fmin_bfgs, fmin_ncg – multivariate local optimizers<br />

leastsq – nonlinear least squares minimizer<br />

fmin_l_bfgs_b, fmin_tnc,<br />

fmin_cobyla – constrained multivariate optimizers<br />

anneal, brute – global optimizers<br />

fminbound, brent, golden, bracket – local scalar minimizers<br />

fsolve – n-dimenstional root-finding<br />

brentq, brenth, ridder, bisect, newton – one-dimensional root-finding<br />

fixed_point – scalar fixed-point finder<br />

OpenOpt – a tool which offers a unified syntax to call this and<br />

other solvers with possibility of automatic differentiation<br />

SciPy Reference Guide, Release 0.8.dev<br />

fmin_slsqp(func, x0, eqcons=, [], f_eqcons=None, ieqcons=, [], f_ieqcons=None, bounds=, [], fprime=None,<br />

fprime_eqcons=None, fprime_ieqcons=None, args=(), iter=100, acc=9.9999999999999995e-07,<br />

iprint=1, full_output=0, epsilon=1.4901161193847656e-08)<br />

Minimize a function using Sequential Least SQuares Programming<br />

Python interface function for the SLSQP Optimization subroutine originally implemented by Dieter Kraft.<br />

Parameters<br />

func : callable f(x,*args)<br />

Objective function.<br />

x0 : ndarray of float<br />

Initial guess for the independent variable(s).<br />

eqcons : list<br />

A list of functions of length n such that eqcons[j](x0,*args) == 0.0 in a successfully<br />

optimized problem.<br />

f_eqcons : callable f(x,*args)<br />

Returns an array in which each element must equal 0.0 in a successfully optimized<br />

problem. If f_eqcons is specified, eqcons is ignored.<br />

ieqcons : list<br />

A list of functions of length n such that ieqcons[j](x0,*args) >= 0.0 in a successfully<br />

optimized problem.<br />

f_ieqcons : callable f(x0,*args)<br />

3.12. Optimization and root finding (<strong>scipy</strong>.optimize) 309

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!