Hooman Toosi

  • Gurobi-versary
  • Conversationalist
  • First Question
  • 合計アクティビティ 20
  • 前回のアクティビティ
  • メンバー登録日
  • フォロー 0ユーザー
  • フォロワー 0ユーザー
  • 投票 4
  • サブスクリプション 3

アクティビティの概要

Hooman Toosiさんの最近のアクティビティ
  • Hooman Toosiさんがコメントを作成しました:

    Thank you Eli for your response. It was very helpful. P.S: For others that might see this post later, it is important to note the difference between X and x in the above codes.

  • Hooman Toosiさんが投稿を作成しました:

    Tupledict to array

    進行中

    Hello,What is a quick way to convert the variable values of optimization (tupledict) to a regular array?Thank you

  • Hooman Toosiさんがコメントを作成しました:

    Hello Sonja,Thanks for your helpful answer. 1. Does a regular for loop in Gurobi act exactly in the same way as when we incorporate it into a constraint? For example, are the below cases exactly th...

  • Hooman Toosiさんが投稿を作成しました:

    aTan(bx)

    回答済み

    Hello,I have a nonlinear constraint that can be written as below, where a and b are constants.y1[i] = a * tan(b * x[i]) for i in range (m)I am aware that there is a " addGenConstrTan" method with ...

  • Hooman Toosiさんがコメントを作成しました:

    Hello Eli, Here is the content of my .ilp file. Obviously, SC[11] is a decimal value and it cannot satisfy R423. It is also not possible to relax SE[11]. At most I can change the value of SE[11] wh...

  • Hooman Toosiさんがコメントを作成しました:

    Dear Eli,I found the problem using the method you suggested. The problem is that SE and consequently SC take float values. While on the right-hand side of constraint5, it only takes integer values....

  • Hooman Toosiさんがコメントを作成しました:

    Thank you Eli, it was modified. Now, constraints 5,6,7 cause the infeasibility.

  • Hooman Toosiさんがコメントを作成しました:

    Dear Eli,Your comment was very helpful. I changed my code and modified the typos of the below code. The error was resolved. However, now constraints 4-7 have made the problem infeasible. Even if I ...

  • Hooman Toosiさんがコメントを作成しました:

    Dear Eli,Thank you very much for your reply. As you mentioned, since the relationship between SC and K in my code is nonlinear and cannot be included as a constraint, I think I have to take one of ...

  • Hooman Toosiさんがコメントを作成しました:

    Thanks again and your explanation was very helpful. However, when I implement the way you mentioned, I get an error saying : TypeError: unhashable type: 'tupledict' That's probably because  i  is a...