Comments (3)
entries in subsequent sections that correspond to unregistered rows should be ignored, not raise an error
Currently, this case is not explicitly handled, however, a KeyError
will be raised, e.g., here, when a row is encountered whose name has not been seen before.
from qpsreader.jl.
I don't have very strong feelings here but I'm in favor of an implementation that does not silently ignore data.
If we don't currently accept multiple objectives, I'm in favor of throwing an error when multiple objectives are defined, and possibly allowing an option (defaulting to false
) that, when set to true
, would cause subsequent objectives to be ignored.
Another possibility is to use logging to warn the user that objective rows (or right-hand sides) were ignored.
Summing duplicate coefficients seems reasonable. Again, a warning could be issued if we find any.
Duplicate entries in RHS, BOUNDS, RANGES sections over-write previous entries.
Again I would prefer to raise an error and ask to user to explicitly set an option if they know what they're doing.
It would be good to have a list of MPS files that we currently can't handle and the reason why we can't handle them. We could tick off boxes as we make progress.
from qpsreader.jl.
Another possibility is to use logging to warn the user that objective rows (or right-hand sides) were ignored.
I would prefer that option over throwing an error if multiple objectives/RHS/bounds/etc. are encountered.
For instance, Mosek displays which objective/RHS/bounds/etc... was selected, with the convention that others are ignored:
Open file 'mps/stat96v1.mps.gz'
Reading started.
Using 'OBJ.FUNC' as objective vector
Read 972414 number of A nonzeros in 0.25 seconds.
Using 'RHS' as rhs vector
Using 'BOUNDS' as bound vector
Reading terminated. Time: 0.25
(from this logfile in Hans Mittelmann's benchmark).
from qpsreader.jl.
Related Issues (11)
- Add meaningful tests HOT 1
- Release and register as Julia package? HOT 6
- Drop Julia 1.1, 1.2 from CI HOT 1
- Performance benchmark HOT 2
- Error reading certain Netlib problems HOT 5
- Incorrect bounds on binary variables HOT 5
- Write docs
- Fails to read neos-5044663-wairoa HOT 2
- TagBot trigger issue HOT 1
- Use CITATION.cff instead of CITATION.bib
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 qpsreader.jl.