#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 "OSnl2OS.h"
#include "OSCommandLine.h"
#include <stdio.h>
#include <map>
Go to the source code of this file.
Defines | |
#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 |
INPUTS:
Definition in file OSSolverService.cpp.
#define MAXCHARS 5000 |
Definition at line 136 of file OSSolverService.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 138 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.
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 1529 of file OSSolverService.cpp.
std::string get_help | ( | ) |
Definition at line 2049 of file OSSolverService.cpp.
std::string get_version | ( | ) |
Definition at line 2242 of file OSSolverService.cpp.
std::string get_options | ( | ) |
Definition at line 2253 of file OSSolverService.cpp.
void list_options | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2392 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 675 of file OSSolverService.cpp.
void getJobID | ( | OSCommandLine * | oscommandline | ) |
Definition at line 936 of file OSSolverService.cpp.
void send | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1106 of file OSSolverService.cpp.
void kill | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1328 of file OSSolverService.cpp.
void retrieve | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1220 of file OSSolverService.cpp.
void knock | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1002 of file OSSolverService.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 1428 of file OSSolverService.cpp.
void getOSiLFromMps | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1490 of file OSSolverService.cpp.
void getOSiLFromGams | ( | OSCommandLine * | oscommandline | ) |
Definition at line 1460 of file OSSolverService.cpp.
void doPrintModel | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2445 of file OSSolverService.cpp.
void doPrintModel | ( | OSInstance * | osinstance | ) |
Definition at line 2490 of file OSSolverService.cpp.
void doPrintRow | ( | OSCommandLine * | oscommandline | ) |
Definition at line 2503 of file OSSolverService.cpp.
void doPrintRow | ( | OSInstance * | osinstance, | |
std::string | rownumberstring | |||
) |
Definition at line 2564 of file OSSolverService.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.cpp.
void getServiceLocation | ( | OSCommandLine * | oscommandline | ) | [inline] |
======================== Interactive shell =========================
Definition at line 1518 of file OSSolverService.cpp.
const OSSmartPtr<OSOutput> osoutput |
Definition at line 39 of file OSOutput.cpp.