Opened 10 years ago

Closed 9 years ago

#99 closed task (fixed)

Integrate Cbc in C# project

Reported by: carfermar Owned by:
Priority: critical Component:
Version: 2.4.1 Keywords: Cbc, C#, .NET



I try to use Cbc in a C# project. I searched a lot in COIN-OR web page but I only found a CoinMP project. I load CoinMP files in my project and I can uses sentences like CoinMP.CoinInitSolver?(""); and IntPtr? Problema = CoinMP.CoinCreateProblem?("Afiro"); res = CoinMP.CoinReadFile?(Problema, CoinMP.SOLV_FILE_MPS, urlFile + "Afiro" + ".mps"); but when I try to execute CoinMP.CoinOptimizeProblem?(Problema); the program crash.

I try too Cbc using exe file y solve my problem but outside my project. It is posible to have Cbc dll inside my project like CoinMP?

Change History (1)

comment:1 Changed 9 years ago by lou

  • Resolution set to fixed
  • Status changed from new to closed

There is now a debug DLL build for cbc trunk under VS2008. You can convert it for a release build, and to generate an assembly, if you're so inclined. Over the next while we'll be extending this as part of the (coming soon) MSFLinks project (links to Microsoft Solver Foundation). Meanwhile, I'm going to close this ticket.

Note: See TracTickets for help on using tickets.