Scippy

SCIP

Solving Constraint Integer Programs

reader_fix.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_fix.h
17  * @ingroup FILEREADERS
18  * @brief file reader for variable fixings
19  * @author Tobias Achterberg
20  *
21  * This reader allows to read a file containing fixation values for variables of the current problem. Each line of the
22  * file should have format
23  *
24  * <variable name> <value to fix>
25  *
26  * Note that only a subset of the variables may need to appear in the file. Lines with unknown variable names are
27  * ignored. The writing functionality is currently not supported.
28  *
29  * @note The format is equal to the (not xml) solution format of SCIP.
30  *
31  */
32 
33 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
34 
35 #ifndef __SCIP_READER_FIX_H__
36 #define __SCIP_READER_FIX_H__
37 
38 #include "scip/def.h"
39 #include "scip/type_retcode.h"
40 #include "scip/type_scip.h"
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 /** includes the fix file reader into SCIP
47  *
48  * @ingroup FileReaderIncludes
49  */
50 SCIP_EXPORT
52  SCIP* scip /**< SCIP data structure */
53  );
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
type definitions for return codes for SCIP methods
SCIP_RETCODE SCIPincludeReaderFix(SCIP *scip)
Definition: reader_fix.c:243
type definitions for SCIP&#39;s main datastructure
common defines and data types used in all packages of SCIP