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

need a postprocessing script to calculate reporting variables #13

Closed
hunteke opened this issue Mar 19, 2013 · 0 comments
Closed

need a postprocessing script to calculate reporting variables #13

hunteke opened this issue Mar 19, 2013 · 0 comments

Comments

@hunteke
Copy link
Owner

hunteke commented Mar 19, 2013

Currently, if a modeler wants information that is not directly necessary to solve the model, the only way to reliably calculate the information is through additional structural variables on the model. They are simple equivalences, rather than inequalities, and so are not needed. These structural variables may be referred to as "reporting variables", and currently include information such as EnergyConsumptionBy* or InvestmentBy*.

Any decent solver will remove these useless columns (variables), but they also incur a non-negligible time and memory cost within Pyomo. These could be calculated by the modeler after the fact, but unless it's done directly with each solve, the chance of a mismatch during calculation increases with time.

Ideally then, we'd have a post-processing script that would be run after the solve is complete.

@hunteke hunteke closed this as completed in 4386a03 Dec 9, 2013
hunteke pushed a commit that referenced this issue Jan 7, 2014
References #13

These functions are unused as of the implementation report variable
calculation as a post-processing step.  In other words, these should
have been removed as part of 4386a03 .
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

No branches or pull requests

1 participant