Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
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-2018 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 */
31
enum
SCIP_SolOrigin
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_PARTIAL
= 6,
/**< solution describes original solution; all non-cached elements in solution
40
* are treated as being an arbitrary value in the variable's bounds
41
*/
42
SCIP_SOLORIGIN_UNKNOWN
= 7
/**< all non-cached elements in solution are unknown; they have to be treated
43
* as being an arbitrary value in the variable's bounds
44
*/
45
};
46
typedef
enum
SCIP_SolOrigin
SCIP_SOLORIGIN
;
47
48
typedef
struct
SCIP_Sol
SCIP_SOL
;
/**< primal CIP solution */
49
50
typedef
struct
SCIP_Viol
SCIP_VIOL
;
/**< maximum violations of problem constraints */
51
52
#ifdef __cplusplus
53
}
54
#endif
55
56
#endif
SCIP_SOLORIGIN_RELAXSOL
Definition:
type_sol.h:37
SCIP_SOLORIGIN_ORIGINAL
Definition:
type_sol.h:33
SCIP_SOLORIGIN_NLPSOL
Definition:
type_sol.h:36
SCIP_SOLORIGIN_PSEUDOSOL
Definition:
type_sol.h:38
SCIP_Sol
Definition:
struct_sol.h:63
SCIP_SolOrigin
SCIP_SolOrigin
Definition:
type_sol.h:31
SCIP_SOLORIGIN_ZERO
Definition:
type_sol.h:34
SCIP_SOLORIGIN_PARTIAL
Definition:
type_sol.h:39
SCIP_SOLORIGIN_UNKNOWN
Definition:
type_sol.h:42
SCIP_Viol
Definition:
struct_sol.h:40
SCIP_SOLORIGIN
enum SCIP_SolOrigin SCIP_SOLORIGIN
Definition:
type_sol.h:46
SCIP_SOLORIGIN_LPSOL
Definition:
type_sol.h:35