- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# /home/coin/SVN-release/OS-2.3.5/OS/src/OSCommonInterfaces/OSDefaultSolver.cpp

Go to the documentation of this file.

    00001 /* $Id: OSDefaultSolver.cpp 2698 2009-06-09 04:14:07Z kmartin $ */
    00018 #include "OSErrorClass.h"
    00019 #include "OSDefaultSolver.h"
    00020
    00021 #include<iostream>
    00022 using std::cout;
    00023 using std::endl;
    00024
    00025 DefaultSolver::DefaultSolver():
    00026         osil(""),
    00027         osol(""),
    00028         osrl(""),
    00029         osinstance( NULL),
    00030         osresult( NULL),
    00031         osoption( NULL),
    00032         insList(""),
    00033         sSolverName(""),
    00034         bCallbuildSolverInstance( false),
    00035         bSetSolverOptions( false)
    00036
    00037 {
    00038
    00039
    00040 }
    00041
    00042 DefaultSolver::~DefaultSolver(){
    00043         #ifdef DEBUG
    00044         cout << "Default Solver destructor called" << endl;
    00045         #endif
    00046         //cout << "Start Default Solver Destructor" << endl;
    00047         /* we do not delete osinstance since it is not newed in any
    00048          * of the solvers, it is newed elesewhere and deleted elsewhere
    00049          */
    00050         //if(osinstance != NULL) delete osinstance;
    00051         //osinstance = NULL;
    00052         //if(osresult != NULL) delete osresult;
    00053         //osresult = NULL;
    00054 }
    00055