Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • $\begingroup$ If you plug-in the initial conditions found/used with this approach do you get better results with Mathematica? $\endgroup$ Commented Dec 28, 2018 at 15:13
  • $\begingroup$ The results are comparable when both work. However, F# / Alglib works for large models where Mathematica fails. My guess is that the main reason is that generation stage gets very demanding even in F# - it could consume 50-60 GB of ram and may run for over an hour. This is due to very large sparse matrices which have only 0.01 to 0.1% of non-zero elements. The resulting F# code file is only about 2 to 10 MB in size and it needs about 100-300 MB to run. $\endgroup$ Commented Dec 28, 2018 at 17:50
  • $\begingroup$ Very interesting! Please put that (or similar comments) in your answer. (+1) $\endgroup$ Commented Dec 28, 2018 at 22:28