#include <iostream>
#include <string>
#include "mex.h"
#include "OSDataStructures.h"
#include "OSMatlab.h"
Include dependency graph for OSMatlabSolver.cpp:
Go to the source code of this file.
Defines | |
#define | IsNonZero(d) ((d)!=0.0) |
Functions | |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
SparseMatrix * | getConstraintMatrix (const mxArray *prhs) |
#define IsNonZero | ( | d | ) | ((d)!=0.0) |
Definition at line 26 of file OSMatlabSolver.cpp.
void mexFunction | ( | int | nlhs, | |
mxArray * | plhs[], | |||
int | nrhs, | |||
const mxArray * | prhs[] | |||
) |
Definition at line 34 of file OSMatlabSolver.cpp.
References OSMatlab::bl, OSMatlab::bu, getConstraintMatrix(), OSMatlab::numCon, OSMatlab::numVar, OSDBL_MAX, and OSMatlab::sparseMat.
SparseMatrix* getConstraintMatrix | ( | const mxArray * | prhs | ) |
Definition at line 226 of file OSMatlabSolver.cpp.
References SparseMatrix::bDeleteArrays, SparseMatrix::indexes, SparseMatrix::isColumnMajor, IsNonZero, m, n, SparseMatrix::starts, SparseMatrix::startSize, SparseMatrix::values, and SparseMatrix::valueSize.