<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:12pt"><div>Hi</div><div><br></div><div>I compiled that code through "marking all the codes in Scilab notes and choosing the first option "simulte with eco". Well, </div><div>I used to proceed like that using Scilab 5.3.</div><div><br></div><div>But now, under 5.4 version, it fails ... :-(</div><div><br></div><div>All best,</div><div>Reinaldo.</div><div><br></div>  <div style="font-size: 12pt; font-family: 'bookman old style', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">De:</span></b> Adrien Vogt-Schilb <vogt@centre-cired.fr><br> <b><span style="font-weight: bold;">Para:</span></b> users@lists.scilab.org <br> <b><span style="font-weight:
 bold;">Enviadas:</span></b> Sexta-feira, 25 de Maio de 2012 10:33<br> <b><span style="font-weight: bold;">Assunto:</span></b> Re: [scilab-Users] Problem on optimization function (Scilab 5.4)<br> </font> </div> <br><meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv547705135">
  

    
  
  <div>
    Hi<br>
    <br>
    please try to send minimal programs that reproduce the problem (as
    above)<br>
    <br>
    (you should also use the 'exec' command instead of copy/pasting your
    code in the console)<br>
    <br>
    i cannot help you, as i am not familiar with linpro<br>
    are you sure that linpro accepts %inf as valid superior constraint?
    you cna check this in the linpro page<br>
    <br>
    <br>
    <br>
    On 25/05/2012 14:59, Reinaldo wrote:
    <blockquote type="cite"><span>
        <div> </div>
        <div>-->p = [-13 -16 -16 -14 -39]'; </div>
        <div> </div>
        <div>-->C =  [</div>
        <div>-->       11 53 5 5 29</div>
        <div>-->        3  6 5 1 34</div>
        <div>-->        1  0 0 0  0</div>
        <div>-->        0  1 0 0  0</div>
        <div>-->        0  0 1 0  0</div>
        <div>-->        0  0 0 1  0</div>
        <div>-->        0  0 0 0  1</div>
        <div>-->      ];  </div>
        <div> </div>
        <div> </div>
        <div>-->b = [40 20 1 1 1 1 1]';  </div>
        <div>-->ci=[0 0 0 0 0]';  </div>
        <div> </div>
        <div>-->cs=[%inf %inf %inf %inf %inf]'; </div>
        <div> </div>
        <div>-->[x1,lagr,f]=linpro(p,C,b,ci,cs)  </div>
        <div>Warning:</div>
        <div>/Applications/scilab-5.4.0-alpha-1.app/Contents/MacOS/share/scilab/contrib/quapro/1.1-2/macros/quapro.bin</div>
        <div><br>
        </div>
        <div> f  =</div>
        <div> </div>
        <div>    1.  </div>
        <div> lagr  =</div>
        <div> </div>
        <div>    0.  </div>
        <div> x1  =</div>
        <div> </div>
        <div>    0.  </div>
        <div> </div>
        <div>Warning: stack problem..., solved</div>
        <div><br>
        </div>
        <div>--></div>
        <div> </div>
      </span></blockquote>
    <br>
  </div>

</div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br> </div> </div>  </div></body></html>