Mercurial > hg > octave-thorsten
changeset 5310:2fbcdc356fc7
[project @ 2005-04-27 15:38:53 by jwe]
author | jwe |
---|---|
date | Wed, 27 Apr 2005 15:38:53 +0000 |
parents | 15031c6fab31 |
children | 46de0f964c1b |
files | scripts/ChangeLog scripts/optimization/qp.m |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2005-04-27 John W. Eaton <jwe@octave.org> + + * optimization/qp.m: Define n_in after removing -Inf bounds from Ain. + 2005-04-21 John W. Eaton <jwe@octave.org> * optimization/glpk.m: Handle SENSE argument.
--- a/scripts/optimization/qp.m +++ b/scripts/optimization/qp.m @@ -166,7 +166,6 @@ endif endif endif - n_in = length (bin); ## Now we should have the following QP: ## @@ -180,6 +179,8 @@ bin(idx) = []; Ain(idx,:) = []; + n_in = length (bin); + ## Check if the initial guess is feasible. rtol = sqrt (eps);