<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1490944904702_14157">Hi,</div><div id="yui_3_16_0_ym19_1_1490944904702_14157"><br></div><div id="yui_3_16_0_ym19_1_1490944904702_14157" dir="ltr">I am using Gurobi Osi interface to solve my problem on vc++ 2010. But when i call solving method, Gurobi stop running whith an error message => (<span id="yui_3_16_0_ym19_1_1490944904702_14514" style="color: rgb(33, 33, 33); font-family: arial, sans-serif; white-space: pre-wrap;">Unhandled exception to 0x751fc54f in smart_grid_CoinOR.exe: Microsoft C ++ Exception: CoinError to memory location 0x0045f010 ..</span>).</div><div id="yui_3_16_0_ym19_1_1490944904702_14157" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1490944904702_14157" dir="ltr">For th rest of Solvers (CPLEX, XPRESS, MOSEK) it running well.</div><div id="yui_3_16_0_ym19_1_1490944904702_14157" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1490944904702_14157" dir="ltr">int main(){<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14285">  //OsiSolverInterface *si= new OsiCpxSolverInterface(); </div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14551"><span style="white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1490944904702_14552"> </span> //OsiSolverInterface *si= new OsiXprSolverInterface(); </div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14555"><span style="white-space: pre-wrap;" id="yui_3_16_0_ym19_1_1490944904702_14556"> </span>//OsiSolverInterface *si= new OsiMskSolverInterface(); </div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14555"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14286">  OsiSolverInterface *si= new OsiGrbSolverInterface(); //Error <br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14291"><span style="white-space:pre-wrap;" id="yui_3_16_0_ym19_1_1490944904702_14292">  </span>si->readLp("test1.lp");</div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14295"><span style="white-space: pre-wrap;">  </span>si->branchAndBound();<br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14295">return 0;</div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14295">}</div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14295"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1490944904702_14295">Thanks for help</div></div></body></html>