#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 "OSmps2OS.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 () |
std::string | get_solverlist () |
void | list_options (OSCommandLine *oscommandline) |
void | merge_CL_options (OSCommandLine *oscommandline) |
This routine merges command line options destined for the remote system with any options already found in an osol file. More... | |
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 | knock (OSCommandLine *oscommandline) |
void | retrieve (OSCommandLine *oscommandline) |
void | kill (OSCommandLine *oscommandline) |
void | getOS (OSCommandLine *oscommandline) |
Some wrappers around routines that allow getting problem instances in other formats: .nl (from AMPL), GAMS, MPS format. More... | |
void | getOSFromNl (OSCommandLine *oscommandline) |
void | getOSFromMps (OSCommandLine *oscommandline) |
void | getOSFromGams (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< OSOutput > | osoutput |
INPUTS:
INPUTS:
Definition in file OSSolverService.cpp.
#define MAXCHARS 5000 |
Definition at line 140 of file OSSolverService.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 142 of file OSSolverService.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.
Definition at line 3211 of file OSParseosss.cpp.
Definition at line 3302 of file OSParseosss.cpp.
void interactiveShell | ( | ) |
Definition at line 1537 of file OSSolverService.cpp.
std::string get_help | ( | ) |
std::string get_version | ( | ) |
Definition at line 2273 of file OSSolverService.cpp.
std::string get_options | ( | ) |
Definition at line 2284 of file OSSolverService.cpp.
std::string get_solverlist | ( | ) |
Definition at line 2425 of file OSSolverService.cpp.
void list_options | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2537 of file OSSolverService.cpp.
void merge_CL_options | ( | OSCommandLine * | oscommandline | ) |
This routine merges command line options destined for the remote system with any options already found in an osol file.
In case of conflicting info, the command line takes precedent
Definition at line 1332 of file OSSolverService.cpp.
void solve | ( | OSCommandLine * | oscommandline | ) |
Next we have implementations of the six service methods solve, send, retrieve, knock, kill, getJobID.
Definition at line 684 of file OSSolverService.cpp.
void getJobID | ( | OSCommandLine * | oscommandline | ) |
Definition at line 926 of file OSSolverService.cpp.
void send | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1079 of file OSSolverService.cpp.
void knock | ( | OSCommandLine * | oscommandline | ) |
Definition at line 991 of file OSSolverService.cpp.
void retrieve | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1161 of file OSSolverService.cpp.
void kill | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1250 of file OSSolverService.cpp.
void getOS | ( | OSCommandLine * | oscommandline | ) |
Some wrappers around routines that allow getting problem instances in other formats: .nl (from AMPL), GAMS, MPS format.
Definition at line 1405 of file OSSolverService.cpp.
void getOSFromNl | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1431 of file OSSolverService.cpp.
void getOSFromMps | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1494 of file OSSolverService.cpp.
void getOSFromGams | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1464 of file OSSolverService.cpp.
void doPrintModel | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2590 of file OSSolverService.cpp.
void doPrintModel | ( | OSInstance * | osinstance | ) |
Definition at line 2635 of file OSSolverService.cpp.
void doPrintRow | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2648 of file OSSolverService.cpp.
void doPrintRow | ( | OSInstance * | osinstance, |
std::string | rownumberstring | ||
) |
Parse the command line
Deal with action items: -printLevel, -logFile, -filePrintLevel, –help, –version
Definition at line 179 of file OSSolverService.cpp.
|
inline |
======================== Interactive shell =========================
Definition at line 1526 of file OSSolverService.cpp.
const OSSmartPtr<OSOutput> osoutput |
Definition at line 39 of file OSOutput.cpp.