int * qRows
qRows is a pointer to the row index of each quadratic term
~OSMatlab()
the OSMatlab class destructor
double * vu
vu is a pointer to the upper bounds on the variables
OSInstance * osinstance
osinstance is a pointer to an OSInstance object that gets created from the MATLAB data structures ...
int numVar
numVar is the number of variables in the problem
int numCon
numCon is the number of constraints in the problem
DefaultSolver * solverType
solverType is the a pointer to the sovler that will be requested
double * obj
obj is a pointer to the objective function coefficients
char * varType
varType is a pointer to the variable type eg C, B, I
double * bu
bu is a pointer to the upper bounds on the constraints
std::string instanceName
instanceName is the name of the problem instance
double * bl
bl is a pointer to the lower bounds on the constraints
int * qIndex2
qIndex2 is a pointer to the index of the second variable in each of the quadratic terms ...
a sparse matrix data structure
bool objType
objType indicates whether or not we have a max (1) or a min (0)
The in-memory representation of an OSiL instance.
int * qIndex1
qIndex1 is a pointer to the index of the first variable in each of the quadratic terms ...
std::string solve()
Solve the problem instance.
OSMatlab()
the OSMatlab class constructor
This file defines the OSInstance class along with its supporting classes.
std::string osil
is the osil instance that gets created from the MATLAB data structures
void createOSInstance()
Create an OSInstance.
The Default Solver Class.
double * qVal
qVal is a pointer to the coefficient value of each of the quadratic terms.
double * vl
vl is a pointer to the lower bounds on the varialbes
std::string sSolverName
sSolverName is the name of the solver
int numQTerms
numQTerms is the number of quadratic terms
std::string sAgentAddress
is the address of the solver service
SparseMatrix * sparseMat
sparseMat is a pointer to an OS Sprase Matrix data structure