<div style="line-height:1.7;color:#000000;font-size:14px;font-family:System"><div>Hi,</div><div><br /></div><div>I am using SoPlex 5.0.2 as a callable lib (coded in C++) to solve a LP problem. </div><div><br /></div><div>The tested instance is truely simple. However, SoPlex reports:</div><div><br /></div><div>"Error: SoPlex returned with status -7." </div><div><br /></div><div>if I use  "row first column second" adding method, the outline code of which are as follows:</div><div><br /></div><div>/*add rows*/</div><div><div>for (int k = 0; k < n; k++){<span style="white-space: pre;">                </span></div><div><span style="white-space:pre">      </span>DSVector row(0);</div><div><span style="white-space:pre">      </span>model.addRowReal(LPRow(row, soplex::LPRow::Type::LESS_EQUAL, rhs));</div><div>}</div></div><div><br /></div><div>/*add columns*/</div><div><div>for (int k = 0; k < m; k++){</div></div><div><div>        DSVector var(2);</div><div><span style="white-space:pre">   </span>...<span style="white-space: pre;">        </span></div></div><div>        model.addColReal(LPCol(ege->distance, var, infinity, 0.0));</div><div>}</div><div><br /></div><div><br /></div><div>SoPlex will works well if I code follow the "column first row second" method, in which the same instance can be solved in 0.01 seconds.</div><div><br /></div><div>I also tried the function 'SetRealParam' to set the time limit: "model.setRealParam(SoPlex::TIMELIMIT, 10);" . But still failed.</div><div><br /></div><div>I need to use the "row first column second" method as there is a special structure in my formulation. </div><div><br /></div><div><br /></div><div>I much appreciate if anyone who tell me what is the most possible reason or what should I do to make SoPlex works. </div><div><br /></div><div>Thanks a lot.</div><div><br /></div><div><br /></div><div>Regards!</div><div><br /></div><div><br /></div><div>-------------------------------------------------------------</div><div>Waiming Zhu</div><div>School of Management, Hefei University of Technology</div><div><br /></div><div><br /></div></div><br>