Scippy

    SCIP

    Solving Constraint Integer Programs

    coloringplugins.c
    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-2025 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 coloringplugins.c
    26 * @brief SCIP plugins for coloring
    27 * @author Gerald Gamrath
    28 */
    29
    30/*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
    31
    32#include "coloringplugins.h"
    33#include "scip/debug.h"
    34
    35#define USEHEURS 0
    36
    37
    38/** includes default plugins for coloring into SCIP */
    40 SCIP* scip /**< SCIP data structure */
    41 )
    42{
    43 SCIP_CALL( SCIPincludeDialogDefaultBasic(scip) );
    44
    45 SCIP_CALL( SCIPincludeConshdlrLinear(scip) ); /* linear must be first due to constraint upgrading */
    46 SCIP_CALL( SCIPincludeConshdlrIntegral(scip) );
    47 SCIP_CALL( SCIPincludeConshdlrSetppc(scip) );
    48
    49 SCIP_CALL( SCIPincludeNodeselBfs(scip) );
    50 SCIP_CALL( SCIPincludeNodeselDfs(scip) );
    51 SCIP_CALL( SCIPincludeNodeselEstimate(scip) );
    52 SCIP_CALL( SCIPincludeNodeselHybridestim(scip) );
    53 SCIP_CALL( SCIPincludeNodeselRestartdfs(scip) );
    54
    55 SCIP_CALL( SCIPincludeBranchruleAllfullstrong(scip) );
    56 SCIP_CALL( SCIPincludeBranchruleFullstrong(scip) );
    57 SCIP_CALL( SCIPincludeBranchruleInference(scip) );
    58 SCIP_CALL( SCIPincludeBranchruleMostinf(scip) );
    59 SCIP_CALL( SCIPincludeBranchruleLeastinf(scip) );
    60 SCIP_CALL( SCIPincludeBranchrulePscost(scip) );
    61 SCIP_CALL( SCIPincludeBranchruleRandom(scip) );
    62 SCIP_CALL( SCIPincludeBranchruleRelpscost(scip) );
    63
    64 SCIP_CALL( SCIPincludeTableDefault(scip) );
    65
    66 /** project plugins */
    67 SCIP_CALL( SCIPincludePricerColoring(scip) );
    68
    69 SCIP_CALL( COLORincludeConshdlrStoreGraph(scip) );
    70
    71 SCIP_CALL( SCIPincludeReaderCol(scip) );
    72 SCIP_CALL( SCIPincludeReaderCsol(scip) );
    73
    74 SCIP_CALL( SCIPincludeBranchruleColoring(scip) );
    75 SCIP_CALL( SCIPincludeBranchruleStrongcoloring(scip) );
    76
    77 SCIP_CALL( SCIPincludeHeurInit(scip) );
    78
    79#if USEHEURS
    80 SCIP_CALL( SCIPincludeHeurActconsdiving(scip) );
    81 SCIP_CALL( SCIPincludeHeurCoefdiving(scip) );
    82 SCIP_CALL( SCIPincludeHeurCrossover(scip) );
    83 SCIP_CALL( SCIPincludeHeurDins(scip) );
    84 SCIP_CALL( SCIPincludeHeurFixandinfer(scip) );
    85 SCIP_CALL( SCIPincludeHeurFracdiving(scip) );
    86 SCIP_CALL( SCIPincludeHeurGuideddiving(scip) );
    87 SCIP_CALL( SCIPincludeHeurIntdiving(scip) );
    88 SCIP_CALL( SCIPincludeHeurIntshifting(scip) );
    89 SCIP_CALL( SCIPincludeHeurLinesearchdiving(scip) );
    90 SCIP_CALL( SCIPincludeHeurLocalbranching(scip) );
    91 SCIP_CALL( SCIPincludeHeurMutation(scip) );
    92 SCIP_CALL( SCIPincludeHeurObjpscostdiving(scip) );
    93 SCIP_CALL( SCIPincludeHeurOctane(scip) );
    94 SCIP_CALL( SCIPincludeHeurOneopt(scip) );
    95 SCIP_CALL( SCIPincludeHeurPscostdiving(scip) );
    96 SCIP_CALL( SCIPincludeHeurRens(scip) );
    97 SCIP_CALL( SCIPincludeHeurRins(scip) );
    98 SCIP_CALL( SCIPincludeHeurRootsoldiving(scip) );
    99 SCIP_CALL( SCIPincludeHeurRounding(scip) );
    100 SCIP_CALL( SCIPincludeHeurShifting(scip) );
    101 SCIP_CALL( SCIPincludeHeurSimplerounding(scip) );
    102 SCIP_CALL( SCIPincludeHeurTrivial(scip) );
    103 SCIP_CALL( SCIPincludeHeurTrySol(scip) );
    104 SCIP_CALL( SCIPincludeHeurTwoopt(scip) );
    105 SCIP_CALL( SCIPincludeHeurUndercover(scip) );
    106 SCIP_CALL( SCIPincludeHeurVeclendiving(scip) );
    107 SCIP_CALL( SCIPincludeHeurZirounding(scip) );
    108#endif
    109
    110 SCIP_CALL( SCIPincludeDispDefault(scip) );
    111
    112 return SCIP_OKAY;
    113}
    SCIP_RETCODE SCIPincludeBranchruleColoring(SCIP *scip)
    SCIP_RETCODE SCIPincludeBranchruleStrongcoloring(SCIP *scip)
    SCIP_RETCODE SCIPincludeColoringPlugins(SCIP *scip)
    SCIP plugins for coloring.
    SCIP_RETCODE COLORincludeConshdlrStoreGraph(SCIP *scip)
    SCIP_RETCODE SCIPincludeHeurInit(SCIP *scip)
    Definition: heur_init.c:718
    SCIP_RETCODE SCIPincludePricerColoring(SCIP *scip)
    SCIP_RETCODE SCIPincludeReaderCol(SCIP *scip)
    Definition: reader_col.c:300
    SCIP_RETCODE SCIPincludeReaderCsol(SCIP *scip)
    Definition: reader_csol.c:436