[Coin-discuss] determining problem type in OSI

Lou Hafer lou at cs.sfu.ca
Thu Jun 29 13:14:53 EDT 2006


Kish,

	This could be implemented in OsiSolverInterface.  But a safe default
implementation will boil down to the algorithm you suggest: scan columns
looking for integer type.  It would fall to individual OSI maintainers to do
something more efficient. A consequence of variable type being left to the
underlying solver (setInteger is a pure virtual method).

	I take it using CbcModel::numberIntegers is not good, for some reason?
	
	Still interested? A default could be installed in OsiSolverInterface
without too much trouble. It would likely take a while for individual OSIs to
incorporate something more efficient.

							Lou




More information about the Coin-discuss mailing list