C# Linear Programming

C# Linear Programming

NMath from CenterSpace Software is a .NET class library that provides general vector and matrix classes, complex number classes, and numerical integration and differentiation methods.

In NMath, class SimplexLPSolver solves linear programming problems using the simplex method. A linear programming (LP) problem optimizes a linear objective function subject to a set of linear constraints, and optionally subject to a set of variable bounds. This functionality can be called from any .NET language including VB.NET and F#.

The NMath library is part of CenterSpace Software's NMath Suite of numerical libraries, which provides building blocks for mathematical, financial, engineering, and scientific applications on the .NET platform. Features include matrix and vector classes, linear algebra, random number generators, numerical integration methods, interpolation, statistics, biostatistics, multiple linear regression, analysis of variance (ANOVA), optimization, and object-oriented interfaces to public domain computing packages such as the BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra PACKage). All NMath routines are callable from any .NET language, including C#, Visual Basic.NET, and F#.

Linear Programming Documentation

Complete documentation for all NMath libraries is available online. For more information on linear programming, see:

  • This chapter on linear programming in the NMath User's Guide provide general background information.
  • The API documentation for class SimplexLPSolver in the NMath Reference Guide, along with a simple code example.

Linear Programming Code Examples

All NMath libraries include extensive code examples in both C# and Visual Basic.NET. Studying these examples is one of the best ways to learn how to use NMath libraries. For more information on linear programming, see:

  • LinearProgrammingExample [C#]  [VB.NET]
    Example showing how to solve a linear model.

Try a Free Evaluation

If you are interested in evaluating the  simplex solver class in NMath, we offer a free trial version, for a 30-day evaluation period. This trial version is a fully featured distribution of NMath with no limitations. In only a few minutes you can be enjoying the power of NMath.

Buy Now

Orders may be placed through our secure online store using either google checkout or paypal checkout. Our sales staff would be happy to help you with any questions that you may have about our products.  We are looking forward to working with you!