#include <OSOptionsStruc.h>
Collaboration diagram for osOptionsStruc:
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 flag that tells OSSolverService that the next input is the instance in OSiL format e.g. | |
std::string | osolFile |
osolFile is the name of the file that holds the solver options | |
std::string | osol |
osil is the flag that tells OSSolverService that the next input is a file with solver options e.g. | |
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 flag that tells OSSolverService that the next input is the file name where the solver should write the result e.g. | |
std::string | insListFile |
name of the file where the instance is in a LINDO instruction list format | |
std::string | insList |
osrl is the flag that tells OSSolverService that the next input is the file name where the instance is a LINDO instruction list -- 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, e.g solve, send, getJobID, kill, knock, or retrieve | |
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 | osplOutputFile |
name of an output file where the solver should write the result of a knock or kill service request | |
std::string | osplInput |
osplInput is the flag that tells OSSolverService that the next input is the file name of the file holding the OSpL that the OSSolverService sends to the solver e.g. | |
std::string | osplOutput |
osplOutput is the flag that tells OSSolverService that the next input is the file name of the file holding the OSpL that the solver should write to e.g. | |
std::string | mpsFile |
the name of the mpsFile that holds an instance in mps format | |
std::string | mps |
the name of the mps string that holds an instance in mps format | |
std::string | nlFile |
the name of the nlFile that holds an instance in AMPL nl format | |
std::string | nl |
the name of the nl string that holds an instance in mps format | |
std::string | datFile |
the name of the nlFile that holds an instance in GAMS dat format | |
std::string | dat |
the name of the nl string that holds an instance in mps 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 paramater is a path to the browser on the local machine. | |
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 | quit |
if this parameter is true we quit/exit | |
bool | exit |
if this parameter is true we quit/exit | |
std::string | jobID |
the JobID |
Definition at line 32 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 38 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), listOptions(), main(), and reset_options().
std::string osOptionsStruc::osilFile |
osilFile is the name of the file that holds the model instance in OSiL format
Definition at line 43 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), listOptions(), main(), and reset_options().
std::string osOptionsStruc::osil |
osil is the flag that tells OSSolverService that the next input is the instance in OSiL format e.g.
-osil ../data/osilFiles/wayneQuadratic.osil
Definition at line 49 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), getOSiLFromGams(), getOSiLFromMps(), getOSiLFromNl(), main(), reset_options(), send(), and solve().
std::string osOptionsStruc::osolFile |
osolFile is the name of the file that holds the solver options
Definition at line 53 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), listOptions(), main(), and reset_options().
std::string osOptionsStruc::osol |
osil is the flag that tells OSSolverService that the next input is a file with solver options e.g.
-osol ../data/osolFiles/demo.osol
Definition at line 59 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), getJobID(), kill(), knock(), main(), reset_options(), retrieve(), send(), and solve().
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.
Referenced by getAmplClientOptions(), listOptions(), main(), reset_options(), retrieve(), send(), and solve().
std::string osOptionsStruc::osrl |
osrl is the flag that tells OSSolverService that the next input is the file name where the solver should write the result e.g.
-osrl ../data/osrlFiles/test.osrl
Definition at line 70 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), and reset_options().
std::string osOptionsStruc::insListFile |
name of the file where the instance is in a LINDO instruction list format
Definition at line 75 of file OSOptionsStruc.h.
std::string osOptionsStruc::insList |
osrl is the flag that tells OSSolverService that the next input is the file name where the instance is a LINDO instruction list -- this is not implemented
Definition at line 81 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), and reset_options().
std::string osOptionsStruc::serviceLocation |
serviceLocation is the URL of the remote solver when a local solver is not used
Definition at line 86 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), getJobID(), kill(), knock(), listOptions(), main(), reset_options(), retrieve(), send(), and solve().
std::string osOptionsStruc::serviceMethod |
the service method the OSSolverService should execute, e.g solve, send, getJobID, kill, knock, or retrieve
Definition at line 91 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), listOptions(), and reset_options().
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 97 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), listOptions(), main(), and reset_options().
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.
Referenced by getAmplClientOptions(), kill(), knock(), and reset_options().
std::string osOptionsStruc::osplInput |
osplInput is the flag that tells OSSolverService that the next input is the file name of the file holding the OSpL that the OSSolverService sends to the solver e.g.
-osplInput ../data/osplFiles/demo.ospl
Definition at line 110 of file OSOptionsStruc.h.
Referenced by knock(), main(), and reset_options().
std::string osOptionsStruc::osplOutput |
osplOutput is the flag that tells OSSolverService that the next input is the file name of the file holding the OSpL that the solver should write to e.g.
-osplOutput ../data/osplFiles/test.ospl
Definition at line 117 of file OSOptionsStruc.h.
Referenced by reset_options().
std::string osOptionsStruc::mpsFile |
the name of the mpsFile that holds an instance in mps format
Definition at line 120 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), getOSiLFromMps(), listOptions(), main(), reset_options(), send(), and solve().
std::string osOptionsStruc::mps |
the name of the mps string that holds an instance in mps format
Definition at line 123 of file OSOptionsStruc.h.
Referenced by main(), and reset_options().
std::string osOptionsStruc::nlFile |
the name of the nlFile that holds an instance in AMPL nl format
Definition at line 126 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), getOSiLFromNl(), listOptions(), main(), reset_options(), send(), and solve().
std::string osOptionsStruc::nl |
the name of the nl string that holds an instance in mps format
Definition at line 129 of file OSOptionsStruc.h.
Referenced by main(), and reset_options().
std::string osOptionsStruc::datFile |
the name of the nlFile that holds an instance in GAMS dat format
Definition at line 133 of file OSOptionsStruc.h.
Referenced by main().
std::string osOptionsStruc::dat |
the name of the nl string that holds an instance in mps format
Definition at line 136 of file OSOptionsStruc.h.
Referenced by main().
std::string osOptionsStruc::gamsControlFile |
the name of the .dat that holds the GAMS control file
Definition at line 141 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), getOSiLFromGams(), reset_options(), and solve().
std::string osOptionsStruc::solverName |
the name of the solver to be invoked, e.g -solver Ipopt
Definition at line 146 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), listOptions(), main(), reset_options(), and solve().
std::string osOptionsStruc::browser |
this paramater 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 154 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), reset_options(), retrieve(), and solve().
if this parameter is true we print the contents of the file help.txt and return
Definition at line 159 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), and reset_options().
if this parameter is true we print the current version of the OS project
Definition at line 164 of file OSOptionsStruc.h.
Referenced by getAmplClientOptions(), and reset_options().
bool osOptionsStruc::quit |
if this parameter is true we quit/exit
Definition at line 167 of file OSOptionsStruc.h.
Referenced by main(), and reset_options().
bool osOptionsStruc::exit |
if this parameter is true we quit/exit
Definition at line 170 of file OSOptionsStruc.h.
Referenced by main(), and reset_options().
std::string osOptionsStruc::jobID |
the JobID
Definition at line 173 of file OSOptionsStruc.h.
Referenced by getJobID(), kill(), knock(), listOptions(), main(), reset_options(), retrieve(), and send().