This is a program, which reads an instance of an bpp and solves the bpp with the following BIP model with the SCIP-Framework and soplex as solver.
Indizes und Mengen | |
---|---|
Items | |
Bins |
Parameter | |
---|---|
Weight of item |
|
Capacity of a single bin |
Entscheidungsvariablen | |
---|---|
= 1 if we pack item |
|
=1 if we use bin |
Let
Furthermore, we denote a subset of patterns by
Entscheidungsvariablen | Bedeutung |
---|---|
|
relaxed version of binary variable in integer formulation, for binary restriction it holds that = 1 if we pack a bin using pattern |
Entscheidungsvariablen | Bedeutung |
---|---|
|
= 1 if item |
To generate an initial set of feasible columns, Farkas pricing is applied. In this case, the Pricing Problem without the constant term of 1 in the objective function is used to generate initial columns that ensure the feasibility of the RMP.
The Pricing Problem is called after a feasible solution of the Restricted Master Problem is found. The dual values of the solution of the RMP are used as coefficients as shown in Formulation section. When the PP terminates with an optimal solution, a column is added if the optimal objective function value is