Skip to content
A wrapper for COIN-OR mixed integer linear programming via OSI to Microsoft .NET
C# C++ C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.coin-or
MSVisualStudio
bin
examples
src
test
.gitattributes
AUTHORS.txt
CHANGELOG.txt
INSTALL.txt
LICENSE.txt
README.txt

README.txt

SONNET is a modelling API and wrapper for COIN-OR mixed integer linear programming classes for the Microsoft .NET Framework.

For the wrapper, SONNET builds on top of well-known COIN-OR C++ projects, notably Cbc, Clp and Osi, and provides these objects for use in .NET. Using this wrapper, SONNET also adds a modelling API with classes like Model, Constraint, Variable, Expression, etc., and overloaded operators.
The SONNET libraries allow for code like this:

  // C# code
  // using Sonnet;  
  Model model = new Model();
  Variable x = new Variable();
  Variable y = new Variable();
  model.Add(2 * x + 3 * y <= 10);
  model.Objective = 3 * x + y;
  Solver solver = new Solver(model, typeof(COIN.OsiClpSolverInterface));
  solver.Maximise();

You can find SONNET on 
  https://github.com/coin-or/SONNET
In particular, the latest binary release:
  https://github.com/coin-or/SONNET/tree/master/bin
Simply add the x86 or x64 libraries of Sonnet.dll and SonnetWrapper.dll to your References in Visual Studio.
For SONNET 1.2 you'll need .NET Framework 4 or later.
You can’t perform that action at this time.