Skip to content

Fix: use minimal_triang() in mpd.default() to ensure correct decomposition#14

Open
Balance-H wants to merge 1 commit into
hojsgaard:masterfrom
Balance-H:master
Open

Fix: use minimal_triang() in mpd.default() to ensure correct decomposition#14
Balance-H wants to merge 1 commit into
hojsgaard:masterfrom
Balance-H:master

Conversation

@Balance-H
Copy link
Copy Markdown

Hi Søren,

I have implemented the fix discussed in Issue #12.

The current mpd.default() uses triangulate() which can add redundant chords, potentially leading to incorrect prime subgraph merges. By switching to minimal_triang(), we ensure the decomposition remains mathematically sound for non-chordal graphs.

This change has been tested against the example provided in #12 and yields the correct decomposition.

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.

1 participant