Comments (7)
MPS is a tad on the old side - isn't AMPL / GMPL / GNU MathProg a more widely used target?
from ompr.
Hello,
I've been thinking of developing a function wo write the model into a MPS file, it could be based on the current function that the library linprog
(reference) has or the one in PuLP for python (reference, see definition writeMPS
).
I wanted to know if you have been working on this enhancement, in case you have something already done, or if you want me to send you the end result of the function to try include it in the future for ompr
.
from ompr.
MPS is definitely an old format but it can still be used as input for standard solvers. I haven't done anything on that topic.
Some solvers available with ROI have the option to also output mps/lp files.
from ompr.
Would it make sense to expose the ROI::write.op method? I think that would, for example, allow me to export either an LP format file or possibly a SAV file when using the CPLEX plug-in. This would require you to create an instance of the "OP" class when the model is defined (or, lazily, when the write method is called), as opposed to waiting until the solve method is invoked.
from ompr.
ompr.roi
could expose a function called as.op
which converts an ompr
model to an OP
object.
from ompr.
Let's discuss this in a seperate issue: dirkschumacher/ompr.roi#9
from ompr.
Can be done using ROI
.
from ompr.
Related Issues (20)
- "Error: You have definied variables for 1 rows, but you add a constant with N elements" HOT 1
- NEOS Server & Async Mode: Error: object of type 'closure' is not subsettable
- Gurobi Solver- Recent Experience? HOT 1
- Binary variable <= Binary matrix: Error in constraint$lhs - constraint$rhs : non-numeric argument to binary operator HOT 4
- Solver log not showing up anymore
- Semi continuous variable HOT 7
- Feature Request Integrated with RAMPL HOT 1
- Feature Request: GAMS presolver for ompr HOT 1
- Error in add_variable, object not found HOT 1
- Object not found HOT 3
- Release ompr 1.0.3
- Getting error "*.AbstractLinearFunction" when multiplying in objective function HOT 1
- the cannery problem - vignette enhancement
- Again, my curious interest is in pre-processing sparse data objects outside of MIPModel if possible. I created a simple sparse supply chain dataframe as an example:
- Feature Request: adding "macro" functionality to ompr HOT 1
- Sparse Matrix Constraints with multi-index
- Limiting Variable Definition By Ordered Pair HOT 9
- How write a constraint once there is a variable used as the index? HOT 2
- interactions: "Quadratic expression are not supported" HOT 3
- Request Feature: Add Vectorized semantics revisited of MILPModel to MIPModel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ompr.