Skip to content

Releases: Bravos-Power/pyoframe

v1.4.1

27 Mar 12:33
8ba7768

Choose a tag to compare

What's Changed

  • Fix previously identified Mosek limitation (where .sol files were not as expected) now that patch has been released in pyoptinterface dependency by @staadecker in #234

Full Changelog: v1.4.0...v1.4.1

v1.4.0

25 Mar 21:04
1c4035e

Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.4.0

v1.3.0

25 Mar 15:28
6da89de

Choose a tag to compare

What's Changed

  • Bump pyoptinterface from 0.5.1 to 0.6.0 by @dependabot[bot] in #231
    • This adds support for Gurobi 13, COPT 8, HiGHS 1.12
  • Improve integer tolerance behavior in #232. Thanks @kjartan-at-bravos for reporting!
    • You can now disable integer rounding with model.my_var.get_solution(return_integers=False)
    • Tolerance changed from 1e-8 to 1e-4 and failure to meet tolerance emits a warning instead of raising an error

Full Changelog: v1.2.2...v1.3.0

v1.2.2

14 Mar 21:30
8384a0a

Choose a tag to compare

What's Changed

  • Update highsbox requirement from <=1.13.0 to <=1.13.1 by @dependabot[bot] in #224
  • Improve error messages and prevent segfault when attempting to read solution of unsolved variable by @staadecker in #228

Full Changelog: v1.2.1...v1.2.2

v1.2.1

04 Feb 21:30
b2f45a0

Choose a tag to compare

What's Changed

  • Update to support HiGHS v1.13.0 (previously 1.12.0) by @dependabot[bot] in #223

New Contributors

Full Changelog: v1.2.0...v1.2.1

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