Thank you very much for your reply,
Panagis Vovos On 3 April 2012 22:09, Ray Zimmerman <[email protected]> wrote: > On Apr 3, 2012, at 12:41 PM, Panagis Vovos wrote: > >> Dear Prof. Zimmerman, >> >> First of all I would like to congratulate you for your work and your >> will to make it publicly available. I am trying to add non-linear >> constraints in MATPOWER's OPF formulation. I have read the relevant >> discussion in the email list, but I am planning to use the enhanced >> OPF in large-scale deregulated power systems, so ideally I would like >> to use one of the TSPOPF solvers. However, neither opf_consfcn.m nor >> opf_hessfcn.m is called when any of the TSPOPF solvers is used. I can >> use add_constraints in opf_setup.m, but did not find a way to define >> them. Does TSPOPF define the non-linear constraints internally (in the >> .mex file), so no new non-linear constraints can be added? > > That is correct. > >> Is there a >> way to define them, but still use one of the TSPOPF solvers? > > No. But the default MIPS solver is essentially the same algorithm as the > PDIPM in TSPOPF, and it is only marginally slower. You could also use Ipopt > if it is available (or fmincon). > > > -- > Ray Zimmerman > Senior Research Associate > 419A Warren Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > >
