[Cbc] Segmentation fault with my problem (2.8.3)

John Forrest john.forrest at fastercoin.com
Tue Mar 11 16:23:34 EDT 2014


Fixed in svn.

Change is just to add to CbcSolver.cpp

                        // Write solution header (suggested by Luigi 
Poderico)
+                    // Refresh solver
+                    lpSolver = clpSolver->getModelPtr();
                        lpSolver->computeObjectiveValue(false);

John Forrest


On 11/03/14 17:34, Rémy Roy wrote:
> Hello,
>
> I just tried this problem again with 2.8.9 and I'm still getting the 
> segmentation fault:
>
> ~$ cbc exception-cbc.mps branch printingOptions rows solution 
> exception-cbc.mps.sol
> Welcome to the CBC MILP Solver
> Version: 2.8.9
> Build Date: Mar 11 2014
>
> command line - cbc exception-cbc.mps branch printingOptions rows 
> solution exception-cbc.mps.sol (default strategy 1)
> At line 2 NAME          MODEL
> At line 3 ROWS
> At line 8 COLUMNS
> At line 22 RHS
> At line 26 BOUNDS
> At line 32 ENDATA
> Problem MODEL has 3 rows, 4 columns and 6 elements
> Coin0008I MODEL read with 0 errors
> Continuous objective value is 0 - 0.00 seconds
> Cgl0004I processed model has 1 rows, 2 columns (2 integer) and 2 elements
> 1 infeasibilities
> Problem is infeasible!
> Option for printingOptions changed from normal to rows
> Segmentation fault (core dumped)
>
> Was this supposed to be solved?
>
> exception-cbc.mps is still the same file on http://pastebin.com/zAdbGWfY
>
> Regards,
>
> Rémy
>
>
> 2013-09-11 12:57 GMT-04:00 Stefan Vigerske <stefan at math.hu-berlin.de 
> <mailto:stefan at math.hu-berlin.de>>:
>
>     Hi,
>
>     the issue from
>     http://list.coin-or.org/pipermail/cbc/2013-August/001141.html
>     has been fixed and the fix will be in the next release.
>
>     You could check out a pre-release (aka bugfix branch aka stable
>     branch) via svn by doing
>       svn checkout https://projects.coin-or.org/svn/Cbc/stable/2.8
>
>     Stefan
>
>
>
>     On 09/11/2013 06:50 PM, Rémy Roy wrote:
>
>         Hello,
>
>         There is a segmentation fault when I try to solve this problem
>         (MPS
>         file: http://pastebin.com/zAdbGWfY) with the following command
>         line
>         using cbc 2.8.3:
>
>              $ cbc /tmp/24371-pulp.mps branch printingOptions rows
>         solution
>              /tmp/24371-pulp.sol
>              Welcome to the CBC MILP Solver
>              Version: 2.8.3
>              Build Date: Sep 11 2013
>
>              command line - cbc /tmp/24371-pulp.mps branch
>         printingOptions rows
>              solution /tmp/24371-pulp.sol (default strategy 1)
>              At line 2 NAME          MODEL
>              At line 3 ROWS
>              At line 8 COLUMNS
>              At line 22 RHS
>              At line 26 BOUNDS
>              At line 32 ENDATA
>              Problem MODEL has 3 rows, 4 columns and 6 elements
>              Coin0008I MODEL read with 0 errors
>              Continuous objective value is 0 - 0.00 seconds
>              Cgl0004I processed model has 1 rows, 2 columns (2
>         integer) and 2
>              elements
>              1 infeasibilities
>              Problem is infeasible!
>              Option for printingOptions changed from normal to rows
>              Segmentation fault (core dumped)
>
>
>         This might be related to
>         http://list.coin-or.org/pipermail/cbc/2013-August/001141.html .
>
>         Was this problem solved already? If so, is there any planned
>         release
>         that would include this fix? It seems like 2.8.3 is the latest
>         version
>         on http://www.coin-or.org/download/source/Cbc/ .
>
>         Regards,
>
>
>
>         _______________________________________________
>         Cbc mailing list
>         Cbc at list.coin-or.org <mailto:Cbc at list.coin-or.org>
>         http://list.coin-or.org/mailman/listinfo/cbc
>
>
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20140311/f22acea1/attachment-0001.html>


More information about the Cbc mailing list