[Osi-tickets] Re: [COIN-OR Open Solver Interface] #2: checking
solution availability in OsiXprSolverInterface
COIN-OR Open Solver Interface
coin-trac at coin-or.org
Sat Oct 28 19:46:50 EDT 2006
#2: checking solution availability in OsiXprSolverInterface
----------------------+-----------------------------------------------------
Reporter: pbonami | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: OsiXpr | Version:
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Changes (by mjs):
* component: component1 => OsiXpr
Comment:
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.
--
Ticket URL: <https://projects.coin-or.org/Osi/ticket/2#comment:2>
COIN-OR Open Solver Interface <http://projects.coin-or.org/Osi>
An API for a variety of LP and MIP solvers (and more).
More information about the Osi-tickets
mailing list