Skip to content

Releases: Bravos-Power/pyoframe

v1.2.0

21 Jan 16:22
593737c

Choose a tag to compare

New features

The bitwise or operator (|) is now a useful shortcut (#220). Instead of writing

a.keep_extras() + b.keep_extras()

Can now simply write:

a | b

Other improvements

Full Changelog: v1.1.0...v1.2.0

v1.1.0

07 Jan 20:10
c37160b

Choose a tag to compare

New Features 🎉 🎉

  • Pyoframe now supports HiGHS v1.12 which includes a new multi-threaded interior-point solver! (#211 by @staadecker)
  • Pyoframe now explicitly supports parameters! Thank you to @brynpickering for the feedback! (#212 by @staadecker)

Before:

susceptance = pl.DataFrame({"line": ["A", "B"], "suscep": [2, 4]}).to_expr()

Now (optionally):

susceptance = pf.Param({"line": ["A", "B"], "suscep": [2, 4]})

Note that pf.Param is just a function that returns an Expression like .to_expr().

  • Pyoframe now supports dividing by constant expressions (#209 by @staadecker). For example:
reactance = 1 / susceptance  # <-- This now works!
  • When creating variables, you no longer need to call .over(…) on the arguments of lb and ub because, now, lb and ub will automatically be broadcasted to match the variable's dimensions. Existing code that used .over(…) will continue working just fine. (#210 by @staadecker).

Improvements

  • Improved documentation, particularly a "Learn the Basics" page! (#214 by @staadecker)
  • Thank you @n-takumasa for correcting an outdated error message when Ipopt is not installed! (#205)

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

03 Nov 22:30
f528fc0

Choose a tag to compare

What's Changed

Fix

  • Block HiGHS v1.12 (released last week) since it introduces potentially breaking changes that will need to be investigated. (Please open an issue if support for HiGHS v1.12 is important to you!)

Chores

Full Changelog: v1.0.0...v1.0.1

v1.0.0 🎉🎉

06 Oct 23:21
f21b8a6

Choose a tag to compare

Version 1 is available! See the migration guide.

What's Changed

Breaking changes (see migration guide)

Improved performance

New features

Bug fix

  • Fix bug where HiGHS doesn't detect convex quadratic problems by @staadecker in #188

Better developer experience

Internal changes

New Contributors

Full Changelog: v0.2.0...v1.0.0

v1.0.0-alpha

22 Sep 20:47
5cbd536

Choose a tag to compare

v1.0.0-alpha Pre-release
Pre-release

What's Changed

See migration guide.

New Contributors

Full Changelog: v0.2.0...v1.0.0-alpha

v0.2.1 Bug fixes

03 Sep 05:09
587025f

Choose a tag to compare

What's Changed

@staadecker in #168

  • Fix bug where Constraint.attr may have returned incorrect values for quadratic constraints.
  • Fix confusing error message when .attr raised an error (e.g. when calling Variable.solution before having solved the model)

Full Changelog: v0.2.0...v0.2.1

v0.2.0

03 Jun 22:17
99b67a3

Choose a tag to compare

What's Changed

Breaking changes 💥

  • Dropped support for Polars 0.20 in #137

Bug fixes 🐞

  • Fix bug where quadratic objective functions were being treated as linear expressions leading to incorrect results (thanks @eduardosalaz for catching this!) #145

New features 🚀

  • Add support for Python 3.13 in #137
  • Add support for writing .lp and .sol files in HiGHS by @staadecker in #114

New examples

Other improvements

New Contributors

Full Changelog: v0.1.4...v0.1.5

v0.1.4

17 Feb 22:21
5b1c50b

Choose a tag to compare

What's Changed

Full Changelog: v0.1.3...v0.1.4

v0.1.3

14 Feb 21:08
c6b3497

Choose a tag to compare

What's Changed

Full Changelog: v0.1.2...v0.1.3

v0.1.2

04 Feb 14:46
8ede3b6

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.1...v0.1.2