Closed whoburg closed 8 years ago
ready for review.
The markdown seems pretty cool but not particularly useful if trying to compose with other models.
@mjburton11 and I just did the NPV model in markdown. @pgkirsch, we could make it such that you could make another file (i.e. npv.py
) with the following content:
from gpkit.tools import mdkmake
exec mdmake("npv.md")
that would be importable.
Also, neat to see this file online! https://github.com/hoburg/gpkit-models/blob/eoq/manufacturing/eoq.md
This looks great! The model seems to mostly push holding and setup costs to be about equal?
yep, it pushes them equal just like induced drag and fixed profile drag should be equal for a plane maximizing range. It's because the two terms in the posynomial pushing on one another have equal but opposite exponents (1 vs -1). Pretty cool.
responded to code review. ready for merging I believe. @bqpd, where should we capture the markdown wish list from the beginning of this PR? it's pretty high priority so it's easier for us to share clean, good looking models.
Here's a really simple posynomial model from 1913.
@bqpd, the new markdown feature seems really great! My current markdown wish list:
default.latex
living in any of our git repos? Let's decide where it belongs and get it under version control.