My Project
|
#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>
Go to the source code of this file.
Macros | |
#define | MAXCHARS 5000 |
Typedefs | |
typedef struct yy_buffer_state * | YY_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. | |
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. | |
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 ========================= | |
Variables | |
const OSSmartPtr< OSOutput > | osoutput |
#define MAXCHARS 5000 |
Definition at line 136 of file OSSolverService_old.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 138 of file OSSolverService_old.cpp.
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 | ( | ) |
Definition at line 1499 of file OSSolverService_old.cpp.
std::string get_help | ( | ) |
Definition at line 2019 of file OSSolverService_old.cpp.
std::string get_version | ( | ) |
Definition at line 2212 of file OSSolverService_old.cpp.
std::string get_options | ( | ) |
Definition at line 2223 of file OSSolverService_old.cpp.
void list_options | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2362 of file OSSolverService_old.cpp.
void solve | ( | OSCommandLine * | oscommandline | ) |
Next we have implementations of the six service methods solve, send, retrieve, knock, kill, getJobID.
Definition at line 670 of file OSSolverService_old.cpp.
void getJobID | ( | OSCommandLine * | oscommandline | ) |
Definition at line 938 of file OSSolverService_old.cpp.
void send | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1089 of file OSSolverService_old.cpp.
void kill | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1304 of file OSSolverService_old.cpp.
void retrieve | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1199 of file OSSolverService_old.cpp.
void knock | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1003 of file OSSolverService_old.cpp.
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 OSSolverService_old.cpp.
void getOSiLFromMps | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1460 of file OSSolverService_old.cpp.
void getOSiLFromGams | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1430 of file OSSolverService_old.cpp.
void doPrintModel | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2415 of file OSSolverService_old.cpp.
void doPrintModel | ( | OSInstance * | osinstance | ) |
Definition at line 2460 of file OSSolverService_old.cpp.
void doPrintRow | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2473 of file OSSolverService_old.cpp.
void doPrintRow | ( | OSInstance * | osinstance, |
std::string | rownumberstring ) |
Definition at line 2534 of file OSSolverService_old.cpp.
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 OSSolverService_old.cpp.
|
inline |
======================== Interactive shell =========================
Definition at line 1488 of file OSSolverService_old.cpp.
|
extern |
Definition at line 39 of file OSOutput.cpp.