Hello, Dear OR experts, Does anyone know a branch and cut framework that is open source and written in C#? As far as I know, ABACUS, SCIP and BCP from COIN-OR are all written in C++. And from the website, it seems that some third-party libraries are available in Java. Can I use these systems in C#.NET, or can you recommend another one that provides the API for C#? I am now not considering CPLEX or GUROBI, because I want to manage my own B&B tree. Thank you very much. Any suggestions will be greatly appreciated. |
I don't think you will find a B&B framework written in C#, but unless you want only managed code, then you don't have to. The bridge between C and C# is very straight forward and you should be able to make a simple C# API around SCIP fairly easy. There might even be one available already, I don't know. Look up C# marshalling and you should find plenty of info on how to bridge between C and C#. Thank you. Just now, from earlier answers, https://www.or-exchange.org/questions/11141/general-branch-and-bound-framework, I see that there is a B&B implementation for Java: OptaPlanner. Then probably there will also be one written in C#? Maybe I need to do more things than just manage code. So perhaps using marshalling is not the direct way?
(19 May '15, 10:17)
LinYuan
@LinYuan, maybe this site will be interesting for You: http://napsu.karmitsa.fi/nsosoftware/ .
(19 May '15, 13:17)
Slavko
@Slavko, thanks for the information. This website is interesing. It contains many softwares for nonlinear programming models, most of which are written in C or Fortran. But I am seeking for the framework for MIP, in C#. Do you know any resources? Thanks.
(20 May '15, 16:57)
LinYuan
It seems to me that a certain standard in optimization was and still is Fortran. Microsoft's C# language has probably many advantages, especially for developers who write software in .Net environment. I like the classic C/C++, in which I combine library written in Fortran. This combination is effective, as evidenced by the design of R.
(21 May '15, 07:34)
Slavko
|