Commit 70fc572
authored
Add support for knapsack constraints (#975)
* Add support for knapsack constraints
* remove useless asserts
* Standardize knapsack with other constypes
* Remove handler name from default constraint name
* Remove redeclaration
* minor bugfixing
* Fix stupid bug
* Everything seems alright now
* copilot
* typo
* all good now
* remove knapsack getrhs
* Add assert
* remove get/setRhs1 parent 0b78317 commit 70fc572
File tree
4 files changed
+333
-34
lines changed- src/pyscipopt
- tests
4 files changed
+333
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
1477 | 1508 | | |
1478 | 1509 | | |
1479 | 1510 | | |
| |||
0 commit comments