Skip to main content

Programming

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support.
  • Eli Towle
    • Gurobi Staff

    The \(\texttt{quadcon}\) named component should be a list of lists. For each element/list, the \(\texttt{Qc}\) named component defines the matrix for the corresponding quadratic constraint. The following should work:

    model$quadcon <- list(list(Qc = Qc, sense = "<", rhs = m))

    See the The model argument section of the R documentation for more details.

    0

Post is closed for comments.