[scilab-Users] Problem on optimization function (Scilab 5.4)
Adrien Vogt-Schilb
vogt at centre-cired.fr
Fri May 25 15:33:00 CEST 2012
Hi
please try to send minimal programs that reproduce the problem (as above)
(you should also use the 'exec' command instead of copy/pasting your
code in the console)
i cannot help you, as i am not familiar with linpro
are you sure that linpro accepts %inf as valid superior constraint? you
cna check this in the linpro page
On 25/05/2012 14:59, Reinaldo wrote:
> -->p = [-13 -16 -16 -14 -39]';
> -->C = [
> --> 11 53 5 5 29
> --> 3 6 5 1 34
> --> 1 0 0 0 0
> --> 0 1 0 0 0
> --> 0 0 1 0 0
> --> 0 0 0 1 0
> --> 0 0 0 0 1
> --> ];
> -->b = [40 20 1 1 1 1 1]';
> -->ci=[0 0 0 0 0]';
> -->cs=[%inf %inf %inf %inf %inf]';
> -->[x1,lagr,f]=linpro(p,C,b,ci,cs)
> Warning:
> /Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/quapro/1.1-2/macros/quapro.bin
>
> f =
> 1.
> lagr =
> 0.
> x1 =
> 0.
> Warning: stack problem..., solved
>
> -->
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120525/df45c7d3/attachment.htm>
More information about the users
mailing list