qp() in Octave 3.0.0 returns result egregiously violating input constraints
Ben Abbott
bpabbott at mac.com
Sun Apr 6 18:23:31 CDT 2008
On Apr 6, 2008, at 5:11 PM, Gabriele Pannocchia wrote:
>
>> oppps ... sorry, I have no idea how to determine that. How might that
>> be done?
>
> Put a keyboard command in qp.m before line 273, i.e. right before the
> "__qp__" call and check:
> norm(A*x0-b)
> (which should be small)
> all(Ain*x0 > bin-tol)
> which should be 1 (these are all inequality constraints in the form
> required by __qp__)
>
> Gabriele
>
I realized that my prior reply might not include all information you
were looking for. The results for the "default" and the "release-3-0-
x" branches are the same.
norm(A*x0-b)
ans = 5.3892e-16
all(Ain*x0 > bin-tol)
ans = 1
Ben
More information about the Bug-octave
mailing list