OSOption Class Reference

The Option Class. More...

#include <OSOption.h>

Collaboration diagram for OSOption:

Collaboration graph
[legend]
List of all members.

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

GeneralOptiongeneral
 OSOption has five children: general, system, service, job, and optimization.
SystemOptionsystem
 systemOption holds the second child of the OSOption specified by the OSoL Schema.
ServiceOptionservice
 serviceOption holds the third child of the OSOption specified by the OSoL Schema.
JobOptionjob
 jobOption holds the fourth child of the OSOption specified by the OSoL Schema.
OptimizationOptionoptimization
 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

Detailed Description

The Option Class.

Author:
Robert Fourer, Gus Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 21/07/2008
Since:
OS 1.1
Remarks:
A class for holding all the solver options information.

Definition at line 2407 of file OSOption.h.


Constructor & Destructor Documentation

OSOption::OSOption (  ) 

Default constructor.

Definition at line 1160 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 1184 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.


Member Function Documentation

bool OSOption::IsEqual ( OSOption that  ) 

A function to check for the equality of two objects.

Definition at line 6607 of file OSOption.cpp.

References general, job, optimization, service, and system.

std::string OSOption::getServiceURI (  ) 

Get the service URI.

Definition at line 1255 of file OSOption.cpp.

References general, and GeneralOption::serviceURI.

Referenced by getOptionStr().

std::string OSOption::getServiceName (  ) 

Get the service name.

Definition at line 1265 of file OSOption.cpp.

References general, and GeneralOption::serviceName.

Referenced by getOptionStr().

std::string OSOption::getInstanceName (  ) 

Get the instance name.

Definition at line 1275 of file OSOption.cpp.

References general, and GeneralOption::instanceName.

Referenced by getOptionStr().

std::string OSOption::getInstanceLocation (  ) 

Get the instance location.

Definition at line 1285 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 1296 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 1307 of file OSOption.cpp.

References general, and GeneralOption::jobID.

Referenced by getOptionStr().

std::string OSOption::getSolverToInvoke (  ) 

Get the solver name.

Definition at line 1317 of file OSOption.cpp.

References general, and GeneralOption::solverToInvoke.

Referenced by getOptionStr().

std::string OSOption::getLicense (  ) 

Get the license string.

Definition at line 1327 of file OSOption.cpp.

References general, and GeneralOption::license.

Referenced by getOptionStr().

std::string OSOption::getUserName (  ) 

Get the user name.

Definition at line 1337 of file OSOption.cpp.

References general, and GeneralOption::userName.

Referenced by getOptionStr().

std::string OSOption::getPassword (  ) 

Get the password.

Definition at line 1347 of file OSOption.cpp.

References general, and GeneralOption::password.

Referenced by getOptionStr().

std::string OSOption::getContact (  ) 

Get the contact information.

Definition at line 1357 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 1368 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 1379 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 1390 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 1401 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 1412 of file OSOption.cpp.

References service, and ServiceOption::type.

Referenced by getOptionStr().

std::string OSOption::getMaxTimeUnit (  ) 

Get the time unit.

Definition at line 1422 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 1433 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.

Parameters:
optionName The name of the option
Returns:
the value of the option optionName
Note:
This function returns the empty string "" if optionName is not found

Definition at line 1446 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 1511 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 1522 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 1533 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 1544 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.

Parameters:
optionName The name of the option
Returns:
the value of the option optionName
Note:
returns 0 if optionName is not found

Definition at line 1558 of file OSOption.cpp.

References getMaxTime(), getMinCPUSpeed(), getMinDiskSpace(), and getMinMemorySize().

int OSOption::getMinCPUNumber (  ) 

Get the minimum required number of CPUs.

Definition at line 1581 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 1591 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 1602 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 1613 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 1624 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 1635 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 1646 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 1657 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 1668 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 1679 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 1690 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 1701 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 1712 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 1723 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 1734 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 1745 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 1756 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 1767 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 1777 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 1787 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.

Returns:
the number of initial variable values.

Definition at line 1798 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.

Returns:
the number of initial variable strings.

Definition at line 1816 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.

Returns:
the number of variables.

Definition at line 1827 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.

Returns:
the number of variables.

Definition at line 1838 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.

Returns:
the number of variables.

Definition at line 1849 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.

Parameters:
iSOS the number of the SOS
Returns:
the number of variables.

Definition at line 1860 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.

Returns:
the number of other variable options.

Definition at line 1874 of file OSOption.cpp.

References VariableOption::numberOfOtherVariableOptions, optimization, and OptimizationOption::variables.

Referenced by getOptionInt(), and getOtherVariableOptions().

int OSOption::getNumberOfInitObjValues (  ) 

Get the number of initial objective values.

Returns:
the number of initial objective values.

Definition at line 1885 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.

Returns:
the number of initial objective bound values.

Definition at line 1897 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.

Returns:
the number of other objective options.

Definition at line 1908 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.

Returns:
the number of initial constraint values.

Definition at line 1919 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.

Returns:
the number of initial dual variable values.

Definition at line 1931 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.

Returns:
the number of other constraint options.

Definition at line 1943 of file OSOption.cpp.

References OptimizationOption::constraints, ConstraintOption::numberOfOtherConstraintOptions, and optimization.

Referenced by getOptionInt(), and getOtherConstraintOptions().

int OSOption::getNumberOfSolverOptions (  ) 

Get the number of solver options.

Returns:
the number of solver options.

Definition at line 1954 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.

Parameters:
optionName The name of the option
Returns:
the value of the option optionName
Note:
This function returns -1 if optionName is not found

Definition at line 1968 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.

Returns:
a vector of pointers to otherOptions objects associated with the <general> element

Definition at line 2079 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.

Returns:
a vector of pointers to otherOptions objects associated with the <system> element

Definition at line 2090 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.

Returns:
a vector of pointers to otherOptions objects associated with the <service> element

Definition at line 2101 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.

Returns:
a vector of pointers to otherOptions objects associated with the <job> element

Definition at line 2112 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.

Returns:
a vector of pointers to otherOptions objects associated with the element whose name matches elementName

Definition at line 2126 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.

Returns:
a vector of pointers to all otherOptions objects

Definition at line 2145 of file OSOption.cpp.

std::string * OSOption::getJobDependencies (  ) 

Get the array of job dependencies.

Returns:
a vector of pointers to JobDependencies objects

Definition at line 2221 of file OSOption.cpp.

References JobOption::dependencies, job, and JobDependencies::jobID.

std::string * OSOption::getRequiredDirectories (  ) 

Get the array of required directories.

Returns:
a vector of pointers to DirectoriesAndFiles objects giving the directories that are required by the current job

Definition at line 2238 of file OSOption.cpp.

References job, DirectoriesAndFiles::path, and JobOption::requiredDirectories.

std::string * OSOption::getRequiredFiles (  ) 

Get the array of required files.

Returns:
a vector of pointers to DirectoriesAndFiles objects giving the files that are required by the current job

Definition at line 2254 of file OSOption.cpp.

References job, DirectoriesAndFiles::path, and JobOption::requiredFiles.

std::string * OSOption::getDirectoriesToMake (  ) 

Get the array of directories to make.

Returns:
a vector of pointers to DirectoriesAndFiles objects giving the directories that must be created

Definition at line 2270 of file OSOption.cpp.

References JobOption::directoriesToMake, job, and DirectoriesAndFiles::path.

std::string * OSOption::getFilesToMake (  ) 

Get the array of files to make.

Returns:
a vector of pointers to DirectoriesAndFiles objects giving the files that must be created

Definition at line 2286 of file OSOption.cpp.

References JobOption::filesToMake, job, and DirectoriesAndFiles::path.

PathPair ** OSOption::getInputDirectoriesToMove (  ) 

Get the array of input directories to move.

Returns:
a vector of pointers to PathPair objects giving the input directories that must be moved

Definition at line 2302 of file OSOption.cpp.

References JobOption::inputDirectoriesToMove, job, and PathPairs::pathPair.

PathPair ** OSOption::getInputFilesToMove (  ) 

Get the array of input files to move.

Returns:
a vector of pointers to PathPair objects giving the input files that must be moved

Definition at line 2318 of file OSOption.cpp.

References JobOption::inputFilesToMove, job, and PathPairs::pathPair.

PathPair ** OSOption::getOutputDirectoriesToMove (  ) 

Get the array of output directories to move.

Returns:
a vector of pointers to PathPair objects giving the output directories that must be moved

Definition at line 2350 of file OSOption.cpp.

References job, JobOption::outputDirectoriesToMove, and PathPairs::pathPair.

PathPair ** OSOption::getOutputFilesToMove (  ) 

Get the array of output files to move.

Returns:
a vector of pointers to PathPair objects giving the output files that must be moved

Definition at line 2334 of file OSOption.cpp.

References job, JobOption::outputFilesToMove, and PathPairs::pathPair.

std::string * OSOption::getDirectoriesToDelete (  ) 

Get the array of directories to delete.

Returns:
a vector of pointers to DirectoriesAndFiles objects giving the directories that must be deleted

Definition at line 2382 of file OSOption.cpp.

References JobOption::directoriesToDelete, job, and DirectoriesAndFiles::path.

std::string * OSOption::getFilesToDelete (  ) 

Get the array of files to delete.

Returns:
a vector of pointers to DirectoriesAndFiles objects giving the files that must be deleted

Definition at line 2366 of file OSOption.cpp.

References JobOption::filesToDelete, job, and DirectoriesAndFiles::path.

std::string * OSOption::getProcessesToKill (  ) 

Get the array of processes to kill.

Returns:
a vector of pointers to Processes objects giving the processes that must be killed

Definition at line 2398 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.

Returns:
a vector of pointers to InitVarValue objects that hold inital values for (some of) the variables

Definition at line 2417 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.

Returns:
a vector of double that holds initial values (or OSNAN) for all of the variables

Definition at line 2439 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitVarValues(), getNumberOfVariables(), k, m_mdInitVarValuesDense, and OSNAN.

double * OSOption::getInitVarValuesDense ( int  numberOfVariables  ) 

Get the initial values associated with the variables in dense form.

Parameters:
numberOfVariables holds the dimension of the vector
Returns:
a vector of double that holds initial values (or OSNAN) for all of the variables

Definition at line 2483 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitVarValues(), k, m_mdInitVarValuesDense, and OSNAN.

InitVarValueString ** OSOption::getInitVarValuesStringSparse (  ) 

Get the initial value strings associated with the variables in sparse form.

Returns:
a vector of pointers to InitVarValueString objects that hold inital value strings for (some of) the variables

Definition at line 2523 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.

Returns:
a vector of strings that holds initial value strings (or "") for all of the variables

Definition at line 2545 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitVarValuesString(), getNumberOfVariables(), k, and m_mdInitVarValuesStringDense.

std::string * OSOption::getInitVarValuesStringDense ( int  numberOfVariables  ) 

Get the initial value strings associated with the variables in dense form.

Parameters:
numberOfVariables holds the dimension of the vector
Returns:
a vector of strings that holds initial value strings (or "") for all of the variables

Definition at line 2589 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitVarValuesString(), k, and m_mdInitVarValuesStringDense.

InitBasStatus ** OSOption::getInitBasisStatusSparse (  ) 

Get the initial basis status in sparse form.

Returns:
a vector of pointers to InitBasStatus objects that hold inital basis status for (some of) the variables

Definition at line 2629 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.

Returns:
a vector of strings that holds initial basis status (or "unknown") for all of the variables

Definition at line 2651 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitialBasisVariables(), getNumberOfVariables(), k, and m_mdInitBasisStatusDense.

std::string * OSOption::getInitBasisStatusDense ( int  numberOfVariables  ) 

Get the initial basis status in dense form.

Parameters:
numberOfVariables holds the dimension of the vector
Returns:
a vector of strings that holds initial basis status (or "unknown") for all of the variables

Definition at line 2695 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitialBasisVariables(), k, and m_mdInitBasisStatusDense.

BranchingWeight ** OSOption::getIntegerVariableBranchingWeightsSparse (  ) 

Get the integer branching weights in sparse form.

Returns:
a vector of pointers to BranchingWeight objects that hold branching weights for (some of) the variables

Definition at line 2735 of file OSOption.cpp.

References VariableOption::integerVariableBranchingWeights, optimization, IntegerVariableBranchingWeights::var, and OptimizationOption::variables.

double * OSOption::getIntegerVariableBranchingWeightsDense (  ) 

Get the integer branching weights in dense form.

Returns:
a vector of double that holds branching weights (or OSNAN) for all the variables

Definition at line 2758 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfIntegerVariableBranchingWeights(), getNumberOfVariables(), k, m_mdIntegerVariableBranchingWeightsDense, and OSNAN.

double * OSOption::getIntegerVariableBranchingWeightsDense ( int  numberOfVariables  ) 

Get the integer branching weights in dense form.

Parameters:
numberOfVariables holds the dimension of the vector
Returns:
a vector of double that holds branching weights (or OSNAN) for all the variables

Definition at line 2802 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfIntegerVariableBranchingWeights(), k, m_mdIntegerVariableBranchingWeightsDense, and OSNAN.

SOSWeights ** OSOption::getSOSVariableBranchingWeightsSparse (  ) 

Get the SOS branching weights in sparse form.

Returns:
a vector of pointers to SOSWeights objects that hold branching weights for (some of) the variables contained in special ordered sets

Definition at line 2842 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.

Parameters:
solver_name is the name of the solver whose options we want
Returns:
a vector of pointers to OtherVariableOption objects that correspond to the solver named.

Definition at line 2865 of file OSOption.cpp.

References getNumberOfOtherVariableOptions().

OtherVariableOption ** OSOption::getAllOtherVariableOptions (  ) 

Get all <other> variable options.

Returns:
a pointer to an array of OtherVariableOption objects

Definition at line 2889 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.

Returns:
a vector of pointers to InitObjValue objects that hold inital values for (some of) the objectives

Definition at line 2906 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.

Returns:
a vector of double that hold initial values (or OSNAN) for all of the objectives

Definition at line 2928 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitObjValues(), getNumberOfObjectives(), k, m_mdInitObjValuesDense, and OSNAN.

double * OSOption::getInitObjValuesDense ( int  numberOfObjectives  ) 

Get the initial values associated with the objectives in dense form.

Parameters:
numberOfObjectives holds the dimension of the vector
Returns:
a vector of double that hold initial values (or OSNAN) for all of the objectives

Definition at line 2972 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitObjValues(), k, m_mdInitObjValuesDense, and OSNAN.

InitObjBound ** OSOption::getInitObjBoundsSparse (  ) 

Get the initial bounds associated with the objectives in sparse form.

Returns:
a vector of pointers to InitObjBound objects that hold inital bounds for (some of) the objectives

Definition at line 3012 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.

Returns:
a vector of double that hold initial lower bounds (or OSNAN) for all of the objectives

Definition at line 3034 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitObjBounds(), getNumberOfObjectives(), k, m_mdInitObjLowerBoundsDense, and OSNAN.

double * OSOption::getInitObjLowerBoundsDense ( int  numberOfObjectives  ) 

Get the initial lower bounds associated with the objectives in dense form.

Parameters:
numberOfObjectives holds the dimension of the vector
Returns:
a vector of double that hold initial lower bounds (or OSNAN) for all of the objectives

Definition at line 3078 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitObjBounds(), k, m_mdInitObjLowerBoundsDense, and OSNAN.

double * OSOption::getInitObjUpperBoundsDense (  ) 

Get the initial upper bounds associated with the objectives in dense form.

Returns:
a vector of double that hold initial upper bounds (or OSNAN) for all of the objectives

Definition at line 3119 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitObjBounds(), getNumberOfObjectives(), k, m_mdInitObjUpperBoundsDense, and OSNAN.

double * OSOption::getInitObjUpperBoundsDense ( int  numberOfObjectives  ) 

Get the initial upper bounds associated with the objectives in dense form.

Parameters:
numberOfObjectives holds the dimension of the vector
Returns:
a vector of double that hold initial upper bounds (or OSNAN) for all of the objectives

Definition at line 3163 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitObjBounds(), k, m_mdInitObjUpperBoundsDense, and OSNAN.

std::vector< OtherObjectiveOption * > OSOption::getOtherObjectiveOptions ( std::string  solver_name  ) 

Get the array of other objective options.

Parameters:
solver_name is the name of the solver whose options we want
Returns:
a vector of pointers to OtherConstraintOption objects

Definition at line 3204 of file OSOption.cpp.

References getNumberOfOtherObjectiveOptions().

OtherObjectiveOption ** OSOption::getAllOtherObjectiveOptions (  ) 

Get all <other> objective options.

Returns:
a pointer to an array of OtherObjectiveOption objects

Definition at line 3227 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.

Returns:
a vector of pointers to InitConValue objects that hold inital values for (some of) the constraints

Definition at line 3245 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.

Returns:
a vector of double that hold initial values for all of the constraints

Definition at line 3267 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitConValues(), k, m_mdInitConValuesDense, and OSNAN.

double * OSOption::getInitConValuesDense ( int  numberOfConstraints  ) 

Get the initial values associated with the constraints in dense form.

Parameters:
numberOfConstraints holds the dimension of the vector
Returns:
a vector of double that hold initial values for all of the constraints

Definition at line 3311 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitConValues(), k, m_mdInitConValuesDense, and OSNAN.

InitDualVarValue ** OSOption::getInitDualVarValuesSparse (  ) 

Get the initial bounds associated with the dual variables in sparse form.

Returns:
a vector of pointers to InitDualVarValue objects that hold inital bounds for (some of) the dual variables

Definition at line 3351 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.

Returns:
a vector of double that hold initial lower bounds for all of the dual variables

Definition at line 3373 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitDualVarValues(), k, and m_mdInitDualVarLowerBoundsDense.

double * OSOption::getInitDualVarLowerBoundsDense ( int  numberOfConstraints  ) 

Get the initial dual variables associated with the lower bounds in dense form.

Parameters:
numberOfConstraints holds the dimension of the vector
Returns:
a vector of double that hold initial lower bounds for all of the dual variables

Definition at line 3417 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfInitDualVarValues(), k, and m_mdInitDualVarLowerBoundsDense.

double * OSOption::getInitDualVarUpperBoundsDense (  ) 

Get the initial dual variables associated with the upper bounds in dense form.

Returns:
a vector of double that hold initial upper bounds for all of the dual variables

Definition at line 3458 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitDualVarValues(), k, and m_mdInitDualVarUpperBoundsDense.

double * OSOption::getInitDualVarUpperBoundsDense ( int  numberOfConstraints  ) 

Get the initial dual variables associated with the upper bounds in dense form.

Parameters:
numberOfConstraints holds the dimension of the vector
Returns:
a vector of double that hold initial upper bounds for all of the dual variables

Definition at line 3503 of file OSOption.cpp.

References ErrorClass::errormsg, getNumberOfConstraints(), getNumberOfInitDualVarValues(), k, and m_mdInitDualVarUpperBoundsDense.

std::vector< OtherConstraintOption * > OSOption::getOtherConstraintOptions ( std::string  solver_name  ) 

Get the array of other constraint options.

Parameters:
solver_name is the name of the solver whose options we want
Returns:
a vector of pointers to OtherConstraintOption objects

Definition at line 3545 of file OSOption.cpp.

References getNumberOfOtherConstraintOptions().

OtherConstraintOption ** OSOption::getAllOtherConstraintOptions (  ) 

Get all <other> constraint options.

Returns:
a pointer to an array of OtherConstraintOption objects

Definition at line 3568 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.

Parameters:
solver_name is the name of the solver whose options we want
Returns:
a vector of pointers to SolverOption objects that correspond to the solver named.

Definition at line 3587 of file OSOption.cpp.

References getNumberOfSolverOptions().

Referenced by IpoptSolver::setSolverOptions(), CouenneSolver::setSolverOptions(), CoinSolver::setSolverOptions(), and BonminSolver::setSolverOptions().

SolverOption ** OSOption::getAllSolverOptions (  ) 

Get all solver options.

Returns:
a pointer to an array SolverOption objects

Definition at line 3610 of file OSOption.cpp.

References optimization, SolverOptions::solverOption, and OptimizationOption::solverOptions.

bool OSOption::setServiceURI ( std::string  serviceURI  ) 

Set the serviceURI.

Definition at line 5367 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 5374 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 5381 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 5388 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 5397 of file OSOption.cpp.

References ErrorClass::errormsg, general, GeneralOption::instanceLocation, and InstanceLocationOption::locationType.

Referenced by setOptionStr().

bool OSOption::setJobID ( std::string  jobID  ) 

Set the job ID.

Definition at line 5416 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 5423 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 5430 of file OSOption.cpp.

References general, and GeneralOption::license.

Referenced by setOptionStr().

bool OSOption::setUserName ( std::string  userName  ) 

Set the username.

Definition at line 5437 of file OSOption.cpp.

References general, and GeneralOption::userName.

Referenced by setOptionStr().

bool OSOption::setPassword ( std::string  password  ) 

Set the password.

Definition at line 5444 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 5451 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 5460 of file OSOption.cpp.

References GeneralOption::contact, ErrorClass::errormsg, general, and ContactOption::transportType.

Referenced by setOptionStr().

bool OSOption::setOtherGeneralOptions ( int  numberOfOptions,
OtherOption **  other 
)

Set the other general options as an entire array.

Definition at line 5480 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 5495 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 5509 of file OSOption.cpp.

References SystemOption::minDiskSpace, system, and MinDiskSpace::value.

Referenced by setOptionDbl().

bool OSOption::setMinDiskSpaceUnit ( std::string  unit  ) 

Definition at line 5518 of file OSOption.cpp.

References ErrorClass::errormsg, SystemOption::minDiskSpace, system, and MinDiskSpace::unit.

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, and MinMemorySize::unit.

Referenced by setOptionStr().

bool OSOption::setMinCPUSpeed ( double  value  ) 

Definition at line 5567 of file OSOption.cpp.

References SystemOption::minCPUSpeed, system, and MinCPUSpeed::value.

Referenced by setOptionDbl().

bool OSOption::setMinCPUSpeedUnit ( std::string  unit  ) 

Definition at line 5576 of file OSOption.cpp.

References ErrorClass::errormsg, SystemOption::minCPUSpeed, system, and MinCPUSpeed::unit.

Referenced by setOptionStr().

bool OSOption::setMinCPUNumber ( int  number  ) 

Definition at line 5598 of file OSOption.cpp.

References SystemOption::minCPUNumber, and system.

Referenced by setOptionInt().

bool OSOption::setOtherSystemOptions ( int  numberOfOptions,
OtherOption **  other 
)

Definition at line 5605 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 5621 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 5634 of file OSOption.cpp.

References ErrorClass::errormsg, service, and ServiceOption::type.

Referenced by setOptionStr().

bool OSOption::setOtherServiceOptions ( int  numberOfOptions,
OtherOption **  other 
)

Definition at line 5654 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 5669 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 5681 of file OSOption.cpp.

References job, JobOption::maxTime, and MaxTime::value.

Referenced by setOptionDbl().

bool OSOption::setMaxTimeUnit ( std::string  unit  ) 

Definition at line 5690 of file OSOption.cpp.

References ErrorClass::errormsg, job, JobOption::maxTime, and MaxTime::unit.

Referenced by setOptionStr().

bool OSOption::setRequestedStartTime ( std::string  time  ) 

Definition at line 5711 of file OSOption.cpp.

References job, and JobOption::requestedStartTime.

Referenced by setOptionStr().

bool OSOption::setJobDependencies ( int  numberOfDependencies,
std::string *  jobDependencies 
)

Definition at line 5719 of file OSOption.cpp.

References JobOption::dependencies, job, JobDependencies::jobID, and JobDependencies::setJobID().

bool OSOption::setAnotherJobDependency ( std::string  jobID  ) 

Definition at line 5730 of file OSOption.cpp.

References JobDependencies::addJobID(), JobOption::dependencies, and job.

bool OSOption::setRequiredDirectories ( int  numberOfPaths,
std::string *  paths 
)

Definition at line 5739 of file OSOption.cpp.

References job, DirectoriesAndFiles::path, JobOption::requiredDirectories, and DirectoriesAndFiles::setPath().

bool OSOption::setAnotherRequiredDirectory ( std::string  path  ) 

Definition at line 5750 of file OSOption.cpp.

References DirectoriesAndFiles::addPath(), job, and JobOption::requiredDirectories.

bool OSOption::setRequiredFiles ( int  numberOfPaths,
std::string *  paths 
)

Definition at line 5759 of file OSOption.cpp.

References job, DirectoriesAndFiles::path, JobOption::requiredFiles, and DirectoriesAndFiles::setPath().

bool OSOption::setAnotherRequiredFile ( std::string  path  ) 

Definition at line 5770 of file OSOption.cpp.

References DirectoriesAndFiles::addPath(), job, and JobOption::requiredFiles.

bool OSOption::setDirectoriesToMake ( int  numberOfPaths,
std::string *  paths 
)

Definition at line 5779 of file OSOption.cpp.

References JobOption::directoriesToMake, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().

bool OSOption::setAnotherDirectoryToMake ( std::string  path  ) 

Definition at line 5790 of file OSOption.cpp.

References DirectoriesAndFiles::addPath(), JobOption::directoriesToMake, and job.

bool OSOption::setFilesToMake ( int  numberOfPaths,
std::string *  paths 
)

Definition at line 5799 of file OSOption.cpp.

References JobOption::filesToMake, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().

bool OSOption::setAnotherFileToMake ( std::string  path  ) 

Definition at line 5810 of file OSOption.cpp.

References DirectoriesAndFiles::addPath(), JobOption::filesToMake, and job.

bool OSOption::setInputDirectoriesToMove ( int  numberOfPathPairs,
PathPair **  pathPair 
)

Definition at line 5819 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 5830 of file OSOption.cpp.

References PathPairs::addPathPair(), JobOption::inputDirectoriesToMove, and job.

bool OSOption::setInputFilesToMove ( int  numberOfPathPairs,
PathPair **  pathPair 
)

Definition at line 5839 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 5850 of file OSOption.cpp.

References PathPairs::addPathPair(), JobOption::inputFilesToMove, and job.

bool OSOption::setOutputFilesToMove ( int  numberOfPathPairs,
PathPair **  pathPair 
)

Definition at line 5859 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 5870 of file OSOption.cpp.

References PathPairs::addPathPair(), job, and JobOption::outputFilesToMove.

bool OSOption::setOutputDirectoriesToMove ( int  numberOfPathPairs,
PathPair **  pathPair 
)

Definition at line 5879 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 5890 of file OSOption.cpp.

References PathPairs::addPathPair(), job, and JobOption::outputDirectoriesToMove.

bool OSOption::setFilesToDelete ( int  numberOfPaths,
std::string *  paths 
)

Definition at line 5899 of file OSOption.cpp.

References JobOption::filesToDelete, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().

bool OSOption::setAnotherFileToDelete ( std::string  path  ) 

Definition at line 5910 of file OSOption.cpp.

References DirectoriesAndFiles::addPath(), JobOption::filesToDelete, and job.

bool OSOption::setDirectoriesToDelete ( int  numberOfPaths,
std::string *  paths 
)

Definition at line 5919 of file OSOption.cpp.

References JobOption::directoriesToDelete, job, DirectoriesAndFiles::path, and DirectoriesAndFiles::setPath().

bool OSOption::setAnotherDirectoryToDelete ( std::string  path  ) 

Definition at line 5930 of file OSOption.cpp.

References DirectoriesAndFiles::addPath(), JobOption::directoriesToDelete, and job.

bool OSOption::setProcessesToKill ( int  numberOfProcesses,
std::string *  processes 
)

Definition at line 5939 of file OSOption.cpp.

References job, Processes::process, JobOption::processesToKill, and Processes::setProcess().

bool OSOption::setAnotherProcessToKill ( std::string  process  ) 

Definition at line 5950 of file OSOption.cpp.

References Processes::addProcess(), job, and JobOption::processesToKill.

bool OSOption::setOtherJobOptions ( int  numberOfOptions,
OtherOption **  other 
)

Definition at line 5959 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 5974 of file OSOption.cpp.

References OtherOptions::addOther(), job, and JobOption::otherOptions.

bool OSOption::setNumberOfVariables ( int  numberOfObjects  ) 

Definition at line 5984 of file OSOption.cpp.

References OptimizationOption::numberOfVariables, and optimization.

bool OSOption::setNumberOfObjectives ( int  numberOfObjects  ) 

Definition at line 5991 of file OSOption.cpp.

References OptimizationOption::numberOfObjectives, and optimization.

bool OSOption::setNumberOfConstraints ( int  numberOfObjects  ) 

Definition at line 5998 of file OSOption.cpp.

References OptimizationOption::numberOfConstraints, and optimization.

bool OSOption::setInitVarValuesSparse ( int  numberOfVar,
InitVarValue **  var 
)

Definition at line 6006 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 6023 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 6045 of file OSOption.cpp.

References InitVariableValues::addVar(), VariableOption::initialVariableValues, optimization, and OptimizationOption::variables.

bool OSOption::setInitVarValuesStringSparse ( int  numberOfVar,
InitVarValueString **  var 
)

Definition at line 6056 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 6073 of file OSOption.cpp.

References VariableOption::initialVariableValuesString, optimization, InitVariableValuesString::var, and OptimizationOption::variables.

bool OSOption::setAnotherInitVarValueString ( int  idx,
std::string  value 
)

Definition at line 6093 of file OSOption.cpp.

References InitVariableValuesString::addVar(), VariableOption::initialVariableValuesString, optimization, and OptimizationOption::variables.

bool OSOption::setInitBasisStatusSparse ( int  numberOfVar,
InitBasStatus **  var 
)

Definition at line 6104 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 6121 of file OSOption.cpp.

References VariableOption::initialBasisStatus, optimization, InitialBasisStatus::var, and OptimizationOption::variables.

bool OSOption::setAnotherInitBasisStatus ( int  idx,
std::string  value 
)

Definition at line 6142 of file OSOption.cpp.

References InitialBasisStatus::addVar(), VariableOption::initialBasisStatus, optimization, and OptimizationOption::variables.

bool OSOption::setIntegerVariableBranchingWeightsSparse ( int  numberOfVar,
BranchingWeight **  var 
)

Definition at line 6153 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 6170 of file OSOption.cpp.

References VariableOption::integerVariableBranchingWeights, optimization, IntegerVariableBranchingWeights::var, and OptimizationOption::variables.

bool OSOption::setAnotherIntegerVariableBranchingWeight ( int  idx,
double  value 
)

Definition at line 6190 of file OSOption.cpp.

References IntegerVariableBranchingWeights::addVar(), VariableOption::integerVariableBranchingWeights, optimization, and OptimizationOption::variables.

bool OSOption::setSOSVariableBranchingWeights ( int  numberOfSOS,
SOSWeights **  sos 
)

Definition at line 6201 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 6218 of file OSOption.cpp.

References SOSVariableBranchingWeights::addSOS(), optimization, VariableOption::sosVariableBranchingWeights, and OptimizationOption::variables.

bool OSOption::setOtherVariableOptions ( int  numberOfVar,
OtherVariableOption **  var 
)

Definition at line 6229 of file OSOption.cpp.

References VariableOption::numberOfOtherVariableOptions, optimization, VariableOption::setOther(), and OptimizationOption::variables.

bool OSOption::setAnOtherVariableOption ( OtherVariableOption varOption  ) 

Definition at line 6244 of file OSOption.cpp.

References VariableOption::addOther(), optimization, and OptimizationOption::variables.

bool OSOption::setInitObjValuesSparse ( int  numberOfObj,
InitObjValue **  obj 
)

Definition at line 6253 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 6270 of file OSOption.cpp.

References ObjectiveOption::initialObjectiveValues, InitObjectiveValues::obj, OptimizationOption::objectives, and optimization.

bool OSOption::setAnotherInitObjValue ( int  idx,
double  value 
)

Definition at line 6290 of file OSOption.cpp.

References InitObjectiveValues::addObj(), ObjectiveOption::initialObjectiveValues, OptimizationOption::objectives, and optimization.

bool OSOption::setInitObjBoundsSparse ( int  numberOfObj,
InitObjBound **  obj 
)

Definition at line 6301 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 6318 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 6337 of file OSOption.cpp.

References InitObjectiveBounds::addObj(), ObjectiveOption::initialObjectiveBounds, OptimizationOption::objectives, and optimization.

bool OSOption::setOtherObjectiveOptions ( int  numberOfObj,
OtherObjectiveOption **  obj 
)

Definition at line 6348 of file OSOption.cpp.

References ObjectiveOption::numberOfOtherObjectiveOptions, OptimizationOption::objectives, optimization, and ObjectiveOption::setOther().

bool OSOption::setAnOtherObjectiveOption ( OtherObjectiveOption objOption  ) 

Definition at line 6363 of file OSOption.cpp.

References ObjectiveOption::addOther(), OptimizationOption::objectives, and optimization.

bool OSOption::setInitConValuesSparse ( int  numberOfCon,
InitConValue **  con 
)

Definition at line 6372 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 6389 of file OSOption.cpp.

References InitConstraintValues::con, OptimizationOption::constraints, ConstraintOption::initialConstraintValues, and optimization.

bool OSOption::setAnotherInitConValue ( int  idx,
double  value 
)

Definition at line 6409 of file OSOption.cpp.

References InitConstraintValues::addCon(), OptimizationOption::constraints, ConstraintOption::initialConstraintValues, and optimization.

bool OSOption::setInitDualVarValuesSparse ( int  numberOfCon,
InitDualVarValue **  con 
)

Definition at line 6420 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 6437 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 6457 of file OSOption.cpp.

References InitDualVariableValues::addCon(), OptimizationOption::constraints, ConstraintOption::initialDualValues, and optimization.

bool OSOption::setOtherConstraintOptions ( int  numberOfOptions,
OtherConstraintOption **  other 
)

Definition at line 6468 of file OSOption.cpp.

References OptimizationOption::constraints, ConstraintOption::numberOfOtherConstraintOptions, optimization, and ConstraintOption::setOther().

bool OSOption::setAnOtherConstraintOption ( OtherConstraintOption optionValue  ) 

Definition at line 6483 of file OSOption.cpp.

References ConstraintOption::addOther(), OptimizationOption::constraints, and optimization.

bool OSOption::setSolverOptions ( int  numberOfSolverOptions,
SolverOption **  solverOption 
)

Definition at line 6492 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 6507 of file OSOption.cpp.

References SolverOptions::addSolverOption(), optimization, and OptimizationOption::solverOptions.

Referenced by main().

bool OSOption::setOptionInt ( std::string  optionName,
int  optionValue 
)

Definition at line 6579 of file OSOption.cpp.

References setMinCPUNumber().

bool OSOption::setOptionStr ( std::string  optionName,
std::string  optionValue 
)

Definition at line 6517 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 6587 of file OSOption.cpp.

References setMaxTime(), setMinCPUSpeed(), setMinDiskSpace(), and setMinMemorySize().


Member Data Documentation

GeneralOption* OSOption::general

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* OSOption::system

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* OSOption::service

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* OSOption::job

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* OSOption::optimization

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().


The documentation for this class was generated from the following files:
Generated on Thu Aug 5 03:11:38 2010 by  doxygen 1.4.7