Scippy

SCIP

Solving Constraint Integer Programs

reader_cyc.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-2022 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file reader_cyc.h
17  * @brief file reader for cycle clustering instances
18  * @author Leon Eifler
19  *
20  * This file implements the reader for the cycle clustering problem. The data is read from a matrix, entries separated
21  * by whitespace. The first line in the file has to be of the form "# p nstates ncluster",
22  * where nstates is the size of the matrix and ncluster is the number of clusters that should be used.
23  * The file has to have the ending ".cyc" to be recognized by the reader.
24  */
25 
26 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
27 
28 #ifndef __SCIP_READER_CYC_H__
29 #define __SCIP_READER_CYC_H__
30 
31 #include "scip/scip.h"
32 #include "tclique/tclique.h"
33 #include "scip/cons_setppc.h"
34 #include "scip/type_cons.h"
35 #include "scip/scip.h"
36 #include "scip/def.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 /** includes the cyc file reader into SCIP */
44  SCIP* scip /**< SCIP data structure */
45  );
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 
52 
53 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
tclique user interface
Constraint handler for the set partitioning / packing / covering constraints .
common defines and data types used in all packages of SCIP
SCIP_RETCODE SCIPincludeReaderCyc(SCIP *scip)
Definition: reader_cyc.c:209
SCIP callable library.
type definitions for constraints and constraint handlers