1

I am adapting a Java program from C++ and need a C++ function to perform the same task as the Java BOBYQAOptimizer() function. Can anyone recommend a C/C++ library with equivalent or similar functions and good documentation on how to use them? I've found one that might be suitable ( http://dlib.net/optimization.html ), but it's not entirely clear if its optimizers can be used for this task.

The program is intended to find the set of parameters that give the maximum statistical likelihood of a phylogenetic tree of HIV virus data across thousands of patients. The parameters are infection rates between demographic groups. (Different versions use either 4 or 8 groups, giving 16 or 64 parameters, though in practice some are held constant at 0.)

  • Does this interface http://dlib.net/optimization.html#find_min_bobyqa , http://dlib.net/dlib/optimization/optimization_bobyqa_abstract.h.html to BOBYQA from C++ do what you want? If you like your BOBYQA, you can keep your BOBYQA. – Mark L. Stone Aug 30 '16 at 14:57
  • That's the one I'm not sure if I can use or not, because the documentation doesn't give an example so I don't have a clear notion of how to implement it. – Keith Fraser Aug 30 '16 at 16:54

0 Answers0