269 bool addOther(std::string name, std::string value, std::string description);
978 bool addPathPair(std::string fromPath, std::string toPath,
bool makeCopy);
1913 bool addSOS(
int sosIdx,
int nvar,
double weight,
int* idx,
double* value, std::string* name);
2081 bool addVar(
int idx, std::string
value, std::string lbValue, std::string ubValue);
2484 bool addObj(
int idx,
double lbValue,
double ubValue);
2666 bool addObj(
int idx, std::string
value, std::string lbValue, std::string ubValue);
3066 bool addCon(
int idx,
double lbDualValue,
double ubDualValue);
3248 bool addCon(
int idx, std::string
value, std::string lbValue, std::string ubValue);
3480 std::string category, std::string type, std::string description);
3619 std::string description, std::string fileCreator, std::string licence);
3625 double* m_mdInitVarValuesDense;
3630 std::string* m_mdInitVarValuesStringDense;
3635 int* m_mdInitBasisStatusDense;
3640 double* m_mdIntegerVariableBranchingWeightsDense;
3645 double* m_mdInitObjValuesDense;
3650 double* m_mdInitObjLowerBoundsDense;
3655 double* m_mdInitObjUpperBoundsDense;
3660 double* m_mdInitConValuesDense;
3666 double* m_mdInitDualVarLowerBoundsDense;
3672 double* m_mdInitDualVarUpperBoundsDense;
4722 bool setContact( std::string contact, std::string transportType);
4853 bool setPathPairs(
int object, std::string *from, std::string *to,
bool *makeCopy,
int numberOfPathPairs);
4942 int numberOfEnumerations, std::string name,
4943 std::string value, std::string solver,
4944 std::string category, std::string type,
4945 std::string varType, std::string enumType,
4946 std::string description);
4962 int numberOfEl, std::string value, std::string description,
int* idxArray);
4975 int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
4983 bool setInitObjBounds(
int numberOfObj,
int* idx,
double* lbValue,
double* ubValue, std::string* name);
5010 int numberOfEnumerations, std::string name,
5011 std::string value, std::string solver,
5012 std::string category, std::string type,
5013 std::string objType, std::string enumType,
5014 std::string description);
5029 int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
5037 bool setInitDualValues(
int numberOfCon,
int* idx,
double* lbValue,
double* ubValue, std::string* name);
5064 int numberOfEnumerations, std::string name,
5065 std::string value, std::string solver,
5066 std::string category, std::string type,
5067 std::string conType, std::string enumType,
5068 std::string description);
5083 int idx, std::string name, std::string value, std::string lbValue, std::string ubValue);
5102 std::string value, std::string solver,
5103 std::string category, std::string type,
5104 std::string description, std::string *itemList);
5108 std::string category, std::string type, std::string description);
ENUM_COMBINE_ARRAYS
An enum to streamline set() methods of vectors.
a data structure to represent an LP basis on both input and output
the BranchingWeight class.
std::string name
optional variable name
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(BranchingWeight *that)
A function to check for the equality of two objects.
double value
branching weight
int idx
index of the variable
~BranchingWeight()
Class destructor.
BranchingWeight()
Default constructor.
bool deepCopyFrom(BranchingWeight *that)
A function to make a deep copy of an instance of this class.
the ConstraintOption class.
InitConstraintValues * initialConstraintValues
initial values for the constraints
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool addOther(OtherConstraintOption *other)
A function to add an <other> element.
ConstraintOption()
Default constructor.
bool IsEqual(ConstraintOption *that)
A function to check for the equality of two objects.
bool deepCopyFrom(ConstraintOption *that)
A function to make a deep copy of an instance of this class.
InitDualVariableValues * initialDualValues
initial dual values for the constraints
OtherConstraintOption ** other
other information about the constraints
bool setOther(int numberOfOptions, OtherConstraintOption **other)
A function to set an array of <other> elements.
~ConstraintOption()
Class destructor.
int numberOfOtherConstraintOptions
number of <other> child elements
BasisStatus * initialBasisStatus
initial basis status for the slack variables
the DirectoriesAndFiles class.
int numberOfPaths
the number of <path> children
bool deepCopyFrom(DirectoriesAndFiles *that)
A function to make a deep copy of an instance of this class.
std::string * path
the list of directory and file paths
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool addPath(std::string path)
A function to add a <path> element.
DirectoriesAndFiles()
Default constructor.
bool setPath(int numberOfPaths, std::string *path)
A function to set an array of <path> elements.
bool IsEqual(DirectoriesAndFiles *that)
A function to check for the equality of two objects.
~DirectoriesAndFiles()
Class destructor.
OtherOptions * otherOptions
the list of other general options
InstanceLocationOption * instanceLocation
the location of the instance
std::string license
the license information
std::string serviceURI
the service URI
std::string serviceName
the name of the service
std::string jobID
the job ID
std::string userName
the username
~GeneralOption()
Class destructor.
std::string instanceName
the name of the instance
std::string solverToInvoke
the solver to invoke
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(GeneralOption *that)
A function to check for the equality of two objects.
GeneralOption()
Default constructor.
bool deepCopyFrom(GeneralOption *that)
A function to make a deep copy of an instance of this class.
std::string password
the password
ContactOption * contact
the contact method
bool IsEqual(InitBasStatus *that)
A function to check for the equality of two objects.
bool deepCopyFrom(InitBasStatus *that)
A function to make a deep copy of an instance of this class.
~InitBasStatus()
Class destructor.
InitBasStatus()
Default constructor.
std::string value
initial value
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
double value
initial value
InitConValue()
Default constructor.
std::string name
optional variable name
bool IsEqual(InitConValue *that)
A function to check for the equality of two objects.
~InitConValue()
Class destructor.
bool deepCopyFrom(InitConValue *that)
A function to make a deep copy of an instance of this class.
the InitConstraintValues class.
bool setCon(int numberOfCon, int *idx, double *value, std::string *name)
Another alternative signature for this function.
bool addCon(int idx, double value)
A function to add a <con> element.
~InitConstraintValues()
Class destructor.
bool setCon(int numberOfCon, InitConValue **con, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
InitConValue ** con
initial value for each constraint
bool deepCopyFrom(InitConstraintValues *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(InitConstraintValues *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setCon(int numberOfCon, InitConValue **con)
A function to set an array of <con> elements.
bool addCon(int numberOfCon, InitConValue **con)
Alternative signature for this function.
int numberOfCon
number of <con> children
InitConstraintValues()
Default constructor.
the InitDualVarValue class.
std::string name
optional variable name
InitDualVarValue()
Default constructor.
double ubDualValue
initial upper bound
bool deepCopyFrom(InitDualVarValue *that)
A function to make a deep copy of an instance of this class.
double lbDualValue
initial lower bound
~InitDualVarValue()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitDualVarValue *that)
A function to check for the equality of two objects.
the InitDualVariableValues class.
bool deepCopyFrom(InitDualVariableValues *that)
A function to make a deep copy of an instance of this class.
bool setCon(int numberOfCon, int *idx, double *lbValue, double *ubValue, std::string *name)
Another alternative signature for this function.
~InitDualVariableValues()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfCon
number of <con> children
bool addCon(int idx, double lbDualValue, double ubDualValue)
A function to add a <con> element.
bool addCon(int numberOfCon, InitDualVarValue **con)
Alternative signature for this function.
InitDualVariableValues()
Default constructor.
bool setCon(int numberOfCon, InitDualVarValue **con, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
InitDualVarValue ** con
initial dual values for each constraint
bool IsEqual(InitDualVariableValues *that)
A function to check for the equality of two objects.
bool setCon(int numberOfCon, InitDualVarValue **con)
A function to set an array of <con> elements.
double lbValue
initial lower bound
double ubValue
initial upper bound
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitObjBound *that)
A function to check for the equality of two objects.
~InitObjBound()
Class destructor.
std::string name
optional variable name
InitObjBound()
Default constructor.
bool deepCopyFrom(InitObjBound *that)
A function to make a deep copy of an instance of this class.
InitObjValue()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitObjValue *that)
A function to check for the equality of two objects.
std::string name
optional objective name
bool deepCopyFrom(InitObjValue *that)
A function to make a deep copy of an instance of this class.
~InitObjValue()
Class destructor.
double value
initial value
the InitObjectiveBounds class.
InitObjBound ** obj
initial bounds for each objective
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool addObj(int numberOfObj, InitObjBound **obj)
Alternative signature for this function.
~InitObjectiveBounds()
Class destructor.
bool deepCopyFrom(InitObjectiveBounds *that)
A function to make a deep copy of an instance of this class.
bool setObj(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name)
Another alternative signature for this function.
bool setObj(int numberOfObj, InitObjBound **obj)
A function to set an array of <obj> elements.
int numberOfObj
number of <obj> children
bool addObj(int idx, double lbValue, double ubValue)
A function to add a <obj> element.
bool IsEqual(InitObjectiveBounds *that)
A function to check for the equality of two objects.
bool setObj(int numberOfObj, InitObjBound **obj, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
InitObjectiveBounds()
Default constructor.
the InitObjectiveValues class.
InitObjValue ** obj
initial value for each objective
~InitObjectiveValues()
Class destructor.
bool setObj(int numberOfObj, int *idx, double *value, std::string *name)
Another alternative signature for this function.
bool deepCopyFrom(InitObjectiveValues *that)
A function to make a deep copy of an instance of this class.
InitObjectiveValues()
Default constructor.
int numberOfObj
number of <obj> children
bool addObj(int numberOfObj, InitObjValue **obj)
Alternative signature for this function.
bool addObj(int idx, double value)
A function to add a <obj> element.
bool setObj(int numberOfObj, InitObjValue **obj)
A function to set an array of <obj> elements.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(InitObjectiveValues *that)
A function to check for the equality of two objects.
bool setObj(int numberOfObj, InitObjValue **obj, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
the InitVarValueString class.
bool deepCopyFrom(InitVarValueString *that)
A function to make a deep copy of an instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string value
initial value
~InitVarValueString()
Class destructor.
InitVarValueString()
Default constructor.
std::string name
optional variable name
bool IsEqual(InitVarValueString *that)
A function to check for the equality of two objects.
bool deepCopyFrom(InitVarValue *that)
A function to make a deep copy of an instance of this class.
InitVarValue()
Default constructor.
bool IsEqual(InitVarValue *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
double value
initial value
std::string name
optional variable name
~InitVarValue()
Class destructor.
the InitVariableValuesString class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(InitVariableValuesString *that)
A function to make a deep copy of an instance of this class.
bool setVar(int numberOfVar, InitVarValueString **var)
A function to set an array of elements.
~InitVariableValuesString()
Class destructor.
bool addVar(int idx, std::string value)
A function to add a element.
bool IsEqual(InitVariableValuesString *that)
A function to check for the equality of two objects.
bool setVar(int numberOfVar, int *idx, std::string *value, std::string *name)
Another alternative signature for this function.
InitVarValueString ** var
initial value for each variable
bool addVar(int numberOfVar, InitVarValueString **var)
Alternative signature for this function.
int numberOfVar
number of children
bool setVar(int numberOfVar, InitVarValueString **var, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
InitVariableValuesString()
Default constructor.
the InitVariableValues class.
bool addVar(int numberOfVar, InitVarValue **var)
Alternative signature for this function.
bool IsEqual(InitVariableValues *that)
A function to check for the equality of two objects.
bool setVar(int numberOfVar, InitVarValue **var, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
InitVarValue ** var
initial value for each variable
bool setVar(int numberOfVar, InitVarValue **var)
A function to set an array of elements.
bool addVar(int idx, double value)
A function to add a element.
bool setVar(int numberOfVar, int *idx, double *value, std::string *name)
Another alternative signature for this function.
int numberOfVar
number of children
~InitVariableValues()
Class destructor.
InitVariableValues()
Default constructor.
bool deepCopyFrom(InitVariableValues *that)
A function to make a deep copy of an instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
the InitialBasisStatus class.
bool setVar(int numberOfVar, InitBasStatus **var)
A function to set an array of elements.
~InitialBasisStatus()
Class destructor.
InitBasStatus ** var
initial value for each variable
InitialBasisStatus()
Default constructor.
bool IsEqual(InitialBasisStatus *that)
A function to check for the equality of two objects.
bool addVar(int idx, std::string value)
A function to add a element.
int numberOfVar
number of children
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(InitialBasisStatus *that)
A function to make a deep copy of an instance of this class.
the InstanceLocationOption class.
bool deepCopyFrom(InstanceLocationOption *that)
A function to make a deep copy of an instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
InstanceLocationOption()
Default constructor.
~InstanceLocationOption()
Class destructor.
std::string value
the value of the <instanceLocation> element
std::string locationType
the type of the location
bool IsEqual(InstanceLocationOption *that)
A function to check for the equality of two objects.
the IntegerVariableBranchingWeights class.
BranchingWeight ** var
branching weight for each variable
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
int numberOfVar
number of children
bool addVar(int idx, double value)
A function to add a element.
bool addVar(int numberOfVar, BranchingWeight **var)
Alternative signature for this function.
bool setVar(int numberOfVar, int *idx, double *value, std::string *name)
Another alternative signature for this function.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool IsEqual(IntegerVariableBranchingWeights *that)
A function to check for the equality of two objects.
bool deepCopyFrom(IntegerVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
bool setVar(int numberOfVar, BranchingWeight **var, ENUM_COMBINE_ARRAYS disp)
Alternative signature for this function.
IntegerVariableBranchingWeights()
Default constructor.
~IntegerVariableBranchingWeights()
Class destructor.
the JobDependencies class.
bool IsEqual(JobDependencies *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string * jobID
the list of job IDs
bool setJobID(int numberOfJobIDs, std::string *jobID)
A function to set an array of <jobID> elements.
bool deepCopyFrom(JobDependencies *that)
A function to make a deep copy of an instance of this class.
bool addJobID(std::string jobID)
A function to add an <jobID> element.
int numberOfJobIDs
the number of entries in the list of job dependencies
JobDependencies()
Default constructor.
~JobDependencies()
Class destructor.
Processes * processesToKill
processes to kill upon completion
DirectoriesAndFiles * requiredDirectories
directories required to run the job
DirectoriesAndFiles * filesToMake
files to make during the job
bool deepCopyFrom(JobOption *that)
A function to make a deep copy of an instance of this class.
DirectoriesAndFiles * directoriesToDelete
directories to delete upon completion
std::string requestedStartTime
the requested time to start the job
DirectoriesAndFiles * requiredFiles
files required to run the job
DirectoriesAndFiles * filesToDelete
files to delete upon completion
JobDependencies * dependencies
the dependency set
PathPairs * inputFilesToMove
input files to move or copy
TimeSpan * maxTime
the maximum time allowed
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
JobOption()
Default constructor.
~JobOption()
Class destructor.
PathPairs * outputDirectoriesToMove
output directories to move or copy
bool IsEqual(JobOption *that)
A function to check for the equality of two objects.
PathPairs * inputDirectoriesToMove
input directories to move or copy
PathPairs * outputFilesToMove
output files to move or copy
DirectoriesAndFiles * directoriesToMake
directories to make during the job
OtherOptions * otherOptions
list of other job options
MaxTime()
Default constructor.
~MaxTime()
Class destructor.
std::string unit
the unit in which time is measured
bool IsEqual(MaxTime *that)
A function to check for the equality of two objects.
double value
the maximum time allowed
bool IsEqual(MinCPUNumber *that)
A function to check for the equality of two objects.
int value
the minimum number of CPUs required
MinCPUNumber()
Default constructor.
~MinCPUNumber()
Class destructor.
std::string description
additional description about the CPU
double value
the minimum CPU speed required
MinCPUSpeed()
Default constructor.
bool IsEqual(MinCPUSpeed *that)
A function to check for the equality of two objects.
~MinCPUSpeed()
Class destructor.
std::string description
additional description about the CPU speed
std::string unit
the unit in which CPU speed is measured
~MinDiskSpace()
Class destructor.
bool IsEqual(MinDiskSpace *that)
A function to check for the equality of two objects.
MinDiskSpace()
Default constructor.
std::string description
additional description about the disk space
std::string unit
the unit in which disk space is measured
double value
the minimum disk space required
bool IsEqual(MinMemorySize *that)
A function to check for the equality of two objects.
MinMemorySize()
Default constructor.
double value
the minimum memory size required
std::string unit
the unit in which memory size is measured
std::string description
additional description about the memory
~MinMemorySize()
Class destructor.
BranchingWeight ** getIntegerVariableBranchingWeightsSparse()
Get the integer branching weights in sparse form.
bool setInitConValues(int numberOfCon, int *idx, double *value, std::string *name)
double getMinDiskSpace()
Get the minimum required disk space.
std::string getFileCreator()
Get the name of the person who created the file.
bool setAnotherSOSVariableBranchingWeight(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
bool setDirectoriesToDelete(int numberOfPaths, std::string *paths)
double * getInitConValuesDense()
Get the initial values associated with the constraints in dense form.
PathPair ** getOutputFilesToMove()
Get the array of output files to move.
InitDualVarValue ** getInitDualVarValuesSparse()
Get the initial bounds associated with the dual variables in sparse form.
bool setInstanceLocationType(std::string locationType)
Set the instance location type.
bool setMinMemorySize(std::string unit, std::string description, double value)
Set the minimum memory size required for the current job.
std::vector< OtherVariableOption * > getOtherVariableOptions(std::string solver_name)
Get the <other> variable options associated with a particular solver.
~OSOption()
Class destructor.
std::string getInstanceLocationType()
Get the location type.
bool setAnOtherConstraintOption(OtherConstraintOption *optionValue)
bool setHeader(std::string name, std::string source, std::string description, std::string fileCreator, std::string licence)
A function to populate an instance of the option header element.
int getMinCPUNumber()
Get the minimum required number of CPUs.
bool setOptionInt(std::string optionName, int optionValue)
int getNumberOfRequiredDirectories()
Get the number of required directories.
bool setMinDiskSpace(std::string unit, std::string description, double value)
Set the minimum disk space required for the current job.
double * getIntegerVariableBranchingWeightsDense(int numberOfVariables)
Get the integer branching weights in dense form.
std::string * getDirectoriesToMake()
Get the array of directories to make.
bool setAnotherDirectoryToMake(std::string path)
int getNumberOfDirectoriesToMake()
Get the number of directories to make.
bool setIntegerVariableBranchingWeightsDense(int numberOfVar, double *value)
bool setAnOtherSystemOption(std::string name, std::string value, std::string description)
bool setAnotherInitDualVarValue(int idx, double lbValue, double ubValue)
bool setInitVarValues(int numberOfVar, int *idx, double *value, std::string *name)
std::string getFileName()
Get the name of the file.
bool setInitDualValues(int numberOfCon, int *idx, double *lbValue, double *ubValue, std::string *name)
std::string getFileDescription()
Get a description for the file or problem.
bool setAnOtherJobOption(std::string name, std::string value, std::string description)
bool setInstanceName(std::string instanceName)
Set the instance name.
bool setInitVarValuesStringDense(int numberOfVar, std::string *value)
bool IsEqual(OSOption *that)
A function to check for the equality of two objects.
OptimizationOption * optimization
optimizationOption holds the fifth child of the OSOption specified by the OSoL Schema.
bool setInitObjBoundsSparse(int numberOfObj, InitObjBound **obj)
bool setOtherObjectiveOptions(int numberOfObj, OtherObjectiveOption **obj)
std::string getContactTransportType()
Get the transport type.
int getNumberOfSOS()
Get the number of special ordered sets for which branching weights are provided.
std::vector< SolverOption * > getSolverOptions(std::string solver_name)
Get the options associated with a given solver.
bool setServiceURI(std::string serviceURI)
Set the serviceURI.
bool setAnotherInitBasisStatus(int type, int idx, int status)
Set the basis status for another variable, objective or constraint/slack.
bool setSolverToInvoke(std::string solverToInvoke)
Set the solver to be invoked.
bool setFilesToDelete(int numberOfPaths, std::string *paths)
bool setMinCPUSpeed(double value)
Alternate signature to set only the number of units.
GeneralOption * general
generalOption holds the first child of the OSOption specified by the OSoL Schema.
bool setInputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
int * getObjectiveInitialBasisStatusDense(int numberOfObjectives)
Get the initial basis status for all objectives in dense form.
int getNumberOfOtherSystemOptions()
Get the number of <other> options in the <system> element.
bool setOtherObjectiveOptionAttributes(int iOther, int numberOfObj, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string objType, std::string enumType, std::string description)
Set the attributes for one particular <other> <objective> option.
int getNumberOfOutputDirectoriesToMove()
Get the number of output directories to move.
int getNumberOfInputDirectoriesToMove()
Get the number of input directories to move.
bool setSolverOptionContent(int iOption, int numberOfItems, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description, std::string *itemList)
Set the attributes for one particular solver option.
bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
bool setAnotherInitObjBound(int idx, double lbValue, double ubValue)
bool setOtherConstraintOptionCon(int otherOptionNumber, int conNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one <con> element associated with an <other> option in the <constraints> element.
bool setInstanceLocation(std::string instanceLocation)
Set the instance location.
SOSWeights ** getSOSVariableBranchingWeightsSparse()
Get the SOS branching weights in sparse form.
double * getIntegerVariableBranchingWeightsDense()
Get the integer branching weights in dense form.
bool setNumberOfOtherConstraintOptions(int numberOfOther)
bool setMaxTime(double value, std::string unit)
PathPair ** getInputFilesToMove()
Get the array of input files to move.
bool setMaxTimeUnit(std::string unit)
double * getInitObjValuesDense(int numberOfObjectives)
Get the initial values associated with the objectives in dense form.
std::string getMinCPUSpeedUnit()
Get the CPU speed unit.
OtherOption ** getOtherOptions(std::string elementName)
Get the array of other options associated with any element.
bool setInitObjValuesDense(int numberOfObj, double *value)
double * getInitObjUpperBoundsDense(int numberOfObjectives)
Get the initial upper bounds associated with the objectives in dense form.
std::string getOptionStr(std::string optionName)
Get any of the string-valued options.
bool setAnotherInitObjValue(int idx, double value)
std::string getSolverToInvoke()
Get the solver name.
std::string getMinCPUSpeedDescription()
Get the CPU speed description.
bool setInitConValuesSparse(int numberOfCon, InitConValue **con)
bool setInitObjValuesSparse(int numberOfObj, InitObjValue **obj)
bool setMinCPUSpeedUnit(std::string unit)
bool setNumberOfOtherObjectiveOptions(int numberOfOther)
OSOption()
Default constructor.
bool setJobID(std::string jobID)
Set the job ID.
bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus **var)
int * getVariableInitialBasisStatusDense(int numberOfVariables)
Get the initial basis status for all variables in dense form.
int getNumberOfRequiredFiles()
Get the number of required files.
bool setMinMemorySize(double value)
Alternate signature to set only the number of units.
double * getInitDualVarLowerBoundsDense(int numberOfConstraints)
Get the initial dual variables associated with the lower bounds in dense form.
bool setOtherJobOptions(int numberOfOptions, OtherOption **other)
int getNumberOfConstraints()
Get the number of constraints in the instance.
std::string getMaxTimeUnit()
Get the time unit.
bool setContact(std::string contact)
Set the contact information.
double getMinCPUSpeed()
Get the minimum required CPU speed.
bool setInitConValuesSparse(int numberOfCon, InitConValue **con, ENUM_COMBINE_ARRAYS disp)
std::string getJobID()
Get the job ID.
std::string getMinMemoryDescription()
get the memory description
OtherConstraintOption ** getAllOtherConstraintOptions()
Get all <other> constraint options.
bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString **var)
bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
OtherObjectiveOption * getOtherObjectiveOption(int optionNumber)
Get one particular <other> objective option from the array of options.
double getMinMemorySize()
Get the minimum required memory.
std::string getServiceType()
Get the service type.
bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue **con, ENUM_COMBINE_ARRAYS disp)
bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString **var, ENUM_COMBINE_ARRAYS disp)
OtherOption ** getOtherServiceOptions()
Get the array of other options associated with the <service> element.
bool setAnOtherGeneralOption(std::string name, std::string value, std::string description)
Add another general option to the <other> option array.
bool setMinMemoryUnit(std::string unit)
bool setOtherServiceOptions(int numberOfOptions, OtherOption **other)
std::string getPassword()
Get the password.
bool setRequiredFiles(int numberOfPaths, std::string *paths)
bool setSolverOptions(int numberOfSolverOptions, SolverOption **solverOption)
bool setNumberOfSolverOptions(int numberOfOptions)
bool setOptionStr(std::string optionName, std::string optionValue)
std::string getMinCPUNumberDescription()
Get the CPU description.
bool deepCopyFrom(OSOption *that)
A function to make a deep copy of an OSOption object.
bool setInitObjBounds(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name)
bool setInitBasisStatusDense(int numberOfVar, std::string *var)
std::string * getDirectoriesToDelete()
Get the array of directories to delete.
bool setOtherVariableOptionVar(int otherOptionNumber, int varNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one element associated with an <other> option in the <variables> element.
double * getInitObjLowerBoundsDense(int numberOfObjectives)
Get the initial lower bounds associated with the objectives in dense form.
std::string getContact()
Get the contact information.
int getNumberOfInitObjBounds()
Get the number of initial objective bounds.
bool setInitObjValues(int numberOfObj, int *idx, double *value, std::string *name)
OtherOption ** getOtherJobOptions()
Get the array of other options associated with the <job> element.
bool setOtherVariableOptions(int numberOfVar, OtherVariableOption **var)
int getNumberOfProcessesToKill()
Get the number of processes to kill.
bool setAnotherInitVarValueString(int idx, std::string value)
std::string getLicense()
Get the license string.
int getNumberOfOtherServiceOptions()
Get the number of <other> options in the <service> element.
bool setAnOtherServiceOption(std::string name, std::string value, std::string description)
bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue **con)
bool setMinCPUNumber(int number)
Alternate signature to set only the number of cores.
bool setOutputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
bool setAnotherProcessToKill(std::string process)
OtherOption ** getOtherGeneralOptions()
Get the array of other options associated with the <general> element.
std::string getMinMemoryUnit()
Get the memory unit.
bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight **var, ENUM_COMBINE_ARRAYS disp)
bool setInitVarValuesDense(int numberOfVar, double *value)
bool setAnOtherObjectiveOption(OtherObjectiveOption *objOption)
int getNumberOfInitObjValues()
Get the number of initial objective values.
OtherObjectiveOption ** getAllOtherObjectiveOptions()
Get all <other> objective options.
std::vector< OtherConstraintOption * > getOtherConstraintOptions(std::string solver_name)
Get the array of other constraint options.
bool setOptionDbl(std::string optionName, double value)
bool setNumberOfObjectives(int numberOfObjectives)
std::string getInstanceName()
Get the instance name.
bool setAnotherInitVarValue(int idx, double value)
bool setInitBasisStatus(int object, int status, int *i, int ni)
bool setDirectoriesToMake(int numberOfPaths, std::string *paths)
GeneralFileHeader * optionHeader
OSOption has a header and five other children: general, system, service, job, and optimization.
bool setMaxTime(double value)
bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight **var)
int getNumberOfIntegerVariableBranchingWeights()
Get the number of variables for which integer branching weights are provided.
double * getInitDualVarUpperBoundsDense()
Get the initial dual variables associated with the upper bounds in dense form.
std::vector< SolverOption * > getSolverOptions(std::string solver_name, bool getFreeOptions)
Get the options associated with a given solver AND options not associated with any solver (if desired...
bool setAnotherOutputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus **var, ENUM_COMBINE_ARRAYS disp)
int getNumberOfFilesToDelete()
Get the number of files to delete.
int getNumberOfSOSVarBranchingWeights(int iSOS)
Get the number of variables for which branching weights are provided in a particular SOS.
PathPair ** getInputDirectoriesToMove()
Get the array of input directories to move.
double * getInitObjUpperBoundsDense()
Get the initial upper bounds associated with the objectives in dense form.
bool setAnotherFileToMake(std::string path)
bool setMinDiskSpace(double value)
Alternate signature to set only the number of units.
PathPair ** getOutputDirectoriesToMove()
Get the array of output directories to move.
int getNumberOfDirectoriesToDelete()
Get the number of directories to delete.
SolverOption ** getAllSolverOptions()
Get all solver options.
double * getInitDualVarUpperBoundsDense(int numberOfConstraints)
Get the initial dual variables associated with the upper bounds in dense form.
std::string getMinDiskSpaceDescription()
get the disk space description
std::string getFileSource()
Get the source of the file or problem.
int getNumberOfInitVarValues()
Get the number of initial variable values.
bool setUserName(std::string userName)
Set the username.
std::string * getInitBasisStatusDense()
Get the initial basis information in dense form.
bool setOutputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
std::string * getInitVarValuesStringDense()
Get the initial value strings associated with the variables in dense form.
int getNumberOfInitialBasisElements(int type, int status)
Get the number of initial basis elements for a particular variable type and basis status.
std::string * getRequiredDirectories()
Get the array of required directories.
bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub)
OtherConstraintOption * getOtherConstraintOption(int optionNumber)
Get one particular <other> constraint option from the array of options.
bool setFilesToMake(int numberOfPaths, std::string *paths)
std::string * getFilesToMake()
Get the array of files to make.
bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
bool setNumberOfVariables(int numberOfVariables)
InitConValue ** getInitConValuesSparse()
Get the initial values associated with the constraints in sparse form.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
double getOptionDbl(std::string optionName)
Get any of the double-valued options.
std::string getServiceURI()
Get the service URI.
double * getInitVarValuesDense(int numberOfVariables)
Get the initial values associated with the variables in dense form.
OtherOption ** getOtherSystemOptions()
Get the array of other options associated with the <system> element.
bool setAnotherRequiredDirectory(std::string path)
bool setAnotherRequiredFile(std::string path)
bool setInstanceLocation(std::string instanceLocation, std::string locationType)
Alternative signature to set the instance location and location type simultaneously.
bool setOtherSystemOptions(int numberOfOptions, OtherOption **other)
int getNumberOfOtherVariableOptions()
Get the number of other variable options.
ServiceOption * service
serviceOption holds the third child of the OSOption specified by the OSoL Schema.
bool setOtherOptionOrResultEnumeration(int object, int otherOptionNumber, int enumerationNumber, int numberOfEl, std::string value, std::string description, int *idxArray)
Set one enumeration associated with an <other> option in the <variables>, <objectives> or <constraint...
std::string getUserName()
Get the user name.
bool setInitConValuesDense(int numberOfCon, double *value)
double getMaxTime()
Get the maximum allowed time.
bool setAnOtherVariableOption(OtherVariableOption *varOption)
bool setContactTransportType(std::string transportType)
Set the transport type for contact.
SystemOption * system
systemOption holds the second child of the OSOption specified by the OSoL Schema.
InitObjBound ** getInitObjBoundsSparse()
Get the initial bounds associated with the objectives in sparse form.
int getNumberOfOtherJobOptions()
Get the number of <other> options in the <job> element.
bool setAnotherJobDependency(std::string jobID)
bool setOtherObjectiveOptionObj(int otherOptionNumber, int objNumber, int idx, std::string name, std::string value, std::string lbValue, std::string ubValue)
Set one <obj> element associated with an <other> option in the <objectives> element.
double * getInitVarValuesDense()
Get the initial values associated with the variables in dense form.
bool setMinCPUSpeed(std::string unit, std::string description, double value)
Set the minimum CPU speed required for the current job.
std::string * getProcessesToKill()
Get the array of processes to kill.
std::string * getInitVarValuesStringDense(int numberOfVariables)
Get the initial value strings associated with the variables in dense form.
bool setAnotherDirectoryToDelete(std::string path)
bool setMinCPUNumber(int number, std::string description)
Set the minimum number of CPU cores required for the current job.
bool setRequiredDirectories(int numberOfPaths, std::string *paths)
OtherOption ** getAllOtherOptions()
Get the array of all other options associated with the <general>, <system>, <service> and <job> eleme...
bool setProcessesToKill(int numberOfProcesses, std::string *processes)
bool setServiceName(std::string serviceName)
Set the service name.
std::string * getRequiredFiles()
Get the array of required files.
int getOptionInt(std::string optionName)
Get any of the integer-valued options.
bool setAnotherFileToDelete(std::string path)
std::string getRequestedStartTime()
Get the requested starting time.
bool setPassword(std::string password)
Set the password.
int getNumberOfInputFilesToMove()
Get the number of input files to move.
int getNumberOfInitDualVarValues()
Get the number of initial dual variable values.
bool setAnotherIntegerVariableBranchingWeight(int idx, double value)
double * getInitObjLowerBoundsDense()
Get the initial lower bounds associated with the objectives in dense form.
double * getInitConValuesDense(int numberOfConstraints)
Get the initial values associated with the constraints in dense form.
std::string getInstanceLocation()
Get the instance location.
bool setOtherGeneralOptions(int numberOfOptions, OtherOption **other)
Set the other general options as an entire array.
bool setInitObjValuesSparse(int numberOfObj, InitObjValue **obj, ENUM_COMBINE_ARRAYS disp)
OtherVariableOption * getOtherVariableOption(int optionNumber)
Get one particular <other> variable option from the array of options.
bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights **sos)
bool setInitObjBoundsSparse(int numberOfObj, InitObjBound **obj, ENUM_COMBINE_ARRAYS disp)
int getNumberOfInitVarValuesString()
Get the number of initial variable strings.
int getNumberOfJobDependencies()
Get the number of job dependencies.
bool setInitVarValuesString(int numberOfVar, int *idx, std::string *value, std::string *name)
bool setContact(std::string contact, std::string transportType)
Alternative signature to set the contact information and transport type simultaneously.
bool setOtherVariableOptionAttributes(int iOther, int numberOfVar, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string varType, std::string enumType, std::string description)
Set the attributes for one particular <other> <variable> option.
bool setNumberOfOtherVariableOptions(int numberOfOther)
int getNumberOfOtherConstraintOptions()
Get the number of other constraint options.
int * getSlackVariableInitialBasisStatusDense(int numberOfConstraints)
Get the initial basis status for all slack variables in dense form.
bool setIntegerVariableBranchingWeights(int numberOfVar, int *idx, double *value, std::string *name)
InitVarValueString ** getInitVarValuesStringSparse()
Get the initial value strings associated with the variables in sparse form.
bool setRequestedStartTime(std::string time)
bool setAnotherSolverOption(std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description)
bool setInitObjBoundsDense(int numberOfObj, double *lb, double *ub)
int getNumberOfInitConValues()
Get the number of initial constraint values.
int getNumberOfVariables()
Get the number of variables in the instance.
InitVarValue ** getInitVarValuesSparse()
Get the initial values associated with the variables in sparse form.
bool setPathPairs(int object, std::string *from, std::string *to, bool *makeCopy, int numberOfPathPairs)
setPathPairs set a number of path pairs into the OSOption object
int getNumberOfOtherGeneralOptions()
Get the number of <other> options in the <general> element.
int getNumberOfFilesToMake()
Get the number of files to make.
int getNumberOfObjectives()
Get the number of objectives in the instance.
std::vector< OtherObjectiveOption * > getOtherObjectiveOptions(std::string solver_name)
Get the array of other objective options.
std::string getMinDiskSpaceUnit()
Get the disk space unit.
OtherVariableOption ** getAllOtherVariableOptions()
Get all <other> variable options.
bool setInitVarValuesSparse(int numberOfVar, InitVarValue **var, ENUM_COMBINE_ARRAYS disp)
bool setServiceType(std::string serviceType)
bool setLicense(std::string license)
Set the license information.
bool setInitVarValuesSparse(int numberOfVar, InitVarValue **var)
JobOption * job
jobOption holds the fourth child of the OSOption specified by the OSoL Schema.
double * getInitObjValuesDense()
Get the initial values associated with the objectives in dense form.
int getNumberOfSolverOptions()
Get the number of solver options.
double * getInitDualVarLowerBoundsDense()
Get the initial dual variables associated with the lower bounds in dense form.
bool setMinDiskSpaceUnit(std::string unit)
bool setOtherConstraintOptionAttributes(int iOther, int numberOfCon, int numberOfEnumerations, std::string name, std::string value, std::string solver, std::string category, std::string type, std::string conType, std::string enumType, std::string description)
Set the attributes for one particular <other> <constraint> option.
bool setAnotherInitConValue(int idx, double value)
std::string getFileLicence()
Get licence information associated with the file.
InitBasStatus ** getInitBasisStatusSparse()
Get the initial basis status in sparse form.
int getNumberOfOutputFilesToMove()
Get the number of output files to move.
InitObjValue ** getInitObjValuesSparse()
Get the initial values associated with the objectives in sparse form.
bool getInitialBasisElements(int type, int status, int *elem)
Get the initial basis elements for a particular variable type and basis status.
std::string * getFilesToDelete()
Get the array of files to delete.
bool setNumberOfConstraints(int numberOfConstraints)
std::string getServiceName()
Get the service name.
int getNumberOfOtherObjectiveOptions()
Get the number of other objective options.
std::string * getJobDependencies()
Get the array of job dependencies.
bool setOtherConstraintOptions(int numberOfOptions, OtherConstraintOption **other)
bool setJobDependencies(int numberOfDependencies, std::string *jobDependencies)
the ObjectiveOption class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfOtherObjectiveOptions
number of <other> child elements
OtherObjectiveOption ** other
other information about the objectives
InitObjectiveValues * initialObjectiveValues
initial values for the objectives
BasisStatus * initialBasisStatus
initial basis status for the objectives
bool addOther(OtherObjectiveOption *other)
A function to add an <other> element.
bool setOther(int numberOfOptions, OtherObjectiveOption **other)
A function to set an array of <other> elements.
ObjectiveOption()
Default constructor.
bool IsEqual(ObjectiveOption *that)
A function to check for the equality of two objects.
InitObjectiveBounds * initialObjectiveBounds
initial bounds for the objectives
bool deepCopyFrom(ObjectiveOption *that)
A function to make a deep copy of an instance of this class.
~ObjectiveOption()
Class destructor.
the OptimizationOption class.
OptimizationOption()
Default constructor.
VariableOption * variables
the options for the variables
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfConstraints
the number of constraints
ObjectiveOption * objectives
the options for the objectives
SolverOptions * solverOptions
other solver options
~OptimizationOption()
Class destructor.
bool IsEqual(OptimizationOption *that)
A function to check for the equality of two objects.
ConstraintOption * constraints
the options for the constraints
int numberOfObjectives
the number of objectives
int numberOfVariables
the number of variables
bool deepCopyFrom(OptimizationOption *that)
A function to make a deep copy of an instance of this class.
the OtherConOption class.
std::string lbValue
lower bound of the option
~OtherConOption()
Class destructor.
std::string ubValue
upper bound of the option
bool deepCopyFrom(OtherConOption *that)
A function to make a deep copy of an instance of this class.
std::string name
optional variable name
bool IsEqual(OtherConOption *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string value
value of the option
OtherConOption()
Default constructor.
the OtherConstraintOption class.
std::string conType
type of the values in the con array
std::string category
name of the category into which this option falls
std::string name
name of the option
int numberOfCon
number of <con> children
OtherConstraintOption()
Default constructor.
OtherConOption ** con
array of option values
std::string type
type of the option value (integer, double, boolean, string)
OtherOptionOrResultEnumeration ** enumeration
std::string description
description of the option
std::string solver
name of the solver to which this option applies
std::string enumType
type of the values in the enumeration array
~OtherConstraintOption()
Class destructor.
bool setCon(int numberOfCon, OtherConOption **con)
A function to set an array of <con> elements.
bool IsEqual(OtherConstraintOption *that)
A function to check for the equality of two objects.
int numberOfEnumerations
number of <enumeration> child elements
bool deepCopyFrom(OtherConstraintOption *that)
A function to make a deep copy of an instance of this class.
bool addCon(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a <con> element.
std::string value
value of the option
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
the OtherObjOption class.
std::string ubValue
lower bound on the value
std::string lbValue
lower bound on the value
OtherObjOption()
Default constructor.
std::string name
optional variable name
~OtherObjOption()
Class destructor.
bool deepCopyFrom(OtherObjOption *that)
A function to make a deep copy of an instance of this class.
std::string value
value of the option
bool IsEqual(OtherObjOption *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
the OtherObjectiveOption class.
OtherObjOption ** obj
array of option values
int numberOfObj
number of <obj> children
bool addObj(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a <obj> element.
std::string name
name of the option
bool IsEqual(OtherObjectiveOption *that)
A function to check for the equality of two objects.
bool deepCopyFrom(OtherObjectiveOption *that)
A function to make a deep copy of an instance of this class.
std::string value
value of the option
std::string solver
name of the solver to which this option applies
int numberOfEnumerations
number of <enumeration> child elements
bool setObj(int numberOfObj, OtherObjOption **obj)
A function to set an array of <obj> elements.
std::string objType
type of the values in the obj array
std::string category
name of the category into which this option falls
~OtherObjectiveOption()
Class destructor.
std::string type
type of the option value (integer, double, boolean, string)
std::string description
description of the option
std::string enumType
type of the values in the enumeration array
OtherObjectiveOption()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherOptionOrResultEnumeration ** enumeration
brief an integer vector data structure used in OSOption and OSResult
std::string value
the value of the option
bool IsEqual(OtherOption *that)
A function to check for the equality of two objects.
~OtherOption()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherOption()
Default constructor.
bool deepCopyFrom(OtherOption *that)
A function to make a deep copy of an instance of this class.
std::string description
the description of the option
std::string name
the name of the option
bool addOther(std::string name, std::string value, std::string description)
A function to add an <other> element.
~OtherOptions()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
OtherOption ** other
the list of other options
int numberOfOtherOptions
the number of other options
bool IsEqual(OtherOptions *that)
A function to check for the equality of two objects.
bool deepCopyFrom(OtherOptions *that)
A function to make a deep copy of an instance of this class.
bool setOther(int numberOfOptions, OtherOption **other)
A function to set an array of <other> elements.
OtherOptions()
Default constructor.
the OtherVarOption class.
std::string value
value of the option
std::string ubValue
lower bound on the value
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string name
optional variable name
~OtherVarOption()
Class destructor.
OtherVarOption()
Default constructor.
bool deepCopyFrom(OtherVarOption *that)
A function to make a deep copy of an instance of this class.
std::string lbValue
lower bound on the value
bool IsEqual(OtherVarOption *that)
A function to check for the equality of two objects.
the OtherVariableOption class.
int numberOfVar
number of child elements
int numberOfEnumerations
number of <enumeration> child elements
std::string type
type of the option value (integer, double, boolean, string)
std::string name
name of the option
std::string solver
name of the solver to which this option applies
OtherVariableOption()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
std::string enumType
type of the values in the enumeration array
~OtherVariableOption()
Class destructor.
bool IsEqual(OtherVariableOption *that)
A function to check for the equality of two objects.
bool deepCopyFrom(OtherVariableOption *that)
A function to make a deep copy of an instance of this class.
OtherOptionOrResultEnumeration ** enumeration
bool setVar(int numberOfVar, OtherVarOption **var)
A function to set an array of elements.
std::string category
name of the category into which this option falls
OtherVarOption ** var
array of option values
bool addVar(int idx, std::string value, std::string lbValue, std::string ubValue)
A function to add a element.
std::string description
description of the option
std::string varType
type of the values in the var array
std::string value
value of the option
bool IsEqual(PathPair *that)
A function to check for the equality of two objects.
std::string from
the file or directory to move/copy from
PathPair()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~PathPair()
Class destructor.
bool deepCopyFrom(PathPair *that)
A function to make a deep copy of an instance of this class.
bool makeCopy
record whether a copy is to be made
std::string to
the file or directory to move/copy to
PathPair ** pathPair
the list of directory and file paths
bool setPathPair(int numberOfPathPairs, PathPair **pathPair)
A function to set an array of <pathPair> elements.
PathPairs()
Default constructor.
bool addPathPair(std::string fromPath, std::string toPath, bool makeCopy)
A function to add a <pathPair> element.
bool deepCopyFrom(PathPairs *that)
A function to make a deep copy of an instance of this class.
~PathPairs()
Class destructor.
int numberOfPathPairs
the number of <path> children
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setPathPair(std::string *from, std::string *to, bool *makeCopy, int numberOfPathPairs)
Alternate signature for this function.
bool IsEqual(PathPairs *that)
A function to check for the equality of two objects.
std::string * process
the list of processes
bool setProcess(int numberOfProcesses, std::string *process)
A function to set an array of <process> elements.
Processes()
Default constructor.
bool IsEqual(Processes *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(Processes *that)
A function to make a deep copy of an instance of this class.
int numberOfProcesses
the number of <process> children
~Processes()
Class destructor.
bool addProcess(std::string process)
A function to add a <process> element.
the SOSVariableBranchingWeights class.
bool deepCopyFrom(SOSVariableBranchingWeights *that)
A function to make a deep copy of an instance of this class.
bool addSOS(int sosIdx, int nvar, double weight, int *idx, double *value, std::string *name)
A function to add an <sos> element.
SOSWeights ** sos
branching weights for the SOS
bool IsEqual(SOSVariableBranchingWeights *that)
A function to check for the equality of two objects.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool setSOS(int numberOfSOS, SOSWeights **sos)
A function to set an array of <sos> elements.
int numberOfSOS
number of <sos> children
SOSVariableBranchingWeights()
Default constructor.
~SOSVariableBranchingWeights()
Class destructor.
bool deepCopyFrom(SOSWeights *that)
A function to make a deep copy of an instance of this class.
SOSWeights()
Default constructor.
bool addVar(int idx, double value)
A function to add a element.
bool setVar(int numberOfVar, BranchingWeight **var)
A function to set an array of elements.
BranchingWeight ** var
branching weights for individual variables
int sosIdx
index of the SOS (to match the OSiL file)
~SOSWeights()
Class destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
int numberOfVar
number of children
double groupWeight
branching weight for the entire SOS
bool IsEqual(SOSWeights *that)
A function to check for the equality of two objects.
ServiceOption()
Default constructor.
std::string type
the service type
bool deepCopyFrom(ServiceOption *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(ServiceOption *that)
A function to check for the equality of two objects.
OtherOptions * otherOptions
the list of other service options
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~ServiceOption()
Class destructor.
std::string * item
the list of items of the option
std::string value
the value of the option
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(SolverOption *that)
A function to make a deep copy of an instance of this class.
~SolverOption()
Class destructor.
std::string solver
the solver to which the option applies
std::string description
the description of the option
std::string type
the type of the option value (integer, double, boolean, string)
SolverOption()
Default constructor.
std::string category
the category to which the option belongs
int numberOfItems
the number of items (additional pieces of data) of the option
std::string name
the name of the option
bool IsEqual(SolverOption *that)
A function to check for the equality of two objects.
bool IsEqual(SolverOptions *that)
A function to check for the equality of two objects.
bool addSolverOption(std::string name, std::string value, std::string solver, std::string category, std::string type, std::string description)
A function to add a solver option.
bool setSolverOptions(int numberOfOptions, SolverOption **solverOption)
A function to set an array of solver options.
SolverOptions()
Default constructor.
bool deepCopyFrom(SolverOptions *that)
A function to make a deep copy of an instance of this class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~SolverOptions()
Class destructor.
SolverOption ** solverOption
the list of solver options
int numberOfSolverOptions
the number of solver options
the StorageCapacity class.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool deepCopyFrom(SystemOption *that)
A function to make a deep copy of an instance of this class.
StorageCapacity * minDiskSpace
the minimum disk space required
StorageCapacity * minMemorySize
the minimum memory required
CPUSpeed * minCPUSpeed
the minimum CPU speed required
CPUNumber * minCPUNumber
the minimum number of processors required
SystemOption()
Default constructor.
OtherOptions * otherOptions
the list of other system options
~SystemOption()
Class destructor.
bool IsEqual(SystemOption *that)
A function to check for the equality of two objects.
the VariableOption class.
BasisStatus * initialBasisStatus
initial basis information
int numberOfOtherVariableOptions
number of <other> child elements
VariableOption()
Default constructor.
~VariableOption()
Class destructor.
bool setOther(int numberOfOptions, OtherVariableOption **other)
A function to set an array of <other> elements.
InitVariableValuesString * initialVariableValuesString
initial values for string-valued variables
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool addOther(OtherVariableOption *other)
A function to add an <other> element.
bool deepCopyFrom(VariableOption *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(VariableOption *that)
A function to check for the equality of two objects.
OtherVariableOption ** other
other variable options
SOSVariableBranchingWeights * sosVariableBranchingWeights
branching weights for SOS variables and groups
InitVariableValues * initialVariableValues
initial values for the variables
IntegerVariableBranchingWeights * integerVariableBranchingWeights
branching weights for integer variables