diff --git a/.changeset/bundle-energyplan-081.md b/.changeset/bundle-energyplan-081.md new file mode 100644 index 000000000..56865da59 --- /dev/null +++ b/.changeset/bundle-energyplan-081.md @@ -0,0 +1,8 @@ +--- +"ftw": patch +--- + +Bundle Energyplan 0.8.1. On a slow box such as a Raspberry Pi, the +planner now stops on its time budget on large sites too, instead of +sometimes answering a few tens of milliseconds late. Plans are the same +as 0.8.0's. diff --git a/go/internal/mpc/energyplan_fault_test.go b/go/internal/mpc/energyplan_fault_test.go index b718baff8..65cb984ba 100644 --- a/go/internal/mpc/energyplan_fault_test.go +++ b/go/internal/mpc/energyplan_fault_test.go @@ -57,7 +57,7 @@ func TestNativeEnergyplanEVRecoveryFallbackFaults(t *testing.T) { t.Cleanup(func() { _ = external.Close() }) wrapper := &EnergyplanOptimizer{ExternalOptimizer: external} health, err := wrapper.Health(context.Background()) - if err != nil || health.Version != "0.8.0" { + if err != nil || health.Version != "0.8.1" { t.Fatalf("bundle health=%+v err=%v", health, err) } svc := shadowTestService(t) diff --git a/go/internal/mpc/energyplan_test.go b/go/internal/mpc/energyplan_test.go index 6c4258023..5c01edde5 100644 --- a/go/internal/mpc/energyplan_test.go +++ b/go/internal/mpc/energyplan_test.go @@ -95,7 +95,7 @@ func TestNativeEnergyplanDownsideAndAsyncShadow(t *testing.T) { svc := shadowTestService(t) svc.Optimizer = o info, err := svc.Optimizer.(*EnergyplanOptimizer).Health(context.Background()) - if err != nil || info.Name != "ftw-solver" || info.Version != "0.8.0" { + if err != nil || info.Name != "ftw-solver" || info.Version != "0.8.1" { t.Fatalf("bundled worker health: %+v %v", info, err) } start := time.Now().UTC().Truncate(time.Hour) diff --git a/optimizer/native/bundle/THIRD-PARTY-NOTICES.txt b/optimizer/native/bundle/THIRD-PARTY-NOTICES.txt index 70e131b09..e5a728773 100644 --- a/optimizer/native/bundle/THIRD-PARTY-NOTICES.txt +++ b/optimizer/native/bundle/THIRD-PARTY-NOTICES.txt @@ -530,7 +530,7 @@ Upstream: https://github.com/Specy/microlp Vendored from crates.io microlp 0.6.0. Upstream source commit: 22f625e4112967946e9dcd2bc87378424b2d265e Crate SHA256: a8f19803f918039a07f3c32b23716824d8f073543417bdac5b1b8619817e3674 -Sourceful modification: simplex deadline polling every 16 instead of 1000 pivots; opt-in diagnostic phase spans; a continuous-relaxation clone and fixed-variable bounds; direct adoption of complete warm starts after full bounds/domain/constraint validation; read access to a problem's variables and constraints; a time limit for later edits of a solution; read-only solve statistics; smaller branch & bound node storage and a memory ceiling for stored node bases; cheaper branch & bound node jumps; numerical robustness fixes in the simplex. +Sourceful modification: simplex deadline polling every 16 instead of 1000 pivots, and every pivot once pivots are slow; opt-in diagnostic phase spans; a continuous-relaxation clone and fixed-variable bounds; direct adoption of complete warm starts after full bounds/domain/constraint validation; read access to a problem's variables and constraints; a time limit for later edits of a solution; read-only solve statistics; smaller branch & bound node storage and a memory ceiling for stored node bases; cheaper branch & bound node jumps; numerical robustness fixes in the simplex. The upstream Apache-2.0 license and copyright notices remain in this package. diff --git a/optimizer/native/bundle/ftw-solver-linux-amd64 b/optimizer/native/bundle/ftw-solver-linux-amd64 index 3ac729f03..42cf194c5 100755 Binary files a/optimizer/native/bundle/ftw-solver-linux-amd64 and b/optimizer/native/bundle/ftw-solver-linux-amd64 differ diff --git a/optimizer/native/bundle/ftw-solver-linux-arm64 b/optimizer/native/bundle/ftw-solver-linux-arm64 index 46c674ee3..941836f71 100755 Binary files a/optimizer/native/bundle/ftw-solver-linux-arm64 and b/optimizer/native/bundle/ftw-solver-linux-arm64 differ diff --git a/optimizer/native/bundle/manifest.json b/optimizer/native/bundle/manifest.json index 72efab35d..28b0dbb09 100644 --- a/optimizer/native/bundle/manifest.json +++ b/optimizer/native/bundle/manifest.json @@ -1,9 +1,9 @@ { "schema_version": 1, "product": "energyplan", - "version": "0.8.0", + "version": "0.8.1", "source_repository": "srcfl/energyplan", - "source_commit": "51f0c2017e62cb11a05ce5f8dcb216dad60142bf", + "source_commit": "a361b9c83f0901115cb0c4e90274586df564d451", "rustc": "rustc 1.95.0 (59807616e 2026-04-14)", "protocol_version": 1, "forecast_protocol_version": 1, @@ -23,8 +23,8 @@ "bytes": 4296 }, "THIRD-PARTY-NOTICES.txt": { - "sha256": "9d4239239e13bb7aa581d9bde28dd75686ba2f3be9f5b7c745d380c1a3d381d8", - "bytes": 56173 + "sha256": "5d91df6d7de143fd773cb9532b5baf0241da47d9b37e2ab5a92f6aba687528a0", + "bytes": 56211 }, "forecast-v1.response.schema.json": { "sha256": "b7f06c00679b3798cbedd458f8b9b6bfd556e96ac442bb3820f9696c6c7bdd99", @@ -35,12 +35,12 @@ "bytes": 15377 }, "ftw-solver-linux-amd64": { - "sha256": "9e66bd4b7bc0ed70656328d06fec562963509935dbad7edf2361d2a4a719a32c", - "bytes": 2266240 + "sha256": "e3b6886d2ff259c35331cebe3e1ea98f4636d0246aefd52e490c72e7ddbc5895", + "bytes": 2267072 }, "ftw-solver-linux-arm64": { - "sha256": "6d2e1e1e9dbb1d46684b41584b554d506ac3bbed796730c7ee0fb0c2aa0378ef", - "bytes": 1799728 + "sha256": "b5501dc5a9b793a071a86c3b64ec0b7896598f67c04cc2d4e29dd2ff8a837b08", + "bytes": 1800320 }, "rust-runtime/COPYRIGHT-library.html": { "sha256": "90567e2718bf7fd65a71a3a43c5596488e80e5f51ed02bfea6fec54458b5f3d1",