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.

asked 19 May '15, 09:31

LinYuan's gravatar image

LinYuan
80617
accept rate: 0%

edited 19 May '15, 13:12


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#.

link

answered 19 May '15, 09:43

Bo%20Jensen's gravatar image

Bo Jensen ♦
5.0k2919
accept rate: 14%

edited 19 May '15, 09:44

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
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×5
×5
×2

Asked: 19 May '15, 09:31

Seen: 1,249 times

Last updated: 21 May '15, 07:36

OR-Exchange! Your site for questions, answers, and announcements about operations research.