Scippy

SCIP

Solving Constraint Integer Programs

type_sol.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-2014 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 email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file type_sol.h
17  * @brief type definitions for storing primal CIP solutions
18  * @author Tobias Achterberg
19  */
20 
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
22 
23 #ifndef __SCIP_TYPE_SOL_H__
24 #define __SCIP_TYPE_SOL_H__
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /** origin of solution: where to retrieve uncached elements */
32 {
33  SCIP_SOLORIGIN_ORIGINAL = 0, /**< solution describes original variables; non-cached elements are zero */
34  SCIP_SOLORIGIN_ZERO = 1, /**< all non-cached elements in solution are equal to zero */
35  SCIP_SOLORIGIN_LPSOL = 2, /**< all non-cached elements in solution are equal to current LP solution */
36  SCIP_SOLORIGIN_NLPSOL = 3, /**< all non-cached elements in solution are equal to current NLP solution */
37  SCIP_SOLORIGIN_RELAXSOL = 4, /**< all non-cached elements in solution are equal to current relaxation solution */
38  SCIP_SOLORIGIN_PSEUDOSOL = 5, /**< all non-cached elements in solution are equal to current pseudo solution */
39  SCIP_SOLORIGIN_UNKNOWN = 6 /**< all non-cached elements in solution are unknown; they have to be treated
40  * as being an arbitrary value in the variable's bounds
41  */
42 };
44 
45 typedef struct SCIP_Sol SCIP_SOL; /**< primal CIP solution */
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif
SCIP_SolOrigin
Definition: type_sol.h:31
struct SCIP_Sol SCIP_SOL
Definition: type_sol.h:45
enum SCIP_SolOrigin SCIP_SOLORIGIN
Definition: type_sol.h:43