Re: [Scilab-users] How can I solve simultaneous eqs with "dynamic" boundaries ?

2014-05-13 Thread toshi
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

Re: [Scilab-users] How can I solve simultaneous eqs with "dynamic" boundaries ?

2014-05-12 Thread Adrien Vogt-Schilb
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

Re: [Scilab-users] How can I solve simultaneous eqs with "dynamic" boundaries ?

2014-05-12 Thread Adrien Vogt-Schilb
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

[Scilab-users] How can I solve simultaneous eqs with "dynamic" boundaries ?

2014-05-09 Thread toshi
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