title: How to copy a SoPlex model?
body: <p>I am using SoPlex to set up a lp and solve it. I then try to make a copy of the original lp and modify it. My code looks like this:</p>
  
  <pre><code>int main()
  {
     using namespase soplex;
     SoPlex spx;
     // add columns
     // add rows
     auto status = spx.optimize();
  
     SoPlex copy(spx);
     // modify some columns
  
     status = copy.optimize();
  
     return 0;
  }
  </code></pre>
  
  <p>When I run my code in valgrind, I notice that memory allocated by methods inside the <code>SoPlex</code> copy constructor are not freed.</p>
  
  <p>Is there a memory leak inside <code>SoPlex</code> or am I not using it correctly?</p>