SCIP-SDP  3.2.0
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 programs based on SCIP. */
5 /* */
6 /* Copyright (C) 2011-2013 Discrete Optimization, TU Darmstadt */
7 /* EDOM, FAU Erlangen-Nürnberg */
8 /* 2014-2020 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-2020 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 SCIP_EXPORT
63 SCIP_RETCODE SCIPincludeRelaxSdp(
64  SCIP* scip
65  );
66 
70 SCIP_EXPORT
72  SCIP* scip,
73  SCIP_RELAX* relax
74  );
75 
84 SCIP_EXPORT
86  SCIP_RELAX* relax,
87  SCIP_Real* lbvars,
88  SCIP_Real* ubvars,
89  int* arraylength
91  );
92 
94 SCIP_EXPORT
95 SCIP_RETCODE SCIPrelaxSdpRelaxVal(
96  SCIP_RELAX* relax,
97  SCIP_Bool* success,
98  SCIP_Real* objval
99  );
100 
102 SCIP_EXPORT
103 SCIP_RETCODE SCIPrelaxSdpGetRelaxSol(
104  SCIP* scip,
105  SCIP_RELAX* relax,
106  SCIP_Bool* success,
107  SCIP_Real* solarray,
108  int* sollength
110  );
111 
113 SCIP_EXPORT
114 long int SCIPrelaxSdpGetSdpNode(
115  SCIP_RELAX* relax
116  );
117 
119 SCIP_EXPORT
120 SCIP_Bool SCIPrelaxSdpSolvedOrig(
121  SCIP_RELAX* relax
122  );
123 
125 SCIP_EXPORT
126 SCIP_Bool SCIPrelaxSdpSolvedProbing(
127  SCIP_RELAX* relax
128  );
129 
131 SCIP_EXPORT
132 SCIP_Bool SCIPrelaxSdpIsFeasible(
133  SCIP_RELAX* relax
134  );
135 
137 SCIP_EXPORT
138 SCIP_Bool SCIPrelaxSdpIsUnbounded(
139  SCIP_RELAX* relax
140  );
141 
143 SCIP_EXPORT
145  SCIP_RELAX* relax
146  );
147 
149 SCIP_EXPORT
151  SCIP_RELAX* relax
152  );
153 
155 SCIP_EXPORT
157  SCIP_RELAX* relax
158  );
159 
161 SCIP_EXPORT
163  SCIP_RELAX* relax
164  );
165 
167 SCIP_EXPORT
169  SCIP_RELAX* relax
170  );
171 
173 SCIP_EXPORT
175  SCIP_RELAX* relax
176  );
177 
179 SCIP_EXPORT
181  SCIP_RELAX* relax
182  );
183 
185 SCIP_EXPORT
187  SCIP_RELAX* relax
188  );
189 
191 SCIP_EXPORT
193  SCIP_RELAX* relax
194  );
195 
197 SCIP_EXPORT
199  SCIP_RELAX* relax
200  );
201 
203 SCIP_EXPORT
205  SCIP_RELAX* relax
206  );
207 
209 SCIP_EXPORT
211  SCIP_RELAX* relax
212  );
213 
215 SCIP_EXPORT
217  SCIP_RELAX* relax
218  );
219 
221 SCIP_EXPORT
223  SCIP_RELAX* relax
224  );
225 
227 SCIP_EXPORT
229  SCIP_RELAX* relax
230  );
231 
233 SCIP_EXPORT
235  SCIP_RELAX* relax
236  );
237 
239 SCIP_EXPORT
241  SCIP_RELAX* relax
242  );
243 
245 SCIP_EXPORT
247  SCIP_RELAX* relax
248  );
249 
251 SCIP_EXPORT
253  SCIP_RELAX* relax
254  );
255 
257 SCIP_EXPORT
259  SCIP_RELAX* relax
260  );
261 
263 SCIP_EXPORT
265  SCIP_RELAX* relax
266  );
267 
269 SCIP_EXPORT
271  SCIP_RELAX* relax
272  );
273 
275 SCIP_EXPORT
277  SCIP_RELAX* relax
278  );
279 
281 SCIP_EXPORT
283  SCIP_RELAX* relax
284  );
285 
287 SCIP_EXPORT
289  SCIP_RELAX* relax
290  );
291 
293 SCIP_EXPORT
295  SCIP_RELAX* relax
296  );
297 
299 SCIP_EXPORT
301  SCIP_RELAX* relax
302  );
303 
305 SCIP_EXPORT
307  SCIP_RELAX* relax
308  );
309 
311 SCIP_EXPORT
313  SCIP_RELAX* relax
314  );
315 
317 SCIP_EXPORT
319  SCIP_RELAX* relax
320  );
321 
323 SCIP_EXPORT
325  SCIP_RELAX* relax
326  );
327 
329 SCIP_EXPORT
331  SCIP_RELAX* relax
332  );
333 
334 #ifdef __cplusplus
335 }
336 #endif
337 
338 #endif
SCIP_EXPORT SCIP_Bool SCIPrelaxSdpSolvedProbing(SCIP_RELAX *relax)
Definition: relax_sdp.c:5080
SCIP_EXPORT SCIP_RETCODE SCIPrelaxSdpComputeAnalyticCenters(SCIP *scip, SCIP_RELAX *relax)
Definition: relax_sdp.c:4551
SCIP_EXPORT SCIP_RETCODE SCIPrelaxSdpRelaxVal(SCIP_RELAX *relax, SCIP_Bool *success, SCIP_Real *objval)
Definition: relax_sdp.c:4997
SCIP_EXPORT int SCIPrelaxSdpGetNdualSlaterHolds(SCIP_RELAX *relax)
Definition: relax_sdp.c:5213
SCIP_EXPORT int SCIPrelaxSdpGetNIterations(SCIP_RELAX *relax)
Definition: relax_sdp.c:5125
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterHolds(SCIP_RELAX *relax)
Definition: relax_sdp.c:5290
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterFailsStable(SCIP_RELAX *relax)
Definition: relax_sdp.c:5378
SCIP_EXPORT int SCIPrelaxSdpGetNSdpInterfaceCalls(SCIP_RELAX *relax)
Definition: relax_sdp.c:5147
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterHoldsFast(SCIP_RELAX *relax)
Definition: relax_sdp.c:5301
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterFailsPenalty(SCIP_RELAX *relax)
Definition: relax_sdp.c:5389
SCIP_EXPORT SCIP_RETCODE SCIPrelaxSdpGetPrimalBoundVars(SCIP_RELAX *relax, SCIP_Real *lbvars, SCIP_Real *ubvars, int *arraylength)
Definition: relax_sdp.c:4972
SCIP_EXPORT int SCIPrelaxSdpGetNSdpMedium(SCIP_RELAX *relax)
Definition: relax_sdp.c:5169
SCIP_EXPORT SCIP_Bool SCIPrelaxSdpIsFeasible(SCIP_RELAX *relax)
Definition: relax_sdp.c:5097
SCIP_EXPORT SCIP_RETCODE SCIPincludeRelaxSdp(SCIP *scip)
Definition: relax_sdp.c:4387
SCIP_EXPORT int SCIPrelaxSdpGetNSdpPenalty(SCIP_RELAX *relax)
Definition: relax_sdp.c:5191
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterFailsFast(SCIP_RELAX *relax)
Definition: relax_sdp.c:5367
General interface methods for SDP-preprocessing (mainly fixing variables and removing empty rows/cols...
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterInfeasibleBounded(SCIP_RELAX *relax)
Definition: relax_sdp.c:5455
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterInfeasibleStable(SCIP_RELAX *relax)
Definition: relax_sdp.c:5433
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterFailsBounded(SCIP_RELAX *relax)
Definition: relax_sdp.c:5400
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterHoldsStable(SCIP_RELAX *relax)
Definition: relax_sdp.c:5312
SCIP_EXPORT int SCIPrelaxSdpGetNSdpCalls(SCIP_RELAX *relax)
Definition: relax_sdp.c:5136
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterInfeasibleUnsolved(SCIP_RELAX *relax)
Definition: relax_sdp.c:5466
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterHoldsBounded(SCIP_RELAX *relax)
Definition: relax_sdp.c:5334
SCIP_EXPORT int SCIPrelaxSdpGetNprimalSlaterUnknown(SCIP_RELAX *relax)
Definition: relax_sdp.c:5279
SCIP_EXPORT SCIP_RETCODE SCIPrelaxSdpGetRelaxSol(SCIP *scip, SCIP_RELAX *relax, SCIP_Bool *success, SCIP_Real *solarray, int *sollength)
Definition: relax_sdp.c:5019
SCIP_EXPORT int SCIPrelaxSdpGetNdualSlaterInfeasible(SCIP_RELAX *relax)
Definition: relax_sdp.c:5235
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterHoldsUnsolved(SCIP_RELAX *relax)
Definition: relax_sdp.c:5345
SCIP_EXPORT int SCIPrelaxSdpGetNdualSlaterUnknown(SCIP_RELAX *relax)
Definition: relax_sdp.c:5246
SCIP_EXPORT SCIP_Bool SCIPrelaxSdpSolvedOrig(SCIP_RELAX *relax)
Definition: relax_sdp.c:5063
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterFailsUnsolved(SCIP_RELAX *relax)
Definition: relax_sdp.c:5411
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterFails(SCIP_RELAX *relax)
Definition: relax_sdp.c:5356
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterInfeasiblePenalty(SCIP_RELAX *relax)
Definition: relax_sdp.c:5444
SCIP_EXPORT SCIP_Bool SCIPrelaxSdpIsUnbounded(SCIP_RELAX *relax)
Definition: relax_sdp.c:5108
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterInfeasibleFast(SCIP_RELAX *relax)
Definition: relax_sdp.c:5422
SCIP_EXPORT int SCIPrelaxSdpGetNprimalSlaterFails(SCIP_RELAX *relax)
Definition: relax_sdp.c:5268
SCIP_EXPORT int SCIPrelaxSdpGetNSlaterHoldsPenalty(SCIP_RELAX *relax)
Definition: relax_sdp.c:5323
SCIP_EXPORT int SCIPrelaxSdpGetNSdpUnsolved(SCIP_RELAX *relax)
Definition: relax_sdp.c:5202
SCIP_EXPORT int SCIPrelaxSdpGetNSdpFast(SCIP_RELAX *relax)
Definition: relax_sdp.c:5158
SCIP_EXPORT int SCIPrelaxSdpGetNdualSlaterFails(SCIP_RELAX *relax)
Definition: relax_sdp.c:5224
SCIP_EXPORT int SCIPrelaxSdpGetNprimalSlaterHolds(SCIP_RELAX *relax)
Definition: relax_sdp.c:5257
SCIP_EXPORT long int SCIPrelaxSdpGetSdpNode(SCIP_RELAX *relax)
Definition: relax_sdp.c:5052
SCIP_EXPORT int SCIPrelaxSdpGetNSdpStable(SCIP_RELAX *relax)
Definition: relax_sdp.c:5180