Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quadratic Programming in C# / .NET

Does anyone know of a free package that will solve quadratic programming problems in C#?

I've googled and found a few. But it's hard to tell which is the best and fastest. Does anyone have a favorite?

like image 309
Michael Covelli Avatar asked Apr 22 '10 01:04

Michael Covelli


People also ask

How do you program a quadratic equation in c?

h> #include <math. h> int main(void) { double a,b,c,root1,root2; printf(" Please enter a \n"); scanf("%lf",&a); printf(" Please enter b \n"); scanf("%lf",&b); printf(" Please enter c \n"); scanf("%lf",&c); if (b*b-4.

What is quadratic in c programming?

The standard form of a quadratic equation is: ax2 + bx + c = 0, where a, b and c are real numbers and a != 0. The term b2; - 4ac is known as the discriminant of a quadratic equation. It tells the nature of the roots. If the discriminant is greater than 0 , the roots are real and different.

What is the quadratic programming problem?

A quadratic programming (QP) problem has a quadratic cost function and linear constraints. Such problems are encountered in many real-world applications. In addition, many general nonlinear programming algorithms require solution of a quadratic programming subproblem at each iteration. As seen in Eqs.

What is the c-value in a quadratic function?

C-value - also called the y-intercept of the parabola, this is where the x-value is zero, and graphically, this is where the graph intersects the y-axis.


2 Answers

ALGLIB is a great library with both free (GPL) and commercial licenses available. It has good documentation and offers a number of optimization algorithms.

like image 72
Andreas Avatar answered Sep 23 '22 03:09

Andreas


Perhaps the MS Solver Foundations?

http://msdn.microsoft.com/en-us/devlabs/hh145003

like image 20
Mario Vernari Avatar answered Sep 22 '22 03:09

Mario Vernari