problems with distributed consensus ADMM example using CVXPY #2143
Unanswered
Jushan-Randy-Chen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was trying to run the consensus ADMM model predictive control based on the sample code on this page. Basically, I have a multi-agent MPC problem where each agent has 6 states and 3 inputs, and a finite prediction horizon of

T, and thus each objective is summed over the horizon. Ultimately, the problem I'm trying to solve is given as:But to keep things simple to start with, I am only considering the consensus constraint as described on this page. Here are my modified code:
However, when I run the code the following error pops up:
I don't know what exactly is causing the issue. Since my state and control vector over the horizon
Tare 2-dimensional, should I use a 2-dimensional parameter variable to fix this issue?Any help is greatly appreciatd!
Beta Was this translation helpful? Give feedback.
All reactions