Z S

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

アクティビティの概要

Z Sさんの最近のアクティビティ
  • Z Sさんが投稿を作成しました:

    How to linearize piecewise nonlinear function?

    回答済み

    I establish a bi-level optimization model, in the lower-level, the objective function is a piecewise nonlinear function, like y=(x-c)^a, for x>=c. y=-k(c-x)^b, for x<c, a,b,c and k are constant. I ...

  • Z Sさんがコメントを作成しました:

    when i write " model.addGenConstrIndicator(x_k_i[i], True, D_k_i[i] > a, x_k == 1, name=f"constraint_level2_{k}_{i}")" in gurobi,  i get a feedback about "gurobipy.GurobiError: Additional sense arg...

  • Z Sさんが投稿を作成しました:

    How do i model nested conditional constraints in Gurobi?

    進行中

    If D_k > a, then x_k=1, otherwise x_k=0. when x_k=1, if D_k(i) > a, then x_k(i) = 1, otherwise x_k(i) = 0. when x_k=1 and x_k(i) = 1, if D_k(ij) > a, then x_k(ij) = 1, otherwise x_k(ij) = 0. I want...