Telling a solver to look for an options file: .Optfile

Top  Previous  Next

If you want to cause a solver to use an option file, it is necessary to set the optfile model attribute to a positive value.  For example,

 

model mymodel /all/ ;

mymodel.optfile = 1 ;

solve mymodel using NLP maximizing dollars ;