Dear Adrien,
Thank your for your reply and letting me know qpsolve.
The function qpsolve really makes linear constraints
and so it may help me.
Unfortunately, my equations to be solved are not linear
but trigonometric. The problem is not straightforward,
but I will try to check whether it is po
Hy Toschi
I guess one way is to use qpsolve (or qp_solve or quapro), using 0as bounds, and adding the linear constraint x1-x2<0 (or maybe x1+x2 <= 1 )
Does that make sense?
Adrien
On 08/05/2014 03:14, toshi wrote:
Hi!
I'm trying to solve simultaneous equations using Scilab.
The constraints
Hy Toschi
I guess one way is to use qpsolve (or qp_solve or quapro), using 0as bounds, and adding the linear constraint x1-x2<0 (or maybe x1+x2 <= 1 )
On 08/05/2014 03:14, toshi wrote:
Hi!
I'm trying to solve simultaneous equations using Scilab.
The constraints of the variables are like 0 < x
Hi!
I'm trying to solve simultaneous equations using Scilab.
The constraints of the variables are like 0 < x1 < x2 < 1.
A program using leastsq shown below does not work:
--
binf = [ 0, xopt(1)];
bsup = [xopt(2), 1]
[fopt, xopt] = leas