#include <OSMatlab.h>
Collaboration diagram for OSMatlab:

Public Member Functions | |
| OSMatlab () | |
| the OSMatlab class constructor | |
| ~OSMatlab () | |
| the OSMatlab class destructor | |
| std::string | solve () |
| Solve the problem instance. | |
| void | createOSInstance () |
| Create an OSInstance. | |
Public Attributes | |
| SparseMatrix * | sparseMat |
| sparseMat is a pointer to an OS Sprase Matrix data structure | |
| double * | bl |
| bl is a pointer to the lower bounds on the constraints | |
| double * | bu |
| bu is a pointer to the upper bounds on the constraints | |
| double * | obj |
| obj is a pointer to the objective function coefficients | |
| double * | vl |
| vl is a pointer to the lower bounds on the varialbes | |
| double * | vu |
| vu is a pointer to the upper bounds on the variables | |
| int | numVar |
| numVar is the number of variables in the problem | |
| int | numCon |
| numCon is the number of constraints in the problem | |
| char * | varType |
| varType is a pointer to the variable type eg C, B, I | |
| bool | objType |
| objType indicates whether or not we have a max (1) or a min (0) | |
| int | numQTerms |
| numQTerms is the number of quadratic terms | |
| int * | qRows |
| qRows is a pointer to the row index of each quadratic term | |
| int * | qIndex1 |
| qIndex1 is a pointer to the index of the first variable in each of the quadratic terms | |
| int * | qIndex2 |
| qIndex2 is a pointer to the index of the second variable in each of the quadratic terms | |
| double * | qVal |
| qVal is a pointer to the coefficient value of each of the quadratic terms. | |
| DefaultSolver * | solverType |
| solverType is the a pointer to the sovler that will be requested | |
| std::string | instanceName |
| instanceName is the name of the problem instance | |
| std::string | sSolverName |
| sSolverName is the name of the solver | |
| std::string | sAgentAddress |
| is the address of the solver service | |
| OSInstance * | osinstance |
| osinstance is a pointer to an OSInstance object that gets created from the MATLAB data structures | |
| std::string | osil |
| is the osil instance that gets created from the MATLAB data structures | |
Definition at line 60 of file OSMatlab.h.
| OSMatlab::OSMatlab | ( | ) |
the OSMatlab class constructor
| OSMatlab::~OSMatlab | ( | ) |
the OSMatlab class destructor
| std::string OSMatlab::solve | ( | ) |
Solve the problem instance.
| void OSMatlab::createOSInstance | ( | ) |
Create an OSInstance.
sparseMat is a pointer to an OS Sprase Matrix data structure
Definition at line 73 of file OSMatlab.h.
| double* OSMatlab::bl |
| double* OSMatlab::bu |
| double* OSMatlab::obj |
| double* OSMatlab::vl |
| double* OSMatlab::vu |
| int OSMatlab::numVar |
| int OSMatlab::numCon |
| char* OSMatlab::varType |
| bool OSMatlab::objType |
objType indicates whether or not we have a max (1) or a min (0)
Definition at line 118 of file OSMatlab.h.
| int* OSMatlab::qRows |
qRows is a pointer to the row index of each quadratic term
Definition at line 126 of file OSMatlab.h.
| int* OSMatlab::qIndex1 |
qIndex1 is a pointer to the index of the first variable in each of the quadratic terms
Definition at line 131 of file OSMatlab.h.
| int* OSMatlab::qIndex2 |
qIndex2 is a pointer to the index of the second variable in each of the quadratic terms
Definition at line 136 of file OSMatlab.h.
| double* OSMatlab::qVal |
qVal is a pointer to the coefficient value of each of the quadratic terms.
Definition at line 141 of file OSMatlab.h.
solverType is the a pointer to the sovler that will be requested
Definition at line 146 of file OSMatlab.h.
| std::string OSMatlab::instanceName |
| std::string OSMatlab::sSolverName |
| std::string OSMatlab::sAgentAddress |
osinstance is a pointer to an OSInstance object that gets created from the MATLAB data structures
Definition at line 173 of file OSMatlab.h.
| std::string OSMatlab::osil |
is the osil instance that gets created from the MATLAB data structures
Definition at line 178 of file OSMatlab.h.
1.4.7