[Cbc] Cbc exiting with error status

Vishist Mandapaka vishistm at gmail.com
Tue Aug 23 15:28:43 EDT 2011


Hi,
 Environment:
Ubuntu 10.10 (32 bit)
Cbc: 2.4.0

When I'm trying to solve a model with Cbc through pyomo (a sandia labs
python redirection), cbc is throwing an error.
It used to work earlier, but when the size of the model got increased due to
constraint set, it didn't work on 32 bit OS.

Here is the error log:

/tmp $ pyomo -i --stream-solver --solver cbc cpyomo.py ~/software/
projects/bta/bta/x.dat
[    0.00] Setting up Pyomo environment
[    0.00] Applying Pyomo preprocessing actions
[    0.01] Creating model
[  165.22] Applying solver
Coin Cbc and Clp Solver version 2.4.2, build May 28 2010
command line - /usr/bin/cbc -printingOptions all -import /tmp/
tmptL5RXE.pyomo.lp -import -stat 1 -solve -solu /tmp/
tmptL5RXE.pyomo.soln (default strategy
1)                                          Option for printingOptions
changed from normal to all
Current default (if $ as parameter) for import is /tmp/
tmptL5RXE.pyomo.lp
Presolve 91444 (-1) rows, 381600 (-1) columns and 2661660 (-1)
elements
Statistics for presolved model
Problem has 91444 rows, 381600 columns (381600 with objective) and
2661660 elements
There are 1590 singletons with objective
Column breakdown:
0 of type 0.0->inf, 0 of type 0.0->up, 0 of type lo->inf,
0 of type lo->up, 0 of type free, 0 of type fixed,
0 of type -inf->0.0, 0 of type -inf->up, 381600 of type 0.0->1.0
Row breakdown:
21271 of type E 0.0, 239 of type E 1.0, 239 of type E -1.0,
0 of type E other, 0 of type G 0.0, 0 of type G 1.0,
0 of type G other, 1590 of type L 0.0, 63335 of type L 1.0,
4770 of type L other, 0 of type Range 0.0->1.0, 0 of type Range other,
0 of type Free
No match for 1 - ? for list of commands
?
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Continuous objective value is 1.57455e+06 - 5.98 seconds
Cgl0003I 0 fixed, 0 tightened bounds, 30 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 30 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 31 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 31 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 30 strengthened rows, 0
substitutions
Cgl0003I 168 fixed, 0 tightened bounds, 30 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 12 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 28 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 3 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 2 strengthened rows, 0
substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 2 strengthened rows, 0
substitutions
Cgl0004I processed model has 91296 rows, 380808 columns (380808
integer) and 2656026 elements
Aborted
ERROR: Unexpected exception while running model cpyomo.py
        [Errno 2] No such file or directory: '/tmp/
tmptL5RXE.pyomo.soln'
 /tmp $


I'm not sure what could've caused this. Appreciate your time reading through
this, and please let me know if changes are required.

thanks
Vish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/cbc/attachments/20110823/94fb1d22/attachment.html 


More information about the Cbc mailing list