Hello, I intend to implement a Matpower OPF to minimize branch flow losses instead of minimizing generation costs (substation busbars will be taken as power sources). Will I be able to do this with callback functions and variables or does that require rewriting the Matpower optimization function?
Thanks, Guilherme
