Pricing new variables The task of the pricer is to search for new variables with negative reduced costs. For this, the following integer program is solved:
where for are binary variables and given by the dual solution of the restricted master problem. See the problem description for more details. To solve the above integer program, we create a new SCIP instance within SCIP and use the usual functions to create variables and constraints. Besides, we need the current dual solutions to all set covering constraints (each stands for one item) which are the objective coefficients of the binary variables. Therefore, we use the function SCIPgetDualsolSetppc() which returns the dual solutions for the given set covering constraint. Since we also want to generate new variables during search, we have to care that we do not generate variables over and over again. For example, if we branched or fixed a certain packing to zero, we have to make sure that we do not generate the corresponding variables at that node again. For this, we have to add constraints forbidding to generate variables which are locally fixed to zero. See the function addFixedVarsConss() for more details. While using the Ryan/Foster branching, we also have to ensure that these branching decisions are respected. This is realized within the function addBranchingDecisionConss().
|