github rtc-tools/rtc-tools 2.8.0

2 days ago

What's Changed

This release adds new features for LP/MILP problem export and custom solver plugin integration, migrates the build tooling to uv, and includes several performance improvements and bug fixes. Python support is updated to 3.10–3.14.

Features

  • optimization: Add LP file export for linear problems by @jarsarasty in #1752
  • feat(util): Add RTCTOOLS_EXTRA_CASADIPATH for custom solver plugin path by @jarsarasty in #1767
  • CollocatedIntegratedOptimizationProblem: Add option to inline delay expressions by @jbaayen in #1712
  • pi: Check assumption of zero-based ensembleMemberIndex by @Ailbhemit in #1721
  • Examples: Add fallback solver example by @SGeeversAtVortech in #1680

Bug Fixes

  • fix(optimization): Correct downhill logic and orifice flow constraints by @k-horvath-deltares in #1803
  • fix(optimization): Raise ValueError for non-symbolic scalar constraints by @jarsarasty in #1755
  • fix(optimization): Correct previously introduced wrong solver flag when the run fails by @k-horvath-deltares in #1703
  • fix(optimization): Fix delay expression for models containing extra variables by @k-horvath-deltares in #1746
  • ControlTreeMixin: Fix overflow by using int64 rather than int16 for control indices by @jbaayen in #1707
  • pi: Fix incorrect assumption that the longest timeseries covers all timesteps — use union of all timeseries times instead by @k-horvath-deltares in #1710
  • fix: Element count for path variable slices by @jarsarasty in #1784
  • fix(rtctoolsapp): Fix download examples from release zipball by @FaridAlavi in #1805
  • SinglePassGPMixin: Fix seeding of epsilons for the first priority by @jackvreeken in #1723
  • CollInt: Fix symbolic parameter substitution by @jackvreeken in #1701
  • CollInt/casadi_helpers: Fix NumPy 2.4 error, CasADi 3.6 substitution and related lowest/highest dependency issues by @jackvreeken in #1743
  • pyproject.toml: Fix allowing CasADi 3.7.* by @jackvreeken in #1708
  • doc/conf.py: Fix version import after hatch-vcs migration by @jackvreeken in #1736

Performance

  • CollInt: Optimize performance of inline_delay_expressions by @jackvreeken in #1726
  • CollInt: Optimize constant input mapping by avoiding repacking by @jackvreeken in #1732

Compatibility

Build / Tooling

Testing

  • test(modelica_mixin): Replace repr() comparisons with numerical evaluation by @jarsarasty in #1780

Documentation

Full Changelog: 2.7.3...2.8.0

Don't miss a new rtc-tools release

NewReleases is sending notifications on new releases.