Skip to content

Add linear systems message-passing tutorial - #103

Merged
bvdmitri merged 2 commits into
mainfrom
feat/linear-systems-bilinear-example
Sep 3, 2026
Merged

bvdmitri merged 2 commits into
mainfrom
feat/linear-systems-bilinear-example

Conversation

@bvdmitri

@bvdmitri bvdmitri commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add an Advanced Example showing how to solve a small linear system with the Bilinear node.
  • Compare exact/tree and loopy behavior, convergence, residuals, variances, and coupling strength with plots.
  • Make examples-dev follow a local RxInfer checkout's local ReactiveMP path for development builds.

Verification

Built successfully with the Makefile command:

make examples-dev FILTER=Solving RXINFER=/Users/bvdmitri/Projects/Julia/RxInfer.jl

Dependency note

This example depends on the new Bilinear node and will not build against the currently released ReactiveMP package. It will build in CI and users' environments once a new ReactiveMP release containing that node is published; local development was verified using the local RxInfer and ReactiveMP checkouts.

@Nimrais — please review, especially the tutorial framing and whether the node should be renamed before release.

@bvdmitri
bvdmitri requested a review from Nimrais August 27, 2026 15:57
@Nimrais

Nimrais commented Sep 3, 2026

Copy link
Copy Markdown
Member

@bvdmitri I did extend the tutorial to my liking to show the real thing why we actually want to implement it in message passing way. Basically I showed how to solve $Ax=b(t)$ problem where $b(t)$ is stochastic and is changing in time. We have a smothing over $b$ together with the linear system solution.

fix: extend the example

fix: linear state space model with missing indexes not whole rows

fix: connecting linear system and grid beatifully

fix: finising the example

fix: change Bilinear to GaussianCoupling

fix: remove cluade history

fix: 10 iterations is okay
@Nimrais
Nimrais force-pushed the feat/linear-systems-bilinear-example branch from dec4f7d to c0a3cd0 Compare September 3, 2026 13:26
@bvdmitri
bvdmitri merged commit cd91faf into main Sep 3, 2026
4 checks passed
@bvdmitri
bvdmitri deleted the feat/linear-systems-bilinear-example branch September 3, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants