Skip to content

Fix head_to_set for custom sets - #3089

Merged
odow merged 2 commits into
masterfrom
bl/head_to_val
Sep 20, 2026
Merged

odow merged 2 commits into
masterfrom
bl/head_to_val

Conversation

@blegat

@blegat blegat commented Sep 19, 2026

Copy link
Copy Markdown
Member

On master

julia> MOI.FileFormats.MOF.head_to_set("CustomSet")
Val{Symbol("##154")}()

julia> MOI.FileFormats.MOF.head_to_set("Nonnegatives")
Val{:Nonnegatives}()

With this PR:

julia> MOI.FileFormats.MOF.head_to_set("CustomSet")
Val{:CustomSet}()

julia> MOI.FileFormats.MOF.head_to_set("Nonnegatives")
Val{:Nonnegatives}()

This is needed for NexOR-Optimization/MathOptVRP.jl#25 and blegat/GenOpt.jl#35

@odow
odow merged commit 2760b89 into master Sep 20, 2026
30 checks passed
@odow
odow deleted the bl/head_to_val branch September 20, 2026 21:23
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.

2 participants