Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

WIP: add MPS module #29

Merged
merged 1 commit into from
Jan 6, 2019
Merged

WIP: add MPS module #29

merged 1 commit into from
Jan 6, 2019

Conversation

odow
Copy link
Owner

@odow odow commented Jan 3, 2019

First step in converting benchmark sets like MIPLIB into MathOptFormat to see how we fare.

The implementation is pretty slow and memory intensive. A better approach might be to scan through the file once and record the names of all variables and constraints, pre-allocate the storage, and then re-scan.

I might end up making this package a "MathOptFileFormats" type job.

Docs
http://lpsolve.sourceforge.net/5.5/mps-format.htm
https://docs.mosek.com/8.1/capi/mps-format.html
http://plato.asu.edu/cplex_mps.pdf

Related Julia codes:
https://github.com/JuliaOpt/JuMP.jl/blob/release-0.18/src/writers.jl
https://github.com/odow/MPSWriter.jl
https://github.com/ds4dm/Tulip.jl/blob/master/src/readmps.jl

@codecov-io
Copy link

codecov-io commented Jan 3, 2019

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #29    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files           4      5     +1     
  Lines         271    624   +353     
======================================
+ Hits          271    624   +353
Impacted Files Coverage Δ
src/MathOptFormat.jl 100% <ø> (ø) ⬆️
src/MPS.jl 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c91a1f...89888d9. Read the comment docs.

@odow odow merged commit 42324e3 into master Jan 6, 2019
@odow odow deleted the mps branch January 6, 2019 03:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants