[Coin-discuss] adding constraints incrementally to OsiSolverInterface

J P Fasano jpfasano at us.ibm.com
Wed Jul 12 12:51:27 EDT 2006


> One thing about the CoinPackedMatrix: the
> documentation states that `extra'
> spaces can be added to the matrix to
> allow for faster insertion of new data.
> Perhaps this can be exposed to the user
> in both Clp's and Osi(Clp)SolverInterface's
> loadProblem() methods?

You could use the loadProblem method that has
CoinPackedMatrix as an input parameter:

   virtual void loadProblem (const CoinPackedMatrix &matrix,
                             const double *collb, const double *colub,
                             const double *obj,
                             const double *rowlb, const double *rowub);

see:
http://www.coin-or.org/Doxygen/Osi/class_osi_solver_interface.html#z124_0





More information about the Coin-discuss mailing list