Skip to content

Commit 3395c45

Browse files
committed
Replace pandas-based LP file writing with polars implementation
- Remove pandas-based LP writing functions and replace with polars versions - Rename polars functions to remove '_polars' suffix for consistent API - Create separate get_printers_scalar() for non-LP functions (highspy, gurobi, mosek) - Update get_printers() to handle polars dataframes for LP writing - Consolidate "lp" and "lp-polars" io_api options to use same implementation - Remove unused imports and cleanup handle_batch function
1 parent 12b0da3 commit 3395c45

File tree

2 files changed

+44
-422
lines changed

2 files changed

+44
-422
lines changed

doc/release_notes.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
Release Notes
22
=============
33

4-
.. Upcoming Version
5-
.. ----------------
6-
.. * Improved constraint equality check in `linopy.testing.assert_conequal` to less strict optionally
7-
.. * Minor bugfix for multiplying variables with numpy type constants
4+
Upcoming Version
5+
----------------
6+
7+
* Replace pandas-based LP file writing with polars implementation for significantly improved performance on large models
8+
* Consolidate "lp" and "lp-polars" io_api options - both now use the optimized polars backend
9+
* Reduced memory usage and faster file I/O operations when exporting models to LP format
10+
* Improved constraint equality check in `linopy.testing.assert_conequal` to less strict optionally
11+
* Minor bugfix for multiplying variables with numpy type constants
812

913
Version 0.5.6
1014
--------------

0 commit comments

Comments
 (0)