[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect qp result
From: |
sshah |
Subject: |
Re: Incorrect qp result |
Date: |
Tue, 24 Apr 2018 23:34:21 -0700 (MST) |
Are you sure this is a convex qp problem?
1) Is the objective convex?
H is non-symmetric with eig(H) < 0. So, it is not a convex objective. Try
with H positive definite.
2) given 0 <= lb <= x=ub , and H positive definite, it is not feasible to
get an objective value =0.
If you change the objective function to be convex, qp most likely will give
correct answers.
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html