SCIP-SDP  3.1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cons_savesdpsol.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-2018 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-2018 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 #ifndef __SCIP_CONS_SAVEDSDPSOL_H_
41 #define __SCIP_CONS_SAVEDSDPSOL_H_
42 
43 #include <scip/scip.h>
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
50 EXTERN
52  SCIP* scip
53  );
54 
56 EXTERN
57 SCIP_RETCODE createConsSavesdpsol(
58  SCIP* scip,
59  SCIP_CONS** cons,
60  const char* name,
61  SCIP_Longint node,
62  SCIP_SOL* sol,
63  SCIP_Real maxprimalentry,
64  int nblocks,
65  int* startXnblocknonz,
67  int** startXrow,
69  int** startXcol,
71  SCIP_Real** startXval
73  );
74 
76 EXTERN
78  SCIP* scip,
79  SCIP_CONS* cons
80  );
81 
83 EXTERN
85  SCIP* scip,
86  SCIP_CONS* cons
87  );
88 
90 EXTERN
92  SCIP* scip,
93  SCIP_CONS* cons
94  );
95 
97 EXTERN
99  SCIP* scip,
100  SCIP_CONS* cons,
101  int nblocks,
102  int* startXnblocknonz
104  );
105 
107 EXTERN
109  SCIP* scip,
110  SCIP_CONS* cons,
111  int nblocks,
112  int* startXnblocknonz,
114  int** startXrow,
115  int** startXcol,
116  SCIP_Real** startXval
117  );
118 
119 #ifdef __cplusplus
120 }
121 #endif
122 
123 #endif
EXTERN SCIP_SOL * SCIPconsSavesdpsolGetDualVector(SCIP *scip, SCIP_CONS *cons)
EXTERN SCIP_Longint SCIPconsSavesdpsolGetNodeIndex(SCIP *scip, SCIP_CONS *cons)
EXTERN SCIP_Real SCIPconsSavesdpsolGetMaxPrimalEntry(SCIP *scip, SCIP_CONS *cons)
EXTERN SCIP_RETCODE SCIPconsSavesdpsolGetPrimalMatrixNonzeros(SCIP *scip, SCIP_CONS *cons, int nblocks, int *startXnblocknonz)
EXTERN SCIP_RETCODE SCIPconsSavesdpsolGetPrimalMatrix(SCIP *scip, SCIP_CONS *cons, int nblocks, int *startXnblocknonz, int **startXrow, int **startXcol, SCIP_Real **startXval)
char name[SCIP_MAXSTRLEN]
EXTERN SCIP_RETCODE SCIPincludeConshdlrSavesdpsol(SCIP *scip)
EXTERN SCIP_RETCODE createConsSavesdpsol(SCIP *scip, SCIP_CONS **cons, const char *name, SCIP_Longint node, SCIP_SOL *sol, SCIP_Real maxprimalentry, int nblocks, int *startXnblocknonz, int **startXrow, int **startXcol, SCIP_Real **startXval)