メインコンテンツへスキップ

Programming

回答済み

コメント

1件のコメント

  • 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

サインインしてコメントを残してください。