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

Include the GAMS version of the transport tutorial #108

Open
wants to merge 57 commits into
base: main
Choose a base branch
from

Conversation

glatterf42
Copy link
Member

@glatterf42 glatterf42 commented Aug 2, 2024

Essentially the same as #101, but with GAMS/gamsapi instead of linopy.

This PR is based on top of that branch, too, and actually adds only five commits. Two of those are the content of #107, so won't need to remain in here, either.

Hence: When reviewing/looking at the code, please focus on the new files in tutorial/transport/.

Please note: there is no test yet, but the values resulting from running the tutorial are correct. I'll add tests soon.

glatterf42 and others added 30 commits July 5, 2024 12:18
* Covers:
* run__id, data, name, uniqueness of name together with run__id
* Adapts tests since default order of columns changes
* Make Column generic enough for multiple parents
* Introduce optimization.Parameter
* Add tests for add_data
* Enable remaining parameter tests (#86)
* Enable remaining parameter tests
* Include optimization parameter api layer (#89)
* Bump several dependency versions
* Let api/column handle both tables and parameters
* Make api-layer tests pass
* Include optimization parameter core layer (#90)
* Enable parameter core layer and test it
* Fix things after rebase
* Ensure all intended changes survive the rebase
* Adapt data validation function for parameters
* Allow tests to pass again
* Exclude non-working one for now
* Duplicate model file :(
@glatterf42
Copy link
Member Author

This PR now includes exhaustive tests of the newly added code. The main thing I would like to improve for them is how paths are handled, but this will have to wait until we finalize a location for the gams/solve-related code.
The tests are currently failing because I didn't adapt the workflow file to install GAMS. This might also be influenced by where the solve-code ends up living; if it's not in this repo, we don't need to configure a secret holding a license here, etc. You can still convince yourself that the tests are running by checking out this branch locally on a system that has GAMS installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant