Releases: PyPSA/linopy
Releases · PyPSA/linopy
v0.7.0
What's Changed
- feat: add sos reformulations into linopy to simplify adoption of new sos features by @FBumann in #549
- feat: add piecewise linear constraint API (SOS2, incremental, disjunctive) by @FBumann in #576
- Add reformulate_sos='auto' support to solve() by @FabianHofmann in #595
- fix: make google-cloud-storage and requests optional dependencies by @lkstrp in #589
- build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #598
- Expose the knitro context by @finozzifa in #600
- enable quadratic for win with scip by @davide-f in #588
- Piecewise linear constraints: follow-up improvements by @FabianHofmann in #602
- Fix flaky SCIP time limit test (fixes #577) by @FabianHofmann in #606
- refac: introduce consistent convention for linopy operations with subsets and supersets by @FabianHofmann in #572
- Fix Xpress IIS mapping for masked constraints by @FabianHofmann in #605
- handle missing dual values when barrier solution has no crossover by @danielelerede-oet in #601
- feat: Add semi-continous variables as an option by @mcoughlin in #593
- ci: Add CI workflow to test documentation notebooks by @FBumann in #615
- Add OetcSettings.from_env() and forward solver options through Model.solve() by @FabianHofmann in #612
- feat: add m.copy() method to create deep copy of model by @bobbyxng in #623
- feat: Add fix(), unfix(), and fixed to Variable and Variables by @FBumann in #625
- fix: Include semi-continuous in Variable.type property by @FBumann in #635
- Re-introduce knitro context closure and export solver quantities by @finozzifa in #633
- feat: Add relax() and unrelax() to Variable and Variables by @FBumann in #634
- refac: replace print calls with str-returning format_* methods by @FBumann in #621
- perf: use numpy array lookup for solution unpacking by @MaykThewessen in #619
- chore: benchmarks by @FBumann in #567
- fix: add_variables ignoring coords for DataArray bounds by @FBumann in #614
- fix: blacklist highs 1.14.0 by @coroa in #654
- fix: use xarray.Dataset copy instead of constructor by @maurerle in #647
- feat: add weakref to Model.slots by @FBumann in #656
- fix: as_dataarray treating multi-index levels as extra dims by @FabianHofmann in #659
- fix: compute a single IIS in Xpress infeasibility path by @FabianHofmann in #658
- Update release notes for v0.6.7 by @FabianHofmann in #661
- fix: raise clear error when solving model without objective by @FBumann in #671
- build(deps): bump the github-actions group across 1 directory with 3 updates by @dependabot[bot] in #669
- feat: Unify piecewise API behind add_piecewise_formulation (sign + LP dispatch) by @FBumann in #638
- feat: add slopes_align to breakpoints() by @FabianHofmann in #672
- refac(piecewise): introduce Slopes class, remove breakpoints(slopes=) mode by @FBumann in #673
- fix: serialize MultiIndex level names as JSON for scipy netCDF backend by @FBumann in #674
- docs: restructure upcoming changelog and add missing PRs by @FBumann in #675
- chore: Update release notes for v0.7.0 by @FBumann in #676
New Contributors
- @finozzifa made their first contribution in #600
- @davide-f made their first contribution in #588
- @danielelerede-oet made their first contribution in #601
- @mcoughlin made their first contribution in #593
- @bobbyxng made their first contribution in #623
- @MaykThewessen made their first contribution in #619
Full Changelog: v0.6.4...v0.7.0
v0.6.7
Full Changelog: v0.6.6...v0.6.7
v0.6.6
Full Changelog: v0.6.5...v0.6.6
v0.6.5
Full Changelog: v0.6.4...v0.6.5
v0.6.4
What's Changed
- fix: update HiGHS URLs and naming by @FabianHofmann in #585
- Add Knitro solver support by @FabianHofmann in #532
Full Changelog: v0.6.3...v0.6.4
v0.6.3
What's Changed
- Bugfix/fix readthedocs by @RobbieKiwi in #574
- fix polars dep lb by @FBumann in #578
- fix: revert np.where to xarray.where when adding vars/ constraints by @lkstrp in #575
- test and future warning for #575 by @lkstrp in #579
- Reinsert broadcasted mask by @FabianHofmann in #580
- fix: add coords and dims to as_dataarray by @FabianHofmann in #582
Full Changelog: v0.6.2...v0.6.3
v0.6.2
What's Changed
- add sphinx_copybutton extension by @mosc9575 in #553
- Bugfix/gurobi license and docs by @RobbieKiwi in #556
- Fix multiplication of constant-only LinearExpression by @FabianHofmann in #568
- perf: speed up LP file writing (2.5-3.9x on large models, no regressions on small) by @FBumann in #564
- Add auto_mask parameter to Model class by @FBumann in #555
New Contributors
Full Changelog: v0.6.1...v0.6.2
v0.6.1
v0.6.0
What's Changed
- build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #519
- fix (solvers): Add compatibility shim for xpress.Namespaces by @coroa in #521
- Speed up printing by @FBumann in #526
- build(deps): bump actions/checkout from 5 to 6 in the github-actions group by @dependabot[bot] in #527
- Feature/solver features registry by @FBumann in #528
- add linear expression from constant by @RobbieKiwi in #518
- Feature/simplify expression by @RobbieKiwi in #530
- feat: Add sos constraints by @coroa in #495
- Add Xpress 9.8+ API support with backward compatibility by @brunoficoxpress in #542
- fix(highs): stop solve on Ctrl-C by @FabianHofmann in #536
- fix(solvers): add forgotten xpress getDual fallback by @coroa in #547
- Bugfix/fix notebook docs by @RobbieKiwi in #546
- fix: correct regex to capture negative objective values when using CBC by @qheuristics in #540
- build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #543
- Feature/dummy solve by @RobbieKiwi in #534
- Add support for solver cuPDLPx by @mal84emma in #516
New Contributors
- @brunoficoxpress made their first contribution in #542
- @mal84emma made their first contribution in #516
Full Changelog: v0.5.8...v0.6.0
What's Changed
- build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #519
- fix (solvers): Add compatibility shim for xpress.Namespaces by @coroa in #521
- Speed up printing by @FBumann in #526
- build(deps): bump actions/checkout from 5 to 6 in the github-actions group by @dependabot[bot] in #527
- Feature/solver features registry by @FBumann in #528
- add linear expression from constant by @RobbieKiwi in #518
- Feature/simplify expression by @RobbieKiwi in #530
- feat: Add sos constraints by @coroa in #495
- Add Xpress 9.8+ API support with backward compatibility by @brunoficoxpress in #542
- fix(highs): stop solve on Ctrl-C by @FabianHofmann in #536
- fix(solvers): add forgotten xpress getDual fallback by @coroa in #547
- Bugfix/fix notebook docs by @RobbieKiwi in #546
- fix: correct regex to capture negative objective values when using CBC by @qheuristics in #540
- build(deps): bump the github-actions group with 3 updates by @dependabot[bot] in #543
- Feature/dummy solve by @RobbieKiwi in #534
- Add support for solver cuPDLPx by @mal84emma in #516
New Contributors
- @brunoficoxpress made their first contribution in #542
- @mal84emma made their first contribution in #516
Full Changelog: v0.5.8...v0.6.0
v0.5.8
What's Changed
- bugfix: Fixed multiplication with numpy constants by @RobbieKiwi in #494
- fix: lp-polars api by @CharlieFModo in #485
- Replace pandas-based LP file writing with polars implementation by @FabianHofmann in #496
- perf: use xpress c interface, xpress solution order of operations improvement, remove writing of redundant solution files by @CharlieFModo in #497
- Fix windows permission error when dumping model file by @KristijanFaust-OET in #501
- Oetc windows hotfix 2 by @KristijanFaust-OET in #503
- doc: add jupyter notebook with oetc example use by @FabianHofmann in #490
- fix: relaxed upcasting in pl.concat by @FabianHofmann in #507
- Fetch and display OETC worker error logs by @KristijanFaust-OET in #512
- Fix expression merge with outer join for disjoint coordinates by @FabianHofmann in #514
- Feature/add polars input by @RobbieKiwi in #511
- Handle ImportError in xpress import by @FabianHofmann in #509
- Adding xpress postsolve if necessary by @come-bissuel in #421
New Contributors
- @CharlieFModo made their first contribution in #485
- @KristijanFaust-OET made their first contribution in #501
- @come-bissuel made their first contribution in #421
Full Changelog: v0.5.7...v0.5.8