-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CUTEstModel - Path with blank spaces #252
Comments
Hi @leonardosecchin, thanks for the issue. I have a few clarification questions: You're trying |
Hi, This is the complete path to SIF file: /home/leonardo/Dropbox/UFES/Otimizacao 2/julia/sif/AKIVA.SIF basename: operando extra “.SIF” |
Makes sense, I'll have to take a look to see whether it's inside CUTEst.jl or just CUTEst. |
If the environment variable MASTSIF has no blank spaces, CUTEstModel works. |
Hello again. I've tried to run CUTEst directly and it fails too, so it's not an issue with the Julia wrapper, but with the sifdecoder code. Example:
I went into the -251 PROBNAME=`basename $PROBLEM .SIF`
+251 PROBNAME=`basename "$PROBLEM" .SIF`
-252 PROBDIR=`dirname $PROBLEM`
+252 PROBDIR=`dirname "$PROBLEM"`
-400 $LN -s $PROBDIR/${PROBNAME}.SIF ./$TEMPNAME.SIF
+400 $LN -s "$PROBDIR/${PROBNAME}.SIF" ./$TEMPNAME.SIF and apparently, it works. I just don't know a good way to test it. @dpo, do you? |
Fixed with the release v0.13.3. |
Hi,
I am using Julia 1.5.3.
The routine "CUTEstModel" apparently does not handle paths containing blank spaces when reading a SIF file.
Sincerely,
Leonardo.
The text was updated successfully, but these errors were encountered: