Commit fcfc2fe
committed
changed: better conversion factor for
The "Prioritized Constraints in Optimization-Based Control" paper indicated that the ρ weight is squared, and there is one term for each soft bound. So a `sqrt` relation is more logical here (Cwt is not squared in MPC.jl). And it is indeed a better approximate conversion factor, according to various simulations on a SISO system.soft_weight
1 parent ca5b230 commit fcfc2fe
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
48 | | - | |
| 46 | + | |
| 47 | + | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| |||
0 commit comments