I wrote a program but when I run it I get an error as: " can not evaluate the solution further right of ..., maxfun limit exceeded ". I tried some ways to work around it, for example I tried "maxfun=500000" and more. Also I tried "maxfun=0", but they don't work. How can I solve my problem?
O.K. Isolved this problem myself. We can solve such a problem in two different ways. 1.by adding the expression "method=mebdfi" and 2. by adding expression "'stiff=true'".
Now I have a new problem. When I run the program I get a warning as: "can not evaluate the solution further right of ..., probably a singularity". If I need the solution further right of ..., what should I do?