-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fixing typos and adding documentation to hda file #26
Conversation
Because of the recent PR merged by @ZedongPeng there are conflicts in this branch now. I would suggest you to figure it out with @parkyr before getting this through review |
No problem. I will help Yirang resolve the conflicts. |
Great. You made it. @parkyr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes are suggested but more importantly, since so many changes are made I want you to verify that the coeds still run. You have the original slide deck to compare.
I ran the code after the changes. The code runs, but it's giving me a slightly different obj value from the slidedeck; objective value for slidedeck: 5966.51; the objective value result: 5801.27. I compared it with the the original (unmodified) file from master branch, and the values match. The code was not affected from the documentation modifications. |
This might arise from the subsolver that you are using, and whether it has improved since the time that previous table was made. Together with @ZedongPeng try to run all the different solvers to replicate the same results as in the table |
Hi @parkyr . Have you run the code before the changes? Does the optimal solution (before changes) equal |
Hi @ZedongPeng, yes I did run the code from the master branch and it gives me 5801.27. I'll do some digging and see if I can recreate while you are away. |
Hi @parkyr . Have you resolved this problem? I diff-checked the code line by line and didn't find any change that would result in a different result. Have you compared the log of GDPOpt before and after the changes? If you upload the logs in this PR, I can help you check them. Btw, if you are using two different Python virtual environments in |
Seems like the metrics of the problem are different in README.md and the results. README:
Results (master and hda branches):
|
Updates were made to README.md file: - better obj value was found. - the number of variables and continuous variables in the original file were incorrectly listed.
Cross-checked with the presentation and confirmed the results table values are the correct ones. |
first round of documentation to hda file, including header and function documentation.
some typos were fixed as well in this pull request.