# Message Boards

Posted 9 years ago
3745 Views
|
0 Replies
|
0 Total Likes
|
 I tried using Method -> "QuadraticProgramming" in FindMinimum and got some strange error messages, which I illustrate with a simple problem. The strangest was that a constraint is required. In:= FindMinimum[x^2 + y^2, {x, y}, Method -> "QuadraticProgramming"] During evaluation of In:= FindMinimum::qpuncon: Method -> QuadraticProgramming cannot be used on an unconstrained optimization problem. >> Out= FindMinimum[x^2 + y^2, {x, y}, Method -> "QuadraticProgramming"] In:= FindMinimum[{x^2 + y^2, 1 <= 2}, {x, y}, Method -> "QuadraticProgramming"] During evaluation of In:= FindMinimum::lpmp2: Warning: Method -> CLP is specified for a non-machine-precision problem;the problem will be converted into machine precision. Used Method -> Simplex for non-machine-number problem. >> Out= {0., {x -> 0., y -> 0.}} In:= FindMinimum[{x^2 + y^2, 1 <= 2}, {x, y}, Method -> "Simplex"] During evaluation of In:= FindMinimum::bdmtd: Value of option Method -> Simplex is not Automatic, "Gradient", "ConjugateGradient", "InteriorPoint", "QuasiNewton", "Newton", "LinearProgramming", "QuadraticProgramming", or "LevenbergMarquardt". >> Out= FindMinimum[{x^2 + y^2, 1 <= 2}, {x, y}, Method -> "Simplex"] In:= FindMinimum[{x^2 + y^2, 1 <= 2}, {x, y}, Method -> "CLP"] During evaluation of In:= FindMinimum::bdmtd: Value of option Method -> CLP is not Automatic, "Gradient", "ConjugateGradient", "InteriorPoint", "QuasiNewton", "Newton", "LinearProgramming", "QuadraticProgramming", or "LevenbergMarquardt". >> Out= FindMinimum[{x^2 + y^2, 1 <= 2}, {x, y}, Method -> "CLP"]