Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Problem with NMinimize and complex values

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113919] Problem with NMinimize and complex values
  • From: Sebastian <sebhofer at gmail.com>
  • Date: Thu, 18 Nov 2010 07:04:19 -0500 (EST)

I want to minimize a function with NMinimize, which has a small
imaginary part when evaluated numerically. The imaginary part is only
a numeric artifact, which I can easily check by increasing the
WorkingPrecision. Still NMinimize complains about the function not
being real. What's the best way to deal with that? A possible solution
is of course Re[] but I suspect that this decreases performance (true/
false?).
TIA
Sebastian


  • Prev by Date: Cell Convert to
  • Next by Date: Re: Mathematica 8 is now available
  • Previous by thread: Cell Convert to
  • Next by thread: Re: Comparing versions of notebooks