You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the code in the linked repository gives slightly different optimization results on an Intel machine vs an AMD machine when using ForwardDiff. It does not matter if the operating system is Ubuntu or Windows, only the processor. In the example, the algorithm is Newton Trust Region but it seems general to any auto diff dependent algorithm.
See the files: Results NewtonTR diff OS processors.txt and Results NelderMead diff OS processors.txt
The difference between processors also shows up in line 121 of the program calling ForwardDiff.gradient(), but not in line 120 when calling FiniteDiff.finite_difference_gradient().
I realize that this might be expected due to processor differences and not an error in the code.
Results: I know these errors are small but they can add up.
Hi, the code in the linked repository gives slightly different optimization results on an Intel machine vs an AMD machine when using ForwardDiff. It does not matter if the operating system is Ubuntu or Windows, only the processor. In the example, the algorithm is Newton Trust Region but it seems general to any auto diff dependent algorithm.
Solutions are identical when using NelderMead.
https://github.com/elbert5770/Nested-forward-diff-opt
See the files: Results NewtonTR diff OS processors.txt and Results NelderMead diff OS processors.txt
The difference between processors also shows up in line 121 of the program calling ForwardDiff.gradient(), but not in line 120 when calling FiniteDiff.finite_difference_gradient().
I realize that this might be expected due to processor differences and not an error in the code.
Results: I know these errors are small but they can add up.
Ubuntu/Intel 11 gen
Ubuntu/AMD
The text was updated successfully, but these errors were encountered: