Does sqp example work ?
John W. Eaton
jwe at bevo.che.wisc.edu
Fri Jan 11 11:37:17 CST 2008
On 11-Jan-2008, Dupuis wrote:
| I'm trying to use sqp, and the example given in the help does not work.
| Instead, I get
| [x, obj, info, iter, nf, lambda] = sqp (x0, @phi, @g, [])
| x =
| -1.80000
| 1.70000
| 1.90000
| -0.80000
| -0.80000
|
| obj = 0.020930
| info = 101
| iter = 1
| nf = 44
| lambda =
|
| 2.1964e-314
| 5.3050e-313
| 3.3471e-265
|
| I tried setting the path to the strict minimum, i.e.
| path(genpath("/usr/share/octave/3.0.0/m"))
| addpath('/usr/lib/octave/3.0.0/oct/i486-pc-linux-gnu')
| then clearing everything, same result.
| Platform: PC with AMD Ahtlon, Debian: octave3.0/sid uptodate 3.0.0-1 (i386)
|
| Could someone check if the example is correct ?
It worked when I wrote the documentation because I just cut and pasted
the output from an Octave session.
jwe
More information about the Bug-octave
mailing list