If the user constraint is implemented correctly, it should not be possible to have a violated user-defined constraint (outside the numerical tolerances specified in opf.violation) if the OPF solves successfully.
Ray > On Feb 15, 2019, at 10:36 AM, Manuel Vaz Castro <[email protected]> > wrote: > > Hello, > > I have a question regarding the use of user_function_constraints in na OPF. > > Is it possible for the OPF to converge and not complying to an user > constraint (for example using > “add_userfcn(mpc,'formulation',@userfcn_constraints_formulation,args)”? > > > Thank you for your attention. > > Best regards, > Manuel Vaz Castro >
