74 bool setRandom(
double density,
bool conformant);
130 bool setRandom(
double density,
bool conformant);
189 bool setRandom(
double density,
bool conformant);
245 bool setRandom(
double density,
bool conformant);
269 bool addOther(std::string name, std::string value, std::string description);
346 bool setRandom(
double density,
bool conformant);
588 bool setRandom(
double density,
bool conformant);
644 bool setRandom(
double density,
bool conformant);
743 bool setRandom(
double density,
bool conformant);
814 bool setRandom(
double density,
bool conformant);
888 bool setRandom(
double density,
bool conformant);
944 bool setRandom(
double density,
bool conformant);
978 bool addPathPair(std::string fromPath, std::string toPath,
bool makeCopy);
1027 bool setRandom(
double density,
bool conformant);
1137 bool setRandom(
double density,
bool conformant);
1196 bool setRandom(
double density,
bool conformant);
1252 bool setRandom(
double density,
bool conformant);
1295 bool addVar(
int idx,
double value);
1357 bool setRandom(
double density,
bool conformant);
1413 bool setRandom(
double density,
bool conformant);
1456 bool addVar(
int idx, std::string value);
1597 bool addVar(
int idx, std::string value);
1648 bool setRandom(
double density,
bool conformant);
1705 bool setRandom(
double density,
bool conformant);
1747 bool addVar(
int idx,
double value);
1815 bool setRandom(
double density,
bool conformant);
1838 bool addVar(
int idx,
double value);
1887 bool setRandom(
double density,
bool conformant);
1913 bool addSOS(
int sosIdx,
int nvar,
double weight,
int* idx,
double* value, std::string* name);
1970 bool setRandom(
double density,
bool conformant);
2056 bool setRandom(
double density,
bool conformant);
2081 bool addVar(
int idx, std::string
value, std::string lbValue, std::string ubValue);
2145 bool setRandom(
double density,
bool conformant);
2219 bool setRandom(
double density,
bool conformant);
2275 bool setRandom(
double density,
bool conformant);
2318 bool addObj(
int idx,
double value);
2383 bool setRandom(
double density,
bool conformant);
2439 bool setRandom(
double density,
bool conformant);
2475 bool setObj(
int numberOfObj,
int *idx,
double *lbValue,
double *ubValue, std::string *name);
2484 bool addObj(
int idx,
double lbValue,
double ubValue);
2552 bool setRandom(
double density,
bool conformant);
2641 bool setRandom(
double density,
bool conformant);
2666 bool addObj(
int idx, std::string
value, std::string lbValue, std::string ubValue);
2724 bool setRandom(
double density,
bool conformant);
2800 bool setRandom(
double density,
bool conformant);
2856 bool setRandom(
double density,
bool conformant);
2899 bool addCon(
int idx,
double value);
2965 bool setRandom(
double density,
bool conformant);
3021 bool setRandom(
double density,
bool conformant);
3057 bool setCon(
int numberOfCon,
int *idx,
double *lbValue,
double *ubValue, std::string *name);
3066 bool addCon(
int idx,
double lbDualValue,
double ubDualValue);
3134 bool setRandom(
double density,
bool conformant);
3223 bool setRandom(
double density,
bool conformant);
3248 bool addCon(
int idx, std::string
value, std::string lbValue, std::string ubValue);
3306 bool setRandom(
double density,
bool conformant);
3396 bool setRandom(
double density,
bool conformant);
3452 bool setRandom(
double density,
bool conformant);
3479 bool addSolverOption(std::string name, std::string value, std::string solver,
3480 std::string category, std::string type, std::string description);
3543 bool setRandom(
double density,
bool conformant);
3618 bool setHeader(std::string name, std::string source,
3619 std::string description, std::string fileCreator, std::string licence);
3686 bool setRandom(
double density,
bool conformant);
4643 std::vector<SolverOption*>
getSolverOptions( std::string solver_name,
bool getFreeOptions);
4722 bool setContact( std::string contact, std::string transportType);
4750 bool setMinDiskSpace(std::string unit, std::string description,
double value);
4765 bool setMinMemorySize(std::string unit, std::string description,
double value);
4780 bool setMinCPUSpeed(std::string unit, std::string description,
double value);
4813 bool setMaxTime(
double value, std::string unit);
4853 bool setPathPairs(
int object, std::string *from, std::string *to,
bool *makeCopy,
int numberOfPathPairs);
4886 bool setInitVarValues(
int numberOfVar,
int* idx,
double* value, std::string* name);
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);
4977 bool setInitObjValues(
int numberOfObj,
int* idx,
double* value, std::string* name);
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);
5031 bool setInitConValues(
int numberOfCon,
int* idx,
double* value, std::string* name);
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);
5111 bool setOptionInt(std::string optionName,
int optionValue);
5113 bool setOptionStr(std::string optionName, std::string optionValue);
5115 bool setOptionDbl(std::string optionName,
double value);
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 addCon(int idx, double value)
A function to add a <con> element.
~InitConstraintValues()
Class destructor.
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.
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.
~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.
InitDualVariableValues()
Default constructor.
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.
~InitObjectiveBounds()
Class destructor.
bool deepCopyFrom(InitObjectiveBounds *that)
A function to make a deep copy of an instance of this class.
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.
InitObjectiveBounds()
Default constructor.
the InitObjectiveValues class.
InitObjValue ** obj
initial value for each objective
~InitObjectiveValues()
Class destructor.
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 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 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 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.
the InitVariableValues class.
bool IsEqual(InitVariableValues *that)
A function to check for the equality of two objects.
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.
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 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.
InitVarValueString ** var
initial value for each variable
int numberOfVar
number of children
InitVariableValuesString()
Default constructor.
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 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.
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.
SolverOption ** getAllSolverOptions()
Get all solver options.
OtherOption ** getAllOtherOptions()
Get the array of all other options associated with the <general>, <system>, <service> and <job> eleme...
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)
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.
~OSOption()
Class destructor.
std::string getInstanceLocationType()
Get the location type.
double * getInitConValuesDense()
Get the initial values associated with the constraints in dense form.
std::string * m_mdInitVarValuesStringDense
m_mdInitVarValuesStringDense holds the initial values for string-valued variables
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.
InitDualVarValue ** getInitDualVarValuesSparse()
Get the initial bounds associated with the dual variables in sparse form.
int getMinCPUNumber()
Get the minimum required number of CPUs.
bool setOptionInt(std::string optionName, int optionValue)
std::string * getJobDependencies()
Get the array of job dependencies.
int getNumberOfRequiredDirectories()
Get the number of required directories.
OtherConstraintOption ** getAllOtherConstraintOptions()
Get all <other> constraint options.
bool setMinDiskSpace(std::string unit, std::string description, double value)
Set the minimum disk space required for the current job.
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)
PathPair ** getOutputFilesToMove()
Get the array of output files to move.
double * m_mdInitDualVarUpperBoundsDense
m_mdInitDualVarUpperBoundsDense holds initial dual values for the upper bound of the constraints in d...
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.
BranchingWeight ** getIntegerVariableBranchingWeightsSparse()
Get the integer branching weights in sparse form.
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.
int * m_mdInitBasisStatusDense
m_mdInitBasisStatusDense holds the initial basis status in dense form
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)
GeneralOption * general
generalOption holds the first child of the OSOption specified by the OSoL Schema.
bool setInputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
double * m_mdInitVarValuesDense
m_mdInitVarValuesDense holds the initial variable values 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.
double * getInitObjValuesDense()
Get the initial values associated with the objectives in dense form.
bool setInputDirectoriesToMove(int numberOfPathPairs, PathPair **pathPair)
bool setAnotherInitObjBound(int idx, double lbValue, double ubValue)
PathPair ** getOutputDirectoriesToMove()
Get the array of output directories to move.
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.
int * getSlackVariableInitialBasisStatusDense(int numberOfConstraints)
Get the initial basis status for all slack variables in dense form.
bool setNumberOfOtherConstraintOptions(int numberOfOther)
int * getObjectiveInitialBasisStatusDense(int numberOfObjectives)
Get the initial basis status for all objectives in dense form.
double * getInitDualVarLowerBoundsDense()
Get the initial dual variables associated with the lower bounds in dense form.
bool setMaxTime(double value, std::string unit)
std::string * getDirectoriesToMake()
Get the array of directories to make.
bool setMaxTimeUnit(std::string unit)
std::string getMinCPUSpeedUnit()
Get the CPU speed unit.
bool setInitObjValuesDense(int numberOfObj, double *value)
double * m_mdInitObjValuesDense
m_mdInitObjValuesDense holds initial objective values 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)
double * getInitObjLowerBoundsDense()
Get the initial lower bounds associated with the objectives in dense form.
std::vector< OtherConstraintOption * > getOtherConstraintOptions(std::string solver_name)
Get the array of other constraint options.
bool setInitObjValuesSparse(int numberOfObj, InitObjValue **obj)
bool setMinCPUSpeedUnit(std::string unit)
bool setNumberOfOtherObjectiveOptions(int numberOfOther)
OSOption()
Default constructor.
InitObjBound ** getInitObjBoundsSparse()
Get the initial bounds associated with the objectives in sparse form.
bool setJobID(std::string jobID)
Set the job ID.
bool setInitBasisStatusSparse(int numberOfVar, InitBasStatus **var)
int getNumberOfRequiredFiles()
Get the number of required files.
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.
std::string getJobID()
Get the job ID.
int * getVariableInitialBasisStatusDense(int numberOfVariables)
Get the initial basis status for all variables in dense form.
InitConValue ** getInitConValuesSparse()
Get the initial values associated with the constraints in sparse form.
std::string getMinMemoryDescription()
get the memory description
bool setInitVarValuesStringSparse(int numberOfVar, InitVarValueString **var)
bool setAnotherInputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
double getMinMemorySize()
Get the minimum required memory.
double * getInitDualVarUpperBoundsDense()
Get the initial dual variables associated with the upper bounds in dense form.
std::string * getRequiredDirectories()
Get the array of required directories.
std::string getServiceType()
Get the service type.
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.
InitVarValueString ** getInitVarValuesStringSparse()
Get the initial value strings associated with the variables in sparse form.
bool setInitObjBounds(int numberOfObj, int *idx, double *lbValue, double *ubValue, std::string *name)
OtherVariableOption ** getAllOtherVariableOptions()
Get all <other> variable options.
bool setInitBasisStatusDense(int numberOfVar, std::string *var)
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.
std::string getContact()
Get the contact information.
OtherObjectiveOption * getOtherObjectiveOption(int optionNumber)
Get one particular <other> objective option from the array of options.
int getNumberOfInitObjBounds()
Get the number of initial objective bounds.
bool setInitObjValues(int numberOfObj, int *idx, double *value, std::string *name)
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.
OtherOption ** getOtherServiceOptions()
Get the array of other options associated with the <service> element.
int getNumberOfOtherServiceOptions()
Get the number of <other> options in the <service> element.
InitVarValue ** getInitVarValuesSparse()
Get the initial values associated with the variables in sparse form.
bool setAnOtherServiceOption(std::string name, std::string value, std::string description)
bool setInitDualVarValuesSparse(int numberOfCon, InitDualVarValue **con)
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.
OtherOption ** getOtherJobOptions()
Get the array of other options associated with the <job> element.
bool setInitVarValuesDense(int numberOfVar, double *value)
bool setAnOtherObjectiveOption(OtherObjectiveOption *objOption)
int getNumberOfInitObjValues()
Get the number of initial objective values.
bool setOptionDbl(std::string optionName, double value)
bool setNumberOfObjectives(int numberOfObjectives)
std::string * getFilesToDelete()
Get the array of files to delete.
PathPair ** getInputFilesToMove()
Get the array of input files to move.
std::string getInstanceName()
Get the instance name.
bool setAnotherInitVarValue(int idx, double value)
bool setInitBasisStatus(int object, int status, int *i, int ni)
PathPair ** getInputDirectoriesToMove()
Get the array of input directories to move.
bool setDirectoriesToMake(int numberOfPaths, std::string *paths)
GeneralFileHeader * optionHeader
OSOption has a header and five other children: general, system, service, job, and optimization.
bool setIntegerVariableBranchingWeightsSparse(int numberOfVar, BranchingWeight **var)
int getNumberOfIntegerVariableBranchingWeights()
Get the number of variables for which integer branching weights are provided.
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.
bool setAnotherFileToMake(std::string path)
int getNumberOfDirectoriesToDelete()
Get the number of directories to delete.
std::string * getFilesToMake()
Get the array of files to make.
std::string getMinDiskSpaceDescription()
get the disk space description
std::string getFileSource()
Get the source of the file or problem.
double * m_mdInitConValuesDense
m_mdInitConValuesDense holds initial constraint values in dense form
int getNumberOfInitVarValues()
Get the number of initial variable values.
bool setUserName(std::string userName)
Set the username.
bool setOutputFilesToMove(int numberOfPathPairs, PathPair **pathPair)
int getNumberOfInitialBasisElements(int type, int status)
Get the number of initial basis elements for a particular variable type and basis status.
bool setInitDualVarValuesDense(int numberOfCon, double *lb, double *ub)
bool setFilesToMake(int numberOfPaths, std::string *paths)
bool setAnotherOutputFileToMove(std::string fromPath, std::string toPath, bool makeCopy)
std::vector< OtherObjectiveOption * > getOtherObjectiveOptions(std::string solver_name)
Get the array of other objective options.
bool setAnotherInputDirectoryToMove(std::string fromPath, std::string toPath, bool makeCopy)
bool setNumberOfVariables(int numberOfVariables)
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.
double * getInitVarValuesDense()
Get the initial values associated with the variables in dense form.
OtherConstraintOption * getOtherConstraintOption(int optionNumber)
Get one particular <other> constraint option from the array of options.
std::string getServiceURI()
Get the service URI.
bool setAnotherRequiredDirectory(std::string path)
bool setAnotherRequiredFile(std::string path)
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.
OtherOption ** getOtherOptions(std::string elementName)
Get the array of other options associated with any element.
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.
double * getInitObjUpperBoundsDense()
Get the initial upper bounds associated with the objectives in dense 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 * m_mdInitObjUpperBoundsDense
m_mdInitObjUpperBoundsDense holds initial upper bounds for the objectives in dense form
OtherObjectiveOption ** getAllOtherObjectiveOptions()
Get all <other> objective options.
bool setMinCPUSpeed(std::string unit, std::string description, double value)
Set the minimum CPU speed required for the current job.
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)
bool setProcessesToKill(int numberOfProcesses, std::string *processes)
bool setServiceName(std::string serviceName)
Set the service name.
int getOptionInt(std::string optionName)
Get any of the integer-valued options.
bool setAnotherFileToDelete(std::string path)
InitBasStatus ** getInitBasisStatusSparse()
Get the initial basis status in sparse form.
std::string getRequestedStartTime()
Get the requested starting time.
SOSWeights ** getSOSVariableBranchingWeightsSparse()
Get the SOS branching weights in sparse form.
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)
std::vector< SolverOption * > getSolverOptions(std::string solver_name)
Get the options associated with a given solver.
std::string * getProcessesToKill()
Get the array of processes to kill.
std::string getInstanceLocation()
Get the instance location.
bool setOtherGeneralOptions(int numberOfOptions, OtherOption **other)
Set the other general options as an entire array.
std::string * getRequiredFiles()
Get the array of required files.
bool setSOSVariableBranchingWeights(int numberOfSOS, SOSWeights **sos)
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 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.
bool setIntegerVariableBranchingWeights(int numberOfVar, int *idx, double *value, std::string *name)
bool setRequestedStartTime(std::string time)
OtherOption ** getOtherSystemOptions()
Get the array of other options associated with the <system> element.
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.
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
double * m_mdInitDualVarLowerBoundsDense
m_mdInitDualVarLowerBoundsDense holds initial dual values for the lower bound of the constraints in d...
int getNumberOfOtherGeneralOptions()
Get the number of <other> options in the <general> element.
std::string * getInitBasisStatusDense()
Get the initial basis information in dense form.
int getNumberOfFilesToMake()
Get the number of files to make.
int getNumberOfObjectives()
Get the number of objectives in the instance.
std::string getMinDiskSpaceUnit()
Get the disk space unit.
bool setServiceType(std::string serviceType)
set() options in the <service> element
double * getIntegerVariableBranchingWeightsDense()
Get the integer branching weights in dense form.
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.
std::vector< OtherVariableOption * > getOtherVariableOptions(std::string solver_name)
Get the <other> variable options associated with a particular solver.
int getNumberOfSolverOptions()
Get the number of solver options.
bool setMinDiskSpaceUnit(std::string unit)
std::string * getInitVarValuesStringDense()
Get the initial value strings associated with the variables in dense form.
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.
int getNumberOfOutputFilesToMove()
Get the number of output files to move.
std::string * getDirectoriesToDelete()
Get the array of directories to delete.
double * m_mdIntegerVariableBranchingWeightsDense
m_mdIntegerVariableBranchingWeightsDense holds the branching weights for integer variables
bool getInitialBasisElements(int type, int status, int *elem)
Get the initial basis elements for a particular variable type and basis status.
bool setNumberOfConstraints(int numberOfConstraints)
std::string getServiceName()
Get the service name.
int getNumberOfOtherObjectiveOptions()
Get the number of other objective options.
double * m_mdInitObjLowerBoundsDense
m_mdInitObjLowerBoundsDense holds initial lower bounds for the objectives in dense form
InitObjValue ** getInitObjValuesSparse()
Get the initial values associated with the objectives in sparse form.
OtherVariableOption * getOtherVariableOption(int optionNumber)
Get one particular <other> variable option from the array of options.
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
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 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
ENUM_COMBINE_ARRAYS
An enum to streamline set() methods of vectors.