Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPS writer #3

Closed
mlubin opened this issue Oct 26, 2015 · 7 comments · Fixed by #18
Closed

MPS writer #3

mlubin opened this issue Oct 26, 2015 · 7 comments · Fixed by #18

Comments

@mlubin
Copy link
Member

mlubin commented Oct 26, 2015

I see that you've implemented an MPS writer here. Let us know if there's any way we can make the JuMP MPS writer more accessible or flexible, no need to duplicate work.
CC @IainNZ

@odow
Copy link
Member

odow commented Oct 26, 2015

I was thinking that it would be good to have a MPB level writer package at some point for MPS, LP, NL and OSIL files all together (or in different packages).

Then you could have this package go JuMP>MPS>NEOS or JuMP>OSIL>NEOS etc

@mlubin
Copy link
Member Author

mlubin commented Oct 26, 2015

CC @tkelman @JackDunnNZ

@IainNZ
Copy link

IainNZ commented Oct 26, 2015

MPS writer package is fine by me, especially now package precompilation is done

@tkelman
Copy link

tkelman commented Oct 27, 2015

ref JuliaOpt/MathProgBase.jl#54, I don't think writeproblem is defined in a useful way for nonlinear. So writing osil or nl without immediately solving would be a little awkward at the moment.

@mlubin
Copy link
Member Author

mlubin commented Oct 27, 2015

What needs to change about writeproblem? You can call it after loadnonlinearproblem!, in which case the MPB model has all the information needed. The issue with not having an API for reading a nonlinear problem is separate.

@tkelman
Copy link

tkelman commented Oct 27, 2015

Last time I looked into this it wasn't straightforward to get at the NLPEvaluator for a function that is not operating as a solver.

@mlubin
Copy link
Member Author

mlubin commented Oct 27, 2015

You can now call buildInternalModel on a nonlinear JuMP model and it will call loadnonlinearproblem! without solving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

4 participants