excel solver
optimization
simulation
excel solver, optimization software

   solver.com

Frontline Systems, Inc.  

quadratic programming, portfolio optimization, quadratic solver 
Developers of Your Spreadsheet's Solver  
robust optimization, stochastic programming, simulation optimization
   

Solver Platform SDK - Source Code Examples


optimization, solver, Excel

 
Home
Register
What's New
Solver Tutorial
Solver Technology
Select a Product
Excel Users
Developers
MATLAB Users
Macintosh Users
Government Users
Academic Users
Press/Analysts
Privacy Policy
 

 

 
The Solver Platform SDK V7.2 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!
 
bulletStandard Examples
bulletPortfolio Optimization
bulletCutting Stock Model
bulletTraveling Salesman Problem

Standard Examples

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

SDK Example 2 - Integer Linear Programming

Below is a list of choices offered by the "standard examples" application:

bulletLinear Programming Example 1 [Dense Matrix]
bulletInteger Linear Programming Example 2 [Dense Matrix]
bulletLinear Programming Example 3 [Sparse Matrix]
bulletMarkowitz Optimization with QP Solver
bulletMarkowitz Optimization using Hessians
bulletNon-Linear Programming with GRG
bulletNon-Linear Programming with GRG using Gradients
bulletNon-Linear Programming with Evolutionary Solver
bulletMarkowitz Optimization with SOCP Solver
bulletQuadratically Constrained Programming with SOCP Solver
bulletSecond Order Cone Programming Example
bulletException Handling Example
bulletReading an MPS or OSiL File
bulletLinear Programming Infeasibility Diagnosis
bulletInteger Programming Alloc2 [Accessing Multiple Solutions]
bulletInteger Programming with All-Different Constraint
bulletSudoku Example, using All-Different Constraint
bulletCreating a Problem [Variable, Function Blocks]
bulletCreating a Problem [Adding Variable, Function Blocks]
bulletUsing a Problem Object Array
bulletTraveling Salesman Problem 1 [All-Different Constraints]
bulletTraveling Salesman Problem 2 [All-Different Constraints]
bulletSimulation Example 1
bulletSimulation Example 2
bulletSimulation Example 3, with Distribution Fitting
bulletSimulation Statistical Functions Example
bulletMultiple Simulations Example
bulletSimulation Rank Correlations Example
bulletPSD Correlation Matrix Example
bulletOptimization within Simulation Example
bulletSimulation within Optimization Example
bulletSimulation Optimization and SIP/SLURPs

Portfolio Optimization

A 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:

SDK Example - Portfolio Optimization

Cutting Stock Model

A 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:

SDK Example - Cutting Stock

Traveling Salesman Problem

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

   

Back to Solver Platform SDK Product Overview

   
spreadsheet solver
scarce resources