fmincon returns different results depending on the PC
Show older comments
I am using the fmincon command to solve an optimization problem. The initial conditions are the same, and the options (TolX, Algorithm, TolFun...) too. The two machines where this code is running are:
- Intel Pentium i7-920, MS Windows 7, RAM 4 GB
- Intel Atom n270, MS Windows 8, RAM 1 GB
Often, in addition to the different results, the code returns me an error on the first PC:
"fmincon stopped because the size of the current step is less than the default value of the step size tolerance but constraints were not satisfied to within the default value of the constaint tolerance."
Answers (1)
Matt J
on 12 Oct 2017
0 votes
Sounds to me either like a non-differentiability effect.
Categories
Find more on Problem-Based Optimization Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!