cvxgrp/cvxbook_additional_exercises

Julia random number generator changed

Closed this issue · 6 comments

Many of the Julia data files were generated pre-1.7. In version 1.7, the default random number generator was changed, so starting with the same seed does not yield the same values post vs. pre-1.7. When I submit updates to the Julia data files, should I use the old (MersenneTwister) or the new default (Xoshiro256++)?

Language update:
https://docs.julialang.org/en/v1.7-dev/NEWS/#Language-changes

Also documented in the top of the Random stdlib docs
https://docs.julialang.org/en/v1/stdlib/Random/

Hmmm, my soft preference is to switch to the new RNG but I can check with Stephen on Monday to get you a hard answer.

I also think that makes more sense (but it will require changing the solutions).

That sounds great. I don't currently have access.

I'm happy to update the code & .tex files for the problems (but no promises on timeline).

I'll add you now to that repo @tjdiamandis

Closing since question was resolved