Skip to main content

Programming

Answered

Comments

1 comment

  • Eli Towle
    Gurobi Staff 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

Please sign in to leave a comment.