[Coin-discuss] accessing the Clp solver from Cbc/Clp
Kish Shen
kish.shen at crosscoreop.com
Wed Jun 28 00:13:03 EDT 2006
Thanks for your reply!
On Wednesday 28 June 2006 04:59, J P Fasano wrote:
> > If Clp is being used, is there anyway to access the solver directly (i.e.
> >
> > the ClpModel pointer)?
>
> Yes.
> Use method OsiClpSolverInterface::getModelPtr().
> see: www.coin-or.org/Doxygen/Osi/class_osi_clp_solver_interface.html#z216_0
>
The situation I am thinking of is when I am using Clp within Cbc, i.e. using
OsiCbcSolverInterface. In this case, getModelPtr() returns the pointer to
the CbcModel, not the ClpModel.
Cheers,
Kish
> JP
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-discuss
More information about the Coin-discuss
mailing list