Comments (7)
Comment by @andrea5w created at 2006-08-13 22:03:03
Made suggested correction in branches/devel version
from osi.
Comment by @mjsaltzman created at 2006-10-28 23:46:49
pstat == 7 could also mean that the problem is loaded, LP presolved and MIP presolved, but the solution in memory is not valid.
Or it could be that what was intended is (pstat & 7) == 7, which would mean loaded, LP presolved, and MIP presolved, but validity is ignored.
There is another test like this on line 880. There are some other tests for whether presolve is done, but they are bitwise tests ((pstat & 6) == 0).
Unfortunately, this is code contributed by Dash. I will ask the author, but no promises that I can get an answer.
from osi.
Comment by @mjsaltzman created at 2006-10-28 23:46:49
Changing component from component1 to OsiXpr.
from osi.
Comment by @mjsaltzman created at 2006-10-28 23:48:37
Replying to [comment:2 mjs]:
Or it could be that what was intended is (pstat & 7) == 7, which would mean loaded, LP presolved, and MIP presolved, but validity is ignored.
Or even (pstat & 7) == 0 or (pstat & 7) != 0...
from osi.
Comment by @pobonomo created at 2006-11-30 06:15:26
Replying to [comment:3 mjs]:
Replying to [comment:2 mjs]:
Or it could be that what was intended is (pstat & 7) == 7, which would mean loaded, LP presolved, and MIP presolved, but validity is ignored.
Or even (pstat & 7) == 0 or (pstat & 7) != 0...
Sorry for not following up earlier.
The function tries to obtain a basis from XPRESS. I really don't see the relation between availability of a basis and the state of LP and MIP presolve.
In any case if there is no valid solution in memory I don't see how a basis is available.
I am not working with that anymore but when I tried to use this function a few months ago, I consistently obtained incorrect results.
Regards,
Pierre
from osi.
Comment by @mjsaltzman created at 2008-07-28 17:59:01
OK I am closing this. The patch has been in since at least r.951.
from osi.
Comment by @mjsaltzman created at 2008-07-28 17:59:01
Resolution: fixed
from osi.
Related Issues (20)
- Violated assertion when reloading a problem with OsiGrbSolverInterface HOT 3
- osi still uses deprecated glpk apis HOT 1
- setInteger: Assertion fails for empty LP HOT 3
- .lp format for clp solver HOT 1
- OsiFeatures.cpp not found HOT 1
- Lots of undefined behavior found by sanitizer
- Interface for QCQP HOT 3
- errors threw by OsiGrbSolverInterface GUROBI_CALL HOT 2
- Interface contributions HOT 3
- configure script doesn't mention flag --with-gurobi-incdir and others in version 0.108.6 HOT 18
- No solver available, examples will not work HOT 2
- CoinUtils message printed in non verbose mode HOT 4
- Necessity for --with-cplex=false HOT 10
- Using CPLEx with OSI
- Unable to Install OSI with CPLEX HOT 4
- C interface HOT 6
- Configure fails locating CoinUtils on MSys2/MinGW-W64 HOT 1
- `yum install ...` errors
- Issue compiling OsiCpxSolverInterface in MSYS2 / MinGW64 / Windows HOT 2
- Can't build with C++17
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 osi.