Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
Overview
Files
Plugin Types
Interfaces
Examples
How To
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
scip-repo
src
objscip
objprobcloneable.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the program and library */
4
/* SCIP --- Solving Constraint Integer Programs */
5
/* */
6
/* Copyright (C) 2002-2014 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SCIP is distributed under the terms of the ZIB Academic License. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License. */
12
/* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
/**@file objprobcloneable.h
17
* @brief Definition of base class for all clonable classes which define problem data
18
* @author Tobias Achterberg
19
* @author Timo Berthold
20
* @author Ambros Gleixner
21
* @author Stefan Heinz
22
* @author Stefan Vigerske
23
*/
24
25
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
26
27
#ifndef __SCIP_OBJPROBCLONEABLE_H__
28
#define __SCIP_OBJPROBCLONEABLE_H__
29
30
#include "
scip/def.h
"
31
#include "
scip/scip.h
"
32
#include "
objscip/type_objprobcloneable.h
"
33
34
35
36
namespace
scip
37
{
38
/** @brief Definition of base class for all clonable classes which define problem data
39
*
40
* Constraint handler and variable pricer C++ wrapper object plugins should extend this class
41
*/
42
struct
ObjProbCloneable
43
{
44
virtual
~ObjProbCloneable
() {}
45
46
/** clone method which will be used to copy constraint handler and variable pricer objects */
47
virtual
SCIP_DECL_OBJPROBCLONE
(
ObjProbCloneable
* clone)
48
{
49
return
0;
50
}
51
52
/** returns whether the plugin object is copyable */
53
virtual
SCIP_DECL_OBJPROBISCLONEABLE
(iscloneable)
54
{
55
return
FALSE
;
56
}
57
};
58
}
59
60
#endif
61