You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These problems often appear as subproblems of more complex problems. For example:
13
-
* To generate cuts in branch-and-cut algorithms
14
-
* To solve pricing problems in column generation algorithms
15
-
* To lift bin and item dimensions in packing problems
16
-
17
-
And therefore, having efficient algorithms with reliable implementations to solve them is very useful.
18
-
19
-
The goal of this repository is to provide such efficient and reliable implementations.
20
-
21
-
Here are some usage examples of this library:
22
-
*[Lifting the length of a bin in a 3D packing problem](https://github.com/fontanf/packingsolver/blob/2cddb90686fb4a0e92f4ee1b4335ceaa2048d2f4/src/boxstacks/branching_scheme.cpp#L272)
23
-
*[Solving a 0-1 knapsack subproblem inside an algorithm for a geometrical variable-sized bin packing problem](https://github.com/fontanf/packingsolver/blob/2cddb90686fb4a0e92f4ee1b4335ceaa2048d2f4/src/algorithms/dichotomic_search.hpp#L149)
24
-
* Solving the pricing problem inside a column generation algorithm for the [cutting stock problem](https://github.com/fontanf/columngenerationsolver/blob/096802d9e20d2826aed5b44e3b68ac9df6b20da2/include/columngenerationsolver/examples/cutting_stock.hpp#L123), the [multiple knapsack problem](https://github.com/fontanf/columngenerationsolver/blob/096802d9e20d2826aed5b44e3b68ac9df6b20da2/include/columngenerationsolver/examples/multiple_knapsack.hpp#L154), or the [genralized assignment problem](https://github.com/fontanf/generalizedassignmentsolver/blob/68be0ab77efd897fd583f1031dd6cbc946b33f5a/src/algorithms/column_generation.cpp#L177)
25
-
*[Solving a 0-1 knapsack subproblem inside an algorithm for the packing while travelling problem](https://github.com/fontanf/travellingthiefsolver/blob/ce1b6805e8aee8ee3300fbbc97dbc9153eecff01/src/packing_while_travelling/algorithms/sequential_value_correction.cpp#L19)
9
+
<!--Here are some usage examples of this library:-->
10
+
<!--* [Solving a 0-1 knapsack subproblem inside an algorithm for a geometrical variable-sized bin packing problem](https://github.com/fontanf/packingsolver/blob/2cddb90686fb4a0e92f4ee1b4335ceaa2048d2f4/src/algorithms/dichotomic_search.hpp#L149)-->
11
+
<!--* Solving the pricing problem inside a column generation algorithm for the [cutting stock problem](https://github.com/fontanf/columngenerationsolver/blob/096802d9e20d2826aed5b44e3b68ac9df6b20da2/include/columngenerationsolver/examples/cutting_stock.hpp#L123), the [multiple knapsack problem](https://github.com/fontanf/columngenerationsolver/blob/096802d9e20d2826aed5b44e3b68ac9df6b20da2/include/columngenerationsolver/examples/multiple_knapsack.hpp#L154), or the [genralized assignment problem](https://github.com/fontanf/generalizedassignmentsolver/blob/68be0ab77efd897fd583f1031dd6cbc946b33f5a/src/algorithms/column_generation.cpp#L177)-->
12
+
<!--* [Solving a 0-1 knapsack subproblem inside an algorithm for the packing while travelling problem](https://github.com/fontanf/travellingthiefsolver/blob/ce1b6805e8aee8ee3300fbbc97dbc9153eecff01/src/packing_while_travelling/algorithms/sequential_value_correction.cpp#L19)-->
26
13
27
14
## Implemented algorithms
28
15
29
-
### Knapsack
30
-
31
16
* Greedy
32
17
*`O(n)``-a greedy`
33
18
@@ -47,25 +32,6 @@ Here are some usage examples of this library:
47
32
* Primal-dual (minknap)
48
33
* List (partial solution) `-a "dynamic-programming-primal-dual --partial-solution-size 64 --pairing 0"`
49
34
50
-
### Subset sum
51
-
52
-
* Dynamic programming
53
-
* Bellman
54
-
* Array `-a dynamic-programming-bellman-array`
55
-
* List (only optimal value) `-a dynamic-programming-bellman-list`
56
-
* Word RAM (only optimal value) `-a dynamic-programming-bellman-word-ram`
57
-
* Word RAM with recursive scheme `-a dynamic-programming-bellman-word-ram-rec`
0 commit comments