Dear all,
I am learning how matpower implements OPF using fmincon(). This matlab optimization function requires a bunch of numerical input arguments to start the optimization, like start point of the variable vector, equality, constraints, etc. The examples on matlab website also shows how to implement optimization using fmincon(). However, I really cant find which is the m file to convert a matpower case to a bunch of numerical things to start fmincon(). I have searched the matpower folder and the online function reference and I still cannot find how it is implemented. It seems that matpower uses a lot of function handles for implementation; and even setting breakpoints in fmincon.m will not show the intermediate variables during the optimization! Can some one show me the key m files to convert a matpower case into formats compatible with fmincon? Thank you for your patience! Best Regards, Yang Yang
