DeustoTech / DyCon-toolbox

The dycon platform is a collection of common tools for the investigation of differential equations, in the context of the development of the Dycon project.
http://cmc.deusto.eus/dycon/
2 stars 2 forks source link

Problem in the code, not descending #14

Closed DRuizB closed 5 years ago

DRuizB commented 5 years ago

A problem in the Code:

- I run the code
- I reached the maximum of iterations

===================OUTPUT_TERMINAL==========================

Warning: Max iteration number reached!!

In ControlProblem/GradientMethod (line 134) In semilinear (line 116)

=======================================================

- The step in the gradient has produeced and increment in teh functional
- I put also here the workspace because the simulation can take a whileT
- The code gave no error and "worked" well

plots2b plot2b

CODE in txt instead of .m because github does not allow me to upload it in other formats

semilinear.txt

THIS IS THE WORKSPACE, I CHANGED .mat FOR .txt IN ORDER TO UPLOAD IT

2bug.txt