<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()->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. 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 "segmentation fault"
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>
"set" 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>
CglProbing probingGen;<br>
probingGen.setUsingObjective (true);<br>
probingGen.setMaxPass (3);<br>
probingGen.setMaxProbe (100);<br>
probingGen.setMaxLook (numberOfCols);<br>
probingGen.setRowCuts (3);<br>
<br>
CglGomory gomoryGen;<br>
gomoryGen.setLimit (numberOfCols);<br>
<br>
CglOddHole oddholeGen;<br>
oddholeGen.setMinimumViolation (0.005);<br>
oddholeGen.setMinimumViolationPer (0.00002);<br>
oddholeGen.setMaximumEntries (numberOfCols);<br>
<br>
model.addCutGenerator (&probingGen, -1, "Probing");<br>
model.addCutGenerator (&gomoryGen, -1, "Gomory");<br>
model.addCutGenerator (&oddholeGen, -1, "OddHole");<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 "0" or "1"<br>
<br>
<br>
With regards<br>
<br>
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>