Hello All -
First of all, thank you very much for providing such a great library and an invaluable learning resource.
I have a function of two variables which I'd like to maximize using Alglib for C#. I've decided to use the BFGS optimizer, only passing in the function, no gradient. After reading through the reference manual, it looks like the call to alglib.minlbfgssetcond() is where I define the conditions for the optimization. In the manual, however, it's not clear how I would specify that I'm looking to maximize the function result. I'm thinking I just need to pass in a value for the EpsF argument, but which value would tell the library that I'm looking for a max? Also, is it valid to pass in zeroes for the other arguments? Will that change the optimization?
I'm very new to this, so I apologize in advance for the rookie nature of these questions.
Thanks for your help.
- MrBrownstone
|