Scippy

SCIP

Solving Constraint Integer Programs

cycplugins.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-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 cycplugins.c
26 * @brief SCIP plugins for cycle clustering of markov state models
27 * @author Leon Eifler
28 */
29
30/*--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
31
32#include "cycplugins.h"
33
34#include "scip/scipdefplugins.h"
35#include "sepa_edge.h"
36#include "sepa_subtour.h"
37#include "sepa_partition.h"
38#include "heur_fuzzyround.h"
39#include "branch_multinode.h"
40#include "heur_cyckerlin.h"
41#include "heur_redsize.h"
42#include "event_newsol.h"
43
44/** includes default plugins for cycle clustering into SCIP */
46 SCIP* scip /**< SCIP data structure */
47 )
48{
49 /* Default and reader */
52
53 /* Heuristics */
58
59 /* Separators */
63
64 /* Branching rule */
66
67 /* Event handler that reruns exchange heuristic for new solutions */
69
70 return SCIP_OKAY;
71}
SCIP_RETCODE SCIPincludeBranchruleMultinode(SCIP *scip)
multinode branching rule
SCIP_RETCODE SCIPincludeCycPlugins(SCIP *scip)
Definition: cycplugins.c:45
SCIP plugins for cycle clustering.
#define SCIP_CALL(x)
Definition: def.h:374
SCIP_RETCODE SCIPincludeEventHdlrNewsol(SCIP *scip)
Definition: event_newsol.c:112
eventhdlr that adds new solutions to the candidate pool for the exchange heuristic
SCIP_RETCODE SCIPincludeHeurCycGreedy(SCIP *scip)
SCIP_RETCODE SCIPincludeHeurCycKerlin(SCIP *scip)
Improvement heuristic that trades bin-variables between clusters.
SCIP_RETCODE SCIPincludeHeurFuzzyround(SCIP *scip)
primal heuristic that constructs a feasible solution from the lp-relaxation. Round only on the state-...
SCIP_RETCODE SCIPincludeHeurRedsize(SCIP *scip)
Definition: heur_redsize.c:381
primal heuristic that solves the problem with a sparser matrix as a submip
SCIP_RETCODE SCIPincludeReaderCyc(SCIP *scip)
Definition: reader_cyc.c:218
SCIP_RETCODE SCIPincludeDefaultPlugins(SCIP *scip)
default SCIP plugins
SCIP_RETCODE SCIPincludeSepaEdge(SCIP *scip)
Definition: sepa_edge.c:375
edge-separator. Separates triangle-inequalities in cycle clustering problem
SCIP_RETCODE SCIPincludeSepaPartition(SCIP *scip)
simple partition-separator
SCIP_RETCODE SCIPincludeSepaSubtour(SCIP *scip)
Definition: sepa_subtour.c:876
Separate Subtours-Elimination inequalities in Cycle-Clustering Applications.
@ SCIP_OKAY
Definition: type_retcode.h:42
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:63