mmc hee
- 合計アクティビティ 3
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 1
投稿
mmc heeによる最近のアクティビティ-
HELP: How to transform the continuous variable matrix x into binary variable x', and then create constraints about the summation of x' ?
回答済みsuch as I have a MVars x = [x1,x2, x3, x4] i want create a constraint like: np.where(x>0, 1, 0).sum() > 5 , actually, i hope the count of nonzero vars must >= 5 How can I linearize this constraint?