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

 
 

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

Submitted by:  Bill Greene <billgreene>
Submitted on:  Tue 24 Jan 2017 04:31:01 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1