Scippy

SCIP

Solving Constraint Integer Programs

benderscut_feasalt.h
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the program and library */
4/* SCIP --- Solving Constraint Integer Programs */
5/* */
6/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */
7/* */
8/* Licensed under the Apache License, Version 2.0 (the "License"); */
9/* you may not use this file except in compliance with the License. */
10/* You may obtain a copy of the License at */
11/* */
12/* http://www.apache.org/licenses/LICENSE-2.0 */
13/* */
14/* Unless required by applicable law or agreed to in writing, software */
15/* distributed under the License is distributed on an "AS IS" BASIS, */
16/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
17/* See the License for the specific language governing permissions and */
18/* limitations under the License. */
19/* */
20/* You should have received a copy of the Apache-2.0 license */
21/* along with SCIP; see the file LICENSE. If not visit scipopt.org. */
22/* */
23/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24
25/**@file benderscut_feasalt.h
26 * @ingroup BENDERSCUTS
27 * @brief Alternative feasibility cuts for Benders' decomposition
28 * @author Stephen J. Maher
29 *
30 * The alternative feasibility cut for Benders' decomposition uses the optimality cut generation code to generate a cut
31 * that minimises the violation of the constraints.
32 * Consider the linear Benders' decomposition subproblem that takes the master problem solution \f$\bar{x}\f$ as input:
33 * \f[
34 * z(\bar{x}) = \min\{d^{T}y : Ty \geq h - H\bar{x}, y \geq 0\}
35 * \f]
36 * If the subproblem is infeasible as a result of the solution \f$\bar{x}\f$, then some of the constraints are violated.
37 * In this case, we define an alternative/auxiliary subproblem to find a solution that minimises the constraint
38 * violations. Such a problem is given by
39 * \f[
40 * \min\{\mathbb{1}{T}v : Ty + v \geq h - H\bar{x}, y \geq 0, v \geq 0\}
41 * \f]
42 *
43 * This auxiliary problem is guaranteed to always be feasible. Given a solution to this problem, it is possible to
44 * generate a classical Benders' optimality cut. For such a cut, the reader is referred to \ref benderscut_opt.h.
45 *
46 * If the Benders' decomposition subproblem contains non-linear constraints, an equivalent auxiliary subproblem can be
47 * formed to generate an alternative feasibility cut.
48 */
49
50/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
51
52#ifndef __SCIP_BENDERSCUT_FEASALT_H__
53#define __SCIP_BENDERSCUT_FEASALT_H__
54
55
56#include "scip/def.h"
57#include "scip/type_benders.h"
58#include "scip/type_retcode.h"
59#include "scip/type_scip.h"
60
61#ifdef __cplusplus
62extern "C" {
63#endif
64
65/** creates the Alternative Feasibility Benders' decomposition cuts and includes it in SCIP
66 *
67 * @ingroup BenderscutIncludes
68 */
69SCIP_EXPORT
71 SCIP* scip, /**< SCIP data structure */
72 SCIP_BENDERS* benders /**< Benders' decomposition */
73 );
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif
common defines and data types used in all packages of SCIP
SCIP_RETCODE SCIPincludeBenderscutFeasalt(SCIP *scip, SCIP_BENDERS *benders)
type definitions for Benders' decomposition methods
type definitions for return codes for SCIP methods
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:63
type definitions for SCIP's main datastructure