Does sqp example work ?

Dupuis Pascal.Dupuis at worldonline.be
Fri Jan 11 04:36:14 CST 2008


Hello,
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 ?

TIA

Pascal Dupuis
-- 
View this message in context: http://www.nabble.com/Does-sqp-example-work---tp14753550p14753550.html
Sent from the Octave - Bugs mailing list archive at Nabble.com.



More information about the Bug-octave mailing list