Hi, I would like to be able to change the optimization metric to a custom function instead of the available inputted as strings. Thank you for your consideration