Page 1 of 1

Implementing option-file for bonmin

Posted: Sat Feb 27, 2021 12:50 pm
by Gaucho
Hello,

I have the following problem: I want to test out different Bonmin- algorithms using an option file.
However I couldn't figure out how to implement the file I created to the model.

I created a bonmin.opt file changing the algorithm but when I try implementing it I fail.
Any suggestions?

Thank you in advance and have a nice weekend!

Re: Implementing option-file for bonmin

Posted: Sat Feb 27, 2021 5:37 pm
by abhosekar
You also have to tell GAMS that you have defined an option file using modelname.opt = 1
I assume you have created options file in the same directory as your GAMS code so that GAMS is able to locate it.
Finally, you should see in the process log if the file is being read and the options as well as errors related to options file (if any)

- Atharv

Re: Implementing option-file for bonmin

Posted: Sun Feb 28, 2021 1:35 pm
by Gaucho
Thank you very much, now it works as it should.

Have a nice day!