This structure is used to store options for the OSSolverService executable. More...
#include <OSOptionsStruc.h>
Public Attributes | |
std::string | configFile |
configFile is the name of the file that holds the configuration options if the OSSolverService reads its options from a file rather than command line inputs | |
std::string | osilFile |
osilFile is the name of the file that holds the model instance in OSiL format | |
std::string | osil |
osil is the content of the osilFile | |
std::string | osolFile |
osolFile is the name of the file that holds the solver options in OSoL format | |
std::string | osol |
osol is the content of the osolFile | |
std::string | osrlFile |
osrlFile is the name of the file where the solver should write the result in OSrL format | |
std::string | osrl |
osrl is the content of the osrlFile | |
std::string | insListFile |
name of the file containing the instance in LINDO instruction list format | |
std::string | insList |
insList is the content of the insListFile -- this is not implemented | |
std::string | serviceLocation |
serviceLocation is the URL of the remote solver when a local solver is not used | |
std::string | serviceMethod |
the service method the OSSolverService should execute, i.e. | |
std::string | osplInputFile |
name of an input file with xml in OS Process language format, used for example to knock on a server, for example -osplInput . | |
std::string | osplInput |
osplInput is the content of the osplInputFile | |
std::string | osplOutputFile |
name of an output file where the solver should write the result of a knock or kill service request | |
std::string | osplOutput |
osplOutput is the content of the osplOutputFile | |
std::string | mpsFile |
the name of the file that holds an instance in MPS format | |
std::string | mps |
the string that holds an instance in MPS format | |
std::string | nlFile |
the name of the file that holds an instance in AMPL nl format | |
std::string | nl |
the string that holds an instance in AMPL nl format | |
std::string | datFile |
the name of the file that holds an instance in GAMS dat format | |
std::string | dat |
the string that holds an instance in GAMS dat format | |
std::string | gamsControlFile |
the name of the .dat that holds the GAMS control file | |
std::string | solverName |
the name of the solver to be invoked, e.g -solver Ipopt | |
std::string | browser |
this parameter is a path to the browser on the local machine. | |
std::string | jobID |
the JobID | |
bool | invokeHelp |
if this parameter is true we print the contents of the file help.txt and return | |
bool | writeVersion |
if this parameter is true we print the current version of the OS project | |
bool | printModel |
if this parameter is true we print the current instance as read from an osil, nl or mps file | |
std::string | printRowNumberAsString |
this parameter contains a string representation (!) of the row number if only a single row (constraint or objective) of the current instance is to be printed String representations are easier to parse in OSParseosss.l and are easier to recognize as being present or absent | |
bool | quit |
if this parameter is true we quit/exit
| |
bool | exit |
if this parameter is true we quit/exit
|
This structure is used to store options for the OSSolverService executable.
Definition at line 35 of file OSOptionsStruc.h.
std::string osOptionsStruc::configFile |
configFile is the name of the file that holds the configuration options if the OSSolverService reads its options from a file rather than command line inputs
Definition at line 41 of file OSOptionsStruc.h.
std::string osOptionsStruc::osilFile |
osilFile is the name of the file that holds the model instance in OSiL format
Definition at line 46 of file OSOptionsStruc.h.
std::string osOptionsStruc::osil |
osil is the content of the osilFile
Definition at line 50 of file OSOptionsStruc.h.
std::string osOptionsStruc::osolFile |
osolFile is the name of the file that holds the solver options in OSoL format
Definition at line 55 of file OSOptionsStruc.h.
std::string osOptionsStruc::osol |
osol is the content of the osolFile
Definition at line 59 of file OSOptionsStruc.h.
std::string osOptionsStruc::osrlFile |
osrlFile is the name of the file where the solver should write the result in OSrL format
Definition at line 64 of file OSOptionsStruc.h.
std::string osOptionsStruc::osrl |
osrl is the content of the osrlFile
Definition at line 68 of file OSOptionsStruc.h.
std::string osOptionsStruc::insListFile |
name of the file containing the instance in LINDO instruction list format
Definition at line 73 of file OSOptionsStruc.h.
std::string osOptionsStruc::insList |
insList is the content of the insListFile -- this is not implemented
Definition at line 77 of file OSOptionsStruc.h.
std::string osOptionsStruc::serviceLocation |
serviceLocation is the URL of the remote solver when a local solver is not used
Definition at line 82 of file OSOptionsStruc.h.
std::string osOptionsStruc::serviceMethod |
the service method the OSSolverService should execute, i.e.
solve, send, getJobID, kill, knock, or retrieve
Definition at line 87 of file OSOptionsStruc.h.
std::string osOptionsStruc::osplInputFile |
name of an input file with xml in OS Process language format, used for example to knock on a server, for example -osplInput .
./data/osplFiles/demo.ospl
Definition at line 93 of file OSOptionsStruc.h.
std::string osOptionsStruc::osplInput |
osplInput is the content of the osplInputFile
Definition at line 97 of file OSOptionsStruc.h.
std::string osOptionsStruc::osplOutputFile |
name of an output file where the solver should write the result of a knock or kill service request
Definition at line 103 of file OSOptionsStruc.h.
std::string osOptionsStruc::osplOutput |
osplOutput is the content of the osplOutputFile
Definition at line 107 of file OSOptionsStruc.h.
std::string osOptionsStruc::mpsFile |
the name of the file that holds an instance in MPS format
Definition at line 110 of file OSOptionsStruc.h.
std::string osOptionsStruc::mps |
the string that holds an instance in MPS format
Definition at line 113 of file OSOptionsStruc.h.
std::string osOptionsStruc::nlFile |
the name of the file that holds an instance in AMPL nl format
Definition at line 116 of file OSOptionsStruc.h.
std::string osOptionsStruc::nl |
the string that holds an instance in AMPL nl format
Definition at line 119 of file OSOptionsStruc.h.
std::string osOptionsStruc::datFile |
the name of the file that holds an instance in GAMS dat format
Definition at line 122 of file OSOptionsStruc.h.
std::string osOptionsStruc::dat |
the string that holds an instance in GAMS dat format
Definition at line 125 of file OSOptionsStruc.h.
std::string osOptionsStruc::gamsControlFile |
the name of the .dat that holds the GAMS control file
Definition at line 128 of file OSOptionsStruc.h.
std::string osOptionsStruc::solverName |
the name of the solver to be invoked, e.g -solver Ipopt
Definition at line 133 of file OSOptionsStruc.h.
std::string osOptionsStruc::browser |
this parameter is a path to the browser on the local machine.
If this optional parameter is specified then the solver result in OSrL format is transformed using XSLT into HTML and displayed in the browser, e.g. -browser /Applications/Firefox.app/Contents/MacOS/firefox
Definition at line 141 of file OSOptionsStruc.h.
std::string osOptionsStruc::jobID |
the JobID
Definition at line 144 of file OSOptionsStruc.h.
if this parameter is true we print the contents of the file help.txt and return
Definition at line 149 of file OSOptionsStruc.h.
if this parameter is true we print the current version of the OS project
Definition at line 154 of file OSOptionsStruc.h.
if this parameter is true we print the current instance as read from an osil, nl or mps file
Definition at line 159 of file OSOptionsStruc.h.
std::string osOptionsStruc::printRowNumberAsString |
this parameter contains a string representation (!) of the row number if only a single row (constraint or objective) of the current instance is to be printed String representations are easier to parse in OSParseosss.l and are easier to recognize as being present or absent
Definition at line 167 of file OSOptionsStruc.h.
bool osOptionsStruc::quit |
if this parameter is true we quit/exit
Definition at line 172 of file OSOptionsStruc.h.
bool osOptionsStruc::exit |
if this parameter is true we quit/exit
Definition at line 177 of file OSOptionsStruc.h.