Here is the lemmygrad post I made it at (don’t wanna have to copy everything over).
Please give the post lots of , the post would really appreciate it
Don’t be afraid to ask questions.
Here is the lemmygrad post I made it at (don’t wanna have to copy everything over).
Please give the post lots of , the post would really appreciate it
Don’t be afraid to ask questions.
I added in the explict checks. It turns out, a huge number of the matrices being produced were non-productive. Instead of trying to keep generating matrices, I made a different fix (which makes the technical matrices more realistic, so win-win)
I made it so that the average number of entries in each row of the technical matrix is (2*n)^0.5
This means that as the economy grows larger, the matrices grow sparser. This makes productive matrices much more likely (at which point, I just have a check which makes it so that non-productive matrices are regenerated).
Curiously, this change doesn’t have that big of an effect on the outcome. I’ve verified. The model simply handles negative net production and treats it like purchasing commodities from the external market (so something like imports). Still, I have removed it for now.