There are 3 examples in MATPOWER, toggle_reserves(), toggle_iflims() and 
toggle_dclines(). The first is described step-by-step in 6.2-6.4 of the User’s 
Manual. Did you have a specific question about add_vars(), add_constraints() or 
add_costs(), which are used at the end of the code block in section 6.2.2? I 
assume you’ve looked at Matlab’s help for each.

-- 
Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645



On Mar 12, 2014, at 2:29 AM, deepak..... <[email protected]> wrote:

> sir 
> I need help in use of callback function.How to use 
> 'userfcn_reserves_formulation' in programme? can i get a small example for 
> adding variable and cost by use of userfcn_reserves_formulation.
> I cant understand the use of OPF model (OM).
> 
> Thnaks 

Reply via email to