Mercurial > hg > octave-lyh
diff scripts/optimization/qp.m @ 6417:e25f55e1b226
[project @ 2007-03-20 01:09:03 by jwe]
author | jwe |
---|---|
date | Tue, 20 Mar 2007 01:09:03 +0000 |
parents | 34f96dd5441b |
children | 589c8dbba916 |
line wrap: on
line diff
--- a/scripts/optimization/qp.m +++ b/scripts/optimization/qp.m @@ -236,7 +236,6 @@ ub = []; ctype = repmat ("L", n_in, 1); [P, dummy, status] = glpk (ctmp, Atmp, btmp, lb, ub, ctype); - if ((status == 180 || status == 181 || status == 151) && all (abs (P(n-n_eq+1:end)) < rtol * (1 + norm (btmp)))) ## We found a feasible starting point