Giter VIP home page Giter VIP logo

Comments (7)

svigerske avatar svigerske commented on September 2, 2024

Comment by @andrea5w created at 2006-08-13 22:03:03

Made suggested correction in branches/devel version

from osi.

svigerske avatar svigerske commented on September 2, 2024

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.

svigerske avatar svigerske commented on September 2, 2024

Comment by @mjsaltzman created at 2006-10-28 23:46:49

Changing component from component1 to OsiXpr.

from osi.

svigerske avatar svigerske commented on September 2, 2024

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.

svigerske avatar svigerske commented on September 2, 2024

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.

svigerske avatar svigerske commented on September 2, 2024

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.

svigerske avatar svigerske commented on September 2, 2024

Comment by @mjsaltzman created at 2008-07-28 17:59:01

Resolution: fixed

from osi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.