16 #ifndef OSCOMMANDLINE_H
17 #define OSCOMMANDLINE_H
std::string datFile
the name of the file that holds an instance in GAMS dat format
int printLevel
this parameter controls the amount of output to print the higher the number, the more output is gener...
bool invokeHelp
if this parameter is true we print the contents of the file help.txt and return
std::string insList
insList is the content of the insListFile – this is not implemented
std::string dat
the string that holds an instance in GAMS dat format
bool writeVersion
if this parameter is true we print the current version of the OS project
std::string osplInput
osplInput is the content of the osplInputFile
std::string serviceLocation
serviceLocation is the URL of the remote solver when a local solver is not used
std::string osilOutputFile
osilOutputFile is the name of the file to which the instance can be written in OSiL format...
std::string jobID
the JobID
std::string osil
osil is the content of the osilFile
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
bool listOptions
if this parameter is true we echo the values of the options found on the command line ...
std::string browser
this parameter is a path to the browser on the local machine.
std::string osplInputFile
name of an input file with xml in OS process language format, used for example to knock on a server...
std::string osrlFile
osrlFile is the name of the file where the solver should write the result (in OSrL format) ...
std::string gamsControlFile
the name of the file that holds the GAMS control parameters
std::string logFile
this optional parameter contains the path to a logfile that can be used as an alternate output stream...
OSInstance * osinstance
osinstance is a representation of the instance in OSInstance format
std::string mps
the string that holds an instance in MPS format
std::string osilFile
osilFile is the name of the file that holds the model instance in OSiL format
std::string osplOutputFile
name of an output file where the solver should write the result of a knock or kill service request ...
bool printModel
if this parameter is true we print the current instance as read from an osil, nl or mps file ...
std::string osolOutputFile
osolOutputFile is the name of the file to which the solver options can be written in OSoL format...
std::string printRowNumberAsString
this parameter contains a string representation (!) of the row number if only a single row (constrain...
std::string configFile
configFile is the name of the file that holds the configuration options if the OSSolverService reads ...
std::string mpsFile
the name of the file that holds an instance in MPS format
int filePrintLevel
this parameter controls the amount of output to send to the log file (if used) the higher the number...
std::string serviceMethod
the service method the OSSolverService should execute, i.e.
std::string osol
osol is the content of the osolFile
OSCommandLine()
constructor method
std::string insListFile
name of the file containing the instance in LINDO instruction list format
bool quit
if this parameter is true we quit/exit
std::string osolFile
osolFile is the name of the file that holds the solver options in OSoL format
void convertSolverNameToLowerCase()
to avoid ambiguity it might be necessary to convert the solver name to lower case ...
~OSCommandLine()
destructor method
This class is used to store command line options for the OSSolverService executable and to provide me...
The in-memory representation of an OSiL instance..
std::string list_options()
a function to print the current command line option values
std::string solverName
the name of the solver to be invoked locally, e.g -solver Ipopt
OSOption * osoption
osoption is a representation of the solver options in OSOption format
void convertSolverNameToUpperCase()
...
void reset_options()
a function to reset the command line to default values useful especially in the interactive shell ...