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

MathGroup Archive 2010

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

Search the Archive

Re: Experimental`NumericalFunction::dimsl

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109386] Re: Experimental`NumericalFunction::dimsl
  • From: Joe Hays <hays.joe at gmail.com>
  • Date: Sat, 24 Apr 2010 04:02:55 -0400 (EDT)

Fair enough. I had considered including my code but chose not to so I didn't
dump a blob of code for you all to wade through. I was hoping that someone
had at least seen the mystery error and had a general suggestion.

Here is what I've learned in the past day. The mystery error appears to be
starting point related. In all scenarios that I had experienced the error I
was letting FindMinimum select the starting point based on my constraints.
For whatever reason, the starting point that FindMinimum was selecting for
my problem planted the seed for this unknown error that rears its head late
in the execution.

When I specified my own starting point(s) I stopped experiencing the error.
I have no explanation. My problem is mildly nonconvex but continuous so I
expected FindMinimum to settle on a local minimum (not to die on an error).
Anyway, as of right now I appear to be up and running.

So, if anyone gets this problem in the future my suggestion is to
investigate specifying your own starting point(s). If that doesn't help then
I'm not sure what to suggest.

Thanks for the response DrMajorBob. I'd be happy to share my code if you're
curious but as I said I left it out so the group didn't have to wade through
it.

Joe

On Fri, Apr 23, 2010 at 11:40 AM, DrMajorBob <btreat1 at austin.rr.com> wrote:

> You gave us NOTHING to work with. How can we guess the problem, without
> seeing the code?
>
> Bobby
>
>
> On Fri, 23 Apr 2010 02:50:07 -0500, Joe Hays <hays.joe at gmail.com> wrote:
>
>  Hello all,
>>
>> I'm stumped with an error code I'm getting from FindMinimum after it runs
>> for over 7 minutes. Its,
>>
>> <snip>
>> Experimental`NumericalFunction::dimsl: {-0.8} given in -0.8 should be a
>> list
>> of dimensions for a particular argument.
>>
>> FindMinimum::dimsl: {-0.8} given in -0.7999999999999636` should be a list
>> of
>> dimensions for a particular argument.
>> </snip>
>>
>> This is all I'm given. There is no documentation on this error and it
>> seems
>> odd that I'd get it so long after the function has already been executing.
>> So, I'm completely stumped...
>>
>> Any thoughts/advice would be greatly appreciated.
>>
>> Joe
>>
>>
>>
>
> --
> DrMajorBob at yahoo.com
>


  • Prev by Date: Re: How to make make a Dynamic variable to become an ordinary one
  • Next by Date: Kernel crash, version 7.0, windows XP, when using slider in Manipulate with Dynamics plot on control area
  • Previous by thread: Re: Experimental`NumericalFunction::dimsl
  • Next by thread: Speed Up Routines