[Clp] OsiClpSolverInterface::computeLargestAway sets LogLevel

John Forrest john.forrest at fastercoin.com
Fri Oct 7 12:23:20 EDT 2011


I don't really understand what problem is.

temp is a separate copy which will be deleted on exit - logLevel in
modelPtr will not be changed (or have I misunderstood).

John Forrest

On Thu, 2011-10-06 at 13:59 +0300, Jan-Willem Goossens wrote:
> It seems to me that the computeLargestAway() method in
> OsiClpSolverInterface sets the LogLevel to a 'temporary' value, but
> doesnt set it back:
> 
> OsiClpSolverInterface::computeLargestAway()
> {
>   // get largest scaled away from bound
>   ClpSimplex temp=*modelPtr_;
>   temp.setLogLevel(0);
> 
> 
> I guess the original value should be saved, and then re-set?
> Regards,
> 
> Jan-Willem
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
> 





More information about the Clp mailing list