Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

NMinimize causes kernel crash in 7.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96668] NMinimize causes kernel crash in 7.0
  • From: Sebastian Meznaric <meznaric at gmail.com>
  • Date: Thu, 19 Feb 2009 03:36:28 -0500 (EST)

I am doing the following:

NMinimize[
 If[NumericTensorQ[{A, B, S1, S2}], energy[A, B, {S1, S2}],
  Hold[energy[A, B, {S1, S2}]]], Flatten[Join[A, B, S1, S2]],
 Method -> "NelderMead"]

where

NumericTensorQ[a_List] := And @@ Map[NumericQ, Flatten[a]]


A, B, S1 and S2 have 80 parameters and the energy function does not
consume a lot of memory. It is a relatively complicated numerical
function but should in principle be quadratic in the parameters. The
system monitor shows the memory consumption more or less constant
during the evaluation. After about 150 evaluations the kernel crashes.
I am using Mathematica version 7.0

Sebastian


  • Prev by Date: Exporting a bitmap in native resolution
  • Next by Date: Re: Help with Mathematica 7.0
  • Previous by thread: Re: Exporting a bitmap in native resolution
  • Next by thread: Copying and Pasting and Inline Cells