Skip to content

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

@KamalPandey13

Description

@KamalPandey13

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions