Re: [Scilab-users] Least squares problem call to fmincon - HELP

2020-01-10 Thread David Brant
Yes, i have run all 7 examples in 'documentation' and the spring & circular tank design problems in the 'examples' without issue. -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing list

Re: [Scilab-users] Least squares problem call to fmincon - HELP

2020-01-10 Thread Stéphane Mottelet
Did you try one of the examples provided in the help page of fmincon (as a sanity test of FOT) ? I don't see any stupid error in your code. S. Le 10/01/2020 à 15:25, David Brant a écrit : Many thanks for getting back Stéphane. I tried your suggestion with the gradient option, but got a

Re: [Scilab-users] Least squares problem call to fmincon - HELP

2020-01-10 Thread David Brant
Many thanks for getting back Stéphane. I tried your suggestion with the gradient option, but got a problem: !--error 26 Too complex recursion! (recursion tables are full) at line 2 of function fun called by : at line 2 of function fGrad called by : sample_fGrad=fGrad(x0) at line

[Scilab-users] Least squares problem call to fmincon - HELP

2020-01-09 Thread David Brant
How may i (if possible?) reconfigure the least-squares problem to be solved with a minimalist call to fmincon (from the fossee toolbox)? I tried everything, but must be (seriously?) overlooking something! Perhaps something like: function z=fun(p)