Hello everyone!
I have a MPC controller where I have set the initial constraints using the 'setcontraints' command, however, I would like to update these constraints during runtime. Thus, I set the 'CustomConstraint' property of an mpcmoveopt object to my new E,F and G values. My run-time constraints are still being HEAVILY violated.
I've tried hardening the constraint by defining V to be between 0 and 0.1 in the 'setconstraints' command (which is outside my control loop) which didn't work. I am not sure if there is another way to harden these mixed I/O constraints. Please help.