SCIP-SDP  3.1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
objreader_sdpaind.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 
39 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
40 
41 #ifndef __SCIP_OBJREADER_SDPAIND_H__
42 #define __SCIP_OBJREADER_SDPAIND_H__
43 
44 #include <utility> // for pair
45 #include <vector> // for vector
46 
47 #include "objscip/objreader.h" // for ObjReader
48 #include "objreader_sdpa.h" // for LProw, LPblock, SDPblock
49 #include "scip/scip.h"
50 
51 class SdpProblem;
52 class SdpVarMapper;
53 
54 namespace scip
55 {
57  class ObjReaderSDPAind : public ObjReader
58  {
59  public:
60 
62  ObjReaderSDPAind(SCIP* scip)
63  : ObjReader(scip, "sdpaindreader", "file reader for SDPA files with indicator constraints", "dat-s-ind")
64  {}
65 
68  {}
69 
78  virtual SCIP_RETCODE scip_read(
79  SCIP* scip,
80  SCIP_READER* reader,
81  const char* filename,
82  SCIP_RESULT* result
83  );
84 
85  };
86 
87 } /* namespace scip */
88 
89 
90 #endif
virtual SCIP_RETCODE scip_read(SCIP *scip, SCIP_READER *reader, const char *filename, SCIP_RESULT *result)
Reader for SDPA-Files.