A library to rapidly and memory-efficiently formulate large and sparse optimization models using Pandas or Polars dataframes.
Contributions are welcome! See CONTRIBUTE.md
.
Martin Staadecker first created this library while working for Bravos Power The library takes inspiration from Linopy and Pyomo, two prior libraries for optimization for which we are thankful.
datatypes of join keys don't match
Often, this error indicates that two dataframes in your inputs representing the same dimension have different datatypes (e.g. 16bit integer and 64bit integer). This is not allowed and you should ensure for the same dimensions, datatypes are identical.