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

Include range of costs instead of a single value into the objective function

回答済み

コメント

1件のコメント

  • Jaromił Najman
    • Gurobi Staff

    Hi Ansari,

    It looks like your \(\texttt{price_AA[c][t]}\) values are not doubles. You could try printing them to see what they actually are

    for c, t in itertools.product(A, time_index):
    print(price_AA[c][t])
        AAout[c,t].obj = price_AA[c][t]

    Best regards, 
    Jaromił

    0

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