octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #50138] ode15s/ode15i terminates with max step


From: Bill Greene
Subject: [Octave-bug-tracker] [bug #50138] ode15s/ode15i terminates with max steps reached
Date: Tue, 24 Jan 2017 16:31:02 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?50138>

                 Summary: ode15s/ode15i terminates with max steps reached
                 Project: GNU Octave
            Submitted by: billgreene
            Submitted on: Tue 24 Jan 2017 04:31:01 PM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The error message specifically is:

[IDA ERROR]  IDASolve
  At t = 0.016662, , mxstep steps taken before reaching tout.

This occurs when IDA reaches the default number of steps, 500,
without reaching the final time.
As far as I know, the matlab ode solvers (e.g ode15s) don't have
a limit on number of steps so there is no option for the user
to set this. 500 is far too small a default IMHO.

IDA provides the function IDASetMaxNumSteps for this purpose.

Possible solutions are to call this function with a large number
or provide a non-matlab option so the user can set it. I suggest
both. Allow the user to set it with (e.g. MaxNumSteps) but also
set the default to something large (e.g 10000).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50138>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]