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

- File List
- File Members

# /home/coin/SVN-release/OS-2.3.5/OS/applications/columnGen/code/OSColGenApp.h

Go to the documentation of this file.

    00001 /* $Id: OSColGenApp.h 3038 2009-11-07 11:43:44Z kmartin $ */
    00018 #ifndef OSCOLGENAPP_H
    00019 #define OSCOLGENAPP_H
    00020
    00021 // --------------------------------------------------------------------- //
    00022 #include "OSDataStructures.h"
    00023 #include "OSDefaultSolver.h"
    00024 #include "OSrLReader.h"
    00025 #include "OSOption.h"
    00026 #include "OSInstance.h"
    00027 #include "OSoLReader.h"
    00028
    00029 #include "OSRouteSolver.h"
    00030
    00031
    00032 #include<map>
    00033 // --------------------------------------------------------------------- //
    00040 // --------------------------------------------------------------------- //
    00041 class OSColGenApp {
    00042 public:
    00043
    00044
    00045         OSInstance *m_osinstanceMaster;
    00046         OSOption *m_osoption;
    00047         OSResult *m_osresult;
    00048
    00049         OSRouteSolver *m_osrouteSolver;
    00050
    00051
    00053         void solveRestrictedMasterRelaxation();
    00054
    00055         void getInitialRestrictedMaster( );
    00056
    00057         void getOptions( OSOption *osoption);
    00058
    00059         void getCuts(const  double* x) ;
    00060
    00075         void getColumns(const  double* y, const int numRows,
    00076                         int &numColumns, int* numNonz, double* cost, double* rcost,
    00077                         int** rowIdx, double** values, double &lowerBound) ;
    00078
    00083         OSColGenApp();
    00084
    00089         OSColGenApp( OSOption *osption);
    00090
    00091
    00096         ~OSColGenApp();
    00097
    00098         //
    00099 };//end class OSColGenApp
    00100
    00101 #endif
    00102