Macros | Typedefs | Functions | Variables
OSSolverService2.cpp File Reference
#include "OSCoinSolver.h"
#include "OSResult.h"
#include "OSiLReader.h"
#include "OSiLWriter.h"
#include "OSoLReader.h"
#include "OSrLReader.h"
#include "OSrLWriter.h"
#include "OSInstance.h"
#include "OSOption.h"
#include "OSoLWriter.h"
#include "OSFileUtil.h"
#include "OSOutput.h"
#include "OSConfig.h"
#include "OSDefaultSolver.h"
#include "OSWSUtil.h"
#include "OSSolverAgent.h"
#include "OShL.h"
#include "OSErrorClass.h"
#include "OSmps2osil.h"
#include "OSBase64.h"
#include "OSRunSolver.h"
#include "OSCommandLine.h"
#include <stdio.h>
#include <map>
Include dependency graph for OSSolverService2.cpp:

Go to the source code of this file.

Macros

#define MAXCHARS   5000
 

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE
 

Functions

YY_BUFFER_STATE osss_scan_string (const char *osss, void *scanner)
 
void setyyextra (OSCommandLine *oscommandline, void *scanner)
 
int ossslex (void *scanner)
 
int ossslex_init (void **ptr)
 
int ossslex_destroy (void *scanner)
 
void interactiveShell ()
 
std::string get_help ()
 
std::string get_version ()
 
std::string get_options ()
 
void list_options (OSCommandLine *oscommandline)
 
void solve (OSCommandLine *oscommandline)
 Next we have implementations of the six service methods solve, send, retrieve, knock, kill, getJobID. More...
 
void getJobID (OSCommandLine *oscommandline)
 
void send (OSCommandLine *oscommandline)
 
void kill (OSCommandLine *oscommandline)
 
void retrieve (OSCommandLine *oscommandline)
 
void knock (OSCommandLine *oscommandline)
 
void getOSiLFromNl (OSCommandLine *oscommandline)
 Some wrappers around routines that allow getting problem instances in other formats: .nl (from AMPL), GAMS, MPS format. More...
 
void getOSiLFromMps (OSCommandLine *oscommandline)
 
void getOSiLFromGams (OSCommandLine *oscommandline)
 
void doPrintModel (OSCommandLine *oscommandline)
 
void doPrintModel (OSInstance *osinstance)
 
void doPrintRow (OSCommandLine *oscommandline)
 
void doPrintRow (OSInstance *osinstance, std::string rownumberstring)
 
int main (int argC, const char *argV[])
 
void getServiceLocation (OSCommandLine *oscommandline)
 ======================== Interactive shell ========================= More...
 

Variables

const OSSmartPtr< OSOutputosoutput
 

Macro Definition Documentation

#define MAXCHARS   5000

Definition at line 136 of file OSSolverService2.cpp.

Typedef Documentation

Definition at line 138 of file OSSolverService2.cpp.

Function Documentation

YY_BUFFER_STATE osss_scan_string ( const char *  osss,
void scanner 
)
void setyyextra ( OSCommandLine oscommandline,
void scanner 
)

Definition at line 3383 of file OSParseosss.cpp.

int ossslex ( void scanner)
int ossslex_init ( void **  ptr)

Definition at line 3211 of file OSParseosss.cpp.

int ossslex_destroy ( void scanner)

Definition at line 3302 of file OSParseosss.cpp.

void interactiveShell ( )
std::string get_help ( )
std::string get_version ( )
std::string get_options ( )
void list_options ( OSCommandLine oscommandline)

Definition at line 2537 of file OSSolverService.cpp.

void solve ( OSCommandLine oscommandline)

Next we have implementations of the six service methods solve, send, retrieve, knock, kill, getJobID.

void getJobID ( OSCommandLine oscommandline)
void send ( OSCommandLine oscommandline)
void kill ( OSCommandLine oscommandline)
void retrieve ( OSCommandLine oscommandline)
void knock ( OSCommandLine oscommandline)
void getOSiLFromNl ( OSCommandLine oscommandline)

Some wrappers around routines that allow getting problem instances in other formats: .nl (from AMPL), GAMS, MPS format.

Definition at line 1398 of file OSSolverService2.cpp.

void getOSiLFromMps ( OSCommandLine oscommandline)

Definition at line 1460 of file OSSolverService2.cpp.

void getOSiLFromGams ( OSCommandLine oscommandline)

Definition at line 1430 of file OSSolverService2.cpp.

void doPrintModel ( OSCommandLine oscommandline)
void doPrintModel ( OSInstance osinstance)
void doPrintRow ( OSCommandLine oscommandline)
void doPrintRow ( OSInstance osinstance,
std::string  rownumberstring 
)
int main ( int  argC,
const char *  argV[] 
)

Parse the command line

new – added on September 19, 2011 If we are here, then the command line had a configure file. Command line options should override the config file so go back and get these options again

end of new code added on September 19, 2011

Deal with action items: -printLevel, -logFile, -filePrintLevel, –help, –version

Definition at line 172 of file OSSolverService2.cpp.

void getServiceLocation ( OSCommandLine oscommandline)
inline

======================== Interactive shell =========================

Definition at line 1488 of file OSSolverService2.cpp.

Variable Documentation

const OSSmartPtr<OSOutput> osoutput

Definition at line 39 of file OSOutput.cpp.