Why did my outputs change?

I ran a repeat of an optimization function I ran last week, but my outputs have changed as of today. I use the interior-point solver via the lsqlin() command. I do not really understand why. Any advice or suggestions?

4 Comments

The question contains too few details to be answered.
Did you change the parameters, the initial data, the computer, the Matlab version? Are there any random initilizations in the code?
Nothing has changed. I was just repeating the same code, same inputs, same data, etc. There are no random initilzations. The only thing that changed was that the MatLab was updated to version 9 but reviewing the update notes, I did not see anything that would indicate a change.
Since v9.0 was R2016a, it's worth asking:
Do you really mean version 9.0, or do you mean 9.9?
What version/release did you start with?
The release notes don't describe every detail that might potentially contribute to numerical differences in results.
I have MatLab R2019b version 9.7 and Global Optimization Toolbox R2019b version 4.2
I'm not exactly sure what version I started with, but I am assuming it would be version 9.6. I do know it was R2019b

Sign in to comment.

Answers (0)

Asked:

on 24 Aug 2021

Commented:

on 25 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!