GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
heur_ipcolgen.h
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
4/* GCG --- Generic Column Generation */
5/* a Dantzig-Wolfe decomposition based extension */
6/* of the branch-cut-and-price framework */
7/* SCIP --- Solving Constraint Integer Programs */
8/* */
9/* Copyright (C) 2010-2026 Operations Research, RWTH Aachen University */
10/* Zuse Institute Berlin (ZIB) */
11/* */
12/* Licensed under the Apache License, Version 2.0 (the "License"); */
13/* you may not use this file except in compliance with the License. */
14/* You may obtain a copy of the License at */
15/* */
16/* http://www.apache.org/licenses/LICENSE-2.0 */
17/* */
18/* Unless required by applicable law or agreed to in writing, software */
19/* distributed under the License is distributed on an "AS IS" BASIS, */
20/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
21/* See the License for the specific language governing permissions and */
22/* limitations under the License. */
23/* */
24/* You should have received a copy of the Apache-2.0 license */
25/* along with GCG; see the file LICENSE. If not visit gcg.or.rwth-aachen.de.*/
26/* */
27/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
28
29/**@file heur_ipcolgen.h
30 * @brief LNS heuristic that generates columns that are more likely to be in integer feasible solutions
31 * @author Stephen J. Maher
32 * @ingroup PRIMALHEURISTICS
33 *
34 * This heuristic is detailed in the paper:
35 *
36 * Maher, S. J. & Roennberg, E. Integer programming column generation: Accelerating branch-and-price using a novel
37 * pricing scheme for finding high-quality solutions in set covering, packing, and partitioning problems. Mathematical
38 * Programming Computation, under review.
39 *
40 * The heuristic is based on the destroy-and-repair framework for large neighbourhood search heuristics. The main
41 * components of this heuristic are:
42 * - A partial solution: this is found by taking the current incumbent and then fixing a subset of active variables to
43 * zero. This constitutes the destroy method of the heuristic.
44 * - A modified pricing problem for generating repair columns
45 * - A repair sub-MIP that is solved to find improving solutions given the set of repair columns.
46 *
47 * The pricing problem is modified by scaling the dual value in the objective function and adding dynamic penalties to
48 * selected set covering, packing or partitioning constraints. The penalties are computed based on the activities of the
49 * set covering, packing and partitioning constraints.
50 *
51 * During the procedure for generating repair columns, the dynamic penalties are updated with respect to the generated
52 * columns and the activities in the penalised constraints. The update depends on the type of constraint. The update
53 * procedure makes used of a pricing callback plugin. This plugin is executed before and after each pricing round to
54 * update the dynamic penalties.
55 *
56 * The repair sub-MIP is constructed with the column from the restricted master problem and all repair columns. The
57 * columns active in the partial solution are fixed in the repair problem. The repair problem is then solved to find a
58 * configuration of the repair columns to repair the partial solution.
59 *
60 * This heuristic is very computationally expensive. It is only useful for problems where there is a large optimality
61 * gap and it is difficult to find good primal feasible solutions. In this regard, a parameter has been added
62 * (mininitialgap) that is used to set the minimum gap for calling the IPColGen heuristic. The first call to the
63 * IPColGen heuristic occurs once the tail-off effect has been observed. This is computed by comparing the most recent
64 * LP solution to the average LP solution from previous \f$n\f$ iterations. If the relative difference is less than
65 * 0.01%, then the heuristic may be called (depending on other parameter settings).
66 *
67 * One of the most sensitive parameters, with respect to the performance of the heuristic, is the number of iterations
68 * of the destroy-and-repair procedure without improvement in the incumbent solution. This is set to 3 by default.
69 * Experiments conducted for the paper found that any deviation from this value results in a significant degradation in
70 * the performance.
71 */
72
73/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
74
75#ifndef GCG_HEUR_IPCOLGEN_H__
76#define GCG_HEUR_IPCOLGEN_H__
77
78#include "scip/scip.h"
79#include "gcg/gcg.h"
80
81#ifdef __cplusplus
82extern "C" {
83#endif
84
92
93/** creates IP Column Generation primal heuristic and includes it in SCIP */
94extern
96 GCG* gcg /**< GCG data structure */
97 );
98
99#ifdef __cplusplus
100}
101#endif
102
103#endif
GCG interface methods.
SCIP_RETCODE SCIPincludeHeurIPcolgen(GCG *gcg)
enum IPC_PenaltyType IPC_PENALTYTYPE
IPC_PenaltyType
@ PENALTYTYPE_SETCOVER
@ PENALTYTYPE_BIGM
@ PENALTYTYPE_SETPACK
struct Gcg GCG
Definition type_gcg.h:44
enum SCIP_Retcode SCIP_RETCODE