Solver Platform SDK - Source Code ExamplesSource Code ExamplesThe Solver Platform SDK includes a comprehensive set of 35 examples, with complete source code in C++, C#, Visual Basic, VB.NET, Java and MATLAB®, that show you how to define and solve every type of optimization and simulation problem -- from linear / integer programming to efficient portfolios and simulation optimization. We've even included source code of a high-performance Sudoku solver! Standard ExamplesYou can build and run the examples in each of the supported languages -- using Visual Studio 2005, Visual Studio .NET 2003, Visual C++ 6, Visual Basic 6, your favorite Java IDE, or MATLAB. When you run the "standard examples" application in each language, you can select an example from a dropdown list, see the results generated when you run the example, and simultaneously view the source code that produces those results. Below is a simple linear / integer programming example in C#:
Below is a list of choices offered by the "standard examples" application:
Portfolio OptimizationA Markowitz portfolio optimization example included with the SDK shows you how simple it is to compute a series of points on the efficient frontier, and display them in different ways using a standard Microsoft chart component. Here's an example of one of the chart displays:
Cutting Stock ModelA Gilmore-Gomory cutting stock example included with the SDK shows you how easy it is to define and solve "master" and "slave" problems, and use the results from one problem as inputs to the other problem, finding an optimal solution through an iterative process often called "column generation." Here's an example of one solution displayed by this application:
Traveling Salesman ProblemThe classic Traveling Salesman Problem (TSP) is easy to solve using the "alldifferent" constraint supported by all Solver Engines in the Solver Platform SDK. Here's the display produced by the TSP example in Visual Basic 6. The same example in VB.NET, C#, C++, and Java uses a larger, higher resolution map of the United States. |
Platform Capabilities What's New in Version 10.0 Language/OS Support Monte Carlo Simulation Plug-in Solver Engines |
