Skip to content

Commit

Permalink
WIP: MPS rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Feb 7, 2024
1 parent acf1ff1 commit d1bef1b
Show file tree
Hide file tree
Showing 3 changed files with 1,033 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FileFormats/FileFormats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ include("CBF/CBF.jl")
include("LP/LP.jl")
include("MOF/MOF.jl")
include("MPS/MPS.jl")
include("MPS/MPS2.jl")
include("NL/NL.jl")
include("SDPA/SDPA.jl")

Expand Down Expand Up @@ -107,7 +108,7 @@ function Model(;
end

const MATH_OPT_FORMATS =
Union{CBF.Model,LP.Model,MOF.Model,MPS.Model,NL.Model,SDPA.Model}
Union{CBF.Model,LP.Model,MOF.Model,MPS.Model,MPS2.Model,NL.Model,SDPA.Model}

function MOI.write_to_file(model::MATH_OPT_FORMATS, filename::String)
compressed_open(filename, "w", AutomaticCompression()) do io
Expand Down
Loading

0 comments on commit d1bef1b

Please sign in to comment.