My Project
builddir
build
BUILD
coin-or-OS-2.10.3-build
OS-releases-2.10.3
OS
src
OSSolverInterfaces
OSDefaultSolver.cpp
Go to the documentation of this file.
1
/* $Id: OSDefaultSolver.cpp 4943 2015-02-04 19:10:42Z Gassmann $ */
15
#include "
OSOutput.h
"
16
#include "
OSErrorClass.h
"
17
#include "
OSDefaultSolver.h
"
18
19
#include<iostream>
20
21
using
std::endl;
22
23
DefaultSolver::DefaultSolver
():
24
osil(
""
),
25
osol(
""
),
26
osrl(
""
),
27
osinstance( NULL),
28
osoption
( NULL),
29
osresult
( NULL),
30
sSolverName(
""
),
31
bCallbuildSolverInstance( false),
32
bSetSolverOptions( false)
33
34
{
35
36
37
}
38
39
DefaultSolver::~DefaultSolver
()
40
{
41
#ifndef NDEBUG
42
osoutput
->OSPrint(
ENUM_OUTPUT_AREA_OSSolverInterfaces
,
ENUM_OUTPUT_LEVEL_debug
,
"Default Solver destructor called"
);
43
#endif
44
/* we do not delete osinstance since it is not newed in any
45
* of the solvers, it is newed elesewhere and deleted elsewhere
46
*/
47
//if(osinstance != NULL) delete osinstance;
48
//osinstance = NULL;
49
//if(osresult != NULL) delete osresult;
50
//osresult = NULL;
51
}
52
osoutput
const OSSmartPtr< OSOutput > osoutput
Definition
OSOutput.cpp:39
OSDefaultSolver.h
OSErrorClass.h
OSOutput.h
osoption
OSOption * osoption
Definition
OSParseosol.tab.cpp:3982
DefaultSolver::~DefaultSolver
virtual ~DefaultSolver()=0
default destructor.
Definition
OSDefaultSolver.cpp:39
DefaultSolver::DefaultSolver
DefaultSolver()
default constructor.
Definition
OSDefaultSolver.cpp:23
ENUM_OUTPUT_LEVEL_debug
@ ENUM_OUTPUT_LEVEL_debug
Definition
OSParameters.h:114
ENUM_OUTPUT_AREA_OSSolverInterfaces
@ ENUM_OUTPUT_AREA_OSSolverInterfaces
Definition
OSParameters.h:145
osresult
OSResult * osresult
Definition
OSParseosrl.tab.cpp:1558
Generated by
1.11.0