compiles and links a SIF problem with Scilab
buildprob(Path [,Pname])
string, path of the directory where the problem files were created by sifdecode
string, the problem name. If omitted it is set to basename(Path)
After a SIF problem had been decoded using
sifdecode
, builprob
has to be used
to compile the generated routines, and to link them together with the
CUTEr stuff and Scilab. This defines scilab functions usetup, udimen,
unames, uvarty, ufn, ugr, uofg, udh, ugrdh, ureprt, uprod, udimsh, ush, ubandh
When a problem is no more used into Scilab or to work with an other one, unlink('siftools') as to be executed to remove the current problem out of Scilab.
p=get_sif_path() sifdecode(p+'sif/BROWNDEN.SIF',TMPDIR+'/BROWNDEN') unix_g('ls '+TMPDIR+'/BROWNDEN') buildprob(TMPDIR+'/BROWNDEN') // perform computation with that problem //.... unlink('siftools') //remove problem out of Scilab | ![]() | ![]() |
Serge Steer, INRIA
Based on CUTEr authored by
Nicholas I.M. Gould - n.gould@rl.ac.uk - RAL
Dominique Orban - orban@ece.northwestern.edu - Northwestern
Philippe L. Toint - Philippe.Toint@fundp.ac.be - FUNDP
see http://hsl.rl.ac.uk/cuter-www