[Coin-osi-devel] OsiSolverInterface::getNumIntegers()

Lou Hafer lou at cs.sfu.ca
Sun Jul 2 20:02:24 EDT 2006


Folks,

	I've installed virtual int OsiSolverInterface::getNumIntegers() const.
Name chosen to keep with OSI naming conventions (getNumCols, getNumRows, etc.).
The default implementation scans the columns and does a count.  Within a
specific OSI, this is probably a trivial access to an existing count, but from a
generic perspective the column scan seems the only safe approach.

							Lou




More information about the Osi mailing list