The easiest solution is probably to enable soft constraints using 
toggle_softlims()<https://github.com/MATPOWER/matpower/blob/master/lib/toggle_softlims.m>.
 See Section 7.6.4 in the MATPOWER User’s 
Manual<https://matpower.org/docs/MATPOWER-manual-7.1.pdf> for more info.

   Ray

On Mar 29, 2023, at 9:51 AM, Heller, Leopold Bernd Jürgen 
<[email protected]> wrote:

Hello everyone,

I am working on a OPF model with 3 voltage levels. Although I think I have set 
up everything correct sometimes for certain Scenarios FMINCON doesn't converge. 
I have 300+ constraints and would like to know if it is possible to see which 
constraints are not satisfied.

Best Regards
Leo


Reply via email to