<html><body>
<p>1) Setting CbcModel::setSpecialOptions(32|specialOptions()) should make CbcModel keep names.  Not sure if it still works.<br>
<br>
2)  If you do preprocessing outside CbcModel::branchAndBound and pass in CglPreProcess xxxxxx into MyHeuristic before adding MyHeuristic to CbcModel then you can use xxxxxx.originalColumns() to see which ones were kept.  You could also access xxxxxx.originalModel() to get at names, which may be a cleaner method than 1).<br>
<br>
John Forrest <br>
<br>
<img width="16" height="16" src="cid:1__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Robinson ---03/20/2009 04:11:08 PM---Hello everyone!"><font color="#424282">Robinson ---03/20/2009 04:11:08 PM---Hello everyone!</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">From:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Robinson &lt;robmnk@gmail.com&gt;</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">To:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">cbc@list.coin-or.org</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Date:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">03/20/2009 04:11 PM</font></td></tr>

<tr valign="top"><td width="1%"><img width="96" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2" color="#5F5F5F">Subject:</font></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFF17DFBA02028f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">[Cbc] Variables Names and Preprocess</font></td></tr>
</table>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="4">Hello everyone!<br>
I'm having some troubles (2 in fact) and I hope someone could guide me.<br>
<br>
1) Suppose I've created a class MyHeuristic extended from CbcHeuristic. Now, would I be able to recover the variables names from inside MyHeuristic::solution(...) method? I've wrote my code based on driver4.cpp.  Even setting osidiscipline to 2 it won't work. It prints the default names only (from solution(...) method). <br>
<br>
2) There is a way(inside Cbc) to know which columns were dropped after the preprocess?<br>
<br>
Thanks!<br>
<br>
-- <br>
<br>
robinson minali nakamura</font><tt>_______________________________________________<br>
Cbc mailing list<br>
Cbc@list.coin-or.org<br>
</tt><tt><a href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a></tt><tt><br>
</tt><br>
<br>
</body></html>