88 bool setRandom(
double density,
bool conformant);
292 bool display(
int secondaryDim);
499 bool setRandom(
double density,
bool conformant,
int iMin,
int iMax);
574 bool setRandom(
double density,
bool conformant,
int iMin,
int iMax);
672 bool setRandom(
double density,
bool conformant,
int iMin,
int iMax);
696 bool addIdx(
int status,
int idx);
714 int getEl(
int status,
int j);
791 bool setRandom(
double density,
bool conformant);
850 bool setRandom(
double density,
bool conformant);
905 bool setRandom(
double density,
bool conformant);
958 bool setRandom(
double density,
bool conformant);
988 if (x == y)
return true;
int * indexes
indexes holds an integer array of indexes whose corresponding values are listed in the same order in ...
int startSize
startSize is the dimension of the starts array
int number
number is the number of elements in the indexes and values arrays.
bool deepCopyFrom(StorageCapacity *that)
A function to make a deep copy of an instance of this class.
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
bool IsEqual(BasisStatus *that)
A function to check for the equality of two objects.
bool setOtherOptionOrResultEnumeration(std::string value, std::string description, int *i, int ni)
Set the indices for a particular level in an enumeration.
double * values
values holds a double array of nonzero values.
a double vector data structure
double * values
values holds a double array of value elements in coefMatrix (AMatrix), which contains nonzero element...
bool deepCopyFrom(IntVector *that)
A function to make a deep copy of an instance of this class.
~CPUNumber()
Class destructor.
~CPUSpeed()
Class destructor.
bool IsEqual(OtherOptionOrResultEnumeration *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.
int getBasisDense(int *resultArray, int dim, bool flipIdx)
Get the entire array of basis status in dense form.
int getNumberOfEl()
get the dimension of an IntVector
bool deepCopyFrom(TimeSpan *that)
A function to make a deep copy of an instance of this class.
int valueSize
valueSize is the dimension of the values array
CPUSpeed()
Default constructor.
int getEl(int j)
get an entry in the data array of an IntVector
int * indexes
indexes holds an integer array of rowIdx (or colIdx) elements in coefMatrix (AMatrix).
bool setRandom(double density, bool conformant, int iMin, int iMax)
A function to make a random instance of this class.
bool IsEqual(DoubleVector *that)
double value
value is a double that holds the value of the entity
std::string description
additional description about the CPU
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
double * values
values holds a double array of nonzero partial derivatives
std::string getValue()
Get the value for a particular level in an enumeration.
int * varOneIndexes
varOneIndexes holds an integer array of the first variable indexes of all the quadratic terms.
bool IsEqual(CPUSpeed *that)
A function to check for the equality of two objects.
std::string unit
the unit in which CPU speed is measured
SparseJacobianMatrix()
Default constructor.
int number
number is the number of elements in the indexes and values arrays.
bool display(int secondaryDim)
This method displays data structure in the matrix format.
bool deepCopyFrom(CPUSpeed *that)
A function to make a deep copy of an instance of this class.
bool IsEqual(StorageCapacity *that)
A function to check for the equality of two objects.
bool isColumnMajor
isColumnMajor holds whether the coefMatrix (AMatrix) holding linear program data is stored by column.
~SparseJacobianMatrix()
Default destructor.
brief an integer vector data structure used in OSOption and OSResult
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
bool deepCopyFrom(CPUNumber *that)
A function to make a deep copy of an instance of this class.
The in-memory representation of a SparseHessianMatrix.
CPUNumber()
Default constructor.
bool IsEqual(TimeSpan *that)
A function to check for the equality of two objects.
bool OSIsnan(double x)
checks whether a given double is NaN
a sparse Jacobian matrix data structure
a sparse vector data structure for integer vectors
std::string description
additional description about the CPU speed
int * starts
starts holds an integer array of start elements, each start element points to the start of partials f...
~StorageCapacity()
Class destructor.
a data structure for holding quadratic terms
bool deepCopyFrom(BasisStatus *that)
A function to make a deep copy of an instance of this class.
a sparse matrix data structure
~SparseIntVector()
Default destructor.
int * hessRowIdx
hessRowIdx is an integer array of row indices in the range 0, ..., n - 1.
int * indexes
indexes holds an integer array of indexes whose corresponding values are nonzero.
QuadraticTerms()
Default constructor.
int getNumberOfEl(int status)
Get the number of indices for a particular status.
~OtherOptionOrResultEnumeration()
int * varTwoIndexes
varTwoIndexes holds an integer array of the second variable indexes of all the quadratic terms.
bool IsEqual(CPUNumber *that)
A function to check for the equality of two objects.
int idx
idx holds the index of an entity (such as a variable, constraint, objective) that is part of a sparse...
an integer Vector data structure
double value
the CPU speed (expressed in multiples of unit)
bool setRandom(double density, bool conformant, int iMin, int iMax)
A function to make a random instance of this class.
int * values
values holds an integer array of nonzero values.
bool deepCopyFrom(OtherOptionOrResultEnumeration *that)
A function to make a deep copy of an instance of this class.
~SparseVector()
Default destructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
bool getIntVector(int status, int *i)
Get the entire array of indices for a particular status.
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
double value
the number of units of storage capacity
~TimeSpan()
Class destructor.
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
This file defines the OSnLNode class along with its derived classes.
a data structure to represent an LP basis on both input and output
int valueSize
valueSize is the dimension of the indexes and values arrays
~SparseMatrix()
Default destructor.
a sparse vector data structure
SparseHessianMatrix()
Default constructor.
A commonly used structure holding an index-value pair.
SparseIntVector()
Default Constructor.
TimeSpan()
Default constructor.
bool setRandom(double density, bool conformant)
A function to make a random instance of this class.
~SparseHessianMatrix()
Default destructor.
double * hessValues
hessValues is a double array of the Hessian values.
std::string description
additional description about the storage
StorageCapacity()
Default constructor.
bool setRandom(double density, bool conformant, int iMin, int iMax)
A function to make a random instance of this class.
int * starts
starts holds an integer array of start elements in coefMatrix (AMatrix), which points to the start of...
bool setIntVector(int *i, int ni)
set values into an IntVector
int * indexes
indexes holds an integer array of variable indices.
OtherOptionOrResultEnumeration()
int * hessColIdx
hessColIdx is an integer array of column indices in the range 0, ..., n - 1.
int getEl(int status, int j)
Get one entry in the array of indices for a particular status.
int * rowIndexes
rowIndexes holds an integer array of row indexes of all the quadratic terms.
SparseMatrix()
Default constructor.
double value
the number of units
bool extendIntVector(int i)
append a value to an IntVector
int startSize
startSize is the dimension of the starts array – should equal number of rows + 1
bool OSIsEqual(double x, double y)
std::string unit
the unit in which storage capacity is measured
double * coefficients
coefficients holds a double array all the quadratic term coefficients.
std::string unit
the unit in which time is measured
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
bool bDeleteArrays
bDeleteArrays is true if we delete the arrays in garbage collection set to true by default
the StorageCapacity class.
int * conVals
conVals holds an integer array of integers, conVals[i] is the number of constant terms in the gradien...
SparseVector()
Default Constructor.
bool addIdx(int status, int idx)
Add one index to a particular status.
int hessDimension
hessDimension is the number of nonzeros in each array.
std::string getDescription()
Get the description for a particular level in an enumeration.
int value
the number of CPUs
bool setIntVector(int status, int *i, int ni)
Set the indices for a particular status.
bool IsEqual(IntVector *that)
A method to compare two invectors.