I’m not sure what x refers to in your example cost function, so I can’t really show you how to implement that example, but there are some examples of user defined costs in t/t_opf_mips.m.
Ray
> On Mar 17, 2016, at 2:10 AM, shruti seemala <[email protected]> wrote:
>
> sir
> can you please explain user defined cost function usage using a small
> coding,how to add the user defined cost function to the objective
> function,taking a cost function as y=30*x;I didn't understand that.
