[Coin-announce] SONNET now on COIN-OR
Jan-Willem Goossens
jhmgoossens at hotmail.com
Sat Oct 5 11:12:00 EDT 2019
I'm pleased to announce SONNET on COIN-OR<https://github.com/coin-or/SONNET> !
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.
Stefan, thanks for migrating the code!
Please let me know if you have any questions or feedback.
Jan-Willem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-announce/attachments/20191005/3ee2ba67/attachment.html>
More information about the Coin-announce
mailing list