SCIP-SDP  2.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
relax_sdp.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of SCIPSDP - a solving framework for mixed-integer */
4 /* semidefinite programms based on SCIP. */
5 /* */
6 /* Copyright (C) 2011-2013 Discrete Optimization, TU Darmstadt */
7 /* EDOM, FAU Erlangen-Nürnberg */
8 /* 2014-2016 Discrete Optimization, TU Darmstadt */
9 /* */
10 /* */
11 /* This program is free software; you can redistribute it and/or */
12 /* modify it under the terms of the GNU Lesser General Public License */
13 /* as published by the Free Software Foundation; either version 3 */
14 /* of the License, or (at your option) any later version. */
15 /* */
16 /* This program is distributed in the hope that it will be useful, */
17 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
18 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
19 /* GNU Lesser General Public License for more details. */
20 /* */
21 /* You should have received a copy of the GNU Lesser General Public License */
22 /* along with this program; if not, write to the Free Software */
23 /* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.*/
24 /* */
25 /* */
26 /* Based on SCIP - Solving Constraint Integer Programs */
27 /* Copyright (C) 2002-2016 Zuse Institute Berlin */
28 /* SCIP is distributed under the terms of the SCIP Academic Licence, */
29 /* see file COPYING in the SCIP distribution. */
30 /* */
31 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
32 
49 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
50 
51 #ifndef __SCIP_RELAXSDP_H__
52 #define __SCIP_RELAXSDP_H__
53 
54 #include "scip/scip.h"
55 #include "sdpi/sdpi.h"
56 
57 #ifdef __cplusplus
58 extern "C" {
59 #endif
60 
62 EXTERN
63 SCIP_RETCODE SCIPincludeRelaxSdp(
64  SCIP* scip
65  );
66 
75 EXTERN
77  SCIP_RELAX* relax,
78  SCIP_Real* lbvars,
79  SCIP_Real* ubvars,
80  int* arraylength
82  );
83 
85 EXTERN
86 SCIP_RETCODE SCIPrelaxSdpRelaxVal(
87  SCIP_RELAX* relax,
88  SCIP_Bool* success,
89  SCIP_Real* objval
90  );
91 
93 EXTERN
94 SCIP_RETCODE SCIPrelaxSdpGetRelaxSol(
95  SCIP* scip,
96  SCIP_RELAX* relax,
97  SCIP_Bool* success,
98  SCIP_Real* solarray,
99  int* sollength
101  );
102 
104 EXTERN
105 long int SCIPrelaxSdpGetSdpNode(
106  SCIP_RELAX* relax
107  );
108 
110 EXTERN
111 SCIP_Bool SCIPrelaxSdpSolvedOrig(
112  SCIP_RELAX* relax
113  );
114 
116 EXTERN
117 SCIP_Bool SCIPrelaxSdpSolvedProbing(
118  SCIP_RELAX* relax
119  );
120 
122 EXTERN
123 SCIP_Bool SCIPrelaxSdpIsFeasible(
124  SCIP_RELAX* relax
125  );
126 
128 EXTERN
130  SCIP_RELAX* relax
131  );
132 
134 EXTERN
136  SCIP_RELAX* relax
137  );
138 
140 EXTERN
142  SCIP_RELAX* relax
143  );
144 
146 EXTERN
148  SCIP_RELAX* relax
149  );
150 
152 EXTERN
154  SCIP_RELAX* relax
155  );
156 
158 EXTERN
160  SCIP_RELAX* relax
161  );
162 
164 EXTERN
166  SCIP_RELAX* relax
167  );
168 
169 #ifdef __cplusplus
170 }
171 #endif
172 
173 #endif
EXTERN SCIP_Bool SCIPrelaxSdpSolvedProbing(SCIP_RELAX *relax)
Definition: relax_sdp.c:1857
EXTERN int SCIPrelaxSdpGetNSdpPenalty(SCIP_RELAX *relax)
Definition: relax_sdp.c:1940
EXTERN int SCIPrelaxSdpGetNSdpCalls(SCIP_RELAX *relax)
Definition: relax_sdp.c:1896
EXTERN SCIP_RETCODE SCIPrelaxSdpGetRelaxSol(SCIP *scip, SCIP_RELAX *relax, SCIP_Bool *success, SCIP_Real *solarray, int *sollength)
Definition: relax_sdp.c:1796
EXTERN SCIP_Bool SCIPrelaxSdpIsFeasible(SCIP_RELAX *relax)
Definition: relax_sdp.c:1874
EXTERN int SCIPrelaxSdpGetNSdpMedium(SCIP_RELAX *relax)
Definition: relax_sdp.c:1918
EXTERN int SCIPrelaxSdpGetNSdpStable(SCIP_RELAX *relax)
Definition: relax_sdp.c:1929
EXTERN int SCIPrelaxSdpGetNSdpUnsolved(SCIP_RELAX *relax)
Definition: relax_sdp.c:1951
EXTERN SCIP_RETCODE SCIPincludeRelaxSdp(SCIP *scip)
Definition: relax_sdp.c:1649
General interface methods for SDP-preprocessing (mainly fixing variables and removing empty rows/cols...
EXTERN SCIP_RETCODE SCIPrelaxSdpGetPrimalBoundVars(SCIP_RELAX *relax, SCIP_Real *lbvars, SCIP_Real *ubvars, int *arraylength)
Definition: relax_sdp.c:1749
EXTERN long int SCIPrelaxSdpGetSdpNode(SCIP_RELAX *relax)
Definition: relax_sdp.c:1829
EXTERN int SCIPrelaxSdpGetNIterations(SCIP_RELAX *relax)
Definition: relax_sdp.c:1885
EXTERN SCIP_Bool SCIPrelaxSdpSolvedOrig(SCIP_RELAX *relax)
Definition: relax_sdp.c:1840
EXTERN SCIP_RETCODE SCIPrelaxSdpRelaxVal(SCIP_RELAX *relax, SCIP_Bool *success, SCIP_Real *objval)
Definition: relax_sdp.c:1774
EXTERN int SCIPrelaxSdpGetNSdpFast(SCIP_RELAX *relax)
Definition: relax_sdp.c:1907