Hi,<br> Environment: <br>Ubuntu 10.10 (32 bit)<br>Cbc: 2.4.0<br><br>When I&#39;m trying to solve a model with Cbc through pyomo (a sandia labs python redirection), cbc is throwing an error.<br>It used to work earlier, but when the size of the model got increased due to constraint set, it didn&#39;t work on 32 bit OS.<br>
<br>Here is the error log:<br><p>/tmp $ pyomo -i --stream-solver --solver cbc cpyomo.py ~/software/
<br> projects/bta/bta/x.dat
<br> [    0.00] Setting up Pyomo environment
<br> [    0.00] Applying Pyomo preprocessing actions
<br> [    0.01] Creating model
<br> [  165.22] Applying solver
<br> Coin Cbc and Clp Solver version 2.4.2, build May 28 2010
<br> command line - /usr/bin/cbc -printingOptions all -import /tmp/
<br> tmptL5RXE.pyomo.lp -import -stat 1 -solve -solu /tmp/
<br> tmptL5RXE.pyomo.soln (default strategy
<br> 1)                                          Option for printingOptions
<br> changed from normal to all
<br> Current default (if $ as parameter) for import is /tmp/
<br> tmptL5RXE.pyomo.lp
<br> Presolve 91444 (-1) rows, 381600 (-1) columns and 2661660 (-1)
<br> elements
<br> Statistics for presolved model
<br> </p>Problem has 91444 rows, 381600 columns (381600 with objective) and
<br> 2661660 elements
<br> There are 1590 singletons with objective
<br> Column breakdown:
<br> 0 of type 0.0-&gt;inf, 0 of type 0.0-&gt;up, 0 of type lo-&gt;inf,
<br> 0 of type lo-&gt;up, 0 of type free, 0 of type fixed,
<br> 0 of type -inf-&gt;0.0, 0 of type -inf-&gt;up, 381600 of type 0.0-&gt;1.0
<br> Row breakdown:
<br> 21271 of type E 0.0, 239 of type E 1.0, 239 of type E -1.0,
<br> 0 of type E other, 0 of type G 0.0, 0 of type G 1.0,
<br> 0 of type G other, 1590 of type L 0.0, 63335 of type L 1.0,
<br> 4770 of type L other, 0 of type Range 0.0-&gt;1.0, 0 of type Range other,
<br> 0 of type Free
<br> No match for 1 - ? for list of commands
<br> ?
<br> terminate called after throwing an instance of &#39;std::bad_alloc&#39;
<br>   what():  std::bad_alloc
<br> Continuous objective value is 1.57455e+06 - 5.98 seconds
<br> Cgl0003I 0 fixed, 0 tightened bounds, 30 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 30 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 31 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 31 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 30 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 168 fixed, 0 tightened bounds, 30 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 12 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 28 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 3 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 2 strengthened rows, 0
<br> substitutions
<br> Cgl0003I 0 fixed, 0 tightened bounds, 2 strengthened rows, 0
<br> substitutions
<br> Cgl0004I processed model has 91296 rows, 380808 columns (380808
<br> integer) and 2656026 elements
<br> Aborted
<br> ERROR: Unexpected exception while running model cpyomo.py
<br>         [Errno 2] No such file or directory: &#39;/tmp/
<br> tmptL5RXE.pyomo.soln&#39;
<br>  /tmp $
<br><br><br>I&#39;m not sure what could&#39;ve caused this. Appreciate your time reading through this, and please let me know if changes are required.<br><br>thanks<br>Vish.<br>