Right now, fmincon
solves a minimization problem for me.
The function to minimize uses parfor
for the sake of completeness.
I am using those options
options = optimoptions(@fmincon,'Display','iter', 'MaxIter',1000000,'MaxFunEvals',1000000,'TypicalX',[1e-1,1e-2,1e0,1e1,1e2,1e3, 1e-1])
and unfortunately the evaluation takes much much longer than expected. How can I terminate the evaluation and get the parameter point that fmincon
found until now. It should be enough for me, because the funciton value is not really reduced anymore.
It is calculating since 12 hours and just at iteration 6550 right now.
So is there a way to terminate fmincon
-evaluation and get the current result of the parameterpoint?
Thank you in advance!
Greets, Pejta