Skip to content

F fr sdpa multi lp - #26

Merged
pfetsch merged 6 commits into
mainfrom
f-fr-sdpa-multi-lp
Sep 21, 2026
Merged

pfetsch merged 6 commits into
mainfrom
f-fr-sdpa-multi-lp

Conversation

@pfetsch

@pfetsch pfetsch commented Aug 31, 2026

Copy link
Copy Markdown
Member

I could not change the pull request #25. This is a fork with some changes.

Frank Fischer and others added 5 commits August 30, 2026 14:24
Multiple LP blocks (indicated by negative block sizes) are supported
by the SDPA file format but not the reader. This change modifies the
reader such that multiple LP blocks are read as if they were a single
block: each element "v b i j x" is interpreted as
"v b (i + blockoffsets[b]) (j + blockoffsets[b]) x" where
"blockoffsets[b]" is the sum of the block sizes of all preceding LP
blocks. This effectively reads LP blocks (i.e. diagonal block) as
one single diagonal block.
Comment thread src/scipsdp/reader_sdpa.c Outdated
@pfetsch
pfetsch merged commit 6dc76a7 into main Sep 21, 2026
@pfetsch

pfetsch commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

Sorry, this slipped from my attention. Thanks for the contribution.

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