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

Turning 1D MVar into a diagonal matrix

回答済み

コメント

3件のコメント

  • 正式なコメント
    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.
  • Riley Clement
    • Gurobi Staff

    Hi Gabriel,

    I think

    E*K.reshape(N_1,1)

    is what you are looking for.

    - Riley

     

    0
  • Gabriel Agostini
    • Gurobi-versary
    • First Comment
    • First Question

    Thanks Riley Clement ! That works

    0

投稿コメントは受け付けていません。