[Osi] OsiGrbSolverInterface Bug

Yacine Gaoua y.gaoua at yahoo.com
Fri Mar 31 04:42:07 EDT 2017


Hi,
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 => (Unhandled exception to 0x751fc54f in smart_grid_CoinOR.exe: Microsoft C ++ Exception: CoinError to memory location 0x0045f010 ..).
For th rest of Solvers (CPLEX, XPRESS, MOSEK) it running well.
int main(){
  //OsiSolverInterface *si= new OsiCpxSolverInterface();   //OsiSolverInterface *si= new OsiXprSolverInterface();  //OsiSolverInterface *si= new OsiMskSolverInterface(); 
  OsiSolverInterface *si= new OsiGrbSolverInterface(); //Error 
 si->readLp("test1.lp");  si->branchAndBound();
return 0;}
Thanks for help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/osi/attachments/20170331/6e3b5181/attachment.html>


More information about the Osi mailing list