[Coin-discuss] OsiOsl bug ?

John J Forrest jjforre at us.ibm.com
Fri May 30 14:08:03 EDT 2003


Tim,

It would be very tricky to decide what should be kept round loadProblem - 
e.g. should minimization be kept.  If nothing is kept then it should be a 
constructor. 

As you say the one clean solution is to have a base empty model which has 
settings you want to keep e.g. minimization and then clone from that.

However this may not always be best solution.  Laci suggested that we add 
a "reset" function to interfaces which would set back as if default 
constructor.  It would not involve any more coding as the current default 
constructor coding would be copied to reset() and the default constructor 
just call reset.

Comments?

John Forrest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20030530/b02a34a9/attachment.html>


More information about the Coin-discuss mailing list