-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Use xarray internally and move relations/constraints/penaltys to gl…
…otaran.model (#734) * Changed calculate_matrix function to return xarrays * Added relation and constraint to basemodel * Added functions to apply relations and constraints * Removed LabelAndMatrix class * Added relations and constraints tests to base model * Added penalties to base model * Adapted models to changes * Address xarray deprecation warnings Fixed DeprecationWarning: Using a DataArray object to construct a variable is ambiguous, please extract the data using the .data property. This will raise a TypeError in 0.19.0. Co-authored-by: Jörn Weißenborn <[email protected]> Co-authored-by: Joris Snellenburg <[email protected]>
- Loading branch information
1 parent
b953319
commit eb2204e
Showing
30 changed files
with
977 additions
and
787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.