Skip to content

[FileFormats.MOF] write any MOI.ModelLike with given options - #3135

Merged
blegat merged 1 commit into
masterfrom
bl/mof-write-modellike
Nov 10, 2026
Merged

blegat merged 1 commit into
masterfrom
bl/mof-write-modellike

Conversation

@blegat

@blegat blegat commented Nov 10, 2026

Copy link
Copy Markdown
Member

The writer actually works for any MOI.ModelLike except at the first line when it takes FileFormats.MOF.Options.

Base.write(io, model, MOF.Options(...)) writes a model that is not a
MOF.Model without copying it first. Starting values and the NLPBlock are
only written if the model supports them.
@blegat
blegat merged commit 7e82c99 into master Nov 10, 2026
31 checks passed
@blegat
blegat deleted the bl/mof-write-modellike branch November 10, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant