bugGNU Octave - Bugs: bug #50138, ode15s/ode15i terminates with max...

 
 

bug #50138: ode15s/ode15i terminates with max steps reached

Submitter:  Bill Greene <billgreene>
Submitted:  Tue 24 Jan 2017 04:31:01 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Jan 2017 04:31:01 PM UTC, original submission:  

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).

Bill Greene <billgreene>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by billgreene (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code