SCIP-SDP  3.2.0
sdpsolchecker.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 
41 #ifndef __SCIP_SDPI_H__
42 #define __SCIP_SDPI_H__
43 
44 
45 #include "scip/def.h"
46 #include "blockmemshell/memory.h"
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
55 SCIP_EXPORT
56 SCIP_RETCODE SCIPsdpSolcheckerCheck(
57  BMS_BUFMEM* bufmem,
58  int nvars,
59  SCIP_Real* lb,
60  SCIP_Real* ub,
61  int nsdpblocks,
62  int* sdpblocksizes,
63  int* sdpnblockvars,
64  int sdpconstnnonz,
65  int* sdpconstnblocknonz,
67  int** sdpconstrow,
68  int** sdpconstcol,
69  SCIP_Real** sdpconstval,
70  int sdpnnonz,
71  int** sdpnblockvarnonz,
73  int** sdpvar,
75  int*** sdprow,
76  int*** sdpcol,
77  SCIP_Real*** sdpval,
78  int** indchanges,
80  int* nremovedinds,
81  int* blockindchanges,
82  int nlpcons,
83  int noldlpcons,
84  SCIP_Real* lplhs,
85  SCIP_Real* lprhs,
86  int* rownactivevars,
87  int lpnnonz,
88  int* lprow,
89  int* lpcol,
90  SCIP_Real* lpval,
91  SCIP_Real* solvector,
92  SCIP_Real feastol,
93  SCIP_Real epsilon,
94  SCIP_Bool* infeasible
95 );
96 
97 #ifdef __cplusplus
98 }
99 #endif
100 
101 #endif
SCIP_EXPORT SCIP_RETCODE SCIPsdpSolcheckerCheck(BMS_BUFMEM *bufmem, int nvars, SCIP_Real *lb, SCIP_Real *ub, int nsdpblocks, int *sdpblocksizes, int *sdpnblockvars, int sdpconstnnonz, int *sdpconstnblocknonz, int **sdpconstrow, int **sdpconstcol, SCIP_Real **sdpconstval, int sdpnnonz, int **sdpnblockvarnonz, int **sdpvar, int ***sdprow, int ***sdpcol, SCIP_Real ***sdpval, int **indchanges, int *nremovedinds, int *blockindchanges, int nlpcons, int noldlpcons, SCIP_Real *lplhs, SCIP_Real *lprhs, int *rownactivevars, int lpnnonz, int *lprow, int *lpcol, SCIP_Real *lpval, SCIP_Real *solvector, SCIP_Real feastol, SCIP_Real epsilon, SCIP_Bool *infeasible)
Definition: sdpsolchecker.c:58