views:

136

answers:

1

I'm working on converting a mathematical formula into a program. This formula is called as optimal pricing policy for perishable products. I've seen this in an article and it is called Karush-Kuhn-Tucker condition. Somehow I lost all my maths skills and unable to understand the formula explained in that. I'm able to understand how to come up with a solution for getting optimal price but I'm worried that I may not address the condition given in this article. For your reference I'm giving the link here. If somebody can explain me this Karush-Kuhn-Tucker condition in plain english so that I can think in terms programming language. I'm not interested in the language, i'm ready to implement in any language.

Also giving link of question I posted in mathematics stack exchange.

Did anyone come across this kind of situation? How to come up with a programmatic solution for this kind of mathematical formula?

Wiki article for the same is here

If there are any already developed libraries for this kind of formula please let me know.

+1  A: 

If you have a program described by KKT conditions, than you just need a nonlinear solver.

http://en.wikipedia.org/wiki/Nonlinear_programming

http://extensions.services.openoffice.org/project/NLPSolver

darlinton