What does Tolcon, Tolfun and Diffminchange do?
Show older comments
I have read a few questions and comments and I am still quite confused as to what exactly is the effect of tolcon, tolfun and diffminchange on my optimisation.
Say I have a variable t_2 such that it must always be greater (but not too much than) t_1 and this gives
C=t_1-t_2;
For the sake of argument, my t_1 is defined to be about 0.135. For a tolcon of say 0.01, what is the tolerance of the constraint of t_2? between 0.135 to 0.145 and anything outside this is considered to be unfeasible? However, I did notice that that sometimes my t_2 becomes unexplainably high (i.e 0.15 to 0.16).
Similar is the same to be said of tolfun? The objective function is to minimise D where D is expected to be in the magnitude of 0.00823
What then exactly is diffminchange? is it the stepsize for fmincon (the function my script is using) to iterate and find the optimum solution that satisfies tolfun and tolcon? By setting a smaller diffminchange, will fmincon be less susceptible to finding the optimal point more slowly?
Regards, Ben
Accepted Answer
More Answers (0)
Categories
Find more on Solver Outputs and Iterative Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!