-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding file saving issues of SDDP model #714
Comments
Both of these are expected behavior.
We could write documentation to clarify these points, but I won't be fixing them. Note that the In general, I would not write the model to file. Just use the |
I get it ,save model for two purposes. One is to maintain the consistency of the model each time and to reproduce the results like python. The second is to make it more convenient for others to use without leaking the code. I also found a way to save it, which is to save the graph file. I have tested that if the graph is the same, the results of training multiple times are almost the same. |
What are you using SDDP.jl for that this is a concern??? Feel free to email me
Yes, this is also a way. I generally structure my models like this: |
thank you ,I will tell you what I did later via email |
Closing this as won't fix. |
I have two problem on save model
one:
1、model is generated by running
The SDDP.simulate() result of this model is correct.
2、model_ is i obtained by read_from_file
The SDDP.simulate() result of this model_ is wrong with NaN
two:
the code is this:
the error is this:
I changed the node into string type, but still got an error, showing that I have no variables.
error:
but It will be fine when I run the generated model。
tips:
The graph of the model is passed in as parameters
The text was updated successfully, but these errors were encountered: