Select the number of variables #247
-
Hi, I've been using CUTEst.jl for some weeks, it works great. But I have one issue. Most CUTEst problems have a variable number of variables. But after searching everywhere, I can't figure out whether we can change it when calling CUTEstModel(). Is it possible? Thanks for the great work. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @NicolasL-S, thanks for using CUTEst.jl. It should be possible to specify the values of parameters by passing additional arguments, e.g., nlp = CUTEstModel("DIXMAANJ", "-param", "M=30") These arguments are passed to the |
Beta Was this translation helpful? Give feedback.
-
It's a bit hidden in the documentation. Asking for help at the Julia prompt ?help sifdecoder should also reveal the same example. Admittedly, it should be more visible. You may be able to call |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the two very quick replies which perfectly solved my problem. As always, great support from the welcoming Julia community. |
Beta Was this translation helpful? Give feedback.
Hi @NicolasL-S, thanks for using CUTEst.jl. It should be possible to specify the values of parameters by passing additional arguments, e.g.,
These arguments are passed to the
sifdecoder
call. I do believe you will still need to verify the parameter and how it affects the number of variables looking into the .SIF file, but @dpo might correct me.