Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I solve non concave quadratic problem in matlab with constraints. I tried using quadprog but it doesn't work

share|cite|improve this question
Why doesn't it work? What output does MATLAB give? – Daryl Dec 7 '12 at 23:13
It does give me values but they are not correct. Also it takes a long time to stop. I want a iterative solution, that lets me iterate up to the number of times I want. Further matlab's quadprog expects a convex function – user34790 Dec 7 '12 at 23:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.