|
Hi guys, I'm performing a multivariable non linear optimization with fmincon.
Most of the time fmincon runs smoothly but sometimes it remains stucked within some loops I am not able to deal with. In these cases it leads to out of memory errors, which stop the whole optimization. I've tried to change solver (active-set, sqp, interior-point) but the problem present regularly. I changed also tolerances. Since the fmincon is part of a vast monetcarlo simulation running on our hpc (high performance computing), I could amend wrong results a posteriori, without risking to crash the machine. I think the matter resides in the gradient evaluation. Is it possible exit the single fmincon loop which leads to 'out of memory'? Any suggestion is welcome. Cheers, Massimo
|