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

gurobi python zero arrays with some entries variables

回答済み

コメント

1件のコメント

  • Mario Ruthmair
    • Gurobi Staff

    Hi Tetiana,

    If I understood you correctly, instead of having a 3-dimensional variable vector, you want to replace the third variable with a scalar, right? What exactly do you want to achieve?
    If you have a large variable vector where just a few entries are already fixed, you could set the lower and upper bounds of the corresponding fixed variables to the desired scalar. Then, Gurobi will remove the variable in presolving.

    Best regards,
    Mario

    0

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