My Project
OSOptionsStruc.cpp
Go to the documentation of this file.
1/* $Id: OSOptionsStruc.cpp 4210 2011-06-28 09:44:54Z Gassmann $ */
22#include "OSOptionsStruc.h"
23#include "OSOutput.h"
24#include <string>
25
30
32{
33 this->configFile = "";
34 this->osilFile = "";
35 this->osil = "";
36 this->osolFile = "";
37 this->osol = "";
38 this->osrlFile = "";
39 this->osrl = "";
40 this->insListFile = "";
41 this->insList = "";
42 this->serviceLocation = "";
43 this->serviceMethod = "";
44 this->osplInputFile = "";
45 this->osplInput = "";
46 this->osplOutputFile = "";
47 this->osplOutput = "";
48 this->mpsFile = "";
49 this->mps = "";
50 this->nlFile = "";
51 this->nl = "";
52 this->datFile = "";
53 this->dat = "";
54 this->gamsControlFile = "";
55 this->solverName = "";
56 this->browser = "";
58 this->logFile = "";
60 this->jobID = "";
61 this->invokeHelp = false;
62 this->writeVersion = false;
63 this->printModel = false;
64 this->printRowNumberAsString = "";
65 this->quit = false;
66}
67
#define DEFAULT_OUTPUT_LEVEL
std::string osilFile
osilFile is the name of the file that holds the model instance in OSiL format
std::string gamsControlFile
the name of the .dat that holds the GAMS control file
void resetOptions()
a method to reset the options to their default values
int filePrintLevel
this parameter controls the amount of output to send to the log file (if used) the higher the number,...
std::string mps
the string that holds an instance in MPS format
std::string osplOutput
osplOutput is the content of the osplOutputFile
std::string printRowNumberAsString
this parameter contains a string representation (!) of the row number if only a single row (constrain...
std::string serviceMethod
the service method the OSSolverService should execute, i.e.
std::string osolFile
osolFile is the name of the file that holds the solver options in OSoL format
bool writeVersion
if this parameter is true, we print the current version of the OS project
std::string serviceLocation
serviceLocation is the URL of the remote solver when a local solver is not used
int printLevel
this parameter controls the amount of output to print the higher the number, the more output is gener...
std::string osrl
osrl is the content of the osrlFile
std::string insList
insList is the content of the insListFile – THIS IS NOT IMPLEMENTED
std::string osplInputFile
name of an input file with xml in OS Process language format, used for example to knock on a server,...
bool quit
if this parameter is true, we quit/exit the program – only used in the interactive shell
std::string insListFile
name of the file containing the instance in LINDO instruction list format
bool printModel
if this parameter is true, we print the current instance as read from an osil, nl or mps file
bool invokeHelp
if this parameter is true we print the contents of the file help.txt and return
std::string browser
this parameter is a path to the browser on the local machine.
std::string configFile
configFile is the name of the file that holds the configuration options if the OSSolverService reads ...
std::string dat
the string that holds an instance in GAMS dat format
std::string osrlFile
osrlFile is the name of the file where the solver should write the result in OSrL format
std::string osol
osol is the content of the osolFile
std::string osplOutputFile
name of an output file where the solver should write the result of a knock or kill service request
std::string osil
osil is the content of the osilFile
std::string jobID
the JobID
std::string solverName
the name of the solver to be invoked, e.g.
std::string datFile
the name of the file that holds an instance in GAMS dat 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 osplInput
osplInput is the content of the osplInputFile
std::string logFile
this optional parameter contains the path to a logfile that can be used as an alternate output stream...
osOptionsStruc()
constructor
std::string mpsFile
the name of the file that holds an instance in MPS format