[SciPy-user] optimizer for complex?

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Nov 19 07:56:03 CST 2008


On Wed, 19 Nov 2008 08:43:44 -0500
  Neal Becker <ndbecker2@gmail.com> wrote:
> Do any of the optimizers (n-dim nonlinear minimizer) 
>handle complex values?  It seems not, I seem to get good 
>results by converting to a real vector
> 
> That is, instead of calling fmin (f, x0=cmplx_array)
> 
> convert x0 to a real array (real(x0), imag (x0), real 
>(x1), imag (x1)....)
> 
> And convert back inside the function f from real to 
>complex. 
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
  
Just curious. Where does that problem appear ?

Nils


More information about the SciPy-user mailing list