Commit 53289a0
* to support ExprCons
* Add tests for MatrixConsIndicator input types
Expanded test_matrix_cons_indicator to check TypeError for invalid input types and added tests for MatrixExprCons and ExprCons cases. Also updated objective and assertions to include new binary variable.
* Fix typo in type annotation for addMatrixConsIndicator
* Expand addMatrixConsIndicator to support ExprCons
---------
Co-authored-by: João Dionísio <[email protected]>
1 parent ec16f77 commit 53289a0
2 files changed
+23
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6979 | 6979 | | |
6980 | 6980 | | |
6981 | 6981 | | |
6982 | | - | |
| 6982 | + | |
6983 | 6983 | | |
6984 | 6984 | | |
6985 | 6985 | | |
| |||
6993 | 6993 | | |
6994 | 6994 | | |
6995 | 6995 | | |
6996 | | - | |
| 6996 | + | |
6997 | 6997 | | |
6998 | 6998 | | |
6999 | 6999 | | |
| |||
7027 | 7027 | | |
7028 | 7028 | | |
7029 | 7029 | | |
7030 | | - | |
7031 | | - | |
7032 | | - | |
| 7030 | + | |
| 7031 | + | |
| 7032 | + | |
| 7033 | + | |
| 7034 | + | |
| 7035 | + | |
| 7036 | + | |
| 7037 | + | |
7033 | 7038 | | |
7034 | 7039 | | |
7035 | 7040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
378 | 383 | | |
379 | 384 | | |
380 | 385 | | |
| |||
386 | 391 | | |
387 | 392 | | |
388 | 393 | | |
389 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
390 | 401 | | |
391 | 402 | | |
392 | 403 | | |
393 | 404 | | |
394 | 405 | | |
| 406 | + | |
395 | 407 | | |
396 | 408 | | |
397 | 409 | | |
| |||
0 commit comments