byuflowlab / Snopt.jl

Julia interface to SNOPT (must obtain a licensed copy of SNOPT separately)
MIT License
18 stars 9 forks source link

Catch to not include print and summary file names in calls to snSet #12

Closed jaredthomas68 closed 2 years ago

jaredthomas68 commented 2 years ago

snSet is intended for strings containing both the key and value in the string, not for when the value alone is a string. File names are handled separately and do not need to be set with snSet. For more information please see https://web.stanford.edu/group/SOL/guides/sndoc7.pdf page 66 (sec 7.5).

The catalyst for the change was to suppress warnings due to errors returned by calls to snSet that in practice should not have been made in the first place.