SCIP-SDP  2.0.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-2015 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-2015 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 
40 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
41 
42 #ifndef __SCIP_RELAXSDP_H__
43 #define __SCIP_RELAXSDP_H__
44 
45 #include "scip/scip.h"
46 #include "sdpi/sdpi.h"
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
53 EXTERN
54 SCIP_RETCODE SCIPincludeRelaxSdp(
55  SCIP* scip
56  );
57 
66 EXTERN
68  SCIP_RELAX* relax,
69  SCIP_Real* lbvars,
70  SCIP_Real* ubvars,
71  int* arraylength
73  );
74 
76 EXTERN
77 SCIP_RETCODE SCIPrelaxSdpRelaxVal(
78  SCIP_RELAX* relax,
79  SCIP_Bool* success,
80  SCIP_Real* objval
81  );
82 
84 EXTERN
85 SCIP_RETCODE SCIPrelaxSdpGetRelaxSol(
86  SCIP* scip,
87  SCIP_RELAX* relax,
88  SCIP_Bool* success,
89  SCIP_Real* solarray,
90  int* sollength
92  );
93 
95 EXTERN
96 long int SCIPrelaxSdpGetSdpNode(
97  SCIP_RELAX* relax
98  );
99 
101 EXTERN
102 SCIP_Bool SCIPrelaxSdpSolvedOrig(
103  SCIP_RELAX* relax
104  );
105 
107 EXTERN
109  SCIP_RELAX* relax
110  );
111 
113 EXTERN
115  SCIP_RELAX* relax
116  );
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 #endif
EXTERN int SCIPrelaxSdpGetNSdpCalls(SCIP_RELAX *relax)
Definition: relax_sdp.c:1142
EXTERN SCIP_RETCODE SCIPrelaxSdpGetRelaxSol(SCIP *scip, SCIP_RELAX *relax, SCIP_Bool *success, SCIP_Real *solarray, int *sollength)
Definition: relax_sdp.c:1072
EXTERN SCIP_RETCODE SCIPincludeRelaxSdp(SCIP *scip)
Definition: relax_sdp.c:964
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:1025
EXTERN long int SCIPrelaxSdpGetSdpNode(SCIP_RELAX *relax)
Definition: relax_sdp.c:1103
EXTERN int SCIPrelaxSdpGetNIterations(SCIP_RELAX *relax)
Definition: relax_sdp.c:1131
EXTERN SCIP_Bool SCIPrelaxSdpSolvedOrig(SCIP_RELAX *relax)
Definition: relax_sdp.c:1114
EXTERN SCIP_RETCODE SCIPrelaxSdpRelaxVal(SCIP_RELAX *relax, SCIP_Bool *success, SCIP_Real *objval)
Definition: relax_sdp.c:1050