Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error while running mpc2$solve_mpc() #2

Open
KamalPandey13 opened this issue Jul 11, 2020 · 0 comments
Open

Getting an error while running mpc2$solve_mpc() #2

KamalPandey13 opened this issue Jul 11, 2020 · 0 comments

Comments

@KamalPandey13
Copy link

Hi, I am running the sample code after installing EMPC from GitHub. Somehow, getting the below error:

Error in prob_data$h[(nh + 1 - ny * N):nh] <- as.vector(yrefN) * yrefactor :
replacement has length zero

Any idea how to resolve this? I am using the first example of EMPC from the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant