language agnostic - Converting mathematical formula into an programmatic algorithm -


I am working on changing the mathematical formula in a program. This formula is called the optimum price policy for lost products. I have seen it in an article and it is called the condition of the Karush-Kuhn-Tucker. Somehow I lost all my math skills and was unable to understand in that formula. I am able to understand how to come up with a solution to get the optimum value, but I am worried that I can not solve the situation given in this article. I am linking you for reference if someone wants me plain English In this, it can explain the situation of Karush-Kuhn-Tucker, so I can think in terms of programming language. I am not interested in language, I am ready to implement any language.

In addition to the math stack exchange posted on the question.

Did anybody come in such a situation? How to come up with a programmatic solution for this kind of mathematical formula?

There is a wiki article for this

If there are any already developed libraries for such a formula, please let me know.

If you have a program described by KKT conditions, then you just need a non-linear solver is.


Comments