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-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 reader_cyc.h
26  * @brief file reader for cycle clustering instances
27  * @author Leon Eifler
28  *
29  * This file implements the reader for the cycle clustering problem. The data is read from a matrix, entries separated
30  * by whitespace. The first line in the file has to be of the form "# p nstates ncluster",
31  * where nstates is the size of the matrix and ncluster is the number of clusters that should be used.
32  * The file has to have the ending ".cyc" to be recognized by the reader.
33  */
34 
35 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
36 
37 #ifndef __SCIP_READER_CYC_H__
38 #define __SCIP_READER_CYC_H__
39 
40 #include "scip/scip.h"
41 #include "tclique/tclique.h"
42 #include "scip/cons_setppc.h"
43 #include "scip/type_cons.h"
44 #include "scip/scip.h"
45 #include "scip/def.h"
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif
50 
51 /** includes the cyc file reader into SCIP */
53  SCIP* scip /**< SCIP data structure */
54  );
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 
61 
62 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:63
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:218
SCIP callable library.
type definitions for constraints and constraint handlers