There are examples of some simple user-defined extensions to the OPF in the OPF 
test functions (e.g. t/t_opf_mips.m beginning around line 185). And of course, 
there are the examples in Section 6.5 of the manual.

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







On Aug 11, 2013, at 12:19 PM, Erfan Saberbari <[email protected]> wrote:

> Hello!
> I'm trying to use the callback functions of the Extended OPF in order to add 
> variable, constraints and costs to my case, but in spite of reading your 
> manual and papers for about one month I can't use them all together yet!
> 
> I'm afraid, could you please give me just a very simple example, which cover 
> the whole procedure of Extending the OPF from beginning to end?
> • define and access variable/constraint sets as individual named blocks
> • define constraints, costs only in terms of variables directly involved
> • pre-process input data and/or post-process result data
> • print and save new result data
> 
> All the best...

Reply via email to