#include <OSOption.h>
Collaboration diagram for OSOption:
Public Member Functions | |
OSOption () | |
Default constructor. | |
~OSOption () | |
Class destructor. | |
bool | IsEqual (OSOption *that) |
A function to check for the equality of two objects. | |
std::string | getServiceURI () |
Get the service URI. | |
std::string | getServiceName () |
Get the service name. | |
std::string | getInstanceName () |
Get the instance name. | |
std::string | getInstanceLocation () |
Get the instance location. | |
std::string | getInstanceLocationType () |
Get the location type. | |
std::string | getJobID () |
Get the job ID. | |
std::string | getSolverToInvoke () |
Get the solver name. | |
std::string | getLicense () |
Get the license string. | |
std::string | getUserName () |
Get the user name. | |
std::string | getPassword () |
Get the password. | |
std::string | getContact () |
Get the contact information. | |
std::string | getContactTransportType () |
Get the transport type. | |
std::string | getMinDiskSpaceUnit () |
Get the disk space unit. | |
std::string | getMinMemoryUnit () |
Get the memory unit. | |
std::string | getMinCPUSpeedUnit () |
Get the CPU speed unit. | |
std::string | getServiceType () |
Get the service type. | |
std::string | getMaxTimeUnit () |
Get the time unit. | |
std::string | getRequestedStartTime () |
Get the requested starting time. | |
std::string | getOptionStr (std::string optionName) |
Get any of the string-valued options. | |
double | getMinDiskSpace () |
Get the minimum required disk space. | |
double | getMinMemorySize () |
Get the minimum required memory. | |
double | getMinCPUSpeed () |
Get the minimum required CPU speed. | |
double | getMaxTime () |
Get the maximum allowed time. | |
double | getOptionDbl (std::string optionName) |
Get any of the double-valued options. | |
int | getMinCPUNumber () |
Get the minimum required number of CPUs. | |
int | getNumberOfOtherGeneralOptions () |
Get the number of <other> options in the <general> element. | |
int | getNumberOfOtherSystemOptions () |
Get the number of <other> options in the <system> element. | |
int | getNumberOfOtherServiceOptions () |
Get the number of <other> options in the <service> element. | |
int | getNumberOfOtherJobOptions () |
Get the number of <other> options in the <job> element. | |
int | getNumberOfJobDependencies () |
Get the number of job dependencies. | |
int | getNumberOfRequiredDirectories () |
Get the number of required directories. | |
int | getNumberOfRequiredFiles () |
Get the number of required files. | |
int | getNumberOfDirectoriesToMake () |
Get the number of directories to make. | |
int | getNumberOfFilesToMake () |
Get the number of files to make. | |
int | getNumberOfInputDirectoriesToMove () |
Get the number of input directories to move. | |
int | getNumberOfInputFilesToMove () |
Get the number of input files to move. | |
int | getNumberOfOutputDirectoriesToMove () |
Get the number of output directories to move. | |
int | getNumberOfOutputFilesToMove () |
Get the number of output files to move. | |
int | getNumberOfFilesToDelete () |
Get the number of files to delete. | |
int | getNumberOfDirectoriesToDelete () |
Get the number of directories to delete. | |
int | getNumberOfProcessesToKill () |
Get the number of processes to kill. | |
int | getNumberOfVariables () |
Get the number of variables in the instance. | |
int | getNumberOfObjectives () |
Get the number of objectives in the instance. | |
int | getNumberOfConstraints () |
Get the number of constraints in the instance. | |
int | getNumberOfInitVarValues () |
Get the number of initial variable values. | |
int | getNumberOfInitVarValuesString () |
Get the number of initial variable strings. | |
int | getNumberOfInitialBasisVariables () |
Get the number of variables for which initial basis information is provided. | |
int | getNumberOfIntegerVariableBranchingWeights () |
Get the number of variables for which integer branching weights are provided. | |
int | getNumberOfSOS () |
Get the number of special ordered sets for which branching weights are provided. | |
int | getNumberOfSOSVarBranchingWeights (int iSOS) |
Get the number of variables for which branching weights are provided in a particular SOS. | |
int | getNumberOfOtherVariableOptions () |
Get the number of other variable options. | |
int | getNumberOfInitObjValues () |
Get the number of initial objective values. | |
int | getNumberOfInitObjBounds () |
Get the number of initial objective bounds. | |
int | getNumberOfOtherObjectiveOptions () |
Get the number of other objective options. | |
int | getNumberOfInitConValues () |
Get the number of initial constraint values. | |
int | getNumberOfInitDualVarValues () |
Get the number of initial dual variable values. | |
int | getNumberOfOtherConstraintOptions () |
Get the number of other constraint options. | |
int | getNumberOfSolverOptions () |
Get the number of solver options. | |
int | getOptionInt (std::string optionName) |
Get any of the integer-valued options. | |
OtherOption ** | getOtherGeneralOptions () |
Get the array of other options associated with the <general> element. | |
OtherOption ** | getOtherSystemOptions () |
Get the array of other options associated with the <system> element. | |
OtherOption ** | getOtherServiceOptions () |
Get the array of other options associated with the <service> element. | |
OtherOption ** | getOtherJobOptions () |
Get the array of other options associated with the <job> element. | |
OtherOption ** | getOtherOptions (std::string elementName) |
Get the array of other options associated with any element. | |
OtherOption ** | getAllOtherOptions () |
Get the array of all other options associated with the <general>, <system>, <service> and <job> elements. | |
std::string * | getJobDependencies () |
Get the array of job dependencies. | |
std::string * | getRequiredDirectories () |
Get the array of required directories. | |
std::string * | getRequiredFiles () |
Get the array of required files. | |
std::string * | getDirectoriesToMake () |
Get the array of directories to make. | |
std::string * | getFilesToMake () |
Get the array of files to make. | |
PathPair ** | getInputDirectoriesToMove () |
Get the array of input directories to move. | |
PathPair ** | getInputFilesToMove () |
Get the array of input files to move. | |
PathPair ** | getOutputDirectoriesToMove () |
Get the array of output directories to move. | |
PathPair ** | getOutputFilesToMove () |
Get the array of output files to move. | |
std::string * | getDirectoriesToDelete () |
Get the array of directories to delete. | |
std::string * | getFilesToDelete () |
Get the array of files to delete. | |
std::string * | getProcessesToKill () |
Get the array of processes to kill. | |
InitVarValue ** | getInitVarValuesSparse () |
Get the initial values associated with the variables in sparse form. | |
double * | getInitVarValuesDense () |
Get the initial values associated with the variables in dense form. | |
double * | getInitVarValuesDense (int numberOfVariables) |
Get the initial values associated with the variables in dense form. | |
InitVarValueString ** | getInitVarValuesStringSparse () |
Get the initial value strings associated with the variables in sparse form. | |
std::string * | getInitVarValuesStringDense () |
Get the initial value strings associated with the variables in dense form. | |
std::string * | getInitVarValuesStringDense (int numberOfVariables) |
Get the initial value strings associated with the variables in dense form. | |
InitBasStatus ** | getInitBasisStatusSparse () |
Get the initial basis status in sparse form. | |
std::string * | getInitBasisStatusDense () |
Get the initial basis status in dense form. | |
std::string * | getInitBasisStatusDense (int numberOfVariables) |
Get the initial basis status in dense form. | |
BranchingWeight ** | getIntegerVariableBranchingWeightsSparse () |
Get the integer branching weights in sparse form. | |
double * | getIntegerVariableBranchingWeightsDense () |
Get the integer branching weights in dense form. | |
double * | getIntegerVariableBranchingWeightsDense (int numberOfVariables) |
Get the integer branching weights in dense form. | |
SOSWeights ** | getSOSVariableBranchingWeightsSparse () |
Get the SOS branching weights in sparse form. | |
std::vector< OtherVariableOption * > | getOtherVariableOptions (std::string solver_name) |
Get the <other> variable options associated with a particular solver. | |
OtherVariableOption ** | getAllOtherVariableOptions () |
Get all <other> variable options. | |
InitObjValue ** | getInitObjValuesSparse () |
Get the initial values associated with the objectives in sparse form. | |
double * | getInitObjValuesDense () |
Get the initial values associated with the objectives in dense form. | |
double * | getInitObjValuesDense (int numberOfObjectives) |
Get the initial values associated with the objectives in dense form. | |
InitObjBound ** | getInitObjBoundsSparse () |
Get the initial bounds associated with the objectives in sparse form. | |
double * | getInitObjLowerBoundsDense () |
Get the initial lower bounds associated with the objectives in dense form. | |
double * | getInitObjLowerBoundsDense (int numberOfObjectives) |
Get the initial lower bounds associated with the objectives in dense form. | |
double * | getInitObjUpperBoundsDense () |
Get the initial upper bounds associated with the objectives in dense form. | |
double * | getInitObjUpperBoundsDense (int numberOfObjectives) |
Get the initial upper bounds associated with the objectives in dense form. | |
std::vector< OtherObjectiveOption * > | getOtherObjectiveOptions (std::string solver_name) |
Get the array of other objective options. | |
OtherObjectiveOption ** | getAllOtherObjectiveOptions () |
Get all <other> objective options. | |
InitConValue ** | getInitConValuesSparse () |
Get the initial values associated with the constraints in sparse form. | |
double * | getInitConValuesDense () |
Get the initial values associated with the constraints in dense form. | |
double * | getInitConValuesDense (int numberOfConstraints) |
Get the initial values associated with the constraints in dense form. | |
InitDualVarValue ** | getInitDualVarValuesSparse () |
Get the initial bounds associated with the dual variables in sparse form. | |
double * | getInitDualVarLowerBoundsDense () |
Get the initial dual variables associated with the lower bounds in dense form. | |
double * | getInitDualVarLowerBoundsDense (int numberOfConstraints) |
Get the initial dual variables associated with the lower bounds in dense form. | |
double * | getInitDualVarUpperBoundsDense () |
Get the initial dual variables associated with the upper bounds in dense form. | |
double * | getInitDualVarUpperBoundsDense (int numberOfConstraints) |
Get the initial dual variables associated with the upper bounds in dense form. | |
std::vector< OtherConstraintOption * > | getOtherConstraintOptions (std::string solver_name) |
Get the array of other constraint options. | |
OtherConstraintOption ** | getAllOtherConstraintOptions () |
Get all <other> constraint options. | |
std::vector< SolverOption * > | getSolverOptions (std::string solver_name) |
Get the options associated with a given solver. | |
SolverOption ** | getAllSolverOptions () |
Get all solver options. | |
bool | setServiceURI (std::string serviceURI) |
Set the serviceURI. | |
bool | setServiceName (std::string serviceName) |
Set the service name. | |
bool | setInstanceName (std::string instanceName) |
Set the instance name. | |
bool | setInstanceLocation (std::string instanceLocation) |
Set the instance location. | |
bool | setInstanceLocationType (std::string locationType) |
Set the instance location type. | |
bool | setJobID (std::string jobID) |
Set the job ID. | |
bool | setSolverToInvoke (std::string solverToInvoke) |
Set the solver to be invoked. | |
bool | setLicense (std::string license) |
Set the license information. | |
bool | setUserName (std::string userName) |
Set the username. | |
bool | setPassword (std::string password) |
Set the password. | |
bool | setContact (std::string contact) |
Set the contact information. | |
bool | setContactTransportType (std::string transportType) |
Set the transport type for contact. | |
bool | setOtherGeneralOptions (int numberOfOptions, OtherOption **other) |
Set the other general options as an entire array. | |
bool | setAnOtherGeneralOption (std::string name, std::string value, std::string description) |
Add another general option to the general <other> option array. | |
bool | setMinDiskSpace (double value) |
set() options in the <system> element | |
bool | setMinDiskSpaceUnit (std::string unit) |
bool | setMinMemorySize (double value) |
bool | setMinMemoryUnit (std::string unit) |
bool | setMinCPUSpeed (double value) |
bool | setMinCPUSpeedUnit (std::string unit) |
bool | setMinCPUNumber (int number) |
bool | setOtherSystemOptions (int numberOfOptions, OtherOption **other) |
bool | setAnOtherSystemOption (std::string name, std::string value, std::string description) |
bool | setServiceType (std::string serviceType) |
set() options in the <service> element | |
bool | setOtherServiceOptions (int numberOfOptions, OtherOption **other) |
bool | setAnOtherServiceOption (std::string name, std::string value, std::string description) |
bool | setMaxTime (double value) |
set() options in the <job> element | |
bool | setMaxTimeUnit (std::string unit) |
bool | setRequestedStartTime (std::string time) |
bool | setJobDependencies (int numberOfDependencies, std::string *jobDependencies) |
bool | setAnotherJobDependency (std::string jobID) |
bool | setRequiredDirectories (int numberOfPaths, std::string *paths) |
bool | setAnotherRequiredDirectory (std::string path) |
bool | setRequiredFiles (int numberOfPaths, std::string *paths) |
bool | setAnotherRequiredFile (std::string path) |
bool | setDirectoriesToMake (int numberOfPaths, std::string *paths) |
bool | setAnotherDirectoryToMake (std::string path) |
bool | setFilesToMake (int numberOfPaths, std::string *paths) |
bool | setAnotherFileToMake (std::string path) |
bool | setInputDirectoriesToMove (int numberOfPathPairs, PathPair **pathPair) |
bool | setAnotherInputDirectoryToMove (std::string fromPath, std::string toPath, bool makeCopy) |
bool | setInputFilesToMove (int numberOfPathPairs, PathPair **pathPair) |
bool | setAnotherInputFileToMove (std::string fromPath, std::string toPath, bool makeCopy) |
bool | setOutputFilesToMove (int numberOfPathPairs, PathPair **pathPair) |
bool | setAnotherOutputFileToMove (std::string fromPath, std::string toPath, bool makeCopy) |
bool | setOutputDirectoriesToMove (int numberOfPathPairs, PathPair **pathPair) |
bool | setAnotherOutputDirectoryToMove (std::string fromPath, std::string toPath, bool makeCopy) |
bool | setFilesToDelete (int numberOfPaths, std::string *paths) |
bool | setAnotherFileToDelete (std::string path) |
bool | setDirectoriesToDelete (int numberOfPaths, std::string *paths) |
bool | setAnotherDirectoryToDelete (std::string path) |
bool | setProcessesToKill (int numberOfProcesses, std::string *processes) |
bool | setAnotherProcessToKill (std::string process) |
bool | setOtherJobOptions (int numberOfOptions, OtherOption **other) |
bool | setAnOtherJobOption (std::string name, std::string value, std::string description) |
bool | setNumberOfVariables (int numberOfObjects) |
bool | setNumberOfObjectives (int numberOfObjects) |
bool | setNumberOfConstraints (int numberOfObjects) |
bool | setInitVarValuesSparse (int numberOfVar, InitVarValue **var) |
bool | setInitVarValuesDense (int numberOfVar, double *value) |
bool | setAnotherInitVarValue (int idx, double value) |
bool | setInitVarValuesStringSparse (int numberOfVar, InitVarValueString **var) |
bool | setInitVarValuesStringDense (int numberOfVar, std::string *value) |
bool | setAnotherInitVarValueString (int idx, std::string value) |
bool | setInitBasisStatusSparse (int numberOfVar, InitBasStatus **var) |
bool | setInitBasisStatusDense (int numberOfVar, std::string *var) |
bool | setAnotherInitBasisStatus (int idx, std::string value) |
bool | setIntegerVariableBranchingWeightsSparse (int numberOfVar, BranchingWeight **var) |
bool | setIntegerVariableBranchingWeightsDense (int numberOfVar, double *value) |
bool | setAnotherIntegerVariableBranchingWeight (int idx, double value) |
bool | setSOSVariableBranchingWeights (int numberOfSOS, SOSWeights **sos) |
bool | setAnotherSOSVariableBranchingWeight (int sosIdx, int nvar, double weight, int *idx, double *value) |
bool | setOtherVariableOptions (int numberOfVar, OtherVariableOption **var) |
bool | setAnOtherVariableOption (OtherVariableOption *varOption) |
bool | setInitObjValuesSparse (int numberOfObj, InitObjValue **obj) |
bool | setInitObjValuesDense (int numberOfObj, double *value) |
bool | setAnotherInitObjValue (int idx, double value) |
bool | setInitObjBoundsSparse (int numberOfObj, InitObjBound **obj) |
bool | setInitObjBoundsDense (int numberOfObj, double *lb, double *ub) |
bool | setAnotherInitObjBound (int idx, double lbValue, double ubValue) |
bool | setOtherObjectiveOptions (int numberOfObj, OtherObjectiveOption **obj) |
bool | setAnOtherObjectiveOption (OtherObjectiveOption *objOption) |
bool | setInitConValuesSparse (int numberOfCon, InitConValue **con) |
bool | setInitConValuesDense (int numberOfCon, double *value) |
bool | setAnotherInitConValue (int idx, double value) |
bool | setInitDualVarValuesSparse (int numberOfCon, InitDualVarValue **con) |
bool | setInitDualVarValuesDense (int numberOfCon, double *lb, double *ub) |
bool | setAnotherInitDualVarValue (int idx, double lbValue, double ubValue) |
bool | setOtherConstraintOptions (int numberOfOptions, OtherConstraintOption **other) |
bool | setAnOtherConstraintOption (OtherConstraintOption *optionValue) |
bool | setSolverOptions (int numberOfSolverOptions, SolverOption **solverOption) |
bool | setAnotherSolverOption (std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description) |
bool | setOptionInt (std::string optionName, int optionValue) |
bool | setOptionStr (std::string optionName, std::string optionValue) |
bool | setOptionDbl (std::string optionName, double value) |
Public Attributes | |
GeneralOption * | general |
OSOption has five children: general, system, service, job, and optimization. | |
SystemOption * | system |
systemOption holds the second child of the OSOption specified by the OSoL Schema. | |
ServiceOption * | service |
serviceOption holds the third child of the OSOption specified by the OSoL Schema. | |
JobOption * | job |
jobOption holds the fourth child of the OSOption specified by the OSoL Schema. | |
OptimizationOption * | optimization |
optimizationOption holds the fifth child of the OSOption specified by the OSoL Schema. | |
Private Attributes | |
double * | m_mdInitVarValuesDense |
m_mdInitVarValuesDense holds the initial variable values in dense form | |
std::string * | m_mdInitVarValuesStringDense |
m_mdInitVarValuesStringDense holds the initial values for string-valued variables | |
std::string * | m_mdInitBasisStatusDense |
m_mdInitBasisStatusDense holds the initial basis status in dense form | |
double * | m_mdIntegerVariableBranchingWeightsDense |
m_mdIntegerVariableBranchingWeightsDense holds the branching weights for integer variables | |
double * | m_mdInitObjValuesDense |
m_mdInitObjValuesDense holds initial objective values in dense form | |
double * | m_mdInitObjLowerBoundsDense |
m_mdInitObjLowerBoundsDense holds initial lower bounds for the objectives in dense form | |
double * | m_mdInitObjUpperBoundsDense |
m_mdInitObjUpperBoundsDense holds initial upper bounds for the objectives in dense form | |
double * | m_mdInitConValuesDense |
m_mdInitConValuesDense holds initial constraint values in dense form | |
double * | m_mdInitDualVarLowerBoundsDense |
m_mdInitDualVarLowerBoundsDense holds initial dual values for the lower bound of the constraints in dense form | |
double * | m_mdInitDualVarUpperBoundsDense |
m_mdInitDualVarUpperBoundsDense holds initial dual values for the upper bound of the constraints in dense form |
Definition at line 2407 of file OSOption.h.
OSOption::OSOption | ( | ) |
Default constructor.
Definition at line 1161 of file OSOption.cpp.
References general, job, m_mdInitBasisStatusDense, m_mdInitConValuesDense, m_mdInitDualVarLowerBoundsDense, m_mdInitDualVarUpperBoundsDense, m_mdInitObjLowerBoundsDense, m_mdInitObjUpperBoundsDense, m_mdInitObjValuesDense, m_mdInitVarValuesDense, m_mdInitVarValuesStringDense, m_mdIntegerVariableBranchingWeightsDense, optimization, service, and system.
OSOption::~OSOption | ( | ) |
Class destructor.
Definition at line 1185 of file OSOption.cpp.
References general, job, m_mdInitBasisStatusDense, m_mdInitConValuesDense, m_mdInitDualVarLowerBoundsDense, m_mdInitDualVarUpperBoundsDense, m_mdInitObjLowerBoundsDense, m_mdInitObjUpperBoundsDense, m_mdInitObjValuesDense, m_mdInitVarValuesDense, m_mdInitVarValuesStringDense, m_mdIntegerVariableBranchingWeightsDense, optimization, service, and system.
bool OSOption::IsEqual | ( | OSOption * | that | ) |
A function to check for the equality of two objects.
Definition at line 6597 of file OSOption.cpp.
References general, job, optimization, service, and system.
std::string OSOption::getServiceURI | ( | ) |
Get the service URI.
Definition at line 1256 of file OSOption.cpp.
References general, and GeneralOption::serviceURI.
Referenced by getOptionStr().
std::string OSOption::getServiceName | ( | ) |
Get the service name.
Definition at line 1266 of file OSOption.cpp.
References general, and GeneralOption::serviceName.
Referenced by getOptionStr().
std::string OSOption::getInstanceName | ( | ) |
Get the instance name.
Definition at line 1276 of file OSOption.cpp.
References general, and GeneralOption::instanceName.
Referenced by getOptionStr().
std::string OSOption::getInstanceLocation | ( | ) |
Get the instance location.
Definition at line 1286 of file OSOption.cpp.
References general, GeneralOption::instanceLocation, and InstanceLocationOption::value.
Referenced by getOptionStr().
std::string OSOption::getInstanceLocationType | ( | ) |
Get the location type.
Definition at line 1297 of file OSOption.cpp.
References general, GeneralOption::instanceLocation, and InstanceLocationOption::locationType.
Referenced by getOptionStr().
std::string OSOption::getJobID | ( | ) |
Get the job ID.
Definition at line 1308 of file OSOption.cpp.
References general, and GeneralOption::jobID.
Referenced by getOptionStr().
std::string OSOption::getSolverToInvoke | ( | ) |
Get the solver name.
Definition at line 1318 of file OSOption.cpp.
References general, and GeneralOption::solverToInvoke.
Referenced by getOptionStr().
std::string OSOption::getLicense | ( | ) |
Get the license string.
Definition at line 1328 of file OSOption.cpp.
References general, and GeneralOption::license.
Referenced by getOptionStr().
std::string OSOption::getUserName | ( | ) |
Get the user name.
Definition at line 1338 of file OSOption.cpp.
References general, and GeneralOption::userName.
Referenced by getOptionStr().
std::string OSOption::getPassword | ( | ) |
Get the password.
Definition at line 1348 of file OSOption.cpp.
References general, and GeneralOption::password.
Referenced by getOptionStr().
std::string OSOption::getContact | ( | ) |
Get the contact information.
Definition at line 1358 of file OSOption.cpp.
References GeneralOption::contact, general, and ContactOption::value.
Referenced by getOptionStr().
std::string OSOption::getContactTransportType | ( | ) |
Get the transport type.
Definition at line 1369 of file OSOption.cpp.
References GeneralOption::contact, general, and ContactOption::transportType.
Referenced by getOptionStr().
std::string OSOption::getMinDiskSpaceUnit | ( | ) |
Get the disk space unit.
Definition at line 1380 of file OSOption.cpp.
References SystemOption::minDiskSpace, system, and MinDiskSpace::unit.
Referenced by getOptionStr().
std::string OSOption::getMinMemoryUnit | ( | ) |
Get the memory unit.
Definition at line 1391 of file OSOption.cpp.
References SystemOption::minMemorySize, system, and MinMemorySize::unit.
Referenced by getOptionStr().
std::string OSOption::getMinCPUSpeedUnit | ( | ) |
Get the CPU speed unit.
Definition at line 1402 of file OSOption.cpp.
References SystemOption::minCPUSpeed, system, and MinCPUSpeed::unit.
Referenced by getOptionStr().
std::string OSOption::getServiceType | ( | ) |
Get the service type.
Definition at line 1413 of file OSOption.cpp.
References service, and ServiceOption::type.
Referenced by getOptionStr().
std::string OSOption::getMaxTimeUnit | ( | ) |
Get the time unit.
Definition at line 1423 of file OSOption.cpp.
References job, JobOption::maxTime, and MaxTime::unit.
Referenced by getOptionStr().
std::string OSOption::getRequestedStartTime | ( | ) |
Get the requested starting time.
Definition at line 1434 of file OSOption.cpp.
References job, and JobOption::requestedStartTime.
Referenced by getOptionStr().
std::string OSOption::getOptionStr | ( | std::string | optionName | ) |
Get any of the string-valued options.
optionName | The name of the option |
Definition at line 1447 of file OSOption.cpp.
References getContact(), getContactTransportType(), getInstanceLocation(), getInstanceLocationType(), getInstanceName(), getJobID(), getLicense(), getMaxTimeUnit(), getMinCPUSpeedUnit(), getMinDiskSpaceUnit(), getMinMemoryUnit(), getPassword(), getRequestedStartTime(), getServiceName(), getServiceType(), getServiceURI(), getSolverToInvoke(), and getUserName().
double OSOption::getMinDiskSpace | ( | ) |
Get the minimum required disk space.
Definition at line 1512 of file OSOption.cpp.
References SystemOption::minDiskSpace, system, and MinDiskSpace::value.
Referenced by getOptionDbl().
double OSOption::getMinMemorySize | ( | ) |
Get the minimum required memory.
Definition at line 1523 of file OSOption.cpp.
References SystemOption::minMemorySize, system, and MinMemorySize::value.
Referenced by getOptionDbl().
double OSOption::getMinCPUSpeed | ( | ) |
Get the minimum required CPU speed.
Definition at line 1534 of file OSOption.cpp.
References SystemOption::minCPUSpeed, system, and MinCPUSpeed::value.
Referenced by getOptionDbl().
double OSOption::getMaxTime | ( | ) |
Get the maximum allowed time.
Definition at line 1545 of file OSOption.cpp.
References job, JobOption::maxTime, and MaxTime::value.
Referenced by getOptionDbl().
double OSOption::getOptionDbl | ( | std::string | optionName | ) |
Get any of the double-valued options.
optionName | The name of the option |
Definition at line 1559 of file OSOption.cpp.
References getMaxTime(), getMinCPUSpeed(), getMinDiskSpace(), and getMinMemorySize().
int OSOption::getMinCPUNumber | ( | ) |
Get the minimum required number of CPUs.
Definition at line 1582 of file OSOption.cpp.
References SystemOption::minCPUNumber, and system.
Referenced by getOptionInt().
int OSOption::getNumberOfOtherGeneralOptions | ( | ) |
Get the number of <other> options in the <general> element.
Definition at line 1592 of file OSOption.cpp.
References general, OtherOptions::numberOfOtherOptions, and GeneralOption::otherOptions.
Referenced by getOptionInt().
int OSOption::getNumberOfOtherSystemOptions | ( | ) |
Get the number of <other> options in the <system> element.
Definition at line 1603 of file OSOption.cpp.
References OtherOptions::numberOfOtherOptions, SystemOption::otherOptions, and system.
Referenced by getOptionInt().
int OSOption::getNumberOfOtherServiceOptions | ( | ) |
Get the number of <other> options in the <service> element.
Definition at line 1614 of file OSOption.cpp.
References OtherOptions::numberOfOtherOptions, ServiceOption::otherOptions, and service.
Referenced by getOptionInt().
int OSOption::getNumberOfOtherJobOptions | ( | ) |
Get the number of <other> options in the <job> element.
Definition at line 1625 of file OSOption.cpp.
References job, OtherOptions::numberOfOtherOptions, and JobOption::otherOptions.
Referenced by getOptionInt().
int OSOption::getNumberOfJobDependencies | ( | ) |
Get the number of job dependencies.
Definition at line 1636 of file OSOption.cpp.
References JobOption::dependencies, job, and JobDependencies::numberOfJobIDs.
Referenced by getOptionInt().
int OSOption::getNumberOfRequiredDirectories | ( | ) |
Get the number of required directories.
Definition at line 1647 of file OSOption.cpp.
References job, DirectoriesAndFiles::numberOfPaths, and JobOption::requiredDirectories.
Referenced by getOptionInt().
int OSOption::getNumberOfRequiredFiles | ( | ) |
Get the number of required files.
Definition at line 1658 of file OSOption.cpp.
References job, DirectoriesAndFiles::numberOfPaths, and JobOption::requiredFiles.
Referenced by getOptionInt().
int OSOption::getNumberOfDirectoriesToMake | ( | ) |
Get the number of directories to make.
Definition at line 1669 of file OSOption.cpp.
References JobOption::directoriesToMake, job, and DirectoriesAndFiles::numberOfPaths.
Referenced by getOptionInt().
int OSOption::getNumberOfFilesToMake | ( | ) |
Get the number of files to make.
Definition at line 1680 of file OSOption.cpp.
References JobOption::filesToMake, job, and DirectoriesAndFiles::numberOfPaths.
Referenced by getOptionInt().
int OSOption::getNumberOfInputDirectoriesToMove | ( | ) |
Get the number of input directories to move.
Definition at line 1691 of file OSOption.cpp.
References JobOption::inputDirectoriesToMove, job, and PathPairs::numberOfPathPairs.
Referenced by getOptionInt().
int OSOption::getNumberOfInputFilesToMove | ( | ) |
Get the number of input files to move.
Definition at line 1702 of file OSOption.cpp.
References JobOption::inputFilesToMove, job, and PathPairs::numberOfPathPairs.
Referenced by getOptionInt().
int OSOption::getNumberOfOutputDirectoriesToMove | ( | ) |
Get the number of output directories to move.
Definition at line 1713 of file OSOption.cpp.
References job, PathPairs::numberOfPathPairs, and JobOption::outputDirectoriesToMove.
Referenced by getOptionInt().
int OSOption::getNumberOfOutputFilesToMove | ( | ) |
Get the number of output files to move.
Definition at line 1724 of file OSOption.cpp.
References job, PathPairs::numberOfPathPairs, and JobOption::outputFilesToMove.
Referenced by getOptionInt().
int OSOption::getNumberOfFilesToDelete | ( | ) |
Get the number of files to delete.
Definition at line 1735 of file OSOption.cpp.
References JobOption::filesToDelete, job, and DirectoriesAndFiles::numberOfPaths.
Referenced by getOptionInt().
int OSOption::getNumberOfDirectoriesToDelete | ( | ) |
Get the number of directories to delete.
Definition at line 1746 of file OSOption.cpp.
References JobOption::directoriesToDelete, job, and DirectoriesAndFiles::numberOfPaths.
Referenced by getOptionInt().
int OSOption::getNumberOfProcessesToKill | ( | ) |
Get the number of processes to kill.
Definition at line 1757 of file OSOption.cpp.
References job, Processes::numberOfProcesses, and JobOption::processesToKill.
Referenced by getOptionInt().
int OSOption::getNumberOfVariables | ( | ) |
Get the number of variables in the instance.
Definition at line 1768 of file OSOption.cpp.
References OptimizationOption::numberOfVariables, and optimization.
Referenced by getInitBasisStatusDense(), getInitVarValuesDense(), getInitVarValuesStringDense(), getIntegerVariableBranchingWeightsDense(), and getOptionInt().
int OSOption::getNumberOfObjectives | ( | ) |
Get the number of objectives in the instance.
Definition at line 1778 of file OSOption.cpp.
References OptimizationOption::numberOfObjectives, and optimization.
Referenced by getInitObjLowerBoundsDense(), getInitObjUpperBoundsDense(), getInitObjValuesDense(), and getOptionInt().
int OSOption::getNumberOfConstraints | ( | ) |
Get the number of constraints in the instance.
Definition at line 1788 of file OSOption.cpp.
References OptimizationOption::numberOfConstraints, and optimization.
Referenced by getInitConValuesDense(), getInitDualVarLowerBoundsDense(), getInitDualVarUpperBoundsDense(), and getOptionInt().
int OSOption::getNumberOfInitVarValues | ( | ) |
Get the number of initial variable values.
Definition at line 1799 of file OSOption.cpp.
References VariableOption::initialVariableValues, InitVariableValues::numberOfVar, optimization, and OptimizationOption::variables.
Referenced by IpoptProblem::get_starting_point(), BonminProblem::get_starting_point(), getInitVarValuesDense(), getOptionInt(), and CoinSolver::setSolverOptions().
int OSOption::getNumberOfInitVarValuesString | ( | ) |
Get the number of initial variable strings.
Definition at line 1817 of file OSOption.cpp.
References VariableOption::initialVariableValuesString, InitVariableValuesString::numberOfVar, optimization, and OptimizationOption::variables.
Referenced by getInitVarValuesStringDense(), and getOptionInt().
int OSOption::getNumberOfInitialBasisVariables | ( | ) |
Get the number of variables for which initial basis information is provided.
Definition at line 1828 of file OSOption.cpp.
References VariableOption::initialBasisStatus, InitialBasisStatus::numberOfVar, optimization, and OptimizationOption::variables.
Referenced by getInitBasisStatusDense(), and getOptionInt().
int OSOption::getNumberOfIntegerVariableBranchingWeights | ( | ) |
Get the number of variables for which integer branching weights are provided.
Definition at line 1839 of file OSOption.cpp.
References VariableOption::integerVariableBranchingWeights, IntegerVariableBranchingWeights::numberOfVar, optimization, and OptimizationOption::variables.
Referenced by getIntegerVariableBranchingWeightsDense(), and getOptionInt().
int OSOption::getNumberOfSOS | ( | ) |
Get the number of special ordered sets for which branching weights are provided.
Definition at line 1850 of file OSOption.cpp.
References SOSVariableBranchingWeights::numberOfSOS, optimization, VariableOption::sosVariableBranchingWeights, and OptimizationOption::variables.
Referenced by getOptionInt().
int OSOption::getNumberOfSOSVarBranchingWeights | ( | int | iSOS | ) |
Get the number of variables for which branching weights are provided in a particular SOS.
iSOS | the number of the SOS |
Definition at line 1861 of file OSOption.cpp.
References SOSVariableBranchingWeights::numberOfSOS, SOSWeights::numberOfVar, optimization, SOSVariableBranchingWeights::sos, VariableOption::sosVariableBranchingWeights, and OptimizationOption::variables.
int OSOption::getNumberOfOtherVariableOptions | ( | ) |
Get the number of other variable options.
Definition at line 1875 of file OSOption.cpp.
References VariableOption::numberOfOtherVariableOptions, optimization, and OptimizationOption::variables.
Referenced by OSDipApp::generateInitVars(), OS_DipInterface::getBlockFactories(), OS_DipInterface::getBlockVarIndexes(), getOptionInt(), and getOtherVariableOptions().
int OSOption::getNumberOfInitObjValues | ( | ) |
Get the number of initial objective values.
Definition at line 1886 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveValues, InitObjectiveValues::numberOfObj, OptimizationOption::objectives, and optimization.
Referenced by getInitObjValuesDense(), and getOptionInt().
int OSOption::getNumberOfInitObjBounds | ( | ) |
Get the number of initial objective bounds.
Definition at line 1898 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveBounds, InitObjectiveBounds::numberOfObj, OptimizationOption::objectives, and optimization.
Referenced by getInitObjLowerBoundsDense(), getInitObjUpperBoundsDense(), and getOptionInt().
int OSOption::getNumberOfOtherObjectiveOptions | ( | ) |
Get the number of other objective options.
Definition at line 1909 of file OSOption.cpp.
References ObjectiveOption::numberOfOtherObjectiveOptions, OptimizationOption::objectives, and optimization.
Referenced by getOptionInt(), and getOtherObjectiveOptions().
int OSOption::getNumberOfInitConValues | ( | ) |
Get the number of initial constraint values.
Definition at line 1920 of file OSOption.cpp.
References OptimizationOption::constraints, ConstraintOption::initialConstraintValues, InitConstraintValues::numberOfCon, and optimization.
Referenced by getInitConValuesDense(), and getOptionInt().
int OSOption::getNumberOfInitDualVarValues | ( | ) |
Get the number of initial dual variable values.
Definition at line 1932 of file OSOption.cpp.
References OptimizationOption::constraints, ConstraintOption::initialDualValues, InitDualVariableValues::numberOfCon, and optimization.
Referenced by getInitDualVarLowerBoundsDense(), getInitDualVarUpperBoundsDense(), and getOptionInt().
int OSOption::getNumberOfOtherConstraintOptions | ( | ) |
Get the number of other constraint options.
Definition at line 1944 of file OSOption.cpp.
References OptimizationOption::constraints, ConstraintOption::numberOfOtherConstraintOptions, and optimization.
Referenced by OS_DipInterface::getCoreConstraintIndexes(), getOptionInt(), and getOtherConstraintOptions().
int OSOption::getNumberOfSolverOptions | ( | ) |
Get the number of solver options.
Definition at line 1955 of file OSOption.cpp.
References SolverOptions::numberOfSolverOptions, optimization, and OptimizationOption::solverOptions.
Referenced by getOptionInt(), getSolverOptions(), IpoptSolver::setSolverOptions(), CouenneSolver::setSolverOptions(), CoinSolver::setSolverOptions(), and BonminSolver::setSolverOptions().
int OSOption::getOptionInt | ( | std::string | optionName | ) |
Get any of the integer-valued options.
optionName | The name of the option |
Definition at line 1969 of file OSOption.cpp.
References getMinCPUNumber(), getNumberOfConstraints(), getNumberOfDirectoriesToDelete(), getNumberOfDirectoriesToMake(), getNumberOfFilesToDelete(), getNumberOfFilesToMake(), getNumberOfInitConValues(), getNumberOfInitDualVarValues(), getNumberOfInitialBasisVariables(), getNumberOfInitObjBounds(), getNumberOfInitObjValues(), getNumberOfInitVarValues(), getNumberOfInitVarValuesString(), getNumberOfInputDirectoriesToMove(), getNumberOfInputFilesToMove(), getNumberOfIntegerVariableBranchingWeights(), getNumberOfJobDependencies(), getNumberOfObjectives(), getNumberOfOtherConstraintOptions(), getNumberOfOtherGeneralOptions(), getNumberOfOtherJobOptions(), getNumberOfOtherObjectiveOptions(), getNumberOfOtherServiceOptions(), getNumberOfOtherSystemOptions(), getNumberOfOtherVariableOptions(), getNumberOfOutputDirectoriesToMove(), getNumberOfOutputFilesToMove(), getNumberOfProcessesToKill(), getNumberOfRequiredDirectories(), getNumberOfRequiredFiles(), getNumberOfSolverOptions(), getNumberOfSOS(), and getNumberOfVariables().
OtherOption ** OSOption::getOtherGeneralOptions | ( | ) |
Get the array of other options associated with the <general> element.
Definition at line 2080 of file OSOption.cpp.
References general, OtherOptions::other, and GeneralOption::otherOptions.
Referenced by getOtherOptions().
OtherOption ** OSOption::getOtherSystemOptions | ( | ) |
Get the array of other options associated with the <system> element.
Definition at line 2091 of file OSOption.cpp.
References OtherOptions::other, SystemOption::otherOptions, and system.
Referenced by getOtherOptions().
OtherOption ** OSOption::getOtherServiceOptions | ( | ) |
Get the array of other options associated with the <service> element.
Definition at line 2102 of file OSOption.cpp.
References OtherOptions::other, ServiceOption::otherOptions, and service.
Referenced by getOtherOptions().
OtherOption ** OSOption::getOtherJobOptions | ( | ) |
Get the array of other options associated with the <job> element.
Definition at line 2113 of file OSOption.cpp.
References job, OtherOptions::other, and JobOption::otherOptions.
Referenced by getOtherOptions().
OtherOption ** OSOption::getOtherOptions | ( | std::string | elementName | ) |
Get the array of other options associated with any element.
Definition at line 2127 of file OSOption.cpp.
References getOtherGeneralOptions(), getOtherJobOptions(), getOtherServiceOptions(), and getOtherSystemOptions().
OtherOption ** OSOption::getAllOtherOptions | ( | ) |
Get the array of all other options associated with the <general>, <system>, <service> and <job> elements.
Definition at line 2146 of file OSOption.cpp.
std::string * OSOption::getJobDependencies | ( | ) |
Get the array of job dependencies.
Definition at line 2222 of file OSOption.cpp.
References JobOption::dependencies, job, and JobDependencies::jobID.
std::string * OSOption::getRequiredDirectories | ( | ) |
Get the array of required directories.
Definition at line 2239 of file OSOption.cpp.
References job, DirectoriesAndFiles::path, and JobOption::requiredDirectories.
std::string * OSOption::getRequiredFiles | ( | ) |
Get the array of required files.
Definition at line 2255 of file OSOption.cpp.
References job, DirectoriesAndFiles::path, and JobOption::requiredFiles.
std::string * OSOption::getDirectoriesToMake | ( | ) |
Get the array of directories to make.
Definition at line 2271 of file OSOption.cpp.
References JobOption::directoriesToMake, job, and DirectoriesAndFiles::path.
std::string * OSOption::getFilesToMake | ( | ) |
Get the array of files to make.
Definition at line 2287 of file OSOption.cpp.
References JobOption::filesToMake, job, and DirectoriesAndFiles::path.
PathPair ** OSOption::getInputDirectoriesToMove | ( | ) |
Get the array of input directories to move.
Definition at line 2303 of file OSOption.cpp.
References JobOption::inputDirectoriesToMove, job, and PathPairs::pathPair.
PathPair ** OSOption::getInputFilesToMove | ( | ) |
Get the array of input files to move.
Definition at line 2319 of file OSOption.cpp.
References JobOption::inputFilesToMove, job, and PathPairs::pathPair.
PathPair ** OSOption::getOutputDirectoriesToMove | ( | ) |
Get the array of output directories to move.
Definition at line 2351 of file OSOption.cpp.
References job, JobOption::outputDirectoriesToMove, and PathPairs::pathPair.
PathPair ** OSOption::getOutputFilesToMove | ( | ) |
Get the array of output files to move.
Definition at line 2335 of file OSOption.cpp.
References job, JobOption::outputFilesToMove, and PathPairs::pathPair.
std::string * OSOption::getDirectoriesToDelete | ( | ) |
Get the array of directories to delete.
Definition at line 2383 of file OSOption.cpp.
References JobOption::directoriesToDelete, job, and DirectoriesAndFiles::path.
std::string * OSOption::getFilesToDelete | ( | ) |
Get the array of files to delete.
Definition at line 2367 of file OSOption.cpp.
References JobOption::filesToDelete, job, and DirectoriesAndFiles::path.
std::string * OSOption::getProcessesToKill | ( | ) |
Get the array of processes to kill.
Definition at line 2399 of file OSOption.cpp.
References job, Processes::process, and JobOption::processesToKill.
InitVarValue ** OSOption::getInitVarValuesSparse | ( | ) |
Get the initial values associated with the variables in sparse form.
Definition at line 2418 of file OSOption.cpp.
References VariableOption::initialVariableValues, optimization, InitVariableValues::var, and OptimizationOption::variables.
Referenced by IpoptProblem::get_starting_point(), BonminProblem::get_starting_point(), and CoinSolver::setSolverOptions().
double * OSOption::getInitVarValuesDense | ( | ) |
Get the initial values associated with the variables in dense form.
Definition at line 2440 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitVarValues(), getNumberOfVariables(), m_mdInitVarValuesDense, and OSNAN.
double * OSOption::getInitVarValuesDense | ( | int | numberOfVariables | ) |
Get the initial values associated with the variables in dense form.
numberOfVariables | holds the dimension of the vector |
Definition at line 2484 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitVarValues(), m_mdInitVarValuesDense, and OSNAN.
InitVarValueString ** OSOption::getInitVarValuesStringSparse | ( | ) |
Get the initial value strings associated with the variables in sparse form.
Definition at line 2524 of file OSOption.cpp.
References VariableOption::initialVariableValuesString, optimization, InitVariableValuesString::var, and OptimizationOption::variables.
std::string * OSOption::getInitVarValuesStringDense | ( | ) |
Get the initial value strings associated with the variables in dense form.
Definition at line 2546 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitVarValuesString(), getNumberOfVariables(), and m_mdInitVarValuesStringDense.
std::string * OSOption::getInitVarValuesStringDense | ( | int | numberOfVariables | ) |
Get the initial value strings associated with the variables in dense form.
numberOfVariables | holds the dimension of the vector |
Definition at line 2590 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitVarValuesString(), and m_mdInitVarValuesStringDense.
InitBasStatus ** OSOption::getInitBasisStatusSparse | ( | ) |
Get the initial basis status in sparse form.
Definition at line 2630 of file OSOption.cpp.
References VariableOption::initialBasisStatus, optimization, InitialBasisStatus::var, and OptimizationOption::variables.
std::string * OSOption::getInitBasisStatusDense | ( | ) |
Get the initial basis status in dense form.
Definition at line 2652 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitialBasisVariables(), getNumberOfVariables(), and m_mdInitBasisStatusDense.
std::string * OSOption::getInitBasisStatusDense | ( | int | numberOfVariables | ) |
Get the initial basis status in dense form.
numberOfVariables | holds the dimension of the vector |
Definition at line 2696 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitialBasisVariables(), and m_mdInitBasisStatusDense.
BranchingWeight ** OSOption::getIntegerVariableBranchingWeightsSparse | ( | ) |
Get the integer branching weights in sparse form.
Definition at line 2736 of file OSOption.cpp.
References VariableOption::integerVariableBranchingWeights, optimization, IntegerVariableBranchingWeights::var, and OptimizationOption::variables.
double * OSOption::getIntegerVariableBranchingWeightsDense | ( | ) |
Get the integer branching weights in dense form.
Definition at line 2759 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfIntegerVariableBranchingWeights(), getNumberOfVariables(), m_mdIntegerVariableBranchingWeightsDense, and OSNAN.
double * OSOption::getIntegerVariableBranchingWeightsDense | ( | int | numberOfVariables | ) |
Get the integer branching weights in dense form.
numberOfVariables | holds the dimension of the vector |
Definition at line 2803 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfIntegerVariableBranchingWeights(), m_mdIntegerVariableBranchingWeightsDense, and OSNAN.
SOSWeights ** OSOption::getSOSVariableBranchingWeightsSparse | ( | ) |
Get the SOS branching weights in sparse form.
Definition at line 2843 of file OSOption.cpp.
References optimization, SOSVariableBranchingWeights::sos, VariableOption::sosVariableBranchingWeights, and OptimizationOption::variables.
std::vector< OtherVariableOption * > OSOption::getOtherVariableOptions | ( | std::string | solver_name | ) |
Get the <other> variable options associated with a particular solver.
solver_name | is the name of the solver whose options we want |
Definition at line 2866 of file OSOption.cpp.
References getNumberOfOtherVariableOptions().
Referenced by OSDipApp::generateInitVars(), OS_DipInterface::getBlockFactories(), and OS_DipInterface::getBlockVarIndexes().
OtherVariableOption ** OSOption::getAllOtherVariableOptions | ( | ) |
Get all <other> variable options.
Definition at line 2890 of file OSOption.cpp.
References optimization, VariableOption::other, and OptimizationOption::variables.
InitObjValue ** OSOption::getInitObjValuesSparse | ( | ) |
Get the initial values associated with the objectives in sparse form.
Definition at line 2907 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveValues, InitObjectiveValues::obj, OptimizationOption::objectives, and optimization.
double * OSOption::getInitObjValuesDense | ( | ) |
Get the initial values associated with the objectives in dense form.
Definition at line 2929 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitObjValues(), getNumberOfObjectives(), m_mdInitObjValuesDense, and OSNAN.
double * OSOption::getInitObjValuesDense | ( | int | numberOfObjectives | ) |
Get the initial values associated with the objectives in dense form.
numberOfObjectives | holds the dimension of the vector |
Definition at line 2973 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitObjValues(), m_mdInitObjValuesDense, and OSNAN.
InitObjBound ** OSOption::getInitObjBoundsSparse | ( | ) |
Get the initial bounds associated with the objectives in sparse form.
Definition at line 3013 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveBounds, InitObjectiveBounds::obj, OptimizationOption::objectives, and optimization.
double * OSOption::getInitObjLowerBoundsDense | ( | ) |
Get the initial lower bounds associated with the objectives in dense form.
Definition at line 3035 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitObjBounds(), getNumberOfObjectives(), m_mdInitObjLowerBoundsDense, and OSNAN.
double * OSOption::getInitObjLowerBoundsDense | ( | int | numberOfObjectives | ) |
Get the initial lower bounds associated with the objectives in dense form.
numberOfObjectives | holds the dimension of the vector |
Definition at line 3079 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitObjBounds(), m_mdInitObjLowerBoundsDense, and OSNAN.
double * OSOption::getInitObjUpperBoundsDense | ( | ) |
Get the initial upper bounds associated with the objectives in dense form.
Definition at line 3120 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitObjBounds(), getNumberOfObjectives(), m_mdInitObjUpperBoundsDense, and OSNAN.
double * OSOption::getInitObjUpperBoundsDense | ( | int | numberOfObjectives | ) |
Get the initial upper bounds associated with the objectives in dense form.
numberOfObjectives | holds the dimension of the vector |
Definition at line 3164 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitObjBounds(), m_mdInitObjUpperBoundsDense, and OSNAN.
std::vector< OtherObjectiveOption * > OSOption::getOtherObjectiveOptions | ( | std::string | solver_name | ) |
Get the array of other objective options.
solver_name | is the name of the solver whose options we want |
Definition at line 3205 of file OSOption.cpp.
References getNumberOfOtherObjectiveOptions().
OtherObjectiveOption ** OSOption::getAllOtherObjectiveOptions | ( | ) |
Get all <other> objective options.
Definition at line 3228 of file OSOption.cpp.
References OptimizationOption::objectives, optimization, and ObjectiveOption::other.
InitConValue ** OSOption::getInitConValuesSparse | ( | ) |
Get the initial values associated with the constraints in sparse form.
Definition at line 3246 of file OSOption.cpp.
References InitConstraintValues::con, OptimizationOption::constraints, ConstraintOption::initialConstraintValues, and optimization.
double * OSOption::getInitConValuesDense | ( | ) |
Get the initial values associated with the constraints in dense form.
Definition at line 3268 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitConValues(), m_mdInitConValuesDense, and OSNAN.
double * OSOption::getInitConValuesDense | ( | int | numberOfConstraints | ) |
Get the initial values associated with the constraints in dense form.
numberOfConstraints | holds the dimension of the vector |
Definition at line 3312 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitConValues(), m_mdInitConValuesDense, and OSNAN.
InitDualVarValue ** OSOption::getInitDualVarValuesSparse | ( | ) |
Get the initial bounds associated with the dual variables in sparse form.
Definition at line 3352 of file OSOption.cpp.
References InitDualVariableValues::con, OptimizationOption::constraints, ConstraintOption::initialDualValues, and optimization.
double * OSOption::getInitDualVarLowerBoundsDense | ( | ) |
Get the initial dual variables associated with the lower bounds in dense form.
Definition at line 3374 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitDualVarValues(), and m_mdInitDualVarLowerBoundsDense.
double * OSOption::getInitDualVarLowerBoundsDense | ( | int | numberOfConstraints | ) |
Get the initial dual variables associated with the lower bounds in dense form.
numberOfConstraints | holds the dimension of the vector |
Definition at line 3418 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfInitDualVarValues(), and m_mdInitDualVarLowerBoundsDense.
double * OSOption::getInitDualVarUpperBoundsDense | ( | ) |
Get the initial dual variables associated with the upper bounds in dense form.
Definition at line 3459 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitDualVarValues(), and m_mdInitDualVarUpperBoundsDense.
double * OSOption::getInitDualVarUpperBoundsDense | ( | int | numberOfConstraints | ) |
Get the initial dual variables associated with the upper bounds in dense form.
numberOfConstraints | holds the dimension of the vector |
Definition at line 3504 of file OSOption.cpp.
References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitDualVarValues(), and m_mdInitDualVarUpperBoundsDense.
std::vector< OtherConstraintOption * > OSOption::getOtherConstraintOptions | ( | std::string | solver_name | ) |
Get the array of other constraint options.
solver_name | is the name of the solver whose options we want |
Definition at line 3546 of file OSOption.cpp.
References getNumberOfOtherConstraintOptions().
Referenced by OS_DipInterface::getCoreConstraintIndexes().
OtherConstraintOption ** OSOption::getAllOtherConstraintOptions | ( | ) |
Get all <other> constraint options.
Definition at line 3569 of file OSOption.cpp.
References OptimizationOption::constraints, optimization, and ConstraintOption::other.
std::vector< SolverOption * > OSOption::getSolverOptions | ( | std::string | solver_name | ) |
Get the options associated with a given solver.
solver_name | is the name of the solver whose options we want |
Definition at line 3588 of file OSOption.cpp.
References getNumberOfSolverOptions().
Referenced by OSRouteSolver::getOptions(), OSDipBlockBearcatSolver::OSDipBlockBearcatSolver(), IpoptSolver::setSolverOptions(), CouenneSolver::setSolverOptions(), CoinSolver::setSolverOptions(), and BonminSolver::setSolverOptions().
SolverOption ** OSOption::getAllSolverOptions | ( | ) |
Get all solver options.
Definition at line 3611 of file OSOption.cpp.
References optimization, SolverOptions::solverOption, and OptimizationOption::solverOptions.
bool OSOption::setServiceURI | ( | std::string | serviceURI | ) |
Set the serviceURI.
Definition at line 5368 of file OSOption.cpp.
References general, and GeneralOption::serviceURI.
Referenced by setOptionStr().
bool OSOption::setServiceName | ( | std::string | serviceName | ) |
Set the service name.
Definition at line 5375 of file OSOption.cpp.
References general, and GeneralOption::serviceName.
Referenced by setOptionStr().
bool OSOption::setInstanceName | ( | std::string | instanceName | ) |
Set the instance name.
Definition at line 5382 of file OSOption.cpp.
References general, and GeneralOption::instanceName.
Referenced by setOptionStr().
bool OSOption::setInstanceLocation | ( | std::string | instanceLocation | ) |
Set the instance location.
Definition at line 5389 of file OSOption.cpp.
References general, GeneralOption::instanceLocation, and InstanceLocationOption::value.
Referenced by setOptionStr().
bool OSOption::setInstanceLocationType | ( | std::string | locationType | ) |
Set the instance location type.
Definition at line 5398 of file OSOption.cpp.
References ErrorClass::errormsg, general, GeneralOption::instanceLocation, InstanceLocationOption::locationType, and verifyLocationType().
Referenced by setOptionStr().
bool OSOption::setJobID | ( | std::string | jobID | ) |
Set the job ID.
Definition at line 5417 of file OSOption.cpp.
References general, and GeneralOption::jobID.
Referenced by kill(), knock(), retrieve(), send(), and setOptionStr().
bool OSOption::setSolverToInvoke | ( | std::string | solverToInvoke | ) |
Set the solver to be invoked.
Definition at line 5424 of file OSOption.cpp.
References general, and GeneralOption::solverToInvoke.
Referenced by setOptionStr().
bool OSOption::setLicense | ( | std::string | license | ) |
Set the license information.
Definition at line 5431 of file OSOption.cpp.
References general, and GeneralOption::license.
Referenced by setOptionStr().
bool OSOption::setUserName | ( | std::string | userName | ) |
Set the username.
Definition at line 5438 of file OSOption.cpp.
References general, and GeneralOption::userName.
Referenced by setOptionStr().
bool OSOption::setPassword | ( | std::string | password | ) |
Set the password.
Definition at line 5446 of file OSOption.cpp.
References general, and GeneralOption::password.
Referenced by setOptionStr().
bool OSOption::setContact | ( | std::string | contact | ) |
Set the contact information.
Definition at line 5453 of file OSOption.cpp.
References GeneralOption::contact, general, and ContactOption::value.
Referenced by setOptionStr().
bool OSOption::setContactTransportType | ( | std::string | transportType | ) |
Set the transport type for contact.
Definition at line 5462 of file OSOption.cpp.
References GeneralOption::contact, ErrorClass::errormsg, general, ContactOption::transportType, and verifyTransportType().
Referenced by setOptionStr().
bool OSOption::setOtherGeneralOptions | ( | int | numberOfOptions, | |
OtherOption ** | other | |||
) |
Set the other general options as an entire array.
Definition at line 5481 of file OSOption.cpp.
References general, OtherOptions::numberOfOtherOptions, GeneralOption::otherOptions, and OtherOptions::setOther().
bool OSOption::setAnOtherGeneralOption | ( | std::string | name, | |
std::string | value, | |||
std::string | description | |||
) |
Add another general option to the general <other> option array.
Definition at line 5496 of file OSOption.cpp.
References OtherOptions::addOther(), general, and GeneralOption::otherOptions.
bool OSOption::setMinDiskSpace | ( | double | value | ) |
set() options in the <system> element
Definition at line 5510 of file OSOption.cpp.
References SystemOption::minDiskSpace, system, and MinDiskSpace::value.
Referenced by setOptionDbl().
bool OSOption::setMinDiskSpaceUnit | ( | std::string | unit | ) |
Definition at line 5519 of file OSOption.cpp.
References ErrorClass::errormsg, SystemOption::minDiskSpace, system, MinDiskSpace::unit, and verifyStorageUnit().
Referenced by setOptionStr().
bool OSOption::setMinMemorySize | ( | double | value | ) |
Definition at line 5538 of file OSOption.cpp.
References SystemOption::minMemorySize, system, and MinMemorySize::value.
Referenced by setOptionDbl().
bool OSOption::setMinMemoryUnit | ( | std::string | unit | ) |
Definition at line 5547 of file OSOption.cpp.
References ErrorClass::errormsg, SystemOption::minMemorySize, system, MinMemorySize::unit, and verifyStorageUnit().
Referenced by setOptionStr().
bool OSOption::setMinCPUSpeed | ( | double | value | ) |
Definition at line 5566 of file OSOption.cpp.
References SystemOption::minCPUSpeed, system, and MinCPUSpeed::value.
Referenced by setOptionDbl().
bool OSOption::setMinCPUSpeedUnit | ( | std::string | unit | ) |
Definition at line 5575 of file OSOption.cpp.
References ErrorClass::errormsg, SystemOption::minCPUSpeed, system, MinCPUSpeed::unit, and verifyCPUSpeedUnit().
Referenced by setOptionStr().
bool OSOption::setMinCPUNumber | ( | int | number | ) |
Definition at line 5594 of file OSOption.cpp.
References SystemOption::minCPUNumber, and system.
Referenced by setOptionInt().
bool OSOption::setOtherSystemOptions | ( | int | numberOfOptions, | |
OtherOption ** | other | |||
) |
Definition at line 5601 of file OSOption.cpp.
References OtherOptions::numberOfOtherOptions, SystemOption::otherOptions, OtherOptions::setOther(), and system.
bool OSOption::setAnOtherSystemOption | ( | std::string | name, | |
std::string | value, | |||
std::string | description | |||
) |
Definition at line 5617 of file OSOption.cpp.
References OtherOptions::addOther(), SystemOption::otherOptions, and system.
bool OSOption::setServiceType | ( | std::string | serviceType | ) |
set() options in the <service> element
Definition at line 5630 of file OSOption.cpp.
References ErrorClass::errormsg, service, ServiceOption::type, and verifyServiceType().
Referenced by setOptionStr().
bool OSOption::setOtherServiceOptions | ( | int | numberOfOptions, | |
OtherOption ** | other | |||
) |
Definition at line 5647 of file OSOption.cpp.
References OtherOptions::numberOfOtherOptions, ServiceOption::otherOptions, service, and OtherOptions::setOther().
bool OSOption::setAnOtherServiceOption | ( | std::string | name, | |
std::string | value, | |||
std::string | description | |||
) |
Definition at line 5662 of file OSOption.cpp.
References OtherOptions::addOther(), ServiceOption::otherOptions, and service.
bool OSOption::setMaxTime | ( | double | value | ) |
set() options in the <job> element
Definition at line 5674 of file OSOption.cpp.
References job, JobOption::maxTime, and MaxTime::value.
Referenced by setOptionDbl().
bool OSOption::setMaxTimeUnit | ( | std::string | unit | ) |
Definition at line 5683 of file OSOption.cpp.
References ErrorClass::errormsg, job, JobOption::maxTime, MaxTime::unit, and verifyTimeUnit().
Referenced by setOptionStr().
bool OSOption::setRequestedStartTime | ( | std::string | time | ) |
Definition at line 5702 of file OSOption.cpp.
References job, and JobOption::requestedStartTime.
Referenced by setOptionStr().
bool OSOption::setJobDependencies | ( | int | numberOfDependencies, | |
std::string * | jobDependencies | |||
) |
Definition at line 5710 of file OSOption.cpp.
References JobOption::dependencies, job, JobDependencies::jobID, and JobDependencies::setJobID().
bool OSOption::setAnotherJobDependency | ( | std::string | jobID | ) |
Definition at line 5721 of file OSOption.cpp.
References JobDependencies::addJobID(), JobOption::dependencies, and job.
bool OSOption::setRequiredDirectories | ( | int | numberOfPaths, | |
std::string * | paths | |||
) |
Definition at line 5730 of file OSOption.cpp.
References job, DirectoriesAndFiles::path, JobOption::requiredDirectories, and DirectoriesAndFiles::setPath().
bool OSOption::setAnotherRequiredDirectory | ( | std::string | path | ) |
Definition at line 5741 of file OSOption.cpp.
References DirectoriesAndFiles::addPath(), job, and JobOption::requiredDirectories.
bool OSOption::setRequiredFiles | ( | int | numberOfPaths, | |
std::string * | paths | |||
) |
Definition at line 5750 of file OSOption.cpp.
References job, DirectoriesAndFiles::path, JobOption::requiredFiles, and DirectoriesAndFiles::setPath().
bool OSOption::setAnotherRequiredFile | ( | std::string | path | ) |
Definition at line 5761 of file OSOption.cpp.
References DirectoriesAndFiles::addPath(), job, and JobOption::requiredFiles.
bool OSOption::setDirectoriesToMake | ( | int | numberOfPaths, | |
std::string * | paths | |||
) |
Definition at line 5770 of file OSOption.cpp.
References JobOption::directoriesToMake, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().
bool OSOption::setAnotherDirectoryToMake | ( | std::string | path | ) |
Definition at line 5781 of file OSOption.cpp.
References DirectoriesAndFiles::addPath(), JobOption::directoriesToMake, and job.
bool OSOption::setFilesToMake | ( | int | numberOfPaths, | |
std::string * | paths | |||
) |
Definition at line 5790 of file OSOption.cpp.
References JobOption::filesToMake, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().
bool OSOption::setAnotherFileToMake | ( | std::string | path | ) |
Definition at line 5801 of file OSOption.cpp.
References DirectoriesAndFiles::addPath(), JobOption::filesToMake, and job.
bool OSOption::setInputDirectoriesToMove | ( | int | numberOfPathPairs, | |
PathPair ** | pathPair | |||
) |
Definition at line 5810 of file OSOption.cpp.
References JobOption::inputDirectoriesToMove, job, PathPairs::pathPair, and PathPairs::setPathPair().
bool OSOption::setAnotherInputDirectoryToMove | ( | std::string | fromPath, | |
std::string | toPath, | |||
bool | makeCopy | |||
) |
Definition at line 5821 of file OSOption.cpp.
References PathPairs::addPathPair(), JobOption::inputDirectoriesToMove, and job.
bool OSOption::setInputFilesToMove | ( | int | numberOfPathPairs, | |
PathPair ** | pathPair | |||
) |
Definition at line 5830 of file OSOption.cpp.
References JobOption::inputFilesToMove, job, PathPairs::pathPair, and PathPairs::setPathPair().
bool OSOption::setAnotherInputFileToMove | ( | std::string | fromPath, | |
std::string | toPath, | |||
bool | makeCopy | |||
) |
Definition at line 5841 of file OSOption.cpp.
References PathPairs::addPathPair(), JobOption::inputFilesToMove, and job.
bool OSOption::setOutputFilesToMove | ( | int | numberOfPathPairs, | |
PathPair ** | pathPair | |||
) |
Definition at line 5850 of file OSOption.cpp.
References job, JobOption::outputFilesToMove, PathPairs::pathPair, and PathPairs::setPathPair().
bool OSOption::setAnotherOutputFileToMove | ( | std::string | fromPath, | |
std::string | toPath, | |||
bool | makeCopy | |||
) |
Definition at line 5861 of file OSOption.cpp.
References PathPairs::addPathPair(), job, and JobOption::outputFilesToMove.
bool OSOption::setOutputDirectoriesToMove | ( | int | numberOfPathPairs, | |
PathPair ** | pathPair | |||
) |
Definition at line 5870 of file OSOption.cpp.
References job, JobOption::outputDirectoriesToMove, PathPairs::pathPair, and PathPairs::setPathPair().
bool OSOption::setAnotherOutputDirectoryToMove | ( | std::string | fromPath, | |
std::string | toPath, | |||
bool | makeCopy | |||
) |
Definition at line 5881 of file OSOption.cpp.
References PathPairs::addPathPair(), job, and JobOption::outputDirectoriesToMove.
bool OSOption::setFilesToDelete | ( | int | numberOfPaths, | |
std::string * | paths | |||
) |
Definition at line 5890 of file OSOption.cpp.
References JobOption::filesToDelete, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().
bool OSOption::setAnotherFileToDelete | ( | std::string | path | ) |
Definition at line 5901 of file OSOption.cpp.
References DirectoriesAndFiles::addPath(), JobOption::filesToDelete, and job.
bool OSOption::setDirectoriesToDelete | ( | int | numberOfPaths, | |
std::string * | paths | |||
) |
Definition at line 5910 of file OSOption.cpp.
References JobOption::directoriesToDelete, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().
bool OSOption::setAnotherDirectoryToDelete | ( | std::string | path | ) |
Definition at line 5921 of file OSOption.cpp.
References DirectoriesAndFiles::addPath(), JobOption::directoriesToDelete, and job.
bool OSOption::setProcessesToKill | ( | int | numberOfProcesses, | |
std::string * | processes | |||
) |
Definition at line 5930 of file OSOption.cpp.
References job, Processes::process, JobOption::processesToKill, and Processes::setProcess().
bool OSOption::setAnotherProcessToKill | ( | std::string | process | ) |
Definition at line 5941 of file OSOption.cpp.
References Processes::addProcess(), job, and JobOption::processesToKill.
bool OSOption::setOtherJobOptions | ( | int | numberOfOptions, | |
OtherOption ** | other | |||
) |
Definition at line 5950 of file OSOption.cpp.
References job, OtherOptions::numberOfOtherOptions, JobOption::otherOptions, and OtherOptions::setOther().
bool OSOption::setAnOtherJobOption | ( | std::string | name, | |
std::string | value, | |||
std::string | description | |||
) |
Definition at line 5965 of file OSOption.cpp.
References OtherOptions::addOther(), job, and JobOption::otherOptions.
bool OSOption::setNumberOfVariables | ( | int | numberOfObjects | ) |
Definition at line 5975 of file OSOption.cpp.
References OptimizationOption::numberOfVariables, and optimization.
bool OSOption::setNumberOfObjectives | ( | int | numberOfObjects | ) |
Definition at line 5982 of file OSOption.cpp.
References OptimizationOption::numberOfObjectives, and optimization.
bool OSOption::setNumberOfConstraints | ( | int | numberOfObjects | ) |
Definition at line 5989 of file OSOption.cpp.
References OptimizationOption::numberOfConstraints, and optimization.
bool OSOption::setInitVarValuesSparse | ( | int | numberOfVar, | |
InitVarValue ** | var | |||
) |
Definition at line 5997 of file OSOption.cpp.
References VariableOption::initialVariableValues, InitVariableValues::numberOfVar, optimization, InitVariableValues::setVar(), and OptimizationOption::variables.
bool OSOption::setInitVarValuesDense | ( | int | numberOfVar, | |
double * | value | |||
) |
Definition at line 6014 of file OSOption.cpp.
References VariableOption::initialVariableValues, optimization, InitVariableValues::var, and OptimizationOption::variables.
Referenced by main().
bool OSOption::setAnotherInitVarValue | ( | int | idx, | |
double | value | |||
) |
Definition at line 6036 of file OSOption.cpp.
References InitVariableValues::addVar(), VariableOption::initialVariableValues, optimization, and OptimizationOption::variables.
bool OSOption::setInitVarValuesStringSparse | ( | int | numberOfVar, | |
InitVarValueString ** | var | |||
) |
Definition at line 6047 of file OSOption.cpp.
References VariableOption::initialVariableValuesString, InitVariableValuesString::numberOfVar, optimization, InitVariableValuesString::setVar(), and OptimizationOption::variables.
bool OSOption::setInitVarValuesStringDense | ( | int | numberOfVar, | |
std::string * | value | |||
) |
Definition at line 6064 of file OSOption.cpp.
References VariableOption::initialVariableValuesString, optimization, InitVariableValuesString::var, and OptimizationOption::variables.
bool OSOption::setAnotherInitVarValueString | ( | int | idx, | |
std::string | value | |||
) |
Definition at line 6084 of file OSOption.cpp.
References InitVariableValuesString::addVar(), VariableOption::initialVariableValuesString, optimization, and OptimizationOption::variables.
bool OSOption::setInitBasisStatusSparse | ( | int | numberOfVar, | |
InitBasStatus ** | var | |||
) |
Definition at line 6095 of file OSOption.cpp.
References VariableOption::initialBasisStatus, InitialBasisStatus::numberOfVar, optimization, InitialBasisStatus::setVar(), and OptimizationOption::variables.
bool OSOption::setInitBasisStatusDense | ( | int | numberOfVar, | |
std::string * | var | |||
) |
Definition at line 6112 of file OSOption.cpp.
References VariableOption::initialBasisStatus, optimization, InitialBasisStatus::var, OptimizationOption::variables, and verifyBasisStatus().
bool OSOption::setAnotherInitBasisStatus | ( | int | idx, | |
std::string | value | |||
) |
Definition at line 6132 of file OSOption.cpp.
References InitialBasisStatus::addVar(), VariableOption::initialBasisStatus, optimization, and OptimizationOption::variables.
bool OSOption::setIntegerVariableBranchingWeightsSparse | ( | int | numberOfVar, | |
BranchingWeight ** | var | |||
) |
Definition at line 6143 of file OSOption.cpp.
References VariableOption::integerVariableBranchingWeights, IntegerVariableBranchingWeights::numberOfVar, optimization, IntegerVariableBranchingWeights::setVar(), and OptimizationOption::variables.
bool OSOption::setIntegerVariableBranchingWeightsDense | ( | int | numberOfVar, | |
double * | value | |||
) |
Definition at line 6160 of file OSOption.cpp.
References VariableOption::integerVariableBranchingWeights, optimization, IntegerVariableBranchingWeights::var, and OptimizationOption::variables.
bool OSOption::setAnotherIntegerVariableBranchingWeight | ( | int | idx, | |
double | value | |||
) |
Definition at line 6180 of file OSOption.cpp.
References IntegerVariableBranchingWeights::addVar(), VariableOption::integerVariableBranchingWeights, optimization, and OptimizationOption::variables.
bool OSOption::setSOSVariableBranchingWeights | ( | int | numberOfSOS, | |
SOSWeights ** | sos | |||
) |
Definition at line 6191 of file OSOption.cpp.
References SOSVariableBranchingWeights::numberOfSOS, optimization, SOSVariableBranchingWeights::setSOS(), VariableOption::sosVariableBranchingWeights, and OptimizationOption::variables.
bool OSOption::setAnotherSOSVariableBranchingWeight | ( | int | sosIdx, | |
int | nvar, | |||
double | weight, | |||
int * | idx, | |||
double * | value | |||
) |
Definition at line 6208 of file OSOption.cpp.
References SOSVariableBranchingWeights::addSOS(), optimization, VariableOption::sosVariableBranchingWeights, and OptimizationOption::variables.
bool OSOption::setOtherVariableOptions | ( | int | numberOfVar, | |
OtherVariableOption ** | var | |||
) |
Definition at line 6219 of file OSOption.cpp.
References VariableOption::numberOfOtherVariableOptions, optimization, VariableOption::setOther(), and OptimizationOption::variables.
bool OSOption::setAnOtherVariableOption | ( | OtherVariableOption * | varOption | ) |
Definition at line 6234 of file OSOption.cpp.
References VariableOption::addOther(), optimization, and OptimizationOption::variables.
bool OSOption::setInitObjValuesSparse | ( | int | numberOfObj, | |
InitObjValue ** | obj | |||
) |
Definition at line 6243 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveValues, InitObjectiveValues::numberOfObj, OptimizationOption::objectives, optimization, and InitObjectiveValues::setObj().
bool OSOption::setInitObjValuesDense | ( | int | numberOfObj, | |
double * | value | |||
) |
Definition at line 6260 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveValues, InitObjectiveValues::obj, OptimizationOption::objectives, and optimization.
bool OSOption::setAnotherInitObjValue | ( | int | idx, | |
double | value | |||
) |
Definition at line 6280 of file OSOption.cpp.
References InitObjectiveValues::addObj(), ObjectiveOption::initialObjectiveValues, OptimizationOption::objectives, and optimization.
bool OSOption::setInitObjBoundsSparse | ( | int | numberOfObj, | |
InitObjBound ** | obj | |||
) |
Definition at line 6291 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveBounds, InitObjectiveBounds::numberOfObj, OptimizationOption::objectives, optimization, and InitObjectiveBounds::setObj().
bool OSOption::setInitObjBoundsDense | ( | int | numberOfObj, | |
double * | lb, | |||
double * | ub | |||
) |
Definition at line 6308 of file OSOption.cpp.
References ObjectiveOption::initialObjectiveBounds, InitObjectiveBounds::obj, OptimizationOption::objectives, and optimization.
bool OSOption::setAnotherInitObjBound | ( | int | idx, | |
double | lbValue, | |||
double | ubValue | |||
) |
Definition at line 6327 of file OSOption.cpp.
References InitObjectiveBounds::addObj(), ObjectiveOption::initialObjectiveBounds, OptimizationOption::objectives, and optimization.
bool OSOption::setOtherObjectiveOptions | ( | int | numberOfObj, | |
OtherObjectiveOption ** | obj | |||
) |
Definition at line 6338 of file OSOption.cpp.
References ObjectiveOption::numberOfOtherObjectiveOptions, OptimizationOption::objectives, optimization, and ObjectiveOption::setOther().
bool OSOption::setAnOtherObjectiveOption | ( | OtherObjectiveOption * | objOption | ) |
Definition at line 6353 of file OSOption.cpp.
References ObjectiveOption::addOther(), OptimizationOption::objectives, and optimization.
bool OSOption::setInitConValuesSparse | ( | int | numberOfCon, | |
InitConValue ** | con | |||
) |
Definition at line 6362 of file OSOption.cpp.
References OptimizationOption::constraints, ConstraintOption::initialConstraintValues, InitConstraintValues::numberOfCon, optimization, and InitConstraintValues::setCon().
bool OSOption::setInitConValuesDense | ( | int | numberOfCon, | |
double * | value | |||
) |
Definition at line 6379 of file OSOption.cpp.
References InitConstraintValues::con, OptimizationOption::constraints, ConstraintOption::initialConstraintValues, and optimization.
bool OSOption::setAnotherInitConValue | ( | int | idx, | |
double | value | |||
) |
Definition at line 6399 of file OSOption.cpp.
References InitConstraintValues::addCon(), OptimizationOption::constraints, ConstraintOption::initialConstraintValues, and optimization.
bool OSOption::setInitDualVarValuesSparse | ( | int | numberOfCon, | |
InitDualVarValue ** | con | |||
) |
Definition at line 6410 of file OSOption.cpp.
References OptimizationOption::constraints, ConstraintOption::initialDualValues, InitDualVariableValues::numberOfCon, optimization, and InitDualVariableValues::setCon().
bool OSOption::setInitDualVarValuesDense | ( | int | numberOfCon, | |
double * | lb, | |||
double * | ub | |||
) |
Definition at line 6427 of file OSOption.cpp.
References InitDualVariableValues::con, OptimizationOption::constraints, ConstraintOption::initialDualValues, and optimization.
bool OSOption::setAnotherInitDualVarValue | ( | int | idx, | |
double | lbValue, | |||
double | ubValue | |||
) |
Definition at line 6447 of file OSOption.cpp.
References InitDualVariableValues::addCon(), OptimizationOption::constraints, ConstraintOption::initialDualValues, and optimization.
bool OSOption::setOtherConstraintOptions | ( | int | numberOfOptions, | |
OtherConstraintOption ** | other | |||
) |
Definition at line 6458 of file OSOption.cpp.
References OptimizationOption::constraints, ConstraintOption::numberOfOtherConstraintOptions, optimization, and ConstraintOption::setOther().
bool OSOption::setAnOtherConstraintOption | ( | OtherConstraintOption * | optionValue | ) |
Definition at line 6473 of file OSOption.cpp.
References ConstraintOption::addOther(), OptimizationOption::constraints, and optimization.
bool OSOption::setSolverOptions | ( | int | numberOfSolverOptions, | |
SolverOption ** | solverOption | |||
) |
Definition at line 6482 of file OSOption.cpp.
References SolverOptions::numberOfSolverOptions, optimization, SolverOptions::setSolverOptions(), and OptimizationOption::solverOptions.
bool OSOption::setAnotherSolverOption | ( | std::string | name, | |
std::string | value, | |||
std::string | solver, | |||
std::string | category, | |||
std::string | type, | |||
std::string | description | |||
) |
Definition at line 6497 of file OSOption.cpp.
References SolverOptions::addSolverOption(), optimization, and OptimizationOption::solverOptions.
Referenced by main().
bool OSOption::setOptionInt | ( | std::string | optionName, | |
int | optionValue | |||
) |
bool OSOption::setOptionStr | ( | std::string | optionName, | |
std::string | optionValue | |||
) |
Definition at line 6507 of file OSOption.cpp.
References setContact(), setContactTransportType(), setInstanceLocation(), setInstanceLocationType(), setInstanceName(), setJobID(), setLicense(), setMaxTimeUnit(), setMinCPUSpeedUnit(), setMinDiskSpaceUnit(), setMinMemoryUnit(), setPassword(), setRequestedStartTime(), setServiceName(), setServiceType(), setServiceURI(), setSolverToInvoke(), and setUserName().
bool OSOption::setOptionDbl | ( | std::string | optionName, | |
double | value | |||
) |
Definition at line 6577 of file OSOption.cpp.
References setMaxTime(), setMinCPUSpeed(), setMinDiskSpace(), and setMinMemorySize().
OSOption has five children: general, system, service, job, and optimization.
generalOption holds the first child of the OSOption specified by the OSoL Schema.
Definition at line 2416 of file OSOption.h.
Referenced by getContact(), getContactTransportType(), getInstanceLocation(), getInstanceLocationType(), getInstanceName(), getJobID(), getLicense(), getNumberOfOtherGeneralOptions(), getOtherGeneralOptions(), getPassword(), getServiceName(), getServiceURI(), getSolverToInvoke(), getUserName(), IsEqual(), OSOption(), setAnOtherGeneralOption(), setContact(), setContactTransportType(), setInstanceLocation(), setInstanceLocationType(), setInstanceName(), setJobID(), setLicense(), setOtherGeneralOptions(), setPassword(), setServiceName(), setServiceURI(), setSolverToInvoke(), setUserName(), OSoLWriter::writeOSoL(), and ~OSOption().
systemOption holds the second child of the OSOption specified by the OSoL Schema.
Definition at line 2420 of file OSOption.h.
Referenced by getMinCPUNumber(), getMinCPUSpeed(), getMinCPUSpeedUnit(), getMinDiskSpace(), getMinDiskSpaceUnit(), getMinMemorySize(), getMinMemoryUnit(), getNumberOfOtherSystemOptions(), getOtherSystemOptions(), IsEqual(), OSOption(), setAnOtherSystemOption(), setMinCPUNumber(), setMinCPUSpeed(), setMinCPUSpeedUnit(), setMinDiskSpace(), setMinDiskSpaceUnit(), setMinMemorySize(), setMinMemoryUnit(), setOtherSystemOptions(), OSoLWriter::writeOSoL(), and ~OSOption().
serviceOption holds the third child of the OSOption specified by the OSoL Schema.
Definition at line 2424 of file OSOption.h.
Referenced by getNumberOfOtherServiceOptions(), getOtherServiceOptions(), getServiceType(), IsEqual(), OSOption(), setAnOtherServiceOption(), setOtherServiceOptions(), setServiceType(), and ~OSOption().
jobOption holds the fourth child of the OSOption specified by the OSoL Schema.
Definition at line 2428 of file OSOption.h.
Referenced by getDirectoriesToDelete(), getDirectoriesToMake(), getFilesToDelete(), getFilesToMake(), getInputDirectoriesToMove(), getInputFilesToMove(), getJobDependencies(), getMaxTime(), getMaxTimeUnit(), getNumberOfDirectoriesToDelete(), getNumberOfDirectoriesToMake(), getNumberOfFilesToDelete(), getNumberOfFilesToMake(), getNumberOfInputDirectoriesToMove(), getNumberOfInputFilesToMove(), getNumberOfJobDependencies(), getNumberOfOtherJobOptions(), getNumberOfOutputDirectoriesToMove(), getNumberOfOutputFilesToMove(), getNumberOfProcessesToKill(), getNumberOfRequiredDirectories(), getNumberOfRequiredFiles(), getOtherJobOptions(), getOutputDirectoriesToMove(), getOutputFilesToMove(), getProcessesToKill(), getRequestedStartTime(), getRequiredDirectories(), getRequiredFiles(), IsEqual(), OSOption(), setAnotherDirectoryToDelete(), setAnotherDirectoryToMake(), setAnotherFileToDelete(), setAnotherFileToMake(), setAnotherInputDirectoryToMove(), setAnotherInputFileToMove(), setAnotherJobDependency(), setAnOtherJobOption(), setAnotherOutputDirectoryToMove(), setAnotherOutputFileToMove(), setAnotherProcessToKill(), setAnotherRequiredDirectory(), setAnotherRequiredFile(), setDirectoriesToDelete(), setDirectoriesToMake(), setFilesToDelete(), setFilesToMake(), setInputDirectoriesToMove(), setInputFilesToMove(), setJobDependencies(), setMaxTime(), setMaxTimeUnit(), setOtherJobOptions(), setOutputDirectoriesToMove(), setOutputFilesToMove(), setProcessesToKill(), setRequestedStartTime(), setRequiredDirectories(), setRequiredFiles(), and ~OSOption().
optimizationOption holds the fifth child of the OSOption specified by the OSoL Schema.
Definition at line 2432 of file OSOption.h.
Referenced by getAllOtherConstraintOptions(), getAllOtherObjectiveOptions(), getAllOtherVariableOptions(), getAllSolverOptions(), getInitBasisStatusSparse(), getInitConValuesSparse(), getInitDualVarValuesSparse(), getInitObjBoundsSparse(), getInitObjValuesSparse(), getInitVarValuesSparse(), getInitVarValuesStringSparse(), getIntegerVariableBranchingWeightsSparse(), getNumberOfConstraints(), getNumberOfInitConValues(), getNumberOfInitDualVarValues(), getNumberOfInitialBasisVariables(), getNumberOfInitObjBounds(), getNumberOfInitObjValues(), getNumberOfInitVarValues(), getNumberOfInitVarValuesString(), getNumberOfIntegerVariableBranchingWeights(), getNumberOfObjectives(), getNumberOfOtherConstraintOptions(), getNumberOfOtherObjectiveOptions(), getNumberOfOtherVariableOptions(), getNumberOfSolverOptions(), getNumberOfSOS(), getNumberOfSOSVarBranchingWeights(), getNumberOfVariables(), getSOSVariableBranchingWeightsSparse(), IsEqual(), OSOption(), setAnOtherConstraintOption(), setAnotherInitBasisStatus(), setAnotherInitConValue(), setAnotherInitDualVarValue(), setAnotherInitObjBound(), setAnotherInitObjValue(), setAnotherInitVarValue(), setAnotherInitVarValueString(), setAnotherIntegerVariableBranchingWeight(), setAnOtherObjectiveOption(), setAnotherSolverOption(), setAnotherSOSVariableBranchingWeight(), setAnOtherVariableOption(), setInitBasisStatusDense(), setInitBasisStatusSparse(), setInitConValuesDense(), setInitConValuesSparse(), setInitDualVarValuesDense(), setInitDualVarValuesSparse(), setInitObjBoundsDense(), setInitObjBoundsSparse(), setInitObjValuesDense(), setInitObjValuesSparse(), setInitVarValuesDense(), setInitVarValuesSparse(), setInitVarValuesStringDense(), setInitVarValuesStringSparse(), setIntegerVariableBranchingWeightsDense(), setIntegerVariableBranchingWeightsSparse(), setNumberOfConstraints(), setNumberOfObjectives(), setNumberOfVariables(), setOtherConstraintOptions(), setOtherObjectiveOptions(), setOtherVariableOptions(), setSolverOptions(), setSOSVariableBranchingWeights(), and ~OSOption().
double* OSOption::m_mdInitVarValuesDense [private] |
m_mdInitVarValuesDense holds the initial variable values in dense form
Definition at line 2449 of file OSOption.h.
Referenced by getInitVarValuesDense(), OSOption(), and ~OSOption().
std::string* OSOption::m_mdInitVarValuesStringDense [private] |
m_mdInitVarValuesStringDense holds the initial values for string-valued variables
Definition at line 2454 of file OSOption.h.
Referenced by getInitVarValuesStringDense(), OSOption(), and ~OSOption().
std::string* OSOption::m_mdInitBasisStatusDense [private] |
m_mdInitBasisStatusDense holds the initial basis status in dense form
Definition at line 2459 of file OSOption.h.
Referenced by getInitBasisStatusDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdIntegerVariableBranchingWeightsDense [private] |
m_mdIntegerVariableBranchingWeightsDense holds the branching weights for integer variables
Definition at line 2464 of file OSOption.h.
Referenced by getIntegerVariableBranchingWeightsDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdInitObjValuesDense [private] |
m_mdInitObjValuesDense holds initial objective values in dense form
Definition at line 2469 of file OSOption.h.
Referenced by getInitObjValuesDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdInitObjLowerBoundsDense [private] |
m_mdInitObjLowerBoundsDense holds initial lower bounds for the objectives in dense form
Definition at line 2474 of file OSOption.h.
Referenced by getInitObjLowerBoundsDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdInitObjUpperBoundsDense [private] |
m_mdInitObjUpperBoundsDense holds initial upper bounds for the objectives in dense form
Definition at line 2479 of file OSOption.h.
Referenced by getInitObjUpperBoundsDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdInitConValuesDense [private] |
m_mdInitConValuesDense holds initial constraint values in dense form
Definition at line 2484 of file OSOption.h.
Referenced by getInitConValuesDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdInitDualVarLowerBoundsDense [private] |
m_mdInitDualVarLowerBoundsDense holds initial dual values for the lower bound of the constraints in dense form
Definition at line 2490 of file OSOption.h.
Referenced by getInitDualVarLowerBoundsDense(), OSOption(), and ~OSOption().
double* OSOption::m_mdInitDualVarUpperBoundsDense [private] |
m_mdInitDualVarUpperBoundsDense holds initial dual values for the upper bound of the constraints in dense form
Definition at line 2496 of file OSOption.h.
Referenced by getInitDualVarUpperBoundsDense(), OSOption(), and ~OSOption().