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