<br><font size=2 face="sans-serif">David,</font>
<br>
<br><font size=2 face="sans-serif">At first glance it all looks plausible.</font>
<br>
<br><font size=2 face="sans-serif">If you just use one cut generator does
that seg fault?</font>
<br>
<br><font size=2 face="sans-serif">One thing you could do is </font>
<br>
<br><font size=2 face="sans-serif">model.solver()-&gt;writeMps(filename)
</font>
<br>
<br><font size=2 face="sans-serif">before going into branch and bound and
then use that mps file as input to e.g. sample2.cpp and see if that solves
okay. &nbsp;Obviously the cut generators should not fail so there may be
something odd about your data.</font>
<br>
<br><font size=2 face="sans-serif">If mps file fails then send it to me
and I will see if I can reproduce.</font>
<br>
<br><font size=2 face="sans-serif">John Forrest</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>svoboda@fi.muni.cz</b>
</font>
<br><font size=1 face="sans-serif">Sent by: coin-lpsolver-bounces@list.coin-or.org</font>
<p><font size=1 face="sans-serif">03/01/2005 09:59 AM</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">coin-lpsolver@list.coin-or.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[Coin-lpsolver] Segmentation
faults</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hello,<br>
<br>
I'm a beginner in using COIN-Cbc. I have to admit, that I know linear <br>
programming techniques whereas integer programming (the cuts etc.) is more
<br>
difficult for me. I used some sample?.cpp files from Cbc to experiment
<br>
with my data. Everything worked OK until I tested CutGenerators. Namely
<br>
CglProbing, CglGomory and CglOddHole which cause &quot;segmentation fault&quot;
in <br>
my programs. I do not know how to set the right options for these <br>
generators to avoid the mentioned problems. I do not know the meaning for
<br>
&quot;set&quot; methods - therefore I do not know how to set the right
values.<br>
<br>
Here is the part of the code, I'd like to set properly:<br>
<br>
 &nbsp; CglProbing probingGen;<br>
 &nbsp; probingGen.setUsingObjective (true);<br>
 &nbsp; probingGen.setMaxPass (3);<br>
 &nbsp; probingGen.setMaxProbe (100);<br>
 &nbsp; probingGen.setMaxLook (numberOfCols);<br>
 &nbsp; probingGen.setRowCuts (3);<br>
<br>
 &nbsp; CglGomory gomoryGen;<br>
 &nbsp; gomoryGen.setLimit (numberOfCols);<br>
<br>
 &nbsp; CglOddHole oddholeGen;<br>
 &nbsp; oddholeGen.setMinimumViolation (0.005);<br>
 &nbsp; oddholeGen.setMinimumViolationPer (0.00002);<br>
 &nbsp; oddholeGen.setMaximumEntries (numberOfCols);<br>
<br>
 &nbsp;model.addCutGenerator (&amp;probingGen, -1, &quot;Probing&quot;);<br>
 &nbsp;model.addCutGenerator (&amp;gomoryGen, -1, &quot;Gomory&quot;);<br>
 &nbsp;model.addCutGenerator (&amp;oddholeGen, -1, &quot;OddHole&quot;);<br>
<br>
<br>
As for my integer linear programming problem, there are:<br>
- M rows<br>
- N columns<br>
- the values of individual variables are all set to &quot;0&quot; or &quot;1&quot;<br>
<br>
<br>
With regards<br>
<br>
 &nbsp;David<br>
_______________________________________________<br>
Coin-lpsolver mailing list<br>
Coin-lpsolver@list.coin-or.org<br>
http://list.coin-or.org/mailman/listinfo/coin-lpsolver<br>
</tt></font>
<br>