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