<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">David,<br>
      <br>
      Sequence was -<br>
      <br>
      names not wanted add columns<br>
      names wanted add a row - row gets a name but columns don't as size
      did not increase<br>
      <br>
      Fixed in stable - will be fixed in trunk next time I update<br>
      <br>
      John<br>
      <br>
      On 01/04/14 16:09, David Einstein wrote:<br>
    </div>
    <blockquote
cite="mid:CAHr4Sda9NFHdtTtsSfWAtJFZQg4sNtQyBz9vhbfOTkncORL6gw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">The attached code crashes with the following stack
        trace
        <div><br>
        </div>
        <div>
          <div>#0 &nbsp;0x00000031c9ebefcb in std::basic_string&lt;char,
            std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;
            &gt;::basic_string(std::string const&amp;) () from
            /lib64/libstdc++.so.6</div>
          <div>#1 &nbsp;0x0000000000454419 in
            __gnu_cxx::new_allocator&lt;std::string&gt;::construct
            (this=0x7fff32c8dd10, __p=0x3ea79a0,&nbsp;</div>
          <div>&nbsp; &nbsp; __val=&lt;error reading variable: Cannot access
            memory at address 0xffffffffffffffe8&gt;) at
            /usr/include/c++/4.8.2/ext/new_allocator.h:130</div>
          <div>#2 &nbsp;0x00000000004530fc in
            __gnu_cxx::__alloc_traits&lt;std::allocator&lt;std::string&gt;
            &gt;::construct&lt;std::string&gt; (__a=..., __p=0x3ea79a0,&nbsp;</div>
          <div>&nbsp; &nbsp; __arg=&lt;error reading variable: Cannot access
            memory at address 0xffffffffffffffe8&gt;) at
            /usr/include/c++/4.8.2/ext/alloc_traits.h:216</div>
          <div>#3 &nbsp;0x0000000000452600 in std::vector&lt;std::string,
            std::allocator&lt;std::string&gt; &gt;::push_back
            (this=0x7fff32c8dd10,&nbsp;</div>
          <div>&nbsp; &nbsp; __x=&lt;error reading variable: Cannot access memory
            at address 0xffffffffffffffe8&gt;) at
            /usr/include/c++/4.8.2/bits/stl_vector.h:905</div>
          <div>#4 &nbsp;0x000000000072843f in
            ClpPresolve::gutsOfPresolvedModel (this=0x2dbecd0,
            originalModel=0x285a3a0, feasibilityTolerance=1e-08,
            keepIntegers=true, numberPasses=5,&nbsp;</div>
          <div>&nbsp; &nbsp; dropNames=false, doRowObjective=false,
            prohibitedRows=0x0, prohibitedColumns=0x0) at
            ../../../coin-Cbc/Clp/src/ClpPresolve.cpp:2418</div>
          <div>#5 &nbsp;0x000000000072049e in ClpPresolve::presolvedModel
            (this=0x2dbecd0, si=..., feasibilityTolerance=1e-08,
            keepIntegers=true, numberPasses=5, dropNames=false,&nbsp;</div>
          <div>&nbsp; &nbsp; doRowObjective=false, prohibitedRows=0x0,
            prohibitedColumns=0x0) at
            ../../../coin-Cbc/Clp/src/ClpPresolve.cpp:119</div>
          <div>#6 &nbsp;0x000000000069d343 in
            OsiClpSolverInterface::initialSolve (this=0x2859910) at
            ../../../../coin-Cbc/Clp/src/OsiClp/OsiClpSolverInterface.cpp:231</div>
          <div>#7 &nbsp;0x000000000062a8ff in CglPreProcess::postProcess
            (this=0x7fff32c905d0, modelIn=..., deleteStuff=true) at
            ../../../../coin-Cbc/Cgl/src/CglPreProcess/CglPreProcess.cpp:3862</div>
          <div>#8 &nbsp;0x0000000000437bef in CbcMain1 (argc=7,
            argv=0x7fff32c96980, model=..., callBack=0x41f4aa
            &lt;dummyCallBack(CbcModel*, int)&gt;, parameterData=...)</div>
          <div>&nbsp; &nbsp; at ../../../coin-Cbc/Cbc/src/CbcSolver.cpp:6648</div>
          <div>#9 &nbsp;0x000000000041fe92 in CbcMain1 (argc=7,
            argv=0x7fff32c96980, model=..., callBack=0x41f4aa
            &lt;dummyCallBack(CbcModel*, int)&gt;) at
            ../../../coin-Cbc/Cbc/src/CbcSolver.cpp:1289</div>
          <div>#10 0x000000000041fb90 in CbcMain1 (argc=7,
            argv=0x7fff32c96980, model=...) at
            ../../../coin-Cbc/Cbc/src/CbcSolver.cpp:1159</div>
          <div>#11 0x00000000004062f8 in main (argc=1,
            argv=0x7fff32c97c18) at galton11.cpp:295</div>
        </div>
        <div><br>
        </div>
        <div>Removing the #if 0 .. #endif on lines 246 and 249 makes
          things run well. &nbsp;Turning off preprocessing also works. &nbsp;I
          suspect that I should have built the model as an
          OsiClpSolverInterface directly instead of building a
          ClpSimplex and constructing the OsiClpSolverInterface from
          that.</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Cbc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a>
<a class="moz-txt-link-freetext" href="http://list.coin-or.org/mailman/listinfo/cbc">http://list.coin-or.org/mailman/listinfo/cbc</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>