[Coin-discuss] Revision of GLPK
Joseph Young
josyoun at nmt.edu
Tue Jul 27 18:18:39 EDT 2004
I updated OsiGlpkSolverInterface.cpp to be compatible with the new
API used in v4.4 and 4.5. However, there are a few odd quirks:
In unitTest (OsiGlpkSolverInterfaceTest: 495), assert(eq(ev[0],3.0)) was
failing. In appeared as though getMatrixByRow was reading in the rows in
reverse order. This should not have happened because this function is
correctly reading in the elements and indices from GLPK's data structures.
So, it looks like there may be a problem with the copy routines elsewhere.
Right now, I have a hack to fix this, but someone might want to look at it
further.
In unitTest (OsiSolverInterfaceTest: 3275), is segfaulting for unknown
reasons on OsiSolverInterface *s=emptySi->clone().
Anyway, you can play with the new version if you'd like. Since
OsiGlpkSolverInterface.cpp is around 2500 lines, it's probably not prudent
to post it here, so would anyone like a copy?
Sinc, Joseph Young
More information about the Coin-discuss
mailing list