Skip to content
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

Auto-generated docs with Literate.jl #33

Merged
merged 9 commits into from
Aug 2, 2020
Merged

Auto-generated docs with Literate.jl #33

merged 9 commits into from
Aug 2, 2020

Conversation

hdrake
Copy link
Collaborator

@hdrake hdrake commented Aug 2, 2020

Also some hand-written documentation for the theory behind MARGO.

Implemented a nice two-dimensional MARGO example where M=constant (from 2020 to 2150), R=constant (from 2020 to 2200), and G=0, A=0. The two-dimensional objective function can then be easily visualized and it can be verified that ClimateMARGO.jl finds the optimal solution.

Fixed a bug in optimize_controls! that occurred if, for a single control, both 1) delays in deployment time were non-zero and 2) there was no initation condition provided.

Also updated mitigation costs in default_params.json
Eventually it would be nice for the examples to be just Literate.jl julia scripts which can be converted into Markdown and Jupyter notebooks when Documenter.jl builds. The problem is that right now writing these scripts is pretty annoying because there is no inverse for Literate.jl, so I can't develop my examples in notebook format.

What I would eventually want to do is develop all of my examples in .ipynb notebook format and have Documenter.jl convert these into .jl (e.g. for testing) and mardown files (for documentation).
Wrote intro paragraph about causal chain, based on the paper.
@hdrake hdrake mentioned this pull request Aug 2, 2020
@hdrake hdrake merged commit dd57857 into master Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant