回答編集履歴

1

回答の加筆

2021/11/11 05:27

投稿

robocat
robocat

スコア4

test CHANGED
@@ -14,11 +14,21 @@
14
14
 
15
15
 
16
16
 
17
- ```
17
+ ```image
18
18
 
19
19
  problem += M*y_i >= Σx_ij
20
20
 
21
21
  problem += y_i <= Σx_ij
22
+
23
+ ```
24
+
25
+
26
+
27
+ ```exam
28
+
29
+ problem += M * y[1] - (x[1][0] + x[1][2] + x[1][3]) >= 0
30
+
31
+ problem += y[1] - (x[1][0] + x[1][2] + x[1][3]) <= 0
22
32
 
23
33
  ```
24
34