[Coin-lpsolver] A simple bug

Paulo J. S. Silva pjssilva at ime.usp.br
Thu Aug 17 09:45:51 EDT 2006


Hello,

I may have come across a small bug in CLP/Osi.

If I want to recover the number of iterations used by a "resolve" call
after a call to "enableSimplexInterface", I have to disable the
interface. That is I have to write a code like this:

disableSimplexInterface();
resolve();
nIter = getIterationsCount();
enableSimplexInterface(true);

instead of simply:

resolve();
nIter = getIterationsCount();

Is that the expected behavior? 

Best,

Paulo
-- 
Paulo José da Silva e Silva 
Professor Assistente do Dep. de Ciência da Computação
(Assistant Professor of the Computer Science Dept.)
Universidade de São Paulo - Brazil

e-mail: pjssilva at ime.usp.br      Web: http://www.ime.usp.br/~pjssilva

Teoria é o que não entendemos o     (Theory is something we don't)
suficiente para chamar de prática.  (understand well enough to call
practice)




More information about the Clp mailing list